[Xymon] First time installed, and set up xymon, failed, NEED helps please.

Stephen Carville scarville at lereta.com
Wed Sep 27 23:44:32 CEST 2017


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 <scarville at lereta.com>
>  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
800.537.3821 x1326
scarville at nospam.lereta.com
-------------------------------------------------
There is no "I" in Team but there is in Integrity.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170927/3f170297/attachment.sig>


More information about the Xymon mailing list