<div dir="ltr"><div>Tom Schmitt (<a href="mailto:dtsmon@gmail.com">dtsmon@gmail.com</a>)  </div><div>27May2014 information  (in c:\date\xymon-installation.txt)</div><div><br></div><div>My process for loading the system -- (Still fails on  Apache access)</div>
<div><br></div><div>Freshly reloaded 64-bit Dell T105 server with</div><div>    CentOS 6.5 and related utilities following:</div><div>    System Monitoring with Xymon/Administration Guide/Compiling on CentOS - Wikibook </div>
<div>    at <a href="http://en.wikibooks.org/wiki/Sstem_monitoring_with">http://en.wikibooks.org/wiki/Sstem_monitoring_with</a> Xymon/Administration_Guide/Com  ...</div><div>    XYMON was installed in /home/xymon home directory.</div>
<div><br></div><div>    The only changes were to use CentOS 6.5 and the latest Xymon 4.3.17</div><div><br></div><div>    The only item that was not available for downloading was the line:</div><div><span class="" style="white-space:pre">   </span>wget <a href="http://iam8up.com/xymon-initd/xymon">http://iam8up.com/xymon-initd/xymon</a> to have the startup in level 3.</div>
<div><span class="" style="white-space:pre">    </span>The file was not found on the Internet ...</div><div>            Changes:</div><div><span class="" style="white-space:pre">        </span>What I had to do instead:</div><div><span class="" style="white-space:pre">  </span>cp /home/xymon/xymon-4.3.17/rpm/xymon-init.d /etc/init.d/xymon</div>
<div><br></div><div>     Also a change was made to /etc/httpd/conf/httpd.conf file from the remarks in the file:</div><div><br></div><div>          Original comments in the file:</div><div>              #</div><div>              # This should be changed to whatever you set DocumentRoot to.</div>
<div>              #</div><div>             <Directory "/home/xymon/server/www"></div><div><br></div><div>          Changed to:</div><div>          [root@t105 conf]# diff httpd.conf httpd.conf.tom</div><div>
              317c317</div><div>              < <Directory "/home/xymon/server/www"></div><div>              ---</div><div>              > <Directory "/var/www/html"></div><div>             1104a1105</div>
<div>             > </div><div>         [root@t105 conf]# </div><div><br></div><div>1.)  Clear out the logs in /var/log/httpd</div><div>       cd /var/log/httpd</div><div>       >access_log</div><div>       >error_log</div>
<div>2.)  reboot  server with Apache 2.2.15 "httpd -v"</div><div>3.)  Steps followed after reboot:</div><div>       3A.)  Login from SSH to print the enclosed information</div><div>       3B.)  http://<server-ip></div>
<div><span class="" style="white-space:pre">    </span>The Apache test page comes up</div><div>       3C).  http://<server-ip>/xymon/</div><div><span class="" style="white-space:pre">      </span>The index of /xymon is displayed with:  </div>
<div><span class="" style="white-space:pre">    </span>parent directory, gifs help html menu notes rep robots.txt snap wml</div><div>       3D).  http://<server-ip>/xymon</div><div><span class="" style="white-space:pre"> </span>I get a not found 404 error message</div>
<div><br></div><div>        NOTE:  I never do get the "helo" message when accessing ???</div><div>4.)  Log information from steps 3B -> 3D follows:</div><div><br></div><div>       Initial file information:</div>
<div>       [root@t105 ~]# cd /var/log/httpd</div><div>       [root@t105 httpd]# ls -l</div><div>           total 8</div><div>           -rw-r--r--. 1 root root  81 May 27 10:29 access_log</div><div>           -rw-r--r--. 1 root root 644 May 27 10:29 error_log</div>
<div>       [root@t105 httpd]# cat access_log</div><div>          192.168.200.1 - - [27/May/2014:10:29:24 -0400] "GET / HTTP/1.1" 403 5039 "-" "-"</div><div>       [root@t105 httpd]# cat error_log</div>
<div>           [Tue May 27 10:27:51 2014] [notice] caught SIGTERM, shutting down</div><div>           [Tue May 27 10:29:13 2014] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0</div>
<div>           [Tue May 27 10:29:13 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</div><div>           [Tue May 27 10:29:13 2014] [notice] Digest: generating secret for digest authentication ...</div>
<div>           [Tue May 27 10:29:13 2014] [notice] Digest: done</div><div>           [Tue May 27 10:29:13 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations</div><div>           [Tue May 27 10:29:24 2014] [error] [client 192.168.200.1] Directory index forbidden by Options directive: /home/xymon/server/www/</div>
<div>       [root@t105 httpd]# </div><div><br></div><div>       After accessing http://<server-ip>   to bring up the Apache 2 Test Page powered by CentOS</div><div>       Just the additional lines in each file are:</div>
<div>       [root@t105 httpd]# ls -l</div><div>            total 8</div><div>            -rw-r--r--. 1 root root 1090 May 27 10:49 access_log</div><div>            -rw-r--r--. 1 root root  775 May 27 10:49 error_log</div>
<div>       [root@t105 httpd]# cat access_log</div><div>           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)"</div>
<div>           192.168.200.23 - - [27/May/2014:10:49:42 -0400] "GET /icons/apache_pb.gif HTTP/1.1" 304 - "<a href="http://192.168.200.151/">http://192.168.200.151/</a>" "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)"</div>
<div>           192.168.200.23 - - [27/May/2014:10:49:42 -0400] "GET /icons/poweredby.png HTTP/1.1" 304 - "<a href="http://192.168.200.151/">http://192.168.200.151/</a>" "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)"</div>
<div>       [root@t105 httpd]# cat error_log</div><div>           [Tue May 27 10:49:41 2014] [error] [client 192.168.200.23] Directory index forbidden by Options directive: /home/xymon/server/www/</div><div>       [root@t105 httpd]# </div>
<div><br></div><div>       After accessing http://<server-ip>/xymon/ and getting the Index of files of /xymon</div><div>           Index of /xymon</div><div>           Name Last modified Size Description </div><div>
           --------------------------------------------------------------------------------</div><div>           Parent Directory   -    </div><div>           gifs/           09-May-2014 15:01  -    </div><div>           help/          09-May-2014 15:01  -    </div>
<div>           html/          09-May-2014 15:01  -    </div><div>           menu/        09-May-2014 15:01  -    </div><div>           notes/        09-May-2014 15:01  -    </div><div>           rep/            09-May-2014 15:01  -    </div>
<div>           robots.txt 09-May-2014 17:05  26    </div><div>           snap/         09-May-2014 15:01  -    </div><div>           wml/           09-May-2014 15:01  -    </div><div>           --------------------------------------------------------------------------------</div>
<div>           Apache/2 Server at 192.168.200.151 Port 80</div><div><br></div><div>           Just the additional lines in each file are:</div><div><br></div><div>           [root@t105 httpd]# ls -l</div><div>               total 8</div>
<div>               -rw-r--r--. 1 root root 3131 May 27 10:55 access_log</div><div>               -rw-r--r--. 1 root root  890 May 27 10:55 error_log</div><div><br></div><div>           [root@t105 httpd]# cat access_log</div>
<div>              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)"</div>
<div>              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET /icons/blank.gif HTTP/1.1" 304 - "<a href="http://192.168.200.151/xymon/">http://192.168.200.151/xymon/</a>" "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)"</div>
<div>              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET /icons/back.gif HTTP/1.1" 304 - "<a href="http://192.168.200.151/xymon/">http://192.168.200.151/xymon/</a>" "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)"</div>
<div>              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET /icons/folder.gif HTTP/1.1" 304 - "<a href="http://192.168.200.151/xymon/">http://192.168.200.151/xymon/</a>" "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)"</div>
<div>              192.168.200.23 - - [27/May/2014:10:55:29 -0400] "GET /icons/text.gif HTTP/1.1" 304 - "<a href="http://192.168.200.151/xymon/">http://192.168.200.151/xymon/</a>" "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)"</div>
<div>              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)"</div>
<div>          [root@t105 httpd]# cat error_log</div><div>              [Tue May 27 10:55:29 2014] [error] [client 192.168.200.23] File does not exist: /home/xymon/server/www/favicon.ico</div><div>          [root@t105 httpd]# </div>
<div><br></div><div>       After accessing http://<server-ip>/xymon to try to bring up the xymon main page:</div><div><br></div><div><span class="" style="white-space:pre">  </span>HTTP 404 Web Page Not Found</div><div>
<br></div><div>                   The webpage cannot be found                 HTTP 404  </div><div>                   Most likely causes:</div><div>                       There might be a typing error in the address. </div>
<div>                             If you clicked on a link, it may be out of date. </div><div> </div><div>                  What you can try: </div><div>                       Retype the address.  </div><div>                  Go back to the previous page. </div>
<div>                  Go to  and look for the information you want.  </div><div>                  More information </div><div>                  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.</div>
<div>                  For more information about HTTP errors, see Help.</div><div> </div><div><br></div><div>           Just the additional lines in each file are:</div><div>           [root@t105 httpd]# ls -l</div><div>
               total 8</div><div>               -rw-r--r--. 1 root root 3446 May 27 11:03 access_log</div><div>               -rw-r--r--. 1 root root  999 May 27 11:03 error_log</div><div>          [root@t105 httpd]# cat access_log</div>
<div>              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)"</div>
<div>          [root@t105 httpd]# cat error_log</div><div>              [Tue May 27 11:03:58 2014] [error] [client 192.168.200.23] File does not exist: /home/xymon/server/www/xymon</div><div>          [root@t105 httpd]# </div>
<div><br></div><div>FYI:</div><div>          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.</div><div>          The permissions on the /home/xymon directory seem to be correctL</div>
<div><span class="" style="white-space:pre">    </span>[root@t105 conf]# cd /home</div><div>                   [root@t105 home]# ls -l</div><div>                       total 20</div><div>                       drwx------. 2 root  root  16384 May  9 13:50 lost+found</div>
<div>                       drwxr-xr-x. 8 xymon xymon  4096 May  9 15:01 xymon</div><div>                   [root@t105 home]# ls -l xymon</div><div>                       total 5424</div><div>                      drwxr-xr-x.  2 xymon xymon    4096 May  9 15:01 cgi-bin</div>
<div>                      drwxr-xr-x.  2 xymon xymon    4096 May  9 15:01 cgi-secure</div><div>                      drwxr-xr-x.  8 xymon xymon    4096 May  9 15:01 client</div><div>                      drwxr-xr-x. 10 xymon xymon    4096 May  9 15:01 data</div>
<div>                      drwxr-xr-x.  9 xymon xymon    4096 May  9 15:01 server</div><div>                      drwxr-xr-x. 16 xymon xymon    4096 May  9 14:56 xymon-4.3.17</div><div>                      -rw-rw-r--.  1 xymon xymon 2772765 Feb 23 11:17 xymon-4.3.17.tar.gz</div>
<div>                  [root@t105 home]# </div><div><br></div><div>          The index listing of /xymon matches the following info:</div><div><span class="" style="white-space:pre"> </span>[root@t105 www]# pwd</div><div>
                       /home/xymon/server/www</div><div>                   [root@t105 www]# ls -l</div><div>                       total 36</div><div>                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 gifs</div>
<div>                      drwxr-xr-x. 3 xymon xymon  4096 May  9 15:01 help</div><div>                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 html</div><div>                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 menu</div>
<div>                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 notes</div><div>                      drwxrwxr-x. 2 xymon apache 4096 May  9 15:01 rep</div><div>                      -rw-r--r--. 1 root  root     26 May  9 17:05 robots.txt</div>
<div>                      drwxrwxr-x. 2 xymon apache 4096 May  9 15:01 snap</div><div>                      drwxr-xr-x. 2 xymon xymon  4096 May  9 15:01 wml</div><div>                  [root@t105 www]# </div><div><br></div>
<div><br></div><div>I know that I have something setup incorrect, but for the life of me, I cannot find it!</div><div>Any assistance will be greatly appreciated - this has been going on for me for months.</div><div>My older setups never seemed to have any problem like this.</div>
<div>If you would like me to send you the httpd.conf file I will.</div><div><br></div><div>Thanks TomS</div><div><br></div></div>