[Xymon] URL error

Leon Swanepoel ljswan at mweb.co.za
Tue Jun 11 12:16:10 CEST 2019


Hi Jeremy,

Nothing of use in the error logs.

[Mon Jun 10 15:34:01.455434 2019] [authz_core:error] [pid 14725:tid
140279814227712] [client 172.29.89.26:52051] AH01630: client denied by
server configuration: /usr/lib/xymon/server/www/favicon.ico
[Mon Jun 10 15:34:07.454007 2019] [authz_core:error] [pid 14725:tid
140279805835008] [client 172.29.89.26:52052] AH01630: client denied by
server configuration: /usr/lib/xymon/server/www/
[Mon Jun 10 15:34:07.489009 2019] [authz_core:error] [pid 14725:tid
140279797442304] [client 172.29.89.26:52052] AH01630: client denied by
server configuration: /usr/lib/xymon/server/www/favicon.ico
[Mon Jun 10 15:35:08.804579 2019] [mpm_event:notice] [pid 14722:tid
140280120686464] AH00491: caught SIGTERM, shutting down
[Mon Jun 10 18:13:55.352339 2019] [mpm_event:notice] [pid 23296:tid
140302930818944] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming
normal operations
[Mon Jun 10 18:13:55.352428 2019] [core:notice] [pid 23296:tid
140302930818944] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 10 19:01:05.911226 2019] [mpm_event:notice] [pid 23296:tid
140302930818944] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive
globally to suppress this message
[Mon Jun 10 19:01:05.914515 2019] [mpm_event:notice] [pid 23296:tid
140302930818944] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming
normal operations
[Mon Jun 10 19:01:05.914523 2019] [core:notice] [pid 23296:tid
140302930818944] AH00094: Command line: '/usr/sbin/apache2'

I have also corrected the file patch as to where to find the index.html

leon at cpt-00812:/var/lib/xymon/www$ ls -la
total 76
drwxr-xr-x  8 root  www-data  4096 Jun 11 11:03 .
drwxr-xr-x 12 xymon xymon     4096 Jun 10 19:01 ..
-rw-r--r--  1 root  www-data  8531 Jun 11 11:03 critical.html
lrwxrwxrwx  1 root  www-data    21 Jan 12  2014 gifs
-> /usr/share/xymon/gifs
lrwxrwxrwx  1 root  www-data    21 Jan 12  2014 help
-> /usr/share/xymon/help
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 html
lrwxrwxrwx  1 root  www-data    10 Jun 11 11:03 index.html -> xymon.html
drwxr-xr-x  2 root  www-data  4096 Jun 10 19:01 menu
-rw-r--r--  1 root  www-data 14347 Jun 11 11:03 nongreen.html
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 notes
drwxrwxr-x  2 root  www-data  4096 Jan 12  2014 rep
drwxrwxr-x  2 root  www-data  4096 Jan 12  2014 snap
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 wml
-rw-r--r--  1 root  www-data 14289 Jun 11 11:03 xymon.html


<VirtualHost *:80>
    ServerAdmin webmaster at localhost
    DocumentRoot /var/lib/xymon/www/ 
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /xymon/  "/var/lib/xymon/www/"
<Directory "/var/lib/xymon/www/">
    AllowOverride all
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"
<Directory "/usr/lib/xymon/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"
<Directory "/usr/lib/xymon/cgi-secure">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all

    # Password file where users with access to these scripts are kept.
    # Create it with "htpasswd -c /usr/lib/xymon/server/etc/xymonpasswd
USERNAME"
    # Add more users / change passwords with
"htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME"

    AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd
    AuthType Basic
    AuthName "Xymon Administration"
    Require valid-user
</Directory>

</VirtualHost>

I have also set the log level to debug but no luck.

Thank You,
Leon

On Tue, 2019-06-11 at 19:38 +1000, Jeremy Laidman wrote:
> Leon
> 
> 
> Check your Apache error log for clues.
> 
> 
> Chances are, your Xymon installation is putting the index.html file in
> a different place to where Apache is looking for it. Your config
> suggests you should find index.html in /usr/lib/xymon/server/www/.
> 
> 
> Cheers
> Jeremy
> 
> On Tue, 11 Jun 2019 at 19:32, Leon Swanepoel <ljswan at mweb.co.za>
> wrote:
> 
>         Good day,
>         
>         When I go to the URL <ip address>/xymon/xymon.html, I get the
>         error
>         below.
>         
>         The requested URL /xymon/xymon.html was not found on this
>         server.
>         
>         Here is my config file.
>         
>         /etc/apache2/sites-available/xymon.conf
>         
>         <VirtualHost *:80>
>             ServerAdmin webmaster at localhost
>             DocumentRoot /usr/lib/xymon/server/www/ 
>             ErrorLog ${APACHE_LOG_DIR}/error.log
>             CustomLog ${APACHE_LOG_DIR}/access.log combined
>         
>         Alias /xymon/  "/usr/lib/xymon/server/www/"
>         <Directory "/usr/lib/xymon/server/www/">
>             AllowOverride all
>             Options Indexes FollowSymLinks Includes MultiViews
>             Order allow,deny
>             Allow from all
>         </Directory>
>         
>         ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"
>         <Directory "/usr/lib/xymon/cgi-bin">
>             AllowOverride None
>             Options ExecCGI Includes
>             Order allow,deny
>             Allow from all
>         </Directory>
>         
>         ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"
>         <Directory "/usr/lib/xymon/cgi-secure">
>             AllowOverride None
>             Options ExecCGI Includes
>             Order allow,deny
>             Allow from all
>         
>             # Password file where users with access to these scripts
>         are kept.
>             # Create it with "htpasswd
>         -c /usr/lib/xymon/server/etc/xymonpasswd
>         USERNAME"
>             # Add more users / change passwords with
>         "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME"
>         
>             AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd
>             AuthType Basic
>             AuthName "Xymon Administration"
>             Require valid-user
>         </Directory>
>         
>         Any ideas?
>         
>         Thank You,
>         Leon
>         
>         _______________________________________________
>         Xymon mailing list
>         Xymon at xymon.com
>         http://lists.xymon.com/mailman/listinfo/xymon




More information about the Xymon mailing list