Xymon Mailing List Archive search

Need help with upgrade from 4.3.17 to 4.3.20

list Japheth Cleaver
Tue, 19 May 2015 11:06:47 -0700
Message-Id: <user-2acc6f147865@xymon.invalid>

Hmm. So far, the only way I've been able to reproduce this is by replacing
the ScriptAlias directives with mere Alias's in the xymon.conf apache
config.

Has there been any change in the path you've used for the CGI directory
since the previous version, or is there any chance that another Alias line
is taking precedence over the ScriptAlias?

Do you see anything in the apache access/error logs that indicates an error?

-jc


On Tue, May 19, 2015 10:37 am, Cortes, Manny wrote:
Having the same problem after installing 4.3.20 on both Ubuntu server
14.04 and 15.04.

Thanks,


Manuel A Cortes

Systems Programmer III

[IBM_Cert]

IBM Certified System Administrator AIX 7

Information Services

XXX-XXX-XXXX

Orlandohealth.com

Facebook.com/orlandohealth

Youtube.com/orlandohealth

@orlandohealth on twitter


XXXX Kuhl Avenue.,MP136

Orlando, Florida 32806

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Asif Iqbal
Sent: Tuesday, May 19, 2015 12:59 PM
To: J.C. Cleaver
Cc: xymon at xymon.com
Subject: Re: [Xymon] Need help with upgrade from 4.3.17 to 4.3.20


On Tue, May 19, 2015 at 12:40 PM, J.C. Cleaver
<user-87556346d4af@xymon.invalid<mailto:user-87556346d4af@xymon.invalid>> wrote:
Hmm. It seems like it's trying to pass along the binary rather than
actually execute it. Can you

a) validate the permissions on the various .sh files inside the
/xymon-cgi/ directory. (Wondering if there's a case where make install
doesn't set permissions properly), and


 /var/lib/xymon/cgi-bin$ ls -al
total 6560
drwxr-xr-x  2 root  root    4096 May 19 10:19 .
drwxr-xr-x 16 xymon xymon   4096 May 19 10:19 ..
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 acknowledgements.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 appfeed-critical.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 appfeed.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 certreport.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 columndoc.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 confreport-critical.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 confreport.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 criticalview.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 csvinfo.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 datepage.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 eventlog.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 findhost.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 ghostlist.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 historylog.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 history.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 hostgraphs.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 hostlist.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 nongreen.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 notifications.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 perfdata.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 reportlog.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 report.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 showgraph.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 snapshot.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 svcstatus.sh
-rwxr-xr-x 32 xymon xymon 255968 May 19 10:19 topchanges.sh


b) verify that the ScriptAlias or ExecCGI options are still present in
apache.conf.


 grep xymon-cgi /etc/apache2/sites-enabled/xymon-apache.conf
# "/xymon" and "/xymon-cgi" URLs.
ScriptAlias /xymon-cgi/ "/var/lib/xymon/cgi-bin/"
RewriteRule ^/xymon-cgi/bb-hist.sh /xymon-cgi/history.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/bb-eventlog.sh /xymon-cgi/eventlog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-rep.sh /xymon-cgi/report.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/bb-replog.sh /xymon-cgi/reportlog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-snapshot.sh /xymon-cgi/snapshot.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-findhost.sh /xymon-cgi/findhost.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-csvinfo.sh /xymon-cgi/csvinfo.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbitcolumn.sh /xymon-cgi/columndoc.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-datepage.sh /xymon-cgi/datepage.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbitgraph.sh /xymon-cgi/showgraph.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-hostsvc.sh /xymon-cgi/svcstatus.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-histlog.sh /xymon-cgi/historylog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-confreport.sh /xymon-cgi/confreport.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-confreport-critical.sh
/xymon-cgi/confreport-critical.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-nkview.sh /xymon-cgi/criticalview.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-certreport.sh /xymon-cgi/certreport.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-nongreen.sh /xymon-cgi/nongreen.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-hostgraphs.sh /xymon-cgi/hostgraphs.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-ghosts.sh /xymon-cgi/ghostlist.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-notifylog.sh /xymon-cgi/notifications.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-hostlist.sh /xymon-cgi/hostlist.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-perfdata.sh /xymon-cgi/perfdata.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-topchanges.sh /xymon-cgi/topchanges.sh
[R=permanent,L]


HTH,

-jc


On Tue, May 19, 2015 7:56 am, Asif Iqbal wrote:
I am not sure what I need to after the upgrade for the columns to show
data
instead of
something like this


ELF ��������� �>� ���
@�����@������� Þ
���������@�8� �@�%�"� ���
���@�������@�@�����@�@�����ø
������ø ������ ������� ���
���8 ������8
@�����8 @����� �������
������� ������� ���
�������������@�������@�����ää������ää��������

I removed FollowSymLinks from xymon-apache.conf file under /xymon-cgi/
and /xymon-seccgi/ and restarted.

I am using ubuntu

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu<http://pgp.mit.edu>;
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu<http://pgp.mit.edu>;
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


This e-mail message and any attached files are confidential and are
intended solely for the use of the addressee(s) named above. If you are
not the intended recipient, any review, use, or distribution of this
e-mail message and any attached files is strictly prohibited.

This communication may contain material protected by Federal privacy
regulations, attorney-client work product, or other privileges. If you
have received this confidential communication in error, please notify the
sender immediately by reply e-mail message and permanently delete the
original message. To reply to our email administrator directly, send an
email to: user-40803320aaf5@xymon.invalid .

If this e-mail message concerns a contract matter, be advised that no
employee or agent is authorized to conclude any binding agreement on
behalf of Orlando Health by e-mail without express written confirmation by
an officer of the corporation. Any views or opinions presented in this
e-mail are solely those of the author and do not necessarily represent
those of Orlando Health.