Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
wwwoffle 2.8e compiles and runs without problems on amd64 box, please add it to KEYWORDS, I'm running it for few months now and I saw no problems. Reproducible: Always Steps to Reproduce: 1. 2. 3.
looks like it's ours :)
I got this to compile and apparently run, although it immediately dies with some kind of message about being unable to bind to the socket (address already in use): bach ~ # /etc/init.d/wwwoffled start * Caching service dependencies ... [ ok ] * Starting wwwoffled ... wwwoffled[24798] Important: WWWOFFLE Demon Version 2.8e (with zlib,with ipv6) started. wwwoffled[24798] Warning: Failed to bind IPv4 server socket to '0.0.0.0' port '8080' [Address already in use]. wwwoffled[24798] Warning: Cannot create HTTP IPv4 server socket (but the IPv6 one might accept IPv4 connections). wwwoffled[24798] Warning: Failed to bind IPv4 server socket to '0.0.0.0' port '8081' [Address already in use]. wwwoffled[24798] Warning: Cannot create WWWOFFLE IPv4 server socket (but the IPv6 one might accept IPv4 connections). wwwoffled[24798] Fatal: Cannot change to spool directory /var/spool/wwwoffle [Permission denied]. [ !! ] bach ~ # The peculiar thing is there appears to be nothing else listening on these ports: bach ~ # netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 bach.parrotts.net:60327 brown.freenode.net:ircd ESTABLISHED tcp 0 0 bach.parrotts.net:ssh ::ffff:163.181.25:54464 ESTABLISHED tcp 0 384 bach.parrotts.net:ssh ::ffff:192.168.1.:51606 ESTABLISHED tcp 0 0 bach.parrotts.net:ssh ::ffff:163.181.25:54461 ESTABLISHED Admittedly, I'm neither a networking nor wwwoffle guru. Somebody else want to take a try at this one?
OK, so the reason for dying is actually the permissions problem above, but still -- I am unsure about the warning messages.
chris: netstat only shows connections, please use netstat -anl | grep :8080
Whoops, forgot about that. Still, nothing there: bach ~ # netstat -anl Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 192.168.1.11:60327 216.165.191.52:6667 ESTABLISHED tcp 0 0 :::3632 :::* LISTEN tcp 0 0 :::3633 :::* LISTEN tcp 0 0 :::3634 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::ffff:192.168.1.11:22 ::ffff:163.181.25:54464 ESTABLISHED tcp 0 912 ::ffff:192.168.1.11:22 ::ffff:192.168.1.:51606 ESTABLISHED tcp 0 0 ::ffff:192.168.1.11:22 ::ffff:163.181.25:54461 ESTABLISHED Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 3787 @udevd unix 4 [ ] DGRAM 10696 /dev/log unix 3 [ ] STREAM CONNECTED 11874 unix 3 [ ] STREAM CONNECTED 11873 unix 2 [ ] DGRAM 11639 unix 2 [ ] DGRAM 11374 unix 3 [ ] STREAM CONNECTED 10707 unix 3 [ ] STREAM CONNECTED 10706 bach ~ # netstat -anl | grep 8080 bach ~ #
I went to /var/spool/wwwoffle and chown -R'd it to wwwoffle, and after that, it works fine. If this can be fixed, I'd support keywording.
www-proxy team: please see comment 2 and comment 6. please also keyword it ~amd64 as Daniel suggested after that :)
OK, I concur. I ran chown -R wwwoffle /var/spool/wwwoffle, and it ran for me, too: bach ~ # netstat -anl Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 192.168.1.11:60327 216.165.191.52:6667 ESTABLISHED tcp 0 0 :::8080 :::* LISTEN tcp 0 0 :::3632 :::* LISTEN tcp 0 0 :::8081 :::* LISTEN tcp 0 0 :::3633 :::* LISTEN tcp 0 0 :::3634 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::ffff:192.168.1.11:22 ::ffff:163.181.25:54464 ESTABLISHED tcp 0 912 ::ffff:192.168.1.11:22 ::ffff:192.168.1.:51606 ESTABLISHED tcp 0 0 ::ffff:192.168.1.11:22 ::ffff:163.181.25:54461 ESTABLISHED Seems like the ebuild install routine setting correct ownership on /var/spool/wwwoffle for us, though. As this is not an amd64-specific issue, I also support keywording now.
I've fixed ownership of /var/spool/wwwoffle and /etc/wwwoffle and their childs in both ${D} and ${ROOT} directories. All you need is a re-emeerge of 2.8e version.
Thanks Alin - I had just made the same change, but then hesitated as I was unsure whether there was a reason for it being done the way it was. Marked ~amd64 now too anyway - works just fine here.