← Back to team overview

launchpad-dev team mailing list archive

Re: Problem with user "librarian"

 

On 26/09/15 05:33, Michael . wrote:
> 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())
> [... snip ...]
> 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.

It works fine for me on a fresh trusty system. Does everything work if
you edit Makefile to remove rabbitmq from the list of services to start?
It's not essential for basic usage.

> Cheers.
> Michael.
> 
> On 24 September 2015 at 20:08, Michael . <keltoiboy@xxxxxxxxx
> <mailto: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 <mailto: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>
>         <mailto: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.
>         >
>         >
> 
> 
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References