airtime 1.9.4 deb on ubuntu 10.4 LTS - rabbitmq-server fails
  • hi,

    the install on a virgin 10.4 LTS 64bit fails with this message:

    Quote:

    Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
    Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
    rabbitmq-server.
    invoke-rc.d: initscript rabbitmq-server, action "start" failed.
    dpkg: error processing rabbitmq-server (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of airtime:
    airtime depends on rabbitmq-server; however:
    Package rabbitmq-server is not configured yet.
    dpkg: error processing airtime (--configure):
    dependency problems - leaving unconfigured


    and /var/log/rabbit/startup_log has this in it:

    Quote:

    Starting all nodes...
    Starting node rabbit@ds023...
    {error_logger,{{2011,10,5},{22,15,23}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,
    listen,1},{net_kernel,start_protos,4},{net_kernel,start_prot os,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_serv er,init_it,6},{proc
    _lib,init_p_do_apply,3}]}]}
    {error_logger,{{2011,10,5},{22,15,23}},crash_report,[[{initi al_call,{net_kernel,init,['Argument__1']}},{pid, <0.22.0>},{registered_name,[]},
    {error_info,{exit,{error,badarg},[{gen_server,init_it,6},{pr oc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup, <0.10.0>]},{message
    s,[]},{links,[#Port<0.119>,<0.19.0> ]},{dictionary,[{longnames,false}]},{trap_exit,true},{status ,running},{heap_size,377},{stack_size,24},{r
    eductions,465}],[]]}
    {error_logger,{{2011,10,5},{22,15,23}},supervisor_report,[{s upervisor,{local,net_sup}},{errorContext,start_error},{reaso n,{'EXIT',nodistrib
    ution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{n et_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,p ermanent},{shutdown
    ,2000},{child_type,worker}]}]}
    {error_logger,{{2011,10,5},{22,15,23}},supervisor_report,[{s upervisor,{local,kernel_sup}},{errorContext,start_error},{re ason,shutdown},{off
    ender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution ,start_link,[]}},{restart_type,permanent},{shutdown,infinity },{child_type,super
    visor}]}]}
    {error_logger,{{2011,10,5},{22,15,23}},std_info,[{applicatio n,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{ty pe,permanent}]}
    {"Kernel pid terminated",application_controller," {application_start_failure,kernel,{shutdown,{kernel,start,[n ormal,[]]}}} "}


    any ideas?

    PAT
  • 11 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    an dpkg --configure rabbitmq-server don't resolve the problem ?
  • nope, that's when the error occurs, the configure process hangs for a while at

    Quote:

    Starting rabbitmq-server:


    and ends with

    Quote:

    invoke-rc.d: initscript rabbitmq-server, action "start" failed.
    dpkg: error processing rabbitmq-server (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    rabbitmq-server


    in the syslog I found this:
    Quote:

    Oct 6 11:13:38 ds023 epmd: epmd: epmd running - daemon = 1
    Oct 6 11:13:42 ds023 epmd: epmd: epmd running - daemon = 1
    Oct 6 11:13:42 ds023 epmd: epmd: node name already occupied rabbit


    PAT
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    Really strange ...

    I hope is a fresh install Wink
    if it's the case

    try this

    apt-get autoremove --purge airtime
    apt-get update
    apt-get install airtime

  • this would have been too easy Wink (I already did revert to a snapshot, as this is a VM anyways)

    but I tried, the purge failed - guess what, because of rabbitmq-server. afterwards a process with rabbitmq something.. was still running. this maybe the problem why the install didn't work out either.

    I will now set up the VM again from scratch, as this was a virgin system, but I did install icecast beforehand and now I'm not so sure anymore, if I maybe had the 1.9.3 beta .deb installed and simply forgot about ist.

    I will report later,

    thanks,

    PAT

  • ok, appearently I had an old beta .deb installation which didn't completely purge, now, after a clean ubuntu installation, the installer went thu Smile
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    remove was a good idea Wink
  • but it didn't work, (apt-get purge airtime). I had to build the VM from scratch..

    fg
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    a purge doesn't work ???

    brrrrr

    that's really strange
  • nope, I suspect, the rabbit-mq server could not be stopped by apt-get, so no problem of airtime itself,

    fg
  • so no problems with ubuntu 64 bit?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    64 bit environment is more preferred then 32