From lars.ebeling@leopg9.no-ip.org Wed Jun 24 08:20:33 2026 From: lars.ebeling@leopg9.no-ip.org To: xymon@xymon.com Subject: can't get confreport to work Date: Sun, 23 Jan 2011 19:41:22 +0100 Message-ID: <82687125C085498DA393F031DB55D058@noip.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6980155088407048326==" --===============6980155088407048326== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 Invalid request Cannot contact the Xymon server -- Regards Lars Ebeling Rentier http://leopg9.no-ip.org "I am not young enough to know everything." -- Oscar Wilde --===============6980155088407048326==-- From henrik@hswn.dk Wed Jun 24 08:20:33 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [xymon] can't get confreport to work Date: Mon, 24 Jan 2011 06:31:35 +0000 Message-ID: In-Reply-To: <82687125C085498DA393F031DB55D058@noip.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4916145432696244261==" --===============4916145432696244261== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable In <82687125C085498DA393F031DB55D058 at noip.org> "Lars Ebeling" writes: >Cannot contact the Xymon server No, you get an "Invalid request" message. That's different. >hobbit=EF=BF=BDleopg9u:=EF=BF=BD/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 --===============4916145432696244261==-- From lars.ebeling@leopg9.no-ip.org Wed Jun 24 08:20:33 2026 From: lars.ebeling@leopg9.no-ip.org To: xymon@xymon.com Subject: [xymon] can't get confreport to work Date: Mon, 24 Jan 2011 08:16:43 +0100 Message-ID: <10000D1BC898469089DFD5524209431D@noip.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8151964889927431758==" --===============8151964889927431758== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit I did like I have done hundreds of times just configure make make install /Lars ----- Original Message ----- From: "Henrik Størner" Newsgroups: lists.hobbit To: Sent: Monday, January 24, 2011 7:31 AM Subject: Re: [xymon] can't get confreport to work > In <82687125C085498DA393F031DB55D058 at noip.org> "Lars Ebeling" > 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 > > > --===============8151964889927431758==-- From henrik@hswn.dk Wed Jun 24 08:20:33 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [xymon] can't get confreport to work Date: Mon, 24 Jan 2011 09:32:36 +0000 Message-ID: In-Reply-To: <10000D1BC898469089DFD5524209431D@noip.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7428125101798437604==" --===============7428125101798437604== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable In <10000D1BC898469089DFD5524209431D at noip.org> "Lars Ebeling" 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: 1) 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). 2) 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. 3) Build Xymon 4.3.0 (run "make") 4) Stop Hobbit (the current version). 5) 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. 6) Install Xymon 4.3.0 (run "make install"). Regards, Henrik --===============7428125101798437604==--