← Back to team overview

launchpad-dev team mailing list archive

Re: Problem with user "librarian"

 

Ah ok, just checked and it works.
I'll use the old Makefile now and see what happens with rabbitmq.
Thanks for your help.

On 26 September 2015 at 15:58, William Grant <william.grant@xxxxxxxxxxxxx>
wrote:

> On 26/09/15 15:28, Michael . wrote:
> > Correction, it doesn't tell me that rabbitmq has timed out. This is the
> > output the mare run stops at.
> > 2015-09-26 05:15:51 INFO    Killing librarian (3150)
> > 2015-09-26 05:15:51 INFO    Killing launchpad (3148)
> > bin/run -r librarian,google-webservice,memcached,txlongpoll \
> >     -i development
> > Removing stale pidfile /var/tmp/development-librarian.pid
> > ------
> > 2015-09-26T15:15:58 WARNING root Developer mode is enabled: this is a
> > security risk and should NOT be enabled on production servers. Developer
> > mode can be turned off in etc/zope.conf
> > ------
> > 2015-09-26T15:16:17 INFO Server zope.server.http (HTTP) started.
> >     Hostname: michael-RV411-RV511-E3511-S3511-RV711
> >     Port: 8085
> >     URL: http://michael-RV411-RV511-E3511-S3511-RV711:8085/
> > ------
> > 2015-09-26T15:16:17 INFO PMDBWSGIHTTPServer zope.server.http
> > (PostmortemDebuggingHTTP) started.
> >     Hostname: michael-RV411-RV511-E3511-S3511-RV711
> >     Port: 8088
> >     URL: http://michael-RV411-RV511-E3511-S3511-RV711:8088/
> > ------
> > 2015-09-26T15:16:17 INFO Server zope.server.http (DebugLayerHTTP)
> started.
> >     Hostname: michael-RV411-RV511-E3511-S3511-RV711
> >     Port: 8086
> >     URL: http://michael-RV411-RV511-E3511-S3511-RV711:8086/
> > ------
> > 2015-09-26T15:16:17 INFO Server zope.server.http (PrivateXMLRPC) started.
> >     Hostname: michael-RV411-RV511-E3511-S3511-RV711
> >     Port: 8087
> >     URL: http://michael-RV411-RV511-E3511-S3511-RV711:8087/
> > ------
> > 2015-09-26T15:16:17 INFO root Startup time: 18.689 sec real, 10.549 sec
> CPU
>
> That means Launchpad is up and running successfully. If you've used
> rocketfuel-setup, you should be able to browse to https://launchpad.dev/.
>
> But it took about twice as long to start as I would expect. I wouldn't
> try to run an appserver with less than 4GiB of RAM, though 2GiB might
> not be absolutely terrible if you're running 32-bit.
>
> > On 26 September 2015 at 15:26, Michael . <keltoiboy@xxxxxxxxx
> > <mailto:keltoiboy@xxxxxxxxx>> wrote:
> >
> >     I have made a backup of the Makefile (Makefile.old) and removed all
> >     references do rabbitmq in the original file. Nothing changes.
> >     I'm starting to think some of this is a ram issue. How much ram is
> >     the recommended minimum for launchpad to build and run?
> >
> >     On 26 September 2015 at 10:34, William Grant
> >     <william.grant@xxxxxxxxxxxxx <mailto:william.grant@xxxxxxxxxxxxx>>
> >     wrote:
> >
> >         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>
> >         > <mailto: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>
> >         <mailto: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>>
> >         >         <mailto: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.
> >         >         >
> >         >         >
> >         >
> >         >
> >         >
> >         >
> >
> >
> >
> >
>
>
>

Follow ups

References