OK, so I included xymon-apache.conf in file httpd.conf:
head -5 /etc/httpd/conf/httpd.conf include /home/xymon/server/etc/xymon-apache.conf
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
I restarted httpd
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 1 of /etc/httpd/conf/httpd.conf: Could not open configuration file /home/xymon/server/etc/xymon-apache.conf: Permission denied
[FAILED]
[root at centos_hp0 server]# ls -alt /home/xymon/server/etc/xymon-apache.conf
-rw-r--r--. 1 xymon xymon 5495 Sep 27 15:28 /home/xymon/server/etc/xymon-apache.conf
Let's go GreenThis email contains 100% recycled electrons.
From: Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To: Stephen Carville <user-6ec031efcf79@xymon.invalid>
Cc: "xymon at xymon.com" <xymon at xymon.com>
Sent: Wednesday, September 27, 2017 4:11 PM
Subject: Re: [Xymon] First time installed, and set up xymon, failed, NEED helps please.
That looks right, Stephen,
You *DO NOT* want to replace /etc/httpd/conf/httpd.conf with the xymon config like you did! You need to do an Include or copy the configuration within it.
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Wed, Sep 27, 2017 at 4:09 PM, Stephen Carville <user-6ec031efcf79@xymon.invalid> wrote:
All I had to do was add this line to httpd.conf:
Include /var/xymon/server/etc/xymon- apache.conf
Then restarted httpd.
On Wed, Sep 27, 2017 at 3:39 PM, Kern Doe <user-878ab27f72eb@xymon.invalid> wrote:
Hello,
I've reinstalled xymon with following steps:
1) unpack the downloaded xymon binary version 4.3.28 in /tmp (as
root)
2) run configure script (as root)
A few info to note:
used mostly default values including
group-ID=nobody
IP-address of this host = 172.20.10.5
3) run: make (as root)
4) run: make install (as root)
5) Notes from xymon after the installation
You must configure your webserver for the Xymon webpages and
CGI-scripts.
A sample Apache configuration is in /home/xymon/server/etc/xymon-
apache.conf
If you have your Administration CGI scripts in a separate directory,
then you must also setup the password-file with the htpasswd command.
To start Xymon, as the xymon user run '/home/xymon/server/bin/xymon. sh
start'
To view the Xymon webpages, go to http://centos_hp0/xymon
I'm kind of pausing at "You must configure your webserver for the Xymon
webpages and CGI-scripts"...
Any additional help is greatly appreciated.
Kern --
--
Stephen Carville
Serf Without Portfolio
XXX.XXX.XXXX x1326
user-45c5e542adfd@xymon.invalid
------------------------------ -------------------
There is no "I" in Team but there is in Integrity.
http://lists.xymon.com/