[Xymon] 404 Not Found URL/xymon was not found on this server

Josh Luthman josh at imaginenetworksllc.com
Wed Dec 11 20:38:47 CET 2013


Did you see my answer about requesting the wrong directory?


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373


On Wed, Dec 11, 2013 at 2:37 PM, Root, Paul T <Paul.Root at centurylink.com>wrote:

>  Any error messages in apache log files?
>
>
>
> *From:* Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov]
> *Sent:* Wednesday, December 11, 2013 1:19 PM
> *To:* Root, Paul T; 'xymon at xymon.com'
>
> *Subject:* RE: 404 Not Found URL/xymon was not found on this server
>
>
>
> Hi Paul,
>
>
>
> I saw that thread and I did go to the config file to make sure…
>
>
>
> XYMONSERVERROOT="/home/xymon"                   # Where Xymon is installed
>
> XYMONSERVERLOGS="/var/log/xymon"                        # Directory for
> server logs. The xymon user must have write-access here.
>
> XYMONCLIENTHOME="/home/xymon/client"            # XYMONHOME directory for
> the client
>
>
>
> XYMONSERVERHOSTNAME="lsypf01a.in.domain"        # The hostname of your
> server
>
> XYMONSERVERIP="10.82.10.54"                     # The IP-address of your
> server. Use the real one, not 127.0.0.1 .
>
> XYMONSERVEROS="linux"                   # The operating system of your
> server. linux,freebsd,solaris,hpux,aix,osf
>
>
>
> XYMONSERVERWWWNAME="lsypf01a.in.domain"         # The name used for this
> hosts' webserver
>
> XYMONSERVERWWWURL="/xymon"              # The top URL for the Xymon
> webpages
>
> XYMONSERVERCGIURL="/xymon-cgi"          # The URL for the Xymon CGI
> scripts.
>
> XYMONSERVERSECURECGIURL="/xymon-seccgi" # The URL for the secured Xymon
> CGI scripts.
>
>
>
> # XYMONNETWORK="foo"                            # The network location,
> makes xymonnet test only hosts with NET:foo
>
>                                                 # You only need to set
> this if you have multiple network test servers with
>
>                                                 # a shared hosts.cfg file.
>
>
>
> # Make sure the path includes the directories where you have fping, mail
> and (optionally) ntpdate installed,
>
> # as well as the XYMONHOME/bin directory where all of the Xymon programs
> reside.
>
>
> PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/xymon/server/bin"
>
> SHELL="/bin/sh"                                 # Shell to use when
> forking programs
>
>
>
> # Some systems need extra settings e.g. to locate run-time libraries.
>
> # You can add these extra settings here:
>
>
>
>
>
> # Default settings for "delayred" and "delayyellow" parameters in hosts.cfg
>
> DELAYRED=""                     # Format: status:delay[,status:delay -
> e.g. "cpu:15,disk:30"
>
> DELAYYELLOW=""                  # Format: status:delay[,status:delay -
> e.g. "cpu:15,disk:30"
>
>
>
>
>
> ##### Normally you do not need to modify anything below this point #####
>
>
>
> # General settings
>
> XYMONDPORT="1984"               # Portnumber where xymond listens
>
> XYMSRV="10.82.10.54"            # IP of a single Xymon server
>
> XYMSERVERS=""                   # IP of multiple Xymon servers. If used,
> XYMSRV must be 0.0.0.0
>
> FQDN="TRUE"                     # Use fully-qualified hostnames
> internally. Keep it TRUE unless you know better.
>
>
>
>
>
> I restarted xymon first and then apache… still no luck.
>
>
>
> [xymon at lsypf01a ~]$ ./server/xymon.sh restart
>
> Xymon stopped
>
> Xymon started
>
> [root at lsypf01a etc]# service httpd restart
>
> Stopping httpd: [  OK  ]
>
> Starting httpd: [  OK  ]
>
>
>
> http://10.82.10.54 is served, but not http://10.82.10.54/xymon
>
>
>
> D’oh.
>
>
>
> *David Diep* *|* IBM Z Series Network Architect | Office of the Chief
> Technology Officer
>
> Integrated Platform Services | 200 I Steet SE | Washington DC, 20003
>
> Phone: 202.727.1475 *| *Mobile Phone: 202.727.3976 *| *Email:*David.Diep at dc.gov
> <David.Diep at dc.gov>*
>
> Website: www.octo.dc.gov *| **Telework day: Thursday*
>
>
>
> *From:* Root, Paul T [mailto:Paul.Root at CenturyLink.com<Paul.Root at CenturyLink.com>]
>
> *Sent:* Wednesday, December 11, 2013 2:04 PM
> *To:* Diep, David (OCTO-Contractor); 'xymon at xymon.com'
> *Subject:* RE: 404 Not Found URL/xymon was not found on this server
>
>
>
> We just had this one.
>
>
>
> You see that xymon is listening on 0.0.0.0:1984. You need to change you
> XYMONSERVERIP environment in xymonserver.cfg to the IP address of the
> server.  Also set XYMONSERVERHOSTNAME to the hostname and XZYMSRV to the ip
> address as well. Then restart xymon.
>
>
>
> I’m assuming you did restart apache after you put the xymon-apache.conf
> into /etc/httpd/conf.d, right?
>
>
>
> *From:* Xymon [mailto:xymon-bounces at xymon.com <xymon-bounces at xymon.com>] *On
> Behalf Of *Diep, David (OCTO-Contractor)
> *Sent:* Wednesday, December 11, 2013 12:48 PM
> *To:* xymon at xymon.com
> *Subject:* [Xymon] 404 Not Found URL/xymon was not found on this server
>
>
>
> Hi Everyone,
>
>
>
> I’m very very new to XYMON, as a matter of fact, I just installed it 15
> minutes ago. I thought I was cruising along quite nicely until I tested it.
> This is what I received:
>
> *Not Found*
>
> The requested URL /xymon was not found on this server.
>  ------------------------------
>
> *Apache/2.2.15 (Red Hat) Server at 10.82.10.54 Port 80*
>
>
>
> Xymon is running, that I can confirm:
>
>
>
> [xymon at lsypf01a ~]$ ./server/xymon.sh status
>
> Xymon (xymonlaunch) running with PID 4826
>
> [xymon at lsypf01a ~]$
>
>
>
> Here is my xymon-apache.conf, I made changes from what I’ve read in the
> older subscription messages:
>
>
>
> Alias /xymon/  "/home/xymon/server/www/"
>
> <Directory "/home/xymon/server/www">
>
>     Options Indexes FollowSymLinks Includes MultiViews
>
>     Require all granted
>
> </Directory>
>
>
>
> ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/"
>
> <Directory "/home/xymon/cgi-bin">
>
>     AllowOverride None
>
>     Options ExecCGI Includes
>
>     Require all granted
>
> </Directory>
>
>
>
> ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/"
>
> <Directory "/home/xymon/cgi-secure">
>
>     AllowOverride None
>
>     Options ExecCGI Includes
>
>     Require all granted
>
>
>
> Various logs in /var/log/xymon:
>
>
>
> Xymonlaunch.log:
>
> 2013-12-11 13:24:00 xymonlaunch starting
>
> 2013-12-11 13:24:00 Loading tasklist configuration from
> /home/xymon/server/etc/tasks.cfg
>
> 2013-12-11 13:24:00 Cannot open directory /home/xymon/server/etc/tasks.d
>
> 2013-12-11 13:24:00 Loading hostnames
>
> 2013-12-11 13:24:00 Loading saved state
>
> 2013-12-11 13:24:00 Setting up network listener on 0.0.0.0:1984
>
> 2013-12-11 13:24:00 Setting up signal handlers
>
> 2013-12-11 13:24:00 Setting up xymond channels
>
> 2013-12-11 13:24:00 Setting up logfiles
>
>
>
> Rrd-data.log:
>
> 2013-12-11 13:34:13 Peer at 0.0.0.0:0 failed: Broken pipe
>
> 2013-12-11 13:34:13 Peer not up, flushing message queue
>
> 2013-12-11 13:34:13 exec() failed for child command xymond_rrd: No such
> file or directory
>
> 2013-12-11 13:34:13 Child process 5357 died: Exit status 1
>
>
>
> *David Diep*
>
>
>
>
>
> Look out for those in need this winter. When the temperature or wind chill
> is 32°F or below, the District issues a Hypothermia Alert. For assistance
> during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan>at *1-800-535-7252
> <1-800-535-7252>* or *311*.
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131211/e533b4a7/attachment.html>


More information about the Xymon mailing list