can't start directadmin deamon

sander_sky

New member
Joined
Aug 29, 2006
Messages
2
Hello,

since a few day's i can't start my directadmin deamon any more

when i try to start it manually:

hosting2:/usr/local/directadmin# ./directadmin
Unable to read config file. Cannot find the diradmin user. Make sure the diradmin user exists in your system.<br>
Segmentation fault


i already tryed to update my licence file and manually upgraded directadmin , still keeping this message.

the conf exist:
hosting2:/usr/local/directadmin/conf# ls -al directadmin.conf
-rw------- 1 diradmin diradmin 1654 Aug 29 02:48 directadmin.conf

and also the user exist in /etc/passwd

hosting2:/usr/local/directadmin/conf# cat /etc/passwd |grep diradmin
diradmin:x:104:104::/usr/local/directadmin:/bin/false

what can i do?

system is debian 3.1
 
solved

Oke I solved the problem,

Verry complicated problem trough,

I dit a ptrace and a strace on directadmin deamon ,

Result:

Directadmin uses ld-2.3.2.so wich is located in lib/tls

Since libc6 was updated to 2.3.6 it didn’t placed an ld-2.3.2.so in /lib/tls
Only in /lib/

so directadmin loaded the old ld-2.3.2.so wich afther that can't load libcrypt-2.3.6.so ,
libcrypt is needed to read /etc/shadow so this explains the read error.

Solution: copy the /lib/ld-2.3.6.so to /lib/tls
After that rebuild the ld cache with ldconfig
 
Back
Top