[csw-users] thttpd does not start

Roland Meier rme at cnd-ag.ch
Wed Nov 22 15:57:51 CET 2006


Hello,

I've installed the thttpd package. Unfortunately thttpd does not start 
and it doesn't give any error message:

bash-3.00# truss /opt/csw/thttpd/sbin/thttpd -C /opt/csw/etc/thttpd.conf
execve("/opt/csw/thttpd/sbin/thttpd", 0xFFBFFDB4, 0xFFBFFDC4)  argc = 3
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
resolvepath("/opt/csw/thttpd/sbin/thttpd", 
"/opt/csw/thttpd/sbin/thttpd", 1023) = 27
stat("/opt/csw/thttpd/sbin/thttpd", 0xFFBFFB90) = 0
open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
stat("/lib/libresolv.so.2", 0xFFBFF6B0)         = 0
resolvepath("/lib/libresolv.so.2", "/lib/libresolv.so.2", 1023) = 19
open("/lib/libresolv.so.2", O_RDONLY)           = 3
mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) 
= 0xFF3A0000
mmap(0x00010000, 335872, PROT_NONE, 
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF340000
mmap(0xFF340000, 245997, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF340000
mmap(0xFF38E000, 10420, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 253952) = 0xFF38E000
munmap(0xFF37E000, 65536)                       = 0
memcntl(0xFF340000, 36184, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
stat("/lib/libsocket.so.1", 0xFFBFF6B0)         = 0
resolvepath("/lib/libsocket.so.1", "/lib/libsocket.so.1", 1023) = 19
open("/lib/libsocket.so.1", O_RDONLY)           = 3
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xFF3A0000
mmap(0x00010000, 122880, PROT_NONE, 
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF310000
mmap(0xFF310000, 44006, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF310000
mmap(0xFF32C000, 4285, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 49152) = 0xFF32C000
munmap(0xFF31C000, 65536)                       = 0
memcntl(0xFF310000, 13952, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
stat("/lib/libnsl.so.1", 0xFFBFF6B0)            = 0
resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
open("/lib/libnsl.so.1", O_RDONLY)              = 3
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xFF3A0000
mmap(0x00010000, 729088, PROT_NONE, 
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF200000
mmap(0xFF200000, 591502, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF200000
mmap(0xFF2A2000, 33573, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 598016) = 0xFF2A2000
mmap(0xFF2AC000, 23056, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF2AC000
munmap(0xFF292000, 65536)                       = 0
memcntl(0xFF200000, 89076, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
stat("/lib/libc.so.1", 0xFFBFF6B0)              = 0
resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
open("/lib/libc.so.1", O_RDONLY)                = 3
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xFF3A0000
mmap(0x00010000, 991232, PROT_NONE, 
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF100000
mmap(0xFF100000, 882285, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF100000
mmap(0xFF1E8000, 29469, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 884736) = 0xFF1E8000
mmap(0xFF1F0000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1F0000
munmap(0xFF1D8000, 65536)                       = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF300000
memcntl(0xFF100000, 139784, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
munmap(0xFF3A0000, 8192)                        = 0
mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
getcontext(0xFFBFF888)
getrlimit(RLIMIT_STACK, 0xFFBFF868)             = 0
getpid()                                        = 12630 [12629]
setustack(0xFF3A2088)
sigfillset(0xFF1EFB20)                          = 0
stat("/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1", 0xFFBFF340) = 0
resolvepath("/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1", 
"/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 37
open("/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1", O_RDONLY) = 3
mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) 
= 0xFF2F0000
close(3)                                        = 0
fstat(-1, 0xFFBFE608)                           Err#9 EBADF
open("/dev/conslog", O_WRONLY)                  = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat(3, 0xFFBFE608)                            = 0
open("/opt/csw/etc/thttpd.conf", O_RDONLY)      = 4
fstat64(4, 0xFFBFBD88)                          = 0
brk(0x0003EC90)                                 = 0
brk(0x00042C90)                                 = 0
fstat64(4, 0xFFBFBC30)                          = 0
ioctl(4, TCGETA, 0xFFBFBD14)                    Err#25 ENOTTY
read(4, " #   T h i s   s e c t i".., 8192)     = 294
read(4, 0x0003EC9C, 8192)                       = 0
llseek(4, 0, SEEK_CUR)                          = 294
close(4)                                        = 0
brk(0x00042C90)                                 = 0
brk(0x00044C90)                                 = 0
time()                                          = 1164206749
open("/usr/share/lib/zoneinfo/Europe/Zurich", O_RDONLY) = 4
fstat64(4, 0xFFBFE520)                          = 0
read(4, " T Z i f\0\0\0\0\0\0\0\0".., 685)      = 685
close(4)                                        = 0
getuid()                                        = 0 [0]
open64("/var/run/name_service_door", O_RDONLY)  = 4
fcntl(4, F_SETFD, 0x00000001)                   = 0
door_info(4, 0xFF1EF7E8)                        = 0
door_call(4, 0xFFBFE1C0)                        = 0
open("/var/log/thttpd.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
llseek(5, 0, SEEK_END)                          = 0
fcntl(5, F_SETFD, 0x00000001)                   = 0
getuid()                                        = 0 [0]
fchown(5, 102, 1)                               = 0
chdir("/opt/csw/thttpd/www")                    = 0
getcwd("/opt/csw/thttpd/www", 1024)             = 0
llseek(0, 0, SEEK_CUR)                          = 19087
close(0)                                        = 0
close(1)                                        = 0
close(2)                                        = 0
schedctl()                                      = 0xFF2E0000
fork1()                                         = 12631
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
_exit(0)

This happens just after thttpd was installed. Any ideas what is going 
wrong here?


Cheers, Roland


-- 

**************************************
Computer + Network Division AG
Roland Meier
Bahnhofstrasse 28
8307 Effretikon

Tel:      052/355'13'12
E-Mail:   rme at cnd-ag.ch
**************************************





More information about the users mailing list