On Fri, Apr 20, 2012 at 6:27 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL
TECHNOLOGY SOLUTIONS INC] <[email protected]> wrote:

> The below was the result with SELinux set to enforcing.  The following was
> the result when SELinux was set to permissive.****
>
> ** **
>
> ** **
>
> [root@fiat Desktop]# cobbler sync****
>
> task started: 2012-04-20_072037_sync****
>
> task started (id=Sync, time=Fri Apr 20 07:20:37 2012)****
>
> running pre-sync triggers****
>
> cleaning trees****
>
> removing: /var/www/cobbler/images/rhel62-x86_64****
>
> removing: /var/lib/tftpboot/grub/images****
>
> removing: /var/lib/tftpboot/images/rhel62-x86_64****
>
> removing: /var/lib/tftpboot/images/memtest86+-4.10****
>
> removing: /var/lib/tftpboot/s390x/profile_list****
>
> copying bootloaders****
>
> copying: /var/lib/cobbler/loaders/pxelinux.0 ->
> /var/lib/tftpboot/pxelinux.0****
>
> copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32**
> **
>
> copying: /boot/memtest86+-4.10 -> /var/lib/tftpboot/images/memtest86+-4.10
> ****
>
> copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot****
>
> copying: /var/lib/cobbler/loaders/grub-x86_64.efi ->
> /var/lib/tftpboot/grub/grub-x86_64.efi****
>
> copying: /var/lib/cobbler/loaders/grub-x86.efi ->
> /var/lib/tftpboot/grub/grub-x86.efi****
>
> copying distros to tftpboot****
>
> copying files for distro: rhel62-x86_64****
>
> trying hardlink
> /var/www/cobbler/ks_mirror/rhel62-x86_64/images/pxeboot/vmlinuz ->
> /var/lib/tftpboot/images/rhel62-x86_64/vmlinuz****
>
> trying hardlink
> /var/www/cobbler/ks_mirror/rhel62-x86_64/images/pxeboot/initrd.img ->
> /var/lib/tftpboot/images/rhel62-x86_64/initrd.img****
>
> copying images****
>
> generating PXE configuration files****
>
> generating PXE menu structure****
>
> copying files for distro: rhel62-x86_64****
>
> trying hardlink
> /var/www/cobbler/ks_mirror/rhel62-x86_64/images/pxeboot/vmlinuz ->
> /var/www/cobbler/images/rhel62-x86_64/vmlinuz****
>
> trying hardlink
> /var/www/cobbler/ks_mirror/rhel62-x86_64/images/pxeboot/initrd.img ->
> /var/www/cobbler/images/rhel62-x86_64/initrd.img****
>
> rendering DHCP files****
>
> generating /etc/dhcp/dhcpd.conf****
>
> rendering TFTPD files****
>
> generating /etc/xinetd.d/tftp****
>
> cleaning link caches****
>
> running post-sync triggers****
>
> running python triggers from /var/lib/cobbler/triggers/sync/post/*****
>
> running python trigger cobbler.modules.sync_post_restart_services****
>
> running: dhcpd -t -q****
>
> received on stdout: ****
>
> received on stderr: /bin/sh: dhcpd: command not found****
>
> ** **
>
> dhcpd -t failed****
>
> Exception occured: <class 'cobbler.cexceptions.CX'>****
>
> Exception value: 'cobbler trigger failed:
> cobbler.modules.sync_post_restart_services'****
>
> Exception Info:****
>
>   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in
> run****
>
>     rc = self._run(self)****
>
>    File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 184, in
> runner****
>
>     return
> self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
> ****
>
>    File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 701, in
> sync****
>
>     return sync.run()****
>
>    File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line
> 155, in run****
>
>     utils.run_triggers(self.api, None,
> "/var/lib/cobbler/triggers/sync/post/*", logger=self.logger)****
>
>    File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 918, in
> run_triggers****
>
>     raise CX("cobbler trigger failed: %s" % m.__name__)****
>
> ** **
>
> !!! TASK FAILED !!!****
>
> ** **
>
> RHEL 6.2 python 2.6.6
>

For the SELinux issue, "cobbler check" should give you a couple of commands
to run to correct that issue. As for the second, it looks like you need to
install the dhcpd server package.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
  • [cobble... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]
    • Re... James Cammarata
      • ... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]
      • ... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]

Reply via email to