Bug installation Syslog-ng in Centos 5.6 server
Hi everybody,
I tried to install Syslog-ng-3.2.4 in Centos 5.6,when i need to start the deamon syslog-ng =>Failure and i have this message: Code:
[root@RelaisXXX etc]# service syslog-ng start Can someone help me to find a solution of this error ? didn't modified much the configuration file,idon't know why i have this error!!!plz help |
You could start by showing us the configuration file, no? We aren't psychic. Or you can just uninstall the rpm, ensure the configuration file is deleted and reinstall.
|
Reply: Bug installation Syslog-ng in Centos
hi,this is the configuration file like i said i didn't modify anything
Quote:
http://www.docstoc.com/docs/28601285/Install-and-setup-Syslog-ng--PHP-Syslog-ng-Syslog-Server-IP,where they mentionned that i need just copy the "syslog-ng.conf.REDHAT" localized in "syslog-ng-3.2.4/contrib" to replace the file config created at the time of installation,i can't see where is the problem maybe in the script of starting syslog-ng the "init.d.REDHAT" !!!tx to reply me!!!and sorry for my english i'm french:newbie: |
You are using an old configuration file for syslog-ng 3.2.4? In the link you posted they are speaking about the 2.x series. One thing I notice, replace:
Code:
long_hostnames (off); Code:
chain_hostnames (off); |
oh tx,yes i didn't pay attention of the version that they used in the link tx so much,
have u a guide configuration of syslog-ng 3.2.4 ?cause it's the first time i install it ,and have u an idea if this version is compatible whit my centos version (5.6)? |
Just don't replace the file with an invalid one...
|
One additonal thing: when I upgraded syslog-ng on an openSUSE system from 2.x to 3.x and compiled it on my own (as I needed some of the new features) it was also necessary to make changes to AppArmor and allow syslog-ng to write at certain places.
|
I use Redhat system ,i read on some articles that Apparmor is an alternative of SeLinux in Redhat ,i never use it if u can show me why and what changes that u make to allow Syslog-ng write at certain places?it's really necessary ?
And if u have an idea what changes can i make in SElinux? |
I never used SELinux on my own. You can first try to turn of AppArmor in case you use it. On openSUSE it’s:
Code:
# rcapparmor stop |
All times are GMT -5. The time now is 04:27 PM. |