On 09/27/2017 02:06 PM, Kern Doe wrote:
OK, I put it at the end of httpd.conf file, still failed:Starting httpd: httpd: Syntax error on line 1137 of /etc/httpd/conf/httpd.conf: Could not open configuration file /home/xymon/server/etc/xymon-apache.conf: Permission denied
[FAILED]
I put a copy of xymon-apache.conf in /tmp, it also failed me:Starting httpd: httpd: Syntax error on line 1137 of /etc/httpd/conf/httpd.conf: Could not open configuration file /tmp/xymon-apache.conf: Permission denied
[FAILED]
That sounds suspiciously like a selinux prolblem. You could try turning
it off temporarily:
$ sudo setenforce 0
then start/restart apache
If that works you will have to fix the selinux problem.
Let's go GreenThis email contains 100% recycled electrons.
From: Stephen Carville <user-6ec031efcf79@xymon.invalid>
To: "xymon at xymon.com" <xymon at xymon.com>
Sent: Wednesday, September 27, 2017 4:59 PM
Subject: Re: [Xymon] First time installed, and set up xymon, failed, NEED helps please.
On 09/27/2017 01:43 PM, Kern Doe wrote:
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.
It is usually better to put Include directives at the end of httpd.conf:
--
Stephen Carville
Serf Without Portfolio
XXX.XXX.XXXX x1326
user-45c5e542adfd@xymon.invalid
There is no "I" in Team but there is in Integrity.