Several errors when running fai-setup

Ferran Jorba Ferran.Jorba at uab.es
Wed Jan 17 11:04:24 CET 2001


Hi,

FAI seems to be exactly what I need:  I've prepared a Debian
Linux kiosk to be used in our libraries for accessing the
catalog.  So, first my congratulations for building and
publishing this tool, that I found from the replicator page
(http://replicator.sourceforge.net), that doesn't fit my needs 
like FAI.

My system is a fairly minimalistic system: debian-base, X, 
Netacape Navigator, ssh.

After reading the documentation and browsing the mailing list 
archives, I downloaded fai-kernels_1.0_i386.deb and fai_1.4.2_i386.deb.
I dpkg -i them, and on my first run, the installing procedure
for fai_1.4.2 complained that it couldn't open /etc/exports
and didn't find the directory /usr/local/share/fai.  Probably
these are buglets.  So I did:

$ dpkg --purge fai
$ touch /etc/exports
$ mkdir /usr/local/share/fai
$ dpkg -i fai_1.4.2_i386.deb
$ cp -p /etc/fai.conf /etc/fai.conf.orig
$ vi /etc/fai.conf
[changed some values...]
$ fai-setup 

And the result has been:

---
Adding system user fai...
Adding new user fai (100) with group nogroup.
Creating home directory /home/fai.
Creating FAI nfsroot can take a long time
Getting
ftp://ftp.cesca.es/mirror/linux/distributions/debian/dists/stable/main/disks-i386/current/base?_?.tgz
via wget. This may take some time.
--16:52:38--
ftp://ftp.cesca.es:21/mirror/linux/distributions/debian/dists/stable/main/disks-i386/current/base?_?.tgz
           => /tmp/FAI-wget-ans8K3/.listing'
Connecting to ftp.cesca.es:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD
mirror/linux/distributions/debian/dists/stable/main/disks-i386/current ...
done.
==> PORT ... done.    ==> LIST ... done.

    0K -> .

16:52:40 (1.17 KB/s) - /tmp/FAI-wget-ans8K3/.listing' saved [1277]

Removed /tmp/FAI-wget-ans8K3/.listing'.
--16:52:40--
ftp://ftp.cesca.es:21/mirror/linux/distributions/debian/dists/stable/main/disks-i386/current/base2_2.tgz
           => /tmp/FAI-wget-ans8K3/base2_2.tgz'
==> CWD not required.
==> PORT ... done.    ==> RETR base2_2.tgz ... done.
Length: 15,698,691

    0K -> .......... .......... .......... .......... .......... [  0%]
[...]
15300K -> .......... .......... ..........                       [100%]

16:54:26 (144.71 KB/s) - /tmp/FAI-wget-ans8K3/base2_2.tgz' saved [15698691]

Unpacking /tmp/base2_2.tgz
Upgrading /usr/lib/fai/nfsroot
depmod: Can't open /lib/modules/2.2.17-idepci/modules.dep for writing
Adding additional packages to /usr/lib/fai/nfsroot:
ssh perl-5.005 dhcp-client file rdate cfengine bootpc wget rsh-client less
dump ext2resize raidtools2 lvm strace expect5.31 hdparm parted
Failed to fetch
ftp://ftp.dit.upm.es/debian-non-US/dists/potato/non-US/main/binary-i386/libssl09_0.9.4-5.deb
  Could not connect to ftp.dit.upm.es (138.4.2.58), connection timed out
depmod: Can't open /lib/modules/2.2.17-idepci/modules.dep for writing
dpkg: error processing lvm (--configure):
 subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
 lvm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can't open /usr/lib/fai/nfsroot/etc/ssh/sshd_config: No such file or
directory
umount: /usr/lib/fai/nfsroot//mnt: not mounted
depmod: Can't open /lib/modules/2.2.17-idepci/modules.dep for writing
Kernel image file name  = /usr/lib/fai/nfsroot/boot/vmlinuz-2.2.17
Output file name        = /boot/fai/installimage
Kernel command line     = "auto rw root=/dev/nfs nfsroot=kernel
nfsaddrs=kernel"
/usr/sbin/fai-setup: imggen: command not found
You have no FAI configuration. Copy FAI template files with:
cp -pR /usr/share/doc/fai/templates/* /usr/local/share/fai
Then change the configuration files to meet your local needs.
FAI setup finished.
---

My questions are:

1. depmod: Can't open /lib/modules/2.2.17-idepci/modules.dep for writing
   How important is it?
2. Failed to fetch ftp://ftp.dit.upm.es/debian-non-US...
   There was a temporary network problem; now this machine is up.  How
   do I re-run fai-setup?
3. Can't open /usr/lib/fai/nfsroot/etc/ssh/sshd_config: No such file or
   directory.  This file is not there because I couldn't get non-US.  So,
   if I can re-run fai-setup, this should be solved.
4. /usr/sbin/fai-setup: imggen: command not found.  Is this the file found
   at http://www.informatik.uni-koeln.de/fai/download/ ?  Should I get it
   from there, and where should I copy it?


Thanks so much,

Ferran Jorba
Universitat Autònoma de Barcelona
Ferran.Jorba at uab.es



More information about the linux-fai mailing list