I am doing some testing with the new RC1 release and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
Here are some source examples:
<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/xymon/menu/xymonmenu-blue.css">
<!-- Styles for the Xymon body -->
<link rel="stylesheet" type="text/css" href="/xymon/gifs/xymonbody.css">
<!-- The favicon image -->
<link rel="shortcut icon" href="/xymon/gifs/favicon-yellow.ico">
The xymon-cgi directory is working properly.
<div class="outer">
<span class="menutag">Reports<span class="invis">: </span></span>
<a class="inner-1" href="/xymon-cgi/eventlog.sh">Event log Report</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/topchanges.sh">Top Changes</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/report.sh">Availability Report</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/snapshot.sh">Snapshot Report</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/confreport.sh">Config Report</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/confreport-critical.sh">Config Report (Critical)</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/hostgraphs.sh">Metrics Report</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/ghostlist.sh">Ghost Clients</a><span class="invis"> | </span>
<a class="inner" href="/xymon-cgi/notifications.sh">Notification Report</a>
In the Makefile I have the following.
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
I made / the DocumentRoot and commented out the Alias
DocumentRoot "/home/xymon/server/www"
#Alias / "/home/xymon/server/www/"
<Directory "/home/xymon/server/www/">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
</Directory>
Does anyone have an idea why this is happening? The system is a RedHat EL6. uname -a shows Linux hostname 2.6.32-71.14.1.el6.x86_64
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
This is a brand new install on a newly created server.
Tom
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Thursday, February 10, 2011 2:38 AM To: xymon at xymon.com Cc: Stewart, Tom L. Subject: Re: [xymon] Issue with 4.3 RC1
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
I suspect that you'll find that you have some overly strict permission settings on your web files. I had a similar problem when I installed RC1 and relaxing the permissions so that the Apache user (usually "nobody") can read the files fixed the problem. You will probably want to make sure that the xymon user account has a umask no more restrictive than 022. Also, if this is a new OS install, make sure selinux is turned off.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 8:38 AM, Stewart, Tom L. <Tom.Stewart at landsend.com>wrote:
This is a brand new install on a newly created server.
Tom
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Thursday, February 10, 2011 2:38 AM To: xymon at xymon.com Cc: Stewart, Tom L. Subject: Re: [xymon] Issue with 4.3 RC1
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
I don't see how permissions would create the web page links with the extra /xymon/ as part of the link.
For example the xymon web page comes up, but the Main view link shows "/xymon/xymon.html" instead of just "xymon.html". I don't know why xymon is adding the extra path. Any paths with xymon-cgi work without any problems.
Thank you,
Tom
From: Larry Barber [mailto:lebarber at gmail.com] Sent: Thursday, February 10, 2011 1:00 PM To: xymon at xymon.com Subject: Re: [xymon] Issue with 4.3 RC1
I suspect that you'll find that you have some overly strict permission settings on your web files. I had a similar problem when I installed RC1 and relaxing the permissions so that the Apache user (usually "nobody") can read the files fixed the problem. You will probably want to make sure that the xymon user account has a umask no more restrictive than 022. Also, if this is a new OS install, make sure selinux is turned off.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 8:38 AM, Stewart, Tom L. <Tom.Stewart at landsend.com> wrote:
This is a brand new install on a newly created server.
Tom
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Thursday, February 10, 2011 2:38 AM To: xymon at xymon.com Cc: Stewart, Tom L. Subject: Re: [xymon] Issue with 4.3 RC1
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
The "extra" xymon is supposed to be there. It is what tells your web server were to look for your web pages. Your configuration file for Apache should contain something like this:
Alias /xymon/ "/usr/local/xymon/server/www/" <Directory "/usr/local/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
Which tells Apache to look at /usr/local/xymon/server/www whenever it sees "xymon". There are similar entries for xymon-cgi and cgi-secure.
Check you web server logs, I'm almost positive you find that Apache cannot access the web page files.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 2:42 PM, Stewart, Tom L. <Tom.Stewart at landsend.com>wrote:
I don’t see how permissions would create the web page links with the extra /xymon/ as part of the link.
For example the xymon web page comes up, but the Main view link shows “/xymon/xymon.html” instead of just “xymon.html”. I don’t know why xymon is adding the extra path. Any paths with xymon-cgi work without any problems.
Thank you,
Tom
*From:* Larry Barber [mailto:lebarber at gmail.com] *Sent:* Thursday, February 10, 2011 1:00 PM *To:* xymon at xymon.com
*Subject:* Re: [xymon] Issue with 4.3 RC1
I suspect that you'll find that you have some overly strict permission settings on your web files. I had a similar problem when I installed RC1 and relaxing the permissions so that the Apache user (usually "nobody") can read the files fixed the problem. You will probably want to make sure that the xymon user account has a umask no more restrictive than 022. Also, if this is a new OS install, make sure selinux is turned off.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 8:38 AM, Stewart, Tom L. <Tom.Stewart at landsend.com> wrote:
This is a brand new install on a newly created server.
Tom
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Thursday, February 10, 2011 2:38 AM To: xymon at xymon.com Cc: Stewart, Tom L. Subject: Re: [xymon] Issue with 4.3 RC1
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
We found out the problem. If you don't input the proper answers the first time, the default adds the /xymon/. Make clean and changing the Makefile does not change it after the fact. We had to remove the source directory and reconfigured with the proper answer the first time and it now works as expected.
Thank you all for looking into this.
Tom
From: Larry Barber [mailto:lebarber at gmail.com] Sent: Thursday, February 10, 2011 3:07 PM To: xymon at xymon.com Subject: Re: [xymon] Issue with 4.3 RC1
The "extra" xymon is supposed to be there. It is what tells your web server were to look for your web pages. Your configuration file for Apache should contain something like this:
Alias /xymon/ "/usr/local/xymon/server/www/" <Directory "/usr/local/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
Which tells Apache to look at /usr/local/xymon/server/www whenever it sees "xymon". There are similar entries for xymon-cgi and cgi-secure.
Check you web server logs, I'm almost positive you find that Apache cannot access the web page files.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 2:42 PM, Stewart, Tom L. <Tom.Stewart at landsend.com> wrote:
I don't see how permissions would create the web page links with the extra /xymon/ as part of the link.
For example the xymon web page comes up, but the Main view link shows "/xymon/xymon.html" instead of just "xymon.html". I don't know why xymon is adding the extra path. Any paths with xymon-cgi work without any problems.
Thank you,
Tom
From: Larry Barber [mailto:lebarber at gmail.com] Sent: Thursday, February 10, 2011 1:00 PM To: xymon at xymon.com
Subject: Re: [xymon] Issue with 4.3 RC1
I suspect that you'll find that you have some overly strict permission settings on your web files. I had a similar problem when I installed RC1 and relaxing the permissions so that the Apache user (usually "nobody") can read the files fixed the problem. You will probably want to make sure that the xymon user account has a umask no more restrictive than 022. Also, if this is a new OS install, make sure selinux is turned off.
Thanks, Larry Barber
On Thu, Feb 10, 2011 at 8:38 AM, Stewart, Tom L. <Tom.Stewart at landsend.com> wrote:
This is a brand new install on a newly created server.
Tom
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Thursday, February 10, 2011 2:38 AM To: xymon at xymon.com Cc: Stewart, Tom L. Subject: Re: [xymon] Issue with 4.3 RC1
On Wednesday, 9 February 2011 23:21:24 Stewart, Tom L. wrote:
I am doing some testing with the new RC1 release
How did you install? Over a previous release?
and I am having trouble with the xymon web page. It does come up, but it seems to be adding a /xymon/ in front of the directories so the web is not picking up the stylesheets.
[..]
URL for Xymon webpages
XYMONHOSTURL = /
URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
Webserver group-ID
HTTPDGID=apache
Check the XYMON.*URL entries in your xymonserver.cfg file.
Regards, Buchan
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (3)
-
bgmilne@staff.telkomsa.net
-
lebarber@gmail.com
-
Tom.Stewart@landsend.com