Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190266 - net-im/ejabberd won't start after initial launch due to /var/run/jabber/.erlang.cookie permissions
Summary: net-im/ejabberd won't start after initial launch due to /var/run/jabber/.erla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-26 06:57 UTC by Douglas Mayle
Modified: 2007-09-14 11:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Mayle 2007-08-26 06:57:55 UTC
When installing ejabberd, the first time you launch it, it works, but after that, it refuses to launch.  This is because /var/run/jabber/.erlang.cookie is owned by root and needs to be owned by jabber

Reproducible: Always

Steps to Reproduce:
1.install ejabberd on clean system
2.start ejabberd
3.shutdown ejabberd and kill all erlang processes
4. try to rstart ejabberd

Actual Results:  
ejabberd reports success, but never starts

Expected Results:  
ejabberd should start

changing the permission on /var/run/jabber/.erlang.cookie fixes the problem
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-26 07:14:06 UTC
Well, that happens if you start the server as root, don't do it...
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2007-09-14 11:37:16 UTC
While I have my doubts, I've added a chown statement to the startup script which fix this. This is in portage as 1.1.4