/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-07 / Problem with start pounds

[ << ] [ >> ]

[ Corrupted file download / "webmaster" ... ] [ Re: [Pound Mailing List] Signal HUP to reload ... ]

Problem with start pounds
=?ISO-8859-2?Q?=A3ukasz_Jagie=B3=B3o?= <lukasz.jagiello(at)zjednoczenie.com>
2005-07-12 14:28:48 [ FULL ]
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 ?
[...]

Re: [Pound Mailing List] Problem with start pounds
Robert Segall <roseg(at)apsis.ch>
2005-07-12 14:44:42 [ FULL ]
On Tue, 12 Jul 2005 14:28:48 +0200 __ukasz Jagie____o
<lukasz.jagiello(at)zjednoczenie.com> wrote:
[...]

There is no such thing as "Session 300" (or any other number). You need
to specify the session type and (possibly) id. See the man page for full
details. In any case "Session 0" is not required or useful.
[...]

No idea where you got that from or what it means, but then I never heard
of a PLD distribution or a pound.spec either...[...]

Re: [Pound Mailing List] Problem with start pounds
Lukasz 'LCF' Jagiello <lukasz.jagiello(at)zjednoczenie.com>
2005-07-12 14:57:12 [ FULL ]
On Tue, 12 Jul 2005 14:44:42 +0200
Robert Segall <roseg(at)apsis.ch> wrote:
[...]

Ok, i fix that and problem looks same.
[...]

It's simple start script witch run pound -f /etc/pound/pound.conf. It's
not importent do i run it via script or just at shell command.
[...]

http://pld-linux.org/
[...]

Re: [Pound Mailing List] Problem with start pounds
Lukasz 'LCF' Jagiello <lukasz.jagiello(at)zjednoczenie.com>
2005-07-12 16:08:27 [ FULL ]
On Tue, 12 Jul 2005 14:28:48 +0200
Łukasz Jagiełło <lukasz.jagiello(at)zjednoczenie.com> wrote:
[...]

Problem was here. Can't be 2 times same BackEnd. Delete one and
everythink works fine.
[...]

MailBoxer