← Back to team overview

launchpad-dev team mailing list archive

Re: Problem with user "librarian"

 

Sorry for the delay
Clean install Ubuntu 14.04.3. Followed the process' at
https://dev.launchpad.net/Running Everything went as it should until make
run where I got
<lp.scripts.runlaunchpad.TxLongPollService object at 0x2ab851b3fc50>
fixture details:
(not ready yet?)
Traceback (most recent call last):
  File "bin/run", line 26, in <module>
    sys.exit(lp.scripts.runlaunchpad.start_launchpad())
  File
"/home/michael/launchpad/lp-branches/devel/lib/lp/scripts/runlaunchpad.py",
line 436, in start_launchpad
    with nested(*services):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/lib/python2.7/contextlib.py", line 112, in nested
    vars.append(enter())
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/fixtures-0.3.9-py2.7.egg/fixtures/fixture.py",
line 142, in __enter__
    self.setUp()
  File
"/home/michael/launchpad/lp-branches/devel/lib/lp/scripts/runlaunchpad.py",
line 54, in setUp
    self.launch()
  File
"/home/michael/launchpad/lp-branches/devel/lib/lp/scripts/runlaunchpad.py",
line 238, in launch
    self.useFixture(self.server)
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/fixtures-0.3.9-py2.7.egg/fixtures/fixture.py",
line 201, in useFixture
    fixture.setUp()
  File
"/home/michael/launchpad/lp-branches/devel/lib/lp/services/rabbit/server.py",
line 24, in setUp
    super(RabbitServer, self).setUp()
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/rabbitfixture-0.3.6-py2.7.egg/rabbitfixture/server.py",
line 409, in setUp
    self.useFixture(self.runner)
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/fixtures-0.3.9-py2.7.egg/fixtures/fixture.py",
line 201, in useFixture
    fixture.setUp()
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/rabbitfixture-0.3.6-py2.7.egg/rabbitfixture/server.py",
line 275, in setUp
    self._start()
  File
"/home/michael/launchpad/lp-sourcedeps/eggs/rabbitfixture-0.3.6-py2.7.egg/rabbitfixture/server.py",
line 329, in _start
    (self.config.logfile,))
Exception: Timeout waiting for RabbitMQ server to start: log in
'/tmp/tmpJyCtsY/server.log'.
make: *** [run] Error 1
michael@michael-RV411-RV511-E3511-S3511-RV711:~/launchpad/lp-branches/devel$


Checked logs and attached them to this message.tmpPpGdAq@xxxxxxxxxxxxxxxxxx
is empty.

So now rabbitmq is timing out and launchpad wont start.

Cheers.
Michael.

On 24 September 2015 at 20:08, Michael . <keltoiboy@xxxxxxxxx> wrote:

> Ok I will work on it tomorrow when my mind is more alert.
> Thanks for your time and assistance, it is appreciated.
> Cheers.
> Michael.
>
> On 24 September 2015 at 19:46, William Grant <william.grant@xxxxxxxxxxxxx>
> wrote:
>
>> On 24/09/15 19:32, Michael . wrote:
>> > I am currently cleaning up my system. I will do a fresh install tomorrow
>> > and post the results but as I said I have been able to get passed that
>> > error and get stuck on a different error later on. The "librarian" and
>> > now the rabbit time out is what I would like to work on as they are the
>> > errors that are stopping me.
>>
>> The librarian error is fallout from the bad database setup. I've updated
>> the manual instructions on the wiki (the problem you ran into was
>> probably lack of IPv6 auth config), but you should work out why
>> launchpad-database-setup is failing. It looks like the script is
>> corrupt, or your /bin/sh is weird, or something similarly sinister.
>>
>> > On 24 September 2015 at 19:13, William Grant
>> > <william.grant@xxxxxxxxxxxxx <mailto:william.grant@xxxxxxxxxxxxx>>
>> wrote:
>> >
>> >     On 24/09/15 18:56, Michael . wrote:
>> >     > I have noticed that many things about LP see to be aged but when
>> that is
>> >     > what is available it is what people will use.
>> >     > Anyway, below is a copy of the output from a new setup
>> >     > michael@michael-RV411-RV511-E3511-S3511-RV711
>> :~/launchpad/lp-branches/devel$
>> >     > ./utilities/launchpad-database-setup michael
>> >     > <snip>
>> >     >  * Starting PostgreSQL 9.3 database
>> >     > server
>> >     > [ OK ]
>> >     > Waiting 10 seconds for postgresql to come up...
>> >     > Creating postgresql user $
>> >
>> >     That's a bit suspicious; it should say "Creating postgresql user
>> >     michael". Can you paste the full output of
>> launchpad-database-setup? Is
>> >     your /bin/sh a symlink to a shell other than dash or bash?
>> >
>> >     William.
>> >
>> >
>>
>>
>>
>
              RabbitMQ 3.2.4. Copyright (C) 2007-2013 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /tmp/tmpJyCtsY/tmpPpGdAq@xxxxxxxxxxxxx
  ######  ##        /tmp/tmpJyCtsY/tmpPpGdAq@xxxxxxxxxxxxxxxxxx
  ##########
              Starting broker... completed with 0 plugins.
=INFO REPORT==== 26-Sep-2015::05:07:22 ===
Starting RabbitMQ 3.2.4 on Erlang R16B03
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 26-Sep-2015::05:07:22 ===
node           : tmpPpGdAq@localhost
home dir       : /tmp/tmpJyCtsY
config file(s) : (none)
cookie hash    : EJq50+VzD1VCiKkjU7MPEA==
log            : /tmp/tmpJyCtsY/tmpPpGdAq@xxxxxxxxxxxxx
sasl log       : /tmp/tmpJyCtsY/tmpPpGdAq@xxxxxxxxxxxxxxxxxx
database dir   : /tmp/tmpxt07dY/tmpPpGdAq@localhost

=INFO REPORT==== 26-Sep-2015::05:07:31 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 26-Sep-2015::05:07:32 ===
Memory limit set to 745MB of 1864MB total.

=INFO REPORT==== 26-Sep-2015::05:07:32 ===
Disk free limit set to 50MB

=INFO REPORT==== 26-Sep-2015::05:07:32 ===
Adding vhost '/'

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
Creating user 'guest'

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
Setting user tags for user 'guest' to [administrator]

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=WARNING REPORT==== 26-Sep-2015::05:07:33 ===
msg_store_persistent: rebuilding indices from scratch

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
started TCP Listener on 127.0.0.1:56720

=INFO REPORT==== 26-Sep-2015::05:07:33 ===
Server startup complete; 0 plugins started.

Follow ups

References