I missed some of this thread, but don’t I remember that this is CentOS 6?
In that case, you should just put the xymon-apache.conf file in /etc/httpd/conf.d
Otherwise, if that’s not possible, for this error, this sounds like root can’t get to th /home/xymon/server/etc directory, or that file. Permissions, possibly selinux? Are you running selinux?
From: Kern Doe [mailto:kern_doe at yahoo.com] Sent: Wednesday, September 27, 2017 4:07 PM To: Stephen Carville; xymon at xymon.com Subject: Re: [Xymon] First time installed, and set up xymon, failed, NEED helps please.
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]
Let's go Green This email contains 100% recycled electrons.
From: Stephen Carville <scarville at lereta.com<mailto:scarville at lereta.com>> To: "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto: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 800.537.3821 x1326 scarville at nospam.lereta.com<mailto:scarville at nospam.lereta.com>
There is no "I" in Team but there is in Integrity.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.