Help with installing xymon
list Charles Moore
From: user-048ab2e69ad9@xymon.invalid I have installed xymon 4.3.0 on a Solaris 10 server, let's call it kaylee. It was compiled with gnuc using apache-1.3.33 with php4 support. Everything compiled correctly as far as I can tell, at least no major errors. Everything installed correctly into /home/xymon. I've taken a standard apache httpd.conf and added the extra statements mentioned in the xymon-apache.conf. A restart of apache shows no problems with the config. However, when I enter the url http://kaylee/xymon the error_log says: [Mon Mar 21 16:34:05 2011] [error] [client 192.168.69.28] File does not exist: /opt/apache/htdocs/xymon I placed a phpinfo.php into the /home/xymon/server/www directory and used url http://kaylee/xymon/phpinfo.php successfully. So, I am at a loss of where to look at next. The attachment is a copy of the httpd.conf I am testing with. I would appreciate any help given. Charlie Moore Senior Systems Engineer EarthLink Business (XXX) XXX-XXXX
Attachments (1)
list Johan Sjöberg
Hi. The alias is Alias /xymon/ "/home/xymon/server/www/" So it should work if you add a trailing slash, http://kaylee/xymon/ /Johan
▸
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Moore, Charles Sent: den 22 mars 2011 01:03 To: xymon at xymon.com Cc: user-04c2c4a28dbf@xymon.invalid Subject: [Xymon] Help with installing xymon From: user-048ab2e69ad9@xymon.invalid I have installed xymon 4.3.0 on a Solaris 10 server, let's call it kaylee. It was compiled with gnuc using apache-1.3.33 with php4 support. Everything compiled correctly as far as I can tell, at least no major errors. Everything installed correctly into /home/xymon. I've taken a standard apache httpd.conf and added the extra statements mentioned in the xymon-apache.conf. A restart of apache shows no problems with the config. However, when I enter the url http://kaylee/xymon the error_log says: [Mon Mar 21 16:34:05 2011] [error] [client 192.168.69.28] File does not exist: /opt/apache/htdocs/xymon I placed a phpinfo.php into the /home/xymon/server/www directory and used url http://kaylee/xymon/phpinfo.php successfully. So, I am at a loss of where to look at next. The attachment is a copy of the httpd.conf I am testing with. I would appreciate any help given. Charlie Moore Senior Systems Engineer EarthLink Business (XXX) XXX-XXXX
list Buchan Milne
▸
----- "Charles Moore" <user-9966bf74e8db@xymon.invalid> wrote:
From: user-048ab2e69ad9@xymon.invalid I have installed xymon 4.3.0 on a Solaris 10 server, let's call it kaylee. It was compiled with gnuc using apache-1.3.33 with php4 support. Everything compiled correctly as far as I can tell, at least no major errors. Everything installed correctly into /home/xymon. I've taken a standard apache httpd.conf and added the extra statements mentioned in the xymon-apache.conf. A restart of apache shows no problems with the config. However, when I enter the url http://kaylee/xymon the error_log says: [Mon Mar 21 16:34:05 2011] [error] [client 192.168.69.28] File does not exist: /opt/apache/htdocs/xymon I placed a phpinfo.php into the /home/xymon/server/www directory and used url http://kaylee/xymon/phpinfo.php successfully. So, I am at a loss of where to look at next. The attachment is a copy of the httpd.conf I am testing with.
From your httpd.conf: Alias /xymon/ "/home/xymon/server/www/" So, this will allow you to access e.g. http://kaylee/xymon/ , but not http://keylee/xymon . Maybe you want: Alias /xymon "/home/xymon/server/www" It is best to avoid unnecessary /'s in Apache configs. (Of course, there is nothing Xymon-specific here) Regards, Buchan