Get:
Cannot contact the Xymon server
hobbitÉleopg9u:ü/cgi-bin$ sh -x confreport.sh
- . /home/hobbit/server/etc/cgioptions.cfg
- XYMONENV=/home/hobbit/server/etc/xymonserver.cfg
- CGI_CSVINFO_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_COLUMNDOC_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --color=purpl e --hffile=columndoc
- CGI_FINDHOST_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_SVC_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --no-svcid --histor y=top
- CGI_HIST_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --no-svcid
- CGI_SVCHIST_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --no-svcid
- CGI_SHOWGRAPH_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_HOSTGRAPHS_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_CONFREPORT_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_DATEPAGE_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --url=/xymon/p eriodic
- CGI_REP_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_REPLOG_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_SNAPSHOT_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_EVENTLOG_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_CRITVIEW_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_CRITEDIT_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_ACKINFO_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_GHOSTS_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_ACK_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --no-pin
- CGI_ENADIS_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_HOSTLIST_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_NOTIFYLOG_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_PERFDATA_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- CGI_TOPCHANGE_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg --top
- CGI_USERADM_OPTS=--env=/home/hobbit/server/etc/xymonserver.cfg
- exec /home/hobbit/server/bin/confreport.cgi --env=/home/hobbit/server/etc/xymo nserver.cfg Content-type: text/html
<html><head><title>Invalid request</title></head> <body>Cannot contact the Xymon server </body></html>
Regards Lars Ebeling Rentier
"I am not young enough to know everything." -- Oscar Wilde
In <82687125C085498DA393F031DB55D058 at noip.org> "Lars Ebeling" <lars.ebeling at leopg9.no-ip.org> writes:
Cannot contact the Xymon server
No, you get an "Invalid request" message. That's different.
hobbit�leopg9u:�/cgi-bin$ sh -x confreport.sh
confreport.sh is a CGI script. You cannot invoke it from the commandline without setting the environment variables that a CGI script would normally get from the webserver: REQUEST_METHOD, QUERY_STRING, SCRIPT_NAME and feeding it the post data.
BTW, did you run the upgrade script as per RELEASENOTES and docs/upgrade-to-430.txt ?
Regards, Henrik
I did like I have done hundreds of times just configure make make install
/Lars
----- Original Message ----- From: "Henrik Størner" <henrik at hswn.dk> Newsgroups: lists.hobbit To: <xymon at xymon.com> Sent: Monday, January 24, 2011 7:31 AM Subject: Re: [xymon] can't get confreport to work
In <82687125C085498DA393F031DB55D058 at noip.org> "Lars Ebeling" <lars.ebeling at leopg9.no-ip.org> writes:
Cannot contact the Xymon server
No, you get an "Invalid request" message. That's different.
hobbitÉleopg9u:ü/cgi-bin$ sh -x confreport.sh
confreport.sh is a CGI script. You cannot invoke it from the commandline without setting the environment variables that a CGI script would normally get from the webserver: REQUEST_METHOD, QUERY_STRING, SCRIPT_NAME and feeding it the post data.
BTW, did you run the upgrade script as per RELEASENOTES and docs/upgrade-to-430.txt ?
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
In <10000D1BC898469089DFD5524209431D at noip.org> "Lars Ebeling" <lars.ebeling at leopg9.no-ip.org> writes:
I did like I have done hundreds of times just configure make make install
Not enough this time, I'm afraid. From docs/upgrade-to-430.txt:
- Make sure you have a backup. It is not necessary to backup the data in the hist/, histlogs/, hostdata/ and rrd/ directories (if you use the default directory layout, then that means the entire data/ directory need not be backed up).
- Configure Xymon 4.3.0 using a directory layout that is identical to your previous version. Make sure you keep the directory names exactly as they were in the version you are currently running, even though that may include "hobbit" in the directory name.
- Build Xymon 4.3.0 (run "make")
- Stop Hobbit (the current version).
- Using the "bbcmd" utility from your current version, run then "./build/upgrade430.sh" script. I.e. run a command like ~hobbit/server/bin/bbcmd ./build/upgrade430.sh This will perform almost all of the file renaming and configuration file updates that are needed when going to version 4.3. A few updates cannot be done automatically, you will be notified what else is needed after the script completes.
- Install Xymon 4.3.0 (run "make install").
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org