Fog Servers on Ubuntu bootup



  • Hello, I was wondering if any of you have a fog server that is setup on ubuntu (12.04) and when it is first booted up it starts all the services it needs to PXE boot. Currently i have to run the installer for fog to get those booted so i can PXE boot, any ideas?



  • Thanks mon!! Hopefully i find it! Thats what i was thinking of was a delay starting that process up but i never scripted in linux


  • Moderator

    [code]sudo service tftpd-hpa restart[/code]

    or you can [code]sudo service --status-all | grep tftp[/code] to find the service name

    search the forums for recent posts on tftpd-hpa, someone has posted a way to make the script sleep/wait on the LAN interfaces before it tries to start tftpd-hpa.



  • Ah ok so that one service is causing it, i do notice that it takes a few seconds for ubuntu to connect with its static IP. How do you restart that service though? I’m still learning Ubuntu and the inner workings of Fog. Thanks for the info also sir!


  • Moderator

    common issue. something to do with tftpd-hpa trying to start before the interface has an IP address. Workaround for now is to stop and restart the tftpd-hpa service after boot up.

    If you want something that works out of the box for now, downgrade to Ubuntu 10.04 LTS Server for your Fog server. I’m assuming there is work being done to make it so tftpd-hpa service will wait until the interfaces have IP addresses before it starts, but I cannot be sure as to when that will be fixed.


Log in to reply
 

400
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.