Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Install 1.7 on debian with apt-get

Guest
Posted: Thu Oct 08, 2009 4:47 pm Reply with quote
Guest
Hello,

I am attempting to install 1.7.0-1 on debian using apt-get.

After it installs I get an error:

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 post-installation script returned error exit status 1
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

And I have an erl_crash.dump in /var/lib/rabbitmq.

Unfortunately, I'm stuck. I haven't got a clue how to determine the
cause of the erl_crash.dump.

Can anyone assist?

Thanks,
Ted


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 4:57 pm Reply with quote
Guest
Hi Ted,

Ted Slusser <ted.slusser@vanderbilt.edu> writes:
> After it installs I get an error:
>
> 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 post-installation script returned error exit status 1
> Errors were encountered while processing:
> rabbitmq-server
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> And I have an erl_crash.dump in /var/lib/rabbitmq.
>
> Unfortunately, I'm stuck. I haven't got a clue how to determine the
> cause of the erl_crash.dump.
>
> Can anyone assist?

Which version of Debian are you using, and is this a fresh install of
rabbitmq-server, or is it an upgrade (and if the latter, from which
version)?

Also, could you senattach the /var/log/rabbitmq/startup_* files, and
the erl_crash.dump file?

Thanks,
David

--
[][][] David Wragg | mail: david.wragg@lshift.net
[][] Senior Developer | tel: +44 (0)20 7729 7060
[] [] LShift Ltd | web: www.lshift.net

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 7:03 pm Reply with quote
Guest
Hi David,

It is "lenny" version of Debian.

uname -a gives:

Linux edisubu4.mc.vanderbilt.edu 2.6.18.xs4.0.1.900.5799 #2 SMP Mon
Aug 13 13:56:47 UTC 2007 i686 GNU/Linux

I got the error upon performing an upgrade of rabbitmq-server from 1.5
(?) so I uninstalled completely rabbit. I also uninstalled and re-
installed erlang-base. Also I did apt-get dist-upgrade to make sure
all my deps were 'fresh'.

Please see attached zipFile for logs and erl_crash.dump. My smtp
server won't allow .zip extensions so please rename the file if
necessary.



Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 7:23 pm Reply with quote
Guest
Ted,

Ted Slusser wrote:
> I got the error upon performing an upgrade of rabbitmq-server from
> 1.5(?) so I uninstalled completely rabbit. I also uninstalled and
> re-installed erlang-base. Also I did apt-get dist-upgrade to make sure
> all my deps were 'fresh'.

It looks like your Erlang install doesn't have crypto enabled.

What version of Erlang did you install?

Are you sure that all of rabbitmq's erlang package dependencies are met?
Here's what the debian control file says:

erlang-base | erlang-base-hipe, erlang-ssl | erlang-nox (<<
1:13.b-dfsg1-1), erlang-os-mon | erlang-nox (<< 1:13.b-dfsg1-1),
erlang-mnesia | erlang-nox (<< 1:13.b-dfsg1-1)


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 7:30 pm Reply with quote
Guest
Here is what I have for erlang
slusset@edisubu4:~$ sudo dpkg -l | grep erlang
ii erlang 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-base 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-dev 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-examples 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-mode 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-nox 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-src 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona
ii erlang-x11 1:12.b.3-
dfsg-4 Concurrent, real-time,
distributed functiona


When I try to install erlang-ssl I get this:

slusset@edisubu4:~$ sudo apt-get install erlang-ssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package erlang-ssl is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package erlang-ssl has no installation candidate

I'm looking for a source that has this package. Here's my sources.list:

slusset@edisubu4:~$ cat /etc/apt/sources.list
deb http://security.debian.org/ lenny/updates main

deb http://ftp.debian.org/debian lenny main
deb-src http://ftp.debian.org/debian lenny main

deb http://ftp.debian.org/debian etch-proposed-updates main

deb http://www.rabbitmq.com/debian/ testing main

Any thoughts on where I can get erlang-ssl?

Thanks,
Ted

On Oct 8, 2009, at 2:23 PM, Matthias Radestock wrote:

> Ted,
>
> Ted Slusser wrote:
>> I got the error upon performing an upgrade of rabbitmq-server from
>> 1.5(?) so I uninstalled completely rabbit. I also uninstalled and
>> re-installed erlang-base. Also I did apt-get dist-upgrade to make
>> sure all my deps were 'fresh'.
>
> It looks like your Erlang install doesn't have crypto enabled.
>
> What version of Erlang did you install?
>
> Are you sure that all of rabbitmq's erlang package dependencies are
> met? Here's what the debian control file says:
>
> erlang-base | erlang-base-hipe, erlang-ssl | erlang-nox (<< 1:13.b-
> dfsg1-1), erlang-os-mon | erlang-nox (<< 1:13.b-dfsg1-1), erlang-
> mnesia | erlang-nox (<< 1:13.b-dfsg1-1)
>
>
> Regards,
>
> Matthias.


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 8:16 pm Reply with quote
Guest
Now I have updated erlang and I have the following:

ii erlang-appmon 1:13.b.2.1-dfsg
ii erlang-asn1 1:13.b.2.1-dfsg
ii erlang-base 1:13.b.2.1-dfsg
ii erlang-common-test 1:13.b.2.1-dfsg
ii erlang-corba 1:13.b.2.1-dfsg
ii erlang-crypto 1:13.b.2.1-dfsg
ii erlang-debugger 1:13.b.2.1-dfsg
ii erlang-dialyzer 1:13.b.2.1-dfsg
ii erlang-docbuilder 1:13.b.2.1-dfsg
ii erlang-edoc 1:13.b.2.1-dfsg
ii erlang-et 1:13.b.2.1-dfsg
ii erlang-eunit 1:13.b.2.1-dfsg
ii erlang-gs 1:13.b.2.1-dfsg
ii erlang-ic 1:13.b.2.1-dfsg
ii erlang-inets 1:13.b.2.1-dfsg
ii erlang-inviso 1:13.b.2.1-dfsg
ii erlang-megaco 1:13.b.2.1-dfsg
ii erlang-mnesia 1:13.b.2.1-dfsg
rc erlang-mode 1:12.b.3-dfsg
ii erlang-observer 1:13.b.2.1-dfsg
ii erlang-odbc 1:13.b.2.1-dfsg
ii erlang-os-mon 1:13.b.2.1-dfsg
ii erlang-parsetools 1:13.b.2.1-dfsg
ii erlang-percept 1:13.b.2.1-dfsg
ii erlang-pman 1:13.b.2.1-dfsg
ii erlang-public-key 1:13.b.2.1-dfsg
ii erlang-reltool 1:13.b.2.1-dfsg
ii erlang-runtime-tools 1:13.b.2.1-dfsg
ii erlang-snmp 1:13.b.2.1-dfsg
ii erlang-ssh 1:13.b.2.1-dfsg
ii erlang-ssl 1:13.b.2.1-dfsg
ii erlang-syntax-tools 1:13.b.2.1-dfsg
ii erlang-test-server 1:13.b.2.1-dfsg
ii erlang-toolbar 1:13.b.2.1-dfsg
ii erlang-tools 1:13.b.2.1-dfsg
ii erlang-tv 1:13.b.2.1-dfsg
ii erlang-typer 1:13.b.2.1-dfsg
ii erlang-webtool 1:13.b.2.1-dfsg
ii erlang-wx 1:13.b.2.1-dfsg
ii erlang-xmerl 1:13.b.2.1-dfsg

But I am still getting a erl_crash.dump when attempting to install
rabbitmq-server.

Sad



Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 8:39 pm Reply with quote
Guest
Ted,

Ted Slusser wrote:
> Now I have updated erlang and [...]
> But I am still getting a erl_crash.dump when attempting to install
> rabbitmq-server.
> [...]
> Any advice on how to interpret the erl_crash.dump?

Usually there is enough info the startup logs, so you don't have to look
at the crash dump. Are the logs still complaining about ssl? If so,
check that you have openssl installed.


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 8:51 pm Reply with quote
Guest
Hi Ted,

Ted Slusser <ted.slusser@vanderbilt.edu> writes:
> Now I have updated erlang and I have the following:
>
> ii erlang-appmon 1:13.b.2.1-dfsg
> [...]
> ii erlang-xmerl 1:13.b.2.1-dfsg
>
> But I am still getting a erl_crash.dump when attempting to install
> rabbitmq-server.

I'm not sure why you have erlang/OTP R13B on a lenny machine. Lenny
still includes erlang/OTP R12B. I have a lenny system with rabbit
working, and here's the full list of erlang packages I have installed:

ii erlang-base 1:12.b.3-dfsg-4
ii erlang-nox 1:12.b.3-dfsg-4

Your list look more like the set of erlang packages I would expect to
see on a Debian unstable (sid) machine, which includes erlang R13B and
has it broken down into a large number of packages, as in your list.

Note that on lenny, you *shoudn't* have a erlang-ssl package - that
component is included in one of the two packages above.

I suspect that this erlang installation is not working quite
correctly, and that is leading to the rabbitmq problem.

I suggest that you remove all erlang packages, as well as
rabbitmq-server, and start again. If apt-get installs something other
than the two erlang packages I mentioned above, you probably have an
issue in your apt configuration.

> Any advice on how to interpret the erl_crash.dump?

The /var/log/rabbit/startup_* files are usually the best place to look
to diagnose problems with rabbitmq-server, and we need to see those to
understand files what going on. The erl_crash.dump file sometimes
gives useful context, but it contains a lot of information which is
uninteresting in most cases.

David

--
[][][] David Wragg | mail: david.wragg@lshift.net
[][] Senior Developer | tel: +44 (0)20 7729 7060
[] [] LShift Ltd | web: www.lshift.net

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Oct 08, 2009 9:04 pm Reply with quote
Guest
Hi,

I was able to get it running on a different lenny box. I will now
compare differences between the two. Thanks for the assistance.

Ted

On Oct 8, 2009, at 3:50 PM, David Wragg wrote:

> Hi Ted,
>
> Ted Slusser <ted.slusser@vanderbilt.edu> writes:
>> Now I have updated erlang and I have the following:
>>
>> ii erlang-appmon 1:13.b.2.1-dfsg
>> [...]
>> ii erlang-xmerl 1:13.b.2.1-dfsg
>>
>> But I am still getting a erl_crash.dump when attempting to install
>> rabbitmq-server.
>
> I'm not sure why you have erlang/OTP R13B on a lenny machine. Lenny
> still includes erlang/OTP R12B. I have a lenny system with rabbit
> working, and here's the full list of erlang packages I have installed:
>
> ii erlang-base 1:12.b.3-dfsg-4
> ii erlang-nox 1:12.b.3-dfsg-4
>
> Your list look more like the set of erlang packages I would expect to
> see on a Debian unstable (sid) machine, which includes erlang R13B and
> has it broken down into a large number of packages, as in your list.
>
> Note that on lenny, you *shoudn't* have a erlang-ssl package - that
> component is included in one of the two packages above.
>
> I suspect that this erlang installation is not working quite
> correctly, and that is leading to the rabbitmq problem.
>
> I suggest that you remove all erlang packages, as well as
> rabbitmq-server, and start again. If apt-get installs something other
> than the two erlang packages I mentioned above, you probably have an
> issue in your apt configuration.
>
>> Any advice on how to interpret the erl_crash.dump?
>
> The /var/log/rabbit/startup_* files are usually the best place to look
> to diagnose problems with rabbitmq-server, and we need to see those to
> understand files what going on. The erl_crash.dump file sometimes
> gives useful context, but it contains a lot of information which is
> uninteresting in most cases.
>
> David
>
> --
> [][][] David Wragg | mail: david.wragg@lshift.net
> [][] Senior Developer | tel: +44 (0)20 7729 7060
> [] [] LShift Ltd | web: www.lshift.net


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum