On Tue, May 19, 2015 at 12:40 PM, J.C. Cleaver <cleaver at terabithia.org> 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 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: 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?