[syslog-ng] Starting syslog-ng as root

Muath Al Khalaf muath at elm.com.sa
Mon May 29 13:04:01 CEST 2006


Thank you very much. I have disabled SELinux and every thing goes fine. Do you think it is better to run syslog-ng with or without SELinux especially that I may use MySQL and PHP-syslog-ng?

Kind regards

 

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Jose Pedro Oliveira
Sent: Saturday, May 27, 2006 6:59 PM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] Starting syslog-ng as root

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Muath Al Khalaf wrote:
> Hi,
> I am using Redhat Enterprise 4. I am using the official rpm image built
> by Balabit for RHE 4 with their startup script. The executable did not
> return anything (at least in front of me inside console). For strace I
> do not know how to use it.

You may be having problems with SELinux.  In RHEL4, CentOS, and Fedora
Core 3 you need to enable the use_syslogng SELinux boolean before
starting the syslog-ng daemon [1].

To check the use_syslogng boolean status

  getsebool -a | grep syslogng

To enable it (and saving its value)

  setsebool -P use_syslogng 1


jpo

[1] - you need to have the a recent selinux-policy-targeted
- --
José Pedro Oliveira
* mailto: jpo at di.uminho.pt * http://gsd.di.uminho.pt/jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEeHc6l0metZG9hRsRAvqLAJ41iuwCrKNhFhyG2lWyv6Q2eScdzACgmoMD
QzNXnXkc4tuHT0bbK5Fl5iw=
=s/7p
-----END PGP SIGNATURE-----



More information about the syslog-ng mailing list