[Xymon] (DTS) Still trying to setup Xymon 4.3.17 on CentOS 6.5 - trouble with Apache Config

Tom Schmitt dtsmon at gmail.com
Tue May 27 17:29:58 CEST 2014


Tom Schmitt (dtsmon at gmail.com)
27May2014 information  (in c:\date\xymon-installation.txt)

My process for loading the system -- (Still fails on  Apache access)

Freshly reloaded 64-bit Dell T105 server with
    CentOS 6.5 and related utilities following:
    System Monitoring with Xymon/Administration Guide/Compiling on CentOS -
Wikibook
    at http://en.wikibooks.org/wiki/Sstem_monitoring_withXymon/Administration_Guide/Com
 ...
    XYMON was installed in /home/xymon home directory.

    The only changes were to use CentOS 6.5 and the latest Xymon 4.3.17

    The only item that was not available for downloading was the line:
wget http://iam8up.com/xymon-initd/xymon to have the startup in level 3.
The file was not found on the Internet ...
            Changes:
What I had to do instead:
cp /home/xymon/xymon-4.3.17/rpm/xymon-init.d /etc/init.d/xymon

     Also a change was made to /etc/httpd/conf/httpd.conf file from the
remarks in the file:

          Original comments in the file:
              #
              # This should be changed to whatever you set DocumentRoot to.
              #
             <Directory "/home/xymon/server/www">

          Changed to:
          [root at t105 conf]# diff httpd.conf httpd.conf.tom
              317c317
              < <Directory "/home/xymon/server/www">
              ---
              > <Directory "/var/www/html">
             1104a1105
             >
         [root at t105 conf]#

1.)  Clear out the logs in /var/log/httpd
       cd /var/log/httpd
       >access_log
       >error_log
2.)  reboot  server with Apache 2.2.15 "httpd -v"
3.)  Steps followed after reboot:
       3A.)  Login from SSH to print the enclosed information
       3B.)  http://<server-ip>
The Apache test page comes up
       3C).  http://<server-ip>/xymon/
The index of /xymon is displayed with:
parent directory, gifs help html menu notes rep robots.txt snap wml
       3D).  http://<server-ip>/xymon
I get a not found 404 error message

        NOTE:  I never do get the "helo" message when accessing ???
4.)  Log information from steps 3B -> 3D follows:

       Initial file information:
       [root at t105 ~]# cd /var/log/httpd
       [root at t105 httpd]# ls -l
           total 8
           -rw-r--r--. 1 root root  81 May 27 10:29 access_log
           -rw-r--r--. 1 root root 644 May 27 10:29 error_log
       [root at t105 httpd]# cat access_log
          192.168.200.1 - - [27/May/2014:10:29:24 -0400] "GET / HTTP/1.1"
403 5039 "-" "-"
       [root at t105 httpd]# cat error_log
           [Tue May 27 10:27:51 2014] [notice] caught SIGTERM, shutting down
           [Tue May 27 10:29:13 2014] [notice] SELinux policy enabled;
httpd running as context system_u:system_r:httpd_t:s0
           [Tue May 27 10:29:13 2014] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec)
           [Tue May 27 10:29:13 2014] [notice] Digest: generating secret
for digest authentication ...
           [Tue May 27 10:29:13 2014] [notice] Digest: done
           [Tue May 27 10:29:13 2014] [notice] Apache/2.2.15 (Unix) DAV/2
configured -- resuming normal operations
           [Tue May 27 10:29:24 2014] [error] [client 192.168.200.1]
Directory index forbidden by Options directive: /home/xymon/server/www/
       [root at t105 httpd]#

       After accessing http://<server-ip>   to bring up the Apache 2 Test
Page powered by CentOS
       Just the additional lines in each file are:
       [root at t105 httpd]# ls -l
            total 8
            -rw-r--r--. 1 root root 1090 May 27 10:49 access_log
            -rw-r--r--. 1 root root  775 May 27 10:49 error_log
       [root at t105 httpd]# cat access_log
           192.168.200.23 - - [27/May/2014:10:49:41 -0400] "GET / HTTP/1.1"
403 5039 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.5;
.NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
.NET CLR 3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3;
798808333803; Service 3.00302)"
           192.168.200.23 - - [27/May/2014:10:49:42 -0400] "GET
/icons/apache_pb.gif HTTP/1.1" 304 - "http://192.168.200.151/" "Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR 1.1.4322;
InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803; Service
3.00302)"
           192.168.200.23 - - [27/May/2014:10:49:42 -0400] "GET
/icons/poweredby.png HTTP/1.1" 304 - "http://192.168.200.151/" "Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR 1.1.4322;
InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803; Service
3.00302)"
       [root at t105 httpd]# cat error_log
           [Tue May 27 10:49:41 2014] [error] [client 192.168.200.23]
Directory index forbidden by Options directive: /home/xymon/server/www/
       [root at t105 httpd]#

       After accessing http://<server-ip>/xymon/ and getting the Index of
files of /xymon
           Index of /xymon
           Name Last modified Size Description

 --------------------------------------------------------------------------------
           Parent Directory   -
           gifs/           09-May-2014 15:01  -
           help/          09-May-2014 15:01  -
           html/          09-May-2014 15:01  -
           menu/        09-May-2014 15:01  -
           notes/        09-May-2014 15:01  -
           rep/            09-May-2014 15:01  -
           robots.txt 09-May-2014 17:05  26
           snap/         09-May-2014 15:01  -
           wml/           09-May-2014 15:01  -

 --------------------------------------------------------------------------------
           Apache/2 Server at 192.168.200.151 Port 80

           Just the additional lines in each file are:

           [root at t105 httpd]# ls -l
               total 8
               -rw-r--r--. 1 root root 3131 May 27 10:55 access_log
               -rw-r--r--. 1 root root  890 May 27 10:55 error_log

           [root at t105 httpd]# cat access_log
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET /xymon/
HTTP/1.1" 200 2421 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
GTB7.5; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.5;
OfficeLivePatch.1.3; 798808333803; Service 3.00302)"
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET
/icons/blank.gif HTTP/1.1" 304 - "http://192.168.200.151/xymon/"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803;
Service 3.00302)"
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET
/icons/back.gif HTTP/1.1" 304 - "http://192.168.200.151/xymon/"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803;
Service 3.00302)"
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET
/icons/folder.gif HTTP/1.1" 304 - "http://192.168.200.151/xymon/"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803;
Service 3.00302)"
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET
/icons/text.gif HTTP/1.1" 304 - "http://192.168.200.151/xymon/"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.5; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; 798808333803;
Service 3.00302)"
              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET
/favicon.ico HTTP/1.1" 404 276 "-" "Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 5.1; GTB7.5; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727;
.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.5;
OfficeLivePatch.1.3; 798808333803; Service 3.00302)"
          [root at t105 httpd]# cat error_log
              [Tue May 27 10:55:29 2014] [error] [client 192.168.200.23]
File does not exist: /home/xymon/server/www/favicon.ico
          [root at t105 httpd]#

       After accessing http://<server-ip>/xymon to try to bring up the
xymon main page:

HTTP 404 Web Page Not Found

                   The webpage cannot be found                 HTTP 404
                   Most likely causes:
                       There might be a typing error in the address.
                             If you clicked on a link, it may be out of
date.

                  What you can try:
                       Retype the address.
                  Go back to the previous page.
                  Go to  and look for the information you want.
                  More information
                  This error (HTTP 404 Not Found) means that Internet
Explorer was able to connect to the website, but the page you wanted was
not found. It's possible that the webpage is temporarily unavailable.
Alternatively, the website might have changed or removed the webpage.
                  For more information about HTTP errors, see Help.


           Just the additional lines in each file are:
           [root at t105 httpd]# ls -l
               total 8
               -rw-r--r--. 1 root root 3446 May 27 11:03 access_log
               -rw-r--r--. 1 root root  999 May 27 11:03 error_log
          [root at t105 httpd]# cat access_log
              192.168.200.23 - - [27/May/2014:11:03:58 -0400] "GET /xymon
HTTP/1.1" 404 270 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
GTB7.5; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.5;
OfficeLivePatch.1.3; 798808333803; Service 3.00302)"
          [root at t105 httpd]# cat error_log
              [Tue May 27 11:03:58 2014] [error] [client 192.168.200.23]
File does not exist: /home/xymon/server/www/xymon
          [root at t105 httpd]#

FYI:
          I have checked all the setup items in the document more that once
and tried a complete re-install of server, etc. more that once.
          The permissions on the /home/xymon directory seem to be correctL
[root at t105 conf]# cd /home
                   [root at t105 home]# ls -l
                       total 20
                       drwx------. 2 root  root  16384 May  9 13:50
lost+found
                       drwxr-xr-x. 8 xymon xymon  4096 May  9 15:01 xymon
                   [root at t105 home]# ls -l xymon
                       total 5424
                      drwxr-xr-x.  2 xymon xymon    4096 May  9 15:01
cgi-bin
                      drwxr-xr-x.  2 xymon xymon    4096 May  9 15:01
cgi-secure
                      drwxr-xr-x.  8 xymon xymon    4096 May  9 15:01 client
                      drwxr-xr-x. 10 xymon xymon    4096 May  9 15:01 data
                      drwxr-xr-x.  9 xymon xymon    4096 May  9 15:01 server
                      drwxr-xr-x. 16 xymon xymon    4096 May  9 14:56
xymon-4.3.17
                      -rw-rw-r--.  1 xymon xymon 2772765 Feb 23 11:17
xymon-4.3.17.tar.gz
                  [root at t105 home]#

          The index listing of /xymon matches the following info:
[root at t105 www]# pwd
                       /home/xymon/server/www
                   [root at t105 www]# ls -l
                       total 36
                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 gifs
                      drwxr-xr-x. 3 xymon xymon  4096 May  9 15:01 help
                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 html
                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 menu
                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 notes
                      drwxrwxr-x. 2 xymon apache 4096 May  9 15:01 rep
                      -rw-r--r--. 1 root  root     26 May  9 17:05
robots.txt
                      drwxrwxr-x. 2 xymon apache 4096 May  9 15:01 snap
                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 wml
                  [root at t105 www]#


I know that I have something setup incorrect, but for the life of me, I
cannot find it!
Any assistance will be greatly appreciated - this has been going on for me
for months.
My older setups never seemed to have any problem like this.
If you would like me to send you the httpd.conf file I will.

Thanks TomS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140527/c036c65b/attachment.html>


More information about the Xymon mailing list