Page 1 of 1

Kernel longterm and grsec via slackware 13.0

PostPosted: Sun Sep 18, 2011 3:59 am
by nlc
Heya,

I have big big problems with my machine after compilation, nothing work on my linux now, many many errors, sounds like this;

> uname -a
Linux nextlevel 2.6.32.46-grsec-smp #1 SMP Sun Sep 18 00:17:00 EEST 2011 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

> /etc/rc.d/rc.sshd start
/usr/sbin/sshd: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
> /etc/rc.d/rc.httpd start
/usr/sbin/httpd: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
> /etc/rc.d/rc.bind start
Starting BIND: /usr/sbin/named
/usr/sbin/named: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
WARNING: named did not start.
Attempting to start named again: /usr/sbin/named
/usr/sbin/named: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
FAILED: Sorry, a second attempt to start named has also failed.
There may be a configuration error that needs fixing. Good luck!


> locate libcrypto.so.0
/usr/lib/libcrypto.so.0
/usr/lib/libcrypto.so.0.9.8


i don't have execstack, i try ;
not work execstack -c,
> execstack -c libcrypto.so.0
/bin/bash: execstack: command not found

anyone please can't help me to resolve this problem :cry:

Re: Kernel longterm and grsec via slackware 13.0

PostPosted: Sun Sep 18, 2011 1:44 pm
by Undine
You need to install prelink package in your distribution way (prelink contains execstack).

Re: Kernel longterm and grsec via slackware 13.0

PostPosted: Sun Sep 18, 2011 3:54 pm
by nlc
Be good and tell a example, i don't understand,
Many thanks.

i resolve the problem, i had install prelink-0.0.20090925-i486-1sl.txz* , libelf-0.8.12-i486-1bj.txz* and all its goood now :)

Manyyyyyy thanks, i'm happy ! :P :P