This is a known issue with the 12.04 Ubuntu derivative, the services are started before an ip address is assigned to the machine.
There are a number of posts ON THIS FORUM that explain how to rectify the issue and delay the start up of the job so that you don’t have to start them manually after each reboot.