[Xymon] internal server error after upgrade
Henrik Størner
henrik at hswn.dk
Thu Aug 9 21:50:47 CEST 2012
On 09-08-2012 20:00, D.Forsyth at ru.ac.za wrote:
> I'm running FreeBSD 7.4 and used 'portupgrade' to upgrade xymon-server
> and client today, to 4.3.10
>
> Now, I cannot see any graphs.
> showgraph.cgi and showgraph.sh never get built and installed.
I'm afraid you'll have to refer to the port-builders about that one.
> Excerpt from http-error.log
> [Thu Aug 09 19:55:02 2012] [error] [client 41.145.0.228] .: Can't open
> @XYMONHOME@/etc/cgioptions.cfg
The "@XYMONHOME@" string exists in the showgraph.sh.DIST file that ships
with the Xymon source. When compiling, it is replaced with the name of
the Xymon home-directory - "/usr/local/xymon" or wherever you choose to
install Xymon.
So if the Xymon port of 4.3.10 results in a "showgraph.sh" with the
"@XYMONHOME@" string intact, it's a bug in the FreeBSD port.
FreeBSD 7.4 is one of the platforms that has been tested with the 4.3.10
release, and it works fine - also with graphs - when building it from
source as described in the "install" document. Here's what I have:
freebsd74# uname -a
FreeBSD freebsd74.hswn.dk 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Thu Feb 17
03:51:56 UTC 2011
root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
freebsd74# ls /home/xymon/cgi-bin/
appfeed-critical.sh eventlog.sh perfdata.sh
appfeed.sh findhost.sh report.sh
certreport.sh ghostlist.sh reportlog.sh
columndoc.sh history.sh showgraph.sh
confreport-critical.sh historylog.sh snapshot.sh
confreport.sh hostgraphs.sh svcstatus.sh
criticalview.sh hostlist.sh topchanges.sh
csvinfo.sh nongreen.sh
datepage.sh notifications.sh
freebsd74# cat /home/xymon/cgi-bin/showgraph.sh
#!/bin/sh
# This is the Xymon CGI script interface to showgraph.cgi
#
# Install this script in your webservers' cgi-bin directory
. /home/xymon/server/etc/cgioptions.cfg
exec /home/xymon/server/bin/showgraph.cgi $CGI_SHOWGRAPH_OPTS
Regards,
Henrik
More information about the Xymon
mailing list