Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 424037

Summary: net-im/ejabberd-2.1.9 does not start after erlang update to erlang-15.2
Product: Gentoo Linux Reporter: Vivek Shah <bonii>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: graaff
Priority: High    
Version: 10.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info log

Description Vivek Shah 2012-06-29 09:05:14 UTC
Recently, I updated my server which caused both Erlang and ejabberd to be updated. Since then the ejabberd daemon fails to start up. I have tried to re-emerge to cause ejabberd to be recompiled with the new version of erlang but that does not help.

Reproducible: Always

Steps to Reproduce:
1. Update erlang to 15.2
2. Update ejabberd to 2.1.9
3. Restart ejabberd.
Actual Results:  
Ejabberd fails to start with the following log message in ejabberd.log

    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {badarg,
                         [{erlang,port_control,
                              [stringprep_port,2,"localhost"],
                              []},
                          {stringprep,control,2,
                              [{file,"stringprep.erl"},{line,107}]},
                          {jlib,nodeprep,1,[{file,"jlib.erl"},{line,300}]},
                          {ejabberd_config,normalize_hosts,2,
                              [{file,"ejabberd_config.erl"},{line,162}]},
                          {ejabberd_config,add_hosts_to_option,2,
                              [{file,"ejabberd_config.erl"},{line,154}]},
                          {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
                          {ejabberd_config,load_file,1,
                              [{file,"ejabberd_config.erl"},{line,88}]},
                          {ejabberd_config,start,0,
                              [{file,"ejabberd_config.erl"},{line,60}]}]}}}}
    type: temporary


Expected Results:  
Ejabberd should have started up
Comment 1 Vivek Shah 2012-06-29 09:06:55 UTC
Created attachment 316599 [details]
emerge --info log

Created the output of emerge --info as an attachment
Comment 2 Hans de Graaff gentoo-dev Security 2012-06-30 06:23:36 UTC
Re-emerging ejabberd worked for me.
Comment 3 Vivek Shah 2012-06-30 09:32:17 UTC
Re-emerging does not work for me, I tried to remove the package and re-install it back, still does not work, I get the same error message in the log as I posted before.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-03 09:42:10 UTC
Upgrade.

*** This bug has been marked as a duplicate of bug 417237 ***