FAI Server on Lucid / LTS
Justin Ryan
justin at wikia-inc.com
Wed Mar 23 22:24:59 CET 2011
Ditto below. More editing. :)
On Wed, Mar 23, 2011 at 2:02 PM, Justin Ryan <justin at wikia-inc.com> wrote:
> My last posting was too large with the entire log attached, I'll paste
> from the beginning of failures below the original quoted message..
>
> On Wed, Mar 23, 2011 at 1:48 PM, Justin Ryan <justin at wikia-inc.com> wrote:
>> Howdy,
>>
>> I am trying to setup an FAI Server for Ubuntu Lucid / 10.04 LTS. This
>> distribution does not include FAI packages, but there is a PPA.
>>
>> I've installed fai-quickstart successfully, and configured FAI to
>> debootstrap lucid, with a local HTTP mirror specified in sources.list.
>>
>> This seems mostly to work, but fails toward the end configuring rsyslog.
>>
>> Attached is fai-setup.log, any feedback or guidance would be
>> appreciated. Does anyone have this working with Lucid?
>>
>> TIA,
>>
>> Justin
>>
>> --
>> http://about.me/justizin
>> skype/aim: justizin
>>
>
>
>
> Setting up ifupdown (0.6.8ubuntu29.2) ...
> start: Job is already running: network-interface-security
>
> Setting up rsyslog (4.2.0-2ubuntu8.1) ...
> Installing new version of config file /etc/init/rsyslog.conf ...
> start: Job failed to start
> invoke-rc.d: initscript rsyslog, action "restart" failed.
> dpkg: error processing rsyslog (--configure):
> subprocess installed post-installation script returned error exit status 1
... (successes) ...
>
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
> Processing triggers for initramfs-tools ...
> Errors were encountered while processing:
> rsyslog
> E: Sub-process /usr/bin/dpkg returned an error code (1)
... (successes) ...
> Setting up rsyslog (4.2.0-2ubuntu8.1) ...
> start: Job failed to start
> invoke-rc.d: initscript rsyslog, action "restart" failed.
> dpkg: error processing rsyslog (--configure):
> subprocess installed post-installation script returned error exit status 1
> Setting up wireless-crda (1.12) ...
> Setting up linux-image-2.6.32-30-generic (2.6.32-30.59) ...
> Running depmod.
> update-initramfs: Generating /boot/initrd.img-2.6.32-30-generic
> grep: /proc/modules: No such file or directory
> grep: /proc/modules: No such file or directory
> grep: /proc/modules: No such file or directory
> cp: cannot stat `/etc/mdadm/mdadm.conf': No such file or directory
>
... (successes) ...
>
> Setting up mdadm (2.6.7.1-1ubuntu15) ...
> Generating array device nodes... /var/lib/dpkg/info/mdadm.postinst:
> 170: /dev/MAKEDEV: not found
> failed.
> Generating mdadm.conf... done.
> Removing any system startup links for /etc/init.d/mdadm-raid ...
> update-initramfs: deferring update (trigger activated)
> update-rc.d: warning: mdadm start runlevel arguments (2 3 4 5) do not
> match LSB Default-Start values (S)
> update-rc.d: warning: mdadm stop runlevel arguments (0 1 6) do not
> match LSB Default-Stop values (0 6)
> * Starting MD monitoring service mdadm --monitor
>
> Warning: Dummy start-stop-daemon called for /sbin/mdadm. Doing nothing.
> ...done.
>
... (successes) ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.32-30-generic
> grep: /proc/modules: No such file or directory
> grep: /proc/modules: No such file or directory
> grep: /proc/modules: No such file or directory
> Errors were encountered while processing:
> rsyslog
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> Setting up rsyslog (4.2.0-2ubuntu8.1) ...
> start: Job failed to start
> invoke-rc.d: initscript rsyslog, action "restart" failed.
> dpkg: error processing rsyslog (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> rsyslog
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Reading extended state information...
> Initializing package states...
> Writing extended state information...
> ERROR: 65280 65280
> ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir aptitude -R -y -o
> Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
> install nfs-common fai-nfsroot module-init-tools ssh rdate lshw
> portmap rsync lftp less dump reiserfsprogs e2fsprogs usbutils psmisc
> pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate
> dosfstools jove xfsprogs xfsdump procinfo dialog discover
> console-setup iproute udev subversion liblinux-lvm-perl cfengine2
> libapt-pkg-perl grub lilo linux-image return code 255
> install_packages: executing chroot
> /srv/fai/nfsroot/live/filesystem.dir apt-get clean
> install_packages: executing chroot
> /srv/fai/nfsroot/live/filesystem.dir dpkg --configure --pending
> Setting up rsyslog (4.2.0-2ubuntu8.1) ...
> start: Job failed to start
> invoke-rc.d: initscript rsyslog, action "restart" failed.
> dpkg: error processing rsyslog (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> rsyslog
> ERROR: 256 256
> ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir dpkg --configure
> --pending return code 1
> install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir dpkg -C
> The following packages are only half configured, probably due to problems
> configuring them the first time. The configuration should be retried using
> dpkg --configure <package> or the configure menu option in dselect:
> rsyslog enhanced multi-threaded syslogd
>
> install_packages: executing chroot
> /srv/fai/nfsroot/live/filesystem.dir apt-get clean
> 2 errors during executing of commands
> install_packages exit code: 3
> cp: target `/srv/fai/nfsroot/live/filesystem.dir/etc/fai' is not a directory
> /usr/sbin/make-fai-nfsroot: line 229:
> /srv/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf: No such file or
> directory
> Shadow passwords are now on.
> `/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-2.6.32-30-generic'
> -> `/srv/tftp/fai/vmlinuz-2.6.32-30-generic'
> `/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-2.6.32-30-generic'
> -> `/srv/tftp/fai/initrd.img-2.6.32-30-generic'
> DHCP environment prepared. If you want to use it, you have to enable
> the dhcpd and the tftp-hpa daemon.
> ERROR: 1 live-initramfs was not installed inside the nfsroot.
> Log file written to /var/log/fai/make-fai-nfsroot.log
> Removing `local diversion of /sbin/discover-modprobe to
> /sbin/discover-modprobe.distrib'
> Log file written to /var/log/fai/make-fai-nfsroot.log
> * Re-exporting directories for NFS kernel daemon...
> exportfs: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw"
>
> ...fail!
>
--
http://about.me/justizin
skype/aim: justizin
More information about the linux-fai
mailing list