Xymon Mailing List Archive search

Unable to view xymon web pages

list Josh Luthman
Wed, 7 Sep 2011 14:44:23 -0400
Message-Id: <CAN9qwJ-C+WaP24zBXL8C_WnMRrTFd93zLUTAM0Ln+-=user-338a5dbc2468@xymon.invalid>

Looks like Xymon is running, so that's all good.

Double check to see, in apache2.conf, this:
Alias /xymon/  "/var/lib/hobbit/www/"

Next do a
file index.html #you should see index.html: symbolic link to `bb.html'

Now do an ls -lh bb.html and make sure it isn't blank

Now when you go to foobarhost.com/xymon/ (note the trailing slash) what page
do you see?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Wed, Sep 7, 2011 at 2:35 PM, Jewel Makda <
user-f94a3a1b7030@xymon.invalid> wrote:
 I appended the xymon-apache.conf to the end of the apache2.conf file.
When I run a netstat -an | grep 1984 I get the following:
tcp  0  0  0.0.0.0:1984          0.0.0.0:*              LISTEN
tcp  0  0  127.0.0.1:51250   127.0.0.1:1984   TIME_WAIT
tcp  0  0  127.0.0.1:51251   127.0.0.1:1984   TIME_WAIT

When I search for the bb.html file it's located in:
/var/lib/hobbit/www/bb.html
/var/lib/hobbit/www/bb2.html


On 9/7/2011 1:26 PM, Josh Luthman wrote:

You can use nano or pico as an easier file editor.

Did you overwrite apache2.conf with xymon's xymon-apache.conf?  You are
supposed to append it.

It seems xymond is running.  Do a:

netstat -an|grep 1984

Then look at your web files and look for bb.html and bb2.html, probably in
/var/html/www

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Wed, Sep 7, 2011 at 2:14 PM, Jewel Makda <
user-f94a3a1b7030@xymon.invalid> wrote:
I am trying to setup xymon on Ubuntu and for days now have not been able
to get it working.  I have followed the installation steps to a "T" and have
created a user called "xymonuser" for xymon.  I copied the xymon-apache.conf
file to my /etc/apache2/apache2.conf and when I start the xymon.sh service
as xymonuser I only see the "index/xymon" directory when I go to
http://localhost/xymom/
 Here are some of my one of my log files:

tail /var/log/xymon/xymonlaunch.log
   Cannot access checkpoint file /home/xymonuser/srver/tmp/xymond.chk for
restore
   Setting up network listener on 0.0.0.0:1984
   Cannot bind to listen socket (Address already in use)
   Task xymond terminated, status 1

There are errors at in my apache logs and when I start the xymon service
it starts successfully.

I have to say I am a newbie when it comes to linux and am still learning
how to use vi.

Jewel


--

--