Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233526 - gorg exits with code error 1
Summary: gorg exits with code error 1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 20:34 UTC by Nelson
Modified: 2008-09-28 13:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace (strace.log,207.71 KB, text/plain)
2008-07-31 20:35 UTC, Nelson
Details
gorg.conf (gorg.conf,5.91 KB, text/plain)
2008-07-31 20:36 UTC, Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nelson 2008-07-31 20:34:49 UTC
Running gorg will result in a immediate exit with code error 1.

Nothing is using port 8008, attaching the config file and the output of strace gorg.

I'm following http://gentoo.neysx.org/mystuff/gorg/gorg.xml and
http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml
Comment 1 Nelson 2008-07-31 20:35:46 UTC
Created attachment 161876 [details]
strace
Comment 2 Nelson 2008-07-31 20:36:39 UTC
Created attachment 161878 [details]
gorg.conf

BTW gorg is parsing individual files well.
Comment 3 Wormo (RETIRED) gentoo-dev 2008-07-31 21:29:12 UTC
Which version of gorg are you running? Is it from the main tree or an overlay?

From the strace log, it looks like you have something running on 8008 already, which is a typical reason for a server to exit like that:

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(8008), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRNOTAVAIL (Cannot assign requested address)

So, also please show output from 'netstat -tlpn'
Comment 4 Nelson 2008-07-31 21:36:42 UTC
(In reply to comment #3)
> Which version of gorg are you running? Is it from the main tree or an overlay?

The latest in the main tree.


> From the strace log, it looks like you have something running on 8008 already,
> which is a typical reason for a server to exit like that:
> 
> 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(8008),
> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRNOTAVAIL (Cannot assign
> requested address)

> So, also please show output from 'netstat -tlpn'
> 
output:"
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat   \ PID/Program name
"

'lsof -i :8008' also shows nothing.