Comment 13 for bug 948825

Revision history for this message
Hasenkopf, Andreas (andi-hasenkopf) wrote : Re: Loggerhead unable to serve as deamon behind apache

Hi,
after upgrading my 64bit server to Ubuntu 12.04 I had the exact same problem described above.

I have loggerhead running behind an Apache instance, that does some authentication using Django and WSGI. As I'm using the same for a Download area, this cannot be an issue.

After using the suggested absolute URL fix, the loggerhead service does not start. No entries in the logs either. Apache return a 503 HTML error. But when starting serve-branches from command line it is working.

Using the call from /etc/init.d/loggerhead serve-branches cannot start and exits with an error message that does not get displayed by the init script as its sent to /dev/null:

# start-stop-daemon -p 123 -S --startas /usr/bin/serve-branches --chuid loggerhead --make-pidfile --background --chdir file:///data/bazaar/ -- --prefix=/code --port=8080 --host=localhost --log-folder /var/log/loggerhead
start-stop-daemon: unable to chdir() to file:///data/bazaar/ (No such file or directory)