Hello<br><br>I have an error from yesterday, and I can't find any answer a this problem. After the "fai-setup", I have a lot of "chroot: cannot run command" errors. I think I configured all configuration files as described in the documentation. Here is the log :<br>
<br>"fai-setup<br>Creating FAI nfsroot in /usr/fai/nfsroot/live/filesystem.dir.<br>By default it needs more than 390 MBytes disk space.<br>This may take a long time.<br>Creating base system using debootstrap version 1.0.10lenny1<br>
Calling debootstrap lenny /usr/fai/nfsroot/live/filesystem.dir <a href="http://miroir.dsi.damgm.i2/debian">http://miroir.dsi.damgm.i2/debian</a><br>chroot: cannot run command `apt-get': No such file or directory<br>Creating base.tgz<br>
/usr/sbin/make-fai-nfsroot: line 264: /usr/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz: Aucun fichier ou répertoire de ce type<br>/usr/sbin/make-fai-nfsroot: line 278: var/tmp/base-pkgs.lis: Aucun fichier ou répertoire de ce type<br>
chroot: cannot run command `dpkg': No such file or directory<br>/usr/sbin/make-fai-nfsroot: line 291: etc/default/ntp-servers: Aucun fichier ou répertoire de ce type<br>/usr/sbin/make-fai-nfsroot: line 301: /usr/fai/nfsroot/live/filesystem.dir/etc/apt/apt.conf.d/10fai: Aucun fichier ou répertoire de ce type<br>
Upgrading /usr/fai/nfsroot/live/filesystem.dir<br>mount: mount point /usr/fai/nfsroot/live/filesystem.dir/proc does not exist<br>mount: mount point /usr/fai/nfsroot/live/filesystem.dir/dev/pts does not exist<br>chroot: cannot run command `apt-get': No such file or directory<br>
chroot: cannot run command `aptitude': No such file or directory<br>chroot: cannot run command `apt-get': No such file or directory<br>chroot: cannot run command `dpkg-divert': No such file or directory<br>ln: creating symbolic link `/usr/fai/nfsroot/live/filesystem.dir/usr/sbin/update-initramfs': No such file or directory<br>
chroot: cannot run command `dpkg-divert': No such file or directory<br>chroot: cannot run command `dpkg-divert': No such file or directory<br>cp: accessing `/usr/fai/nfsroot/live/filesystem.dir/sbin/start-stop-daemon': Not a directory<br>
chroot: cannot run command `apt-get': No such file or directory<br>chroot: cannot run command `dpkg': No such file or directory<br>/usr/sbin/make-fai-nfsroot: line 379: /usr/fai/nfsroot/live/filesystem.dir/var/tmp/packages.nfsroot: Aucun fichier ou répertoire de ce type<br>
Adding additional packages to /usr/fai/nfsroot/live/filesystem.dir:<br>cat: /usr/fai/nfsroot/live/filesystem.dir/var/tmp/packages.nfsroot: No such file or directory<br>install_packages: reading config files from directory /etc/fai<br>
chroot: cannot run command `apt-get': No such file or directory<br>ERROR: 32512 32512<br>ERROR: chroot /usr/fai/nfsroot/live/filesystem.dir apt-get clean return code 127<br>chroot: cannot run command `aptitude': No such file or directory<br>
ERROR: 32512 32512<br>ERROR: chroot /usr/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 dhcp3-client ssh rdate lshw portmap bootpc rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump procinfo dialog discover mdetect console-tools console-common expect iproute udev subversion cfengine2 libapt-pkg-perl return code 127<br>
chroot: cannot run command `apt-get': No such file or directory<br>ERROR: 32512 32512<br>ERROR: chroot /usr/fai/nfsroot/live/filesystem.dir apt-get clean return code 127<br>chroot: cannot run command `dpkg': No such file or directory<br>
ERROR: 32512 32512<br>ERROR: chroot /usr/fai/nfsroot/live/filesystem.dir dpkg --configure --pending return code 127<br>chroot: cannot run command `dpkg': No such file or directory<br>ERROR: 32512 32512<br>ERROR: chroot /usr/fai/nfsroot/live/filesystem.dir dpkg -C return code 127<br>
chroot: cannot run command `apt-get': No such file or directory<br>ERROR: 32512 32512<br>ERROR: chroot /usr/fai/nfsroot/live/filesystem.dir apt-get clean return code 127<br>6 errors during executing of commands<br>install_packages exit code: 3<br>
chroot: cannot run command `chpasswd': No such file or directory<br>cp: la cible `/usr/fai/nfsroot/live/filesystem.dir/etc/fai' n'est pas un répertoire<br>/usr/sbin/make-fai-nfsroot: line 228: /usr/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf: Aucun fichier ou répertoire de ce type<br>
chroot: cannot run command `shadowconfig': No such file or directory<br>rm: ne peut enlever `etc/mtab': Aucun fichier ou répertoire de ce type<br>ln: creating symbolic link `etc/init.d/rcS': Aucun fichier ou répertoire de ce type<br>
/usr/sbin/make-fai-nfsroot: line 332: etc/network/interfaces: Aucun fichier ou répertoire de ce type<br>/usr/sbin/make-fai-nfsroot: line 334: root/.profile: Aucun fichier ou répertoire de ce type<br>Can't open /usr/fai/nfsroot/live/filesystem.dir/etc/ssh/sshd_config: Aucun fichier ou répertoire de ce type.<br>
rm: ne peut enlever `/usr/fai/nfsroot/live/filesystem.dir/usr/sbin/update-initramfs': Aucun fichier ou répertoire de ce type<br>chroot: cannot run command `dpkg-divert': No such file or directory<br>chroot: cannot run command `update-initramfs': No such file or directory<br>
Log file written to /var/log/fai/make-fai-nfsroot.log<br>Re-exporting directories for NFS kernel daemon....<br>FAI setup finished."<br><br>Someone can help me?<br><br>Thanks<br>