I just set up XYMON on Ubuntu 14.04. I followed all the procedures and I have determined that the main page I can get to but when I click on the other pages I get a 404 error. Could my xymon file in conf.d/ under /etc/apache2 be configured incorrectly?
Thanks
MB
Thank you,
Michael A. Brown mike.a.brown09 at gmail.com M.S. Forensic Studies: Computer Forensics B.S. Information Technology: Network Specialist
"The only thing necessary for the triumph of evil is for good men to do nothing" -Edmund Burke
On 5 Feb 2014 08:25, "Michael Brown" <mike.a.brown09 at gmail.com> wrote:
I just set up XYMON on Ubuntu 14.04. I followed all the procedures and I
have determined that the main page I can get to but when I click on the other pages I get a 404 error. Could my xymon file in conf.d/ under /etc/apache2 be configured incorrectly?
I think it takes a few minutes for the pages to first appear. Check again in a few minutes.
J
All right. I will check once I get home. If it does not seem to work what would be to post?
Thank you,
Michael A. Brown mike.a.brown09 at gmail.com (757) 912-0836 M.S. Forensic Studies: Computer Forensics B.S. Information Technology: Network Specialist
"The only thing necessary for the triumph of evil is for good men to do nothing" -Edmund Burke
On Tue, Feb 4, 2014 at 5:14 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
On 5 Feb 2014 08:25, "Michael Brown" <mike.a.brown09 at gmail.com> wrote:
I just set up XYMON on Ubuntu 14.04. I followed all the procedures and I
have determined that the main page I can get to but when I click on the other pages I get a 404 error. Could my xymon file in conf.d/ under /etc/apache2 be configured incorrectly?
I think it takes a few minutes for the pages to first appear. Check again in a few minutes.
J
On 5 February 2014 09:21, Michael Brown <mike.a.brown09 at gmail.com> wrote:
All right. I will check once I get home. If it does not seem to work what would be to post?
The web pages are all created by the xymongen process. It talks to xymond to fetch the status for every host/test, and puts all of the pages into $XYMONWWWDIR, for Apache to serve them - this includes the main page. If other pages aren't showing up, I'd be looking at the log for xymongen (xymongen.log). Also, worth checking the Apache log to see where it's looking for the files, and confirm that this matches what's defined in $XYMONWWWDIR.
J
I reinstalled everything. And this is what i found. Does the /usr/lib/xymon error causing what I am seeing.
user at hostname:~/Downloads$ sudo dpkg -i xymon*deb (Reading database ... 186638 files and directories currently installed.) Preparing to unpack xymon_4.3.10_i386.deb ...
Stopping Xymon Server xymond [ OK ]
Stopping Xymon Server xymond No /usr/lib/xymon/server/bin/xymonlaunch found running; none killed.
[fail]Unpacking xymon (4.3.10) over (4.3.10) ... Preparing to unpack xymon-client_4.3.10_i386.deb ... Unpacking xymon-client (4.3.10) over (4.3.10) ... Setting up xymon-client (4.3.10) ... Setting up xymon (4.3.10) ...
Reloading web server apache2 *
Starting Xymon Server xymond [ OK ] Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for man-db (2.6.6-1) ...
Thank you,
Michael A. Brown mike.a.brown09 at gmail.com (757) 912-0836 M.S. Forensic Studies: Computer Forensics B.S. Information Technology: Network Specialist
"The only thing necessary for the triumph of evil is for good men to do nothing" -Edmund Burke
On Tue, Feb 4, 2014 at 5:43 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
On 5 February 2014 09:21, Michael Brown <mike.a.brown09 at gmail.com> wrote:
All right. I will check once I get home. If it does not seem to work what would be to post?
The web pages are all created by the xymongen process. It talks to xymond to fetch the status for every host/test, and puts all of the pages into $XYMONWWWDIR, for Apache to serve them - this includes the main page. If other pages aren't showing up, I'd be looking at the log for xymongen (xymongen.log). Also, worth checking the Apache log to see where it's looking for the files, and confirm that this matches what's defined in $XYMONWWWDIR.
J
On 5 February 2014 12:27, Michael Brown <mike.a.brown09 at gmail.com> wrote:
I reinstalled everything. And this is what i found. Does the /usr/lib/xymon error causing what I am seeing.
Probably not. I'd say that's just a side-effect of you installing the package over itself. If you had uninstalled the package first, then installed it again, you probably wouldn't have seen that message.
J
Sorry this is taken me a while to get back. I have not been feeling well with the dramatic temperature changes here of late.
The issues I had Jeremy assisted in solving and we did the following:
-Edited apache2.conf to change LogLevel "info" to "warn". This showed that apache was not looking in /var/lib/xymon/www/ but at /var/www/html/xymon. The /etc/apache2/conf.d/xymon was not being parsed.
-A conf file was found in /etc/apache2/conf-available/xymon.conf which was a link to /etc/apache2/conf.d/xymon. A new symlink was created in /etc/apache/conf-enabled that pointed to /etc/apache2/conf-available/xymon.conf.
-Apache was restarted
-The permissions for the xymon pages were stating Permission denied so the authen
-At this point, the error log started showing me the right errors. But all of the xymon pages were giving permission denied type errors. The "Order allow, deny" and "Allow from all" were removed and only implemented one line of "Require all granted"
-apache was restarted and errors were shown about the group file.
-The mod_authz_groupfile module was enabled by creating a symlink in /etc/apache2/mods-enabled to the /etc/apache2/mods-available/authz_groupfile.load.
-apache was restarted
Restarted apache, all good now. I've made backup copies of the files I changed. Here are the files I modified or created:
After this all seemed to be working.
Thank you,
Michael A. Brown mike.a.brown09 at gmail.com (757) 912-0836 M.S. Forensic Studies: Computer Forensics B.S. Information Technology: Network Specialist
"The only thing necessary for the triumph of evil is for good men to do nothing" -Edmund Burke
On Tue, Feb 4, 2014 at 9:29 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
On 5 February 2014 12:27, Michael Brown <mike.a.brown09 at gmail.com> wrote:
I reinstalled everything. And this is what i found. Does the /usr/lib/xymon error causing what I am seeing.
Probably not. I'd say that's just a side-effect of you installing the package over itself. If you had uninstalled the package first, then installed it again, you probably wouldn't have seen that message.
J
participants (2)
-
jlaidman@rebel-it.com.au
-
mike.a.brown09@gmail.com