lighttpd forum lighty > lighty fails to start

Posted by Thomas Mr.
on 15.05.2008 21:46
i am on debian (lenny). i am use a config file i know works but when i 
start lighty it fails to remain open, i ran starce and heres my results, 
only the last 40 or so lines):
[code]
open("/usr/local/lib/mod_dirlisting.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\20\0\000"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=50898, ...}) = 0
mmap2(NULL, 19312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0xb7f72000
mmap2(0xb7f76000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7f76000
close(3)                                = 0
open("/usr/local/lib/mod_staticfile.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\f\0"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=37912, ...}) = 0
mmap2(NULL, 8608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0xb7de7000
mmap2(0xb7de9000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7de9000
close(3)                                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(3, 1024)                         = 0
rt_sigaction(SIGTTOU, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN}, {SIG_DFL}, 8) = 0
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7df76f8) = 25988
exit_group(0)                           = ?
Process 25987 detached
[/code]


thanks for all your help, i would like to get it working asap, or ill 
have to go back to the sys hog apache...~ct
Posted by Alan Quinlan
on 16.05.2008 12:59
are you getting any errors in the lighttpd log file?

what do you get when you it from the command line - lighttpd -f <path to 
conf file>/lighttpd.conf
Posted by Thomas Mr.
on 16.05.2008 17:18
ok, ive gotten the error to this:
2008-05-16 13:16:02: (configfile.c.487) source:
/etc/lighttpd/lighttpd.conf line: 40 pos: 22 use => for assignments in
arrays
2008-05-16 13:16:02: (configfile.c.852) configfile parser failed at:
server.document-root


i dont understand, here is that line: server.document-root = "/opt/site"

what could be wrong with it
Posted by Alan Quinlan
on 28.05.2008 15:16
> what could be wrong with it

I cant guess without looking at the config file. Attach it and I'll have 
a look at it.