Install Natty apt-get update apt-get install cobbler dhcp3-server (Fix Proxy Settings for Apache) change manage_dhcp: 0 to manage_dhcp: 1 in /etc/cobbler/settings service cobbler restart cobbler sync
It will fail with: running python trigger cobbler.modules.sync_post_restart_services running: dhcpd -t -q received on stdout: recieved on stderr: running: service dhcpd restart received on stdout: recieved on stderr: dhcpd: unrecognized service Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'cobbler trigger failed: cobbler.modules.sync_post_restart_services' Exception Info: File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run rc = self._run(self) File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 183, in runner return self.remote.api.sync(self.options.get("verbose",False),logger=self.logger) File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 698, in sync return sync.run() File "/usr/lib/python2.7/dist-packages/cobbler/action_sync.py", line 152, in run utils.run_triggers(self.api, None, "/var/lib/cobbler/triggers/sync/post/*", logger=self.logger) File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 911, in run_triggers raise CX("cobbler trigger failed: %s" % m.__name__) !!! TASK FAILED !!! /usr/lib/python2.7/dist- packages/cobbler/modules/sync_post_restart_services.py contains: rc = utils.subprocess_call(logger,"service dhcpd restart", shell=True) Which thus looks for /etc/init.d/dhcpd which doesn't exist, as it's /etc/init.d/isc-dhcp-server I've worked around it by symlinking the two for now. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cobbler in ubuntu. https://bugs.launchpad.net/bugs/709723 Title: The location of isc-dhcpd is incorrect in sync_post_restart_services.py -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs