Hi,
I build pounds from spec - pound.spec (PLD Distribution) nothink special
inside just normal make with all options from configure and i got
problem. Config looks like this one:
#v+
User nobody
Group nobody
RootJail /usr/share/empty
ListenHTTP 127.0.0.1,81
ExtendedHTTP 1
# Images server(s)
UrlGroup ".*.(jpg|gif)"
BackEnd 127.0.0.1,80,1
Session 0
EndGroup
# Block all requests for /forbidden
UrlGroup "/forbidden.*"
Session 0
EndGroup
# Catch-all server(s)
UrlGroup ".*"
BackEnd 127.0.0.1,80,1
BackEnd 127.0.0.1,80,1
Session 300
EndGroup
#v-
Next i try run pound:
#v+
[root(at)p0x root]# /etc/init.d/pound start
Uruchamianie usługi pound.....................................[PROBLEM]
#v-
I check /var/messages and got somethink like this:
#v+
[root(at)p0x root]# tail /var/log/messages
Jul 12 13:45:07 p0x pound: starting...
Jul 12 13:45:47 p0x last message repeated 2 times
Jul 12 13:45:54 p0x pound: starting...
Jul 12 13:45:54 p0x pound: pound startup failed
Jul 12 13:45:55 p0x pound: starting...
Jul 12 13:45:55 p0x pound: pound startup failed
Jul 12 13:46:32 p0x pound: starting...
Jul 12 13:46:40 p0x pound: pound startup failed
Jul 12 13:52:52 p0x pound: starting...
Jul 12 13:52:53 p0x pound: pound startup failed
#v-
Nothink special co i use strace:
#v+
[root(at)p0x root]# strace pound -f /etc/pound/pound.cfg
[...]
read(4, "User nobody\nGroup nobody\nRootJai"..., 4096) = 360
gettimeofday({1121169253, 488762}, NULL) = 0
open("/etc/resolv.conf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=83, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ffe000 read(5, "nameserver 192.168.2.1\nnameserve"..., 4096) =
83 read(5, "", 4096) = 0
close(5) = 0
munmap(0xb7ffe000, 4096) = 0
brk(0x80dc000) = 0x80dc000
time([1121169253]) = 1121169253
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=961, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=961, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=961, ...}) = 0
send(3, "<27>Jul 12 13:54:13 pound: unkno"..., 66, MSG_NOSIGNAL) = 66
exit_group(1) = ?
#v-
... and still dunno whats wrong. Anyone got any idea how to fix this ?
--
*| __ _________ |*
*| / / / ___/ __/ Łukasz Jagiełło |*
*| / /__/ /__/ _/ email : lcf<at>zjednoczenie<dot>com |*
*| /____/\___/_/ ul. Czyżewskiego 14 80-336 Gdańsk-Oliwa |*
|