First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 88482
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Łukasz Mierzwa <l.mierzwa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 88482 depends on: Show dependency tree
Show dependency graph
Bug 88482 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-09 09:03 0000
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.

------- Comment #1 From Simon Stelling (RETIRED) 2005-04-09 11:09:44 0000 -------
looks like it's ours :)

------- Comment #2 From Chris Parrott (RETIRED) 2005-04-09 11:26:01 0000 -------
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?

------- Comment #3 From Chris Parrott (RETIRED) 2005-04-09 11:27:11 0000 -------
OK, so the reason for dying is actually the permissions problem above, but
still -- I am unsure about 
the warning messages.

------- Comment #4 From Simon Stelling (RETIRED) 2005-04-09 11:30:03 0000 -------
chris: netstat only shows connections, please use netstat -anl | grep :8080

------- Comment #5 From Chris Parrott (RETIRED) 2005-04-09 11:36:03 0000 -------
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 ~ # 

------- Comment #6 From Daniel Gryniewicz 2005-04-09 11:46:49 0000 -------
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.

------- Comment #7 From Simon Stelling (RETIRED) 2005-04-09 11:58:45 0000 -------
www-proxy team: please see comment 2 and comment 6. please also keyword it
~amd64 as Daniel suggested after that :)

------- Comment #8 From Chris Parrott (RETIRED) 2005-04-09 12:01:46 0000 -------
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.

------- Comment #9 From Alin Năstac 2005-04-09 14:16:09 0000 -------
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.

------- Comment #10 From Marcus D. Hanwell 2005-04-09 15:17:46 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug