[Xymon] TS - Trying to setup Xymon 4.3.10 on CentOS 6.3

d.tom.schmitt at L-3com.com d.tom.schmitt at L-3com.com
Wed Jan 23 22:03:43 CET 2013


I removed the linked file and copied the original to the directory and
it starts up - THANKS!

 

I can now access a web page in the /var/www/html directory but I cannot
access the xymon web pages.

 

index.html is 'helo' per the instructions and it and any other web page
I place in /var/www/html works.

 

How do I access the Xymon system?

Is it the same as before?  http://monitord.csw.l-3com.com/xymon

Or am I looking at the wrong URL?

 

 

Thanks,

 

Tom Schmitt

Senior IT Staff - R&D

L-3 Communication Systems West

640 North 2200 West    P.O. Box 16850

Salt Lake City, UT  84116

Phone (801) 594-3030

Cell      (801) 231-7230

eFax    (470) 201-6644

            \\\\||////

               \ ~  ~ /  

               | @  @ |

--oOo---(_)---oOo--

Have A Nice Day !

 

It is not necessary to change.

Survival is not mandatory.

        -- W. Edwards Deming

 

From: Ralph Mitchell [mailto:ralphmitchell at gmail.com] 
Sent: Wednesday, January 23, 2013 10:55 AM
To: Schmitt, D Tom @ CSG - CSW
Cc: xymon at xymon.com
Subject: Re: [Xymon] TS - Trying to setup Xymon 4.3.10 on CentOS 6.3

 

Apache can't read /etc/httpd/conf.d/xymon-apache.conf, which appears to
be a link to  /home/xymon/server/etc/xymon-apache.conf

 

Either:     chown  apache.apache
/home/xymon/server/etc/xymon-apache.conf

 

Or:          chmod 644  /home/xymon/server/etc/xymon-apache.conf

 

should fix it.  You may also need to open up permissions for Apache to
get into /home/xymon/server/etc.

 

Ralph Mitchell

 

On Wed, Jan 23, 2013 at 12:15 PM, <d.tom.schmitt at l-3com.com> wrote:

I have tried to follow what instructions I can find for a new Xymon
installation.

 

I have installed the latest 4.3.10 of Xymon on a Dell R-710 with CentOS
6.3 (install option - web server) installed.

 

When I try to start apache I get:

 

                [root at monitord ~]# service httpd restart

                Stopping httpd:
[FAILED]

                Starting httpd: httpd: Syntax error on line 222 of
/etc/httpd/conf/httpd.conf: Could not open configuration file
/etc/httpd/conf.d/xymon-apache.conf:  Permission denied

 
[FAILED]

                

LINE 222 is the Include line:

 

                #

                # Load config files from the config directory
"/etc/httpd/conf.d"

                #

                Include conf.d/*.conf

 

                #

 

If I comment out the 'Include' statement, Apache comes right up.

 

The files in /etc/httpd/conf.d are:

                

                manual.conf

                perl.conf

                php.conf

                README

                ssl.conf

                webalizer.conf

                welcome.conf

                wsgi.conf

                xymon-apache.conf ->
/home/xymon/server/etc/xymon-apache.conf   ( Permissions:  lrwxrwxrwx. )

                

 

 

[root at monitord conf.d]# cat xymon-apache.conf 

# This file is for Apache 1.3.x and Apache 2.0.x

#

# Add this to your Apache configuration, it makes

# the Xymon webpages and cgi-scripts available in the

# "/xymon" and "/xymon-cgi" URLs.

 

 

# NB: The "Alias" line below must NOT be used if you have

#     the Xymon webfiles as the root URL. In that case,

#     you should instead set this:

#

#          DocumentRoot /home/xymon/server/www

 

Alias /xymon/  "/home/xymon/server/www/"

<Directory "/home/xymon/server/www">

    Options Indexes FollowSymLinks Includes MultiViews

    Order allow,deny

    Allow from all

</Directory>

 

ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/"

<Directory "/home/xymon/cgi-bin">

    AllowOverride None

    Options ExecCGI Includes

    Order allow,deny

    Allow from all

</Directory>

 

ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/"

<Directory "/home/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 /home/xymon/server/etc/xymonpasswd
USERNAME"

    # Add more users / change passwords with "htpasswd
/home/xymon/server/etc/xymonpasswd USERNAME"

    #

    # You can also use a group file to restrict admin access to members
of a

    # group, instead of anyone who is logged in. In that case you must
setup

    # the "xymongroups" file, and change the "Require" settings to
require

    # a specific group membership. See the Apache docs for more details.

 

    AuthUserFile /home/xymon/server/etc/xymonpasswd

    AuthGroupFile /home/xymon/server/etc/xymongroups

    AuthType Basic

    AuthName "Xymon Administration"

 

    # "valid-user" restricts access to anyone who is logged in.

    Require valid-user

 

    # "group admins" restricts access to users who have logged in, AND

    # are members of the "admins" group in xymongroups.

    # Require group admins

 

</Directory>

 

# Rewrite-rules for migrating from the URL's used in Hobbit

RewriteEngine On

 

RewriteRule ^/xymon/bb.html /xymon/xymon.html [R=permanent,L]

RewriteRule ^/xymon/bb2.html /xymon/nongreen.html [R=permanent,L]

RewriteRule ^/xymon/bbnk.html /xymon/critical.html [R=permanent,L]

 

RewriteRule ^/xymon-cgi/bb-hist.sh /xymon-cgi/history.sh [R=permanent,L]

RewriteRule ^/xymon-cgi/bb-eventlog.sh /xymon-cgi/eventlog.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-rep.sh /xymon-cgi/report.sh [R=permanent,L]

RewriteRule ^/xymon-cgi/bb-replog.sh /xymon-cgi/reportlog.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-snapshot.sh /xymon-cgi/snapshot.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-findhost.sh /xymon-cgi/findhost.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-csvinfo.sh /xymon-cgi/csvinfo.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbitcolumn.sh /xymon-cgi/columndoc.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-datepage.sh /xymon-cgi/datepage.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbitgraph.sh /xymon-cgi/showgraph.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-hostsvc.sh /xymon-cgi/svcstatus.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/bb-histlog.sh /xymon-cgi/historylog.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-confreport.sh /xymon-cgi/confreport.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-confreport-critical.sh
/xymon-cgi/confreport-critical.sh [R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-nkview.sh /xymon-cgi/criticalview.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-certreport.sh /xymon-cgi/certreport.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-nongreen.sh /xymon-cgi/nongreen.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-hostgraphs.sh /xymon-cgi/hostgraphs.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-ghosts.sh /xymon-cgi/ghostlist.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-notifylog.sh /xymon-cgi/notifications.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-hostlist.sh /xymon-cgi/hostlist.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-perfdata.sh /xymon-cgi/perfdata.sh
[R=permanent,L]

RewriteRule ^/xymon-cgi/hobbit-topchanges.sh /xymon-cgi/topchanges.sh
[R=permanent,L]

 

RewriteRule ^/xymon-seccgi/bb-ack.sh /xymon-seccgi/acknowledge.sh
[R=permanent,L]

RewriteRule ^/xymon-seccgi/hobbit-enadis.sh /xymon-seccgi/enadis.sh
[R=permanent,L]

RewriteRule ^/xymon-seccgi/hobbit-nkedit.sh
/xymon-seccgi/criticaleditor.sh [R=permanent,L]

RewriteRule ^/xymon-seccgi/hobbit-ackinfo.sh /xymon-seccgi/ackinfo.sh
[R=permanent,L]

RewriteRule ^/xymon-seccgi/hobbit-useradm.sh /xymon-seccgi/useradm.sh
[R=permanent,L]

 

[root at monitord conf.d]#

 

 

                Thanks,

 

Tom Schmitt

Senior IT Staff - R&D

L-3 Communication Systems West

640 North 2200 West    P.O. Box 16850

Salt Lake City, UT  84116

Phone (801) 594-3030

Cell      (801) 231-7230 <tel:%28801%29%20231-7230> 

eFax    (470) 201-6644 <tel:%28470%29%20201-6644> 

            \\\\||////

               \ ~  ~ /  

               | @  @ |

--oOo---(_)---oOo--

Have A Nice Day !

 

It is not necessary to change.

Survival is not mandatory.

        -- W. Edwards Deming

 


_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130123/831ab238/attachment.html>


More information about the Xymon mailing list