LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   syslogd: error while loading shared libraries: /lib/ld-linux.so.2: cannot apply addit (https://www.linuxquestions.org/questions/linux-security-4/syslogd-error-while-loading-shared-libraries-lib-ld-linux-so-2-cannot-apply-addit-435004/)

dsids 04-14-2006 01:52 AM

syslogd: error while loading shared libraries: /lib/ld-linux.so.2: cannot apply addit
 
Hi Everyone,

I get this error when i try to start syslogd..No messages have been logged in /var/log/messages since the last 5 days causing a lot of anxiety to me

# /etc/init.d/syslog start
Starting system logger: syslogd: error while loading shared libraries: /lib/ld-linux.so.2: cannot apply additional memory protection after relocation: Permission denied
[FAILED]
Starting kernel logger:

I use RHEL4
$uname -a
Linux [myPCname] 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux

Please advise..

Thanks
Danish

unSpawn 04-14-2006 04:24 AM

It's a SELinux thing. Solution: relabel files. There may be other files that need relabelling too, so here's a system-wide approach to relabelling:
- edit /etc/selinux/config and change the type of policy to SELINUX=permissive,
- touch /.autorelabel,
- reboot the system and check /var/log/messages for avc: denied messages,
- reenable enforcing by changing SELINUX=enforcing. Reboot or run setenforce 1.
(Read more: http://fedora.redhat.com/docs/selinu...fc3/index.html).


All times are GMT -5. The time now is 10:03 PM.