Hobbit-client in Ubuntu Hardy startup failure PDF Print E-mail
Written by Carl Friis-Hansen   
Sunday, 16 November 2008 21:27

 

There are two bugs introduced is Ubuntu Hardy. The two bugs are fixed in Intrepid. Here is a little list providing a temporary solution until it gets fixed in Hardy two.

 

First set the hobbit server address:

$ sudo nano /etc/default/hobbit-client

 


 

Then insert the code below in start section of /etc/init.d/hobbit-client:

#/////////////////////////////////////////////////
# Create hobbitclient PIDDIR
if [ -d /var/run -a ! -d /var/run/hobbit ]; then
        mkdir -p /var/run/hobbit
        chown hobbit.hobbit /var/run/hobbit
fi

# Set the right rights
if [ -d /var/lib/hobbit/tmp ]; then
        chown -R hobbit.hobbit /var/lib/hobbit/tmp
        chown -R hobbit.hobbit /usr/lib/hobbit/client/tmp
fi

# Include hobbitclient defaults if available
if [ -f /etc/default/hobbit-client ] ; then
        . /etc/default/hobbit-client
fi
#/////////////////////////////////////////////////

 


 


 

Add comment

To be able to vote and have easier access to write comments, etc., go to Login and register yourself.
Your user name and email will never leave this website.


Security code
Refresh