View Single Post
  #7  
Old 29th March 2006, 22:07
sbecker sbecker is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I ran it with strace:
Code:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
and the last few lines before it dies are:

Code:
fstat64(5, {st_mode=S_IFREG|0644, st_size=249582, ...}) = 0
lseek(5, 0, SEEK_CUR)                   = 0
lseek(5, 0, SEEK_CUR)                   = 0
write(5, "29.03.2006 - 12:05:35 => WARN - "..., 150) = 150
close(5)                                = 0
getcwd("/etc/init.d", 4096)             = 12
time(NULL)                              = 1143662735
open("/etc/passwd", O_RDONLY)           = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3093, ...}) = 0
lseek(5, 0, SEEK_CUR)                   = 0
stat64("/etc/passwd", {st_mode=S_IFREG|0644, st_size=3093, ...}) = 0
read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 8192) = 3093
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
every time. Seems to be dying when it reads the root password.
Reply With Quote