make-fai-nfsroot problems

Andrew Monteiro Andrew.Monteiro at OpeNeT.com.au
Fri Jan 30 13:44:15 CET 2004


No I didn't run the script manually, however, a quick check of /etc/passwd shows that the account exists and so does the /home/fai directory (and the .ssh sub directory but there's no files in the .ssh directory). The main fai-setup script appears to create it.

In fact I can't find a fai-account script at all.



-----Original Message-----
From: Jacob Weismann Poulsen [mailto:jwp at dmi.dk]
Sent: Friday, 30 January 2004 17:12
To: Andrew Monteiro
Cc: linux-fai at uni-koeln.de
Subject: Re: make-fai-nfsroot problems


* Andrew Monteiro <Andrew.Monteiro at OpeNeT.com.au> [2004-01-30 08:00]:
> Thanks to Jacob and Keith for pointing out the missing binutils package. It looks like I've still got a problem though.
> 
> Setting up libnet-perl (1.09.01-1) ...
> 
> cp: cannot stat `/home/fai/.ssh/*.pub': No such file or directory

it appers to be a missing or mis-configure fai-account. Have you
used the 'fai-account' script to setup this account ???

Best regards, Jacob

> Removing `diversion of /sbin/discover to /sbin/discover.distrib by fai'
> 
> -----Original Message-----
> From: Jacob Weismann Poulsen [mailto:jwp at dmi.dk]
> Sent: Friday, 30 January 2004 02:12
> To: Andrew Monteiro
> Cc: linux-fai at uni-koeln.de
> Subject: Re: make-fai-nfsroot problem
> 
> 
> * Andrew Monteiro <Andrew.Monteiro at OpeNeT.com.au> [2004-01-29 19:04]:
> > Has anyone experienced a problem with the make-fai-nfsroot process like this?
> > 
> > When I issue the command make-fai-nfsroot it appears to start building the nfsroot tree then dies. See below:
> 
> it could be a disk full problem. Is it ???
> 
> Regards,
> 
> Jacob
> > 
> > ----------------------------------------------------------------------------------------------
> > Creating FAI nfsroot can take a long time and will
> > need more than 160MB disk space in /usr/lib/fai/nfsroot.
> > /usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
> > Creating nfsroot for woody using debootstrap
> > Calling debootstrap woody /usr/lib/fai/nfsroot http://fai01.openet.internal/debian
> > I: Retrieving http://fai01.openet.internal/debian/dists/woody/Release
> > I: Validating /usr/lib/fai/nfsroot/var/lib/apt/lists/debootstrap.invalid_dists_woody_Release
> > I: Retrieving http://fai01.openet.internal/debian/dists/woody/main/binary-i386/Packages.gz
> > 
> > <snip - various packages listed>
> > 
> > I: Validating /usr/lib/fai/nfsroot/var/cache/apt/archives/whiptail_0.50.17-9.6_i386.deb
> > I: Extracting /var/cache/apt/archives/base-files_3.0.2_i386.deb...
> > /usr/sbin/debootstrap: ar: command not found
> > 
> > zcat: stdin: unexpected end of file
> > I: Extracting /var/cache/apt/archives/base-passwd_3.4.1_i386.deb...
> > /usr/sbin/debootstrap: ar: command not found
> > 
> > zcat: stdin: unexpected end of file
> > 
> > <snip - repeated sequence>
> > 
> > zcat: stdin: unexpected end of file
> > chroot: cannot execute mount: No such file or directory
> > W: Failure trying to run: chroot /usr/lib/fai/nfsroot mount -t proc proc /proc
> > umount: /usr/lib/fai/nfsroot/proc: not found
> > chroot: cannot execute apt-get: No such file or directory
> > chroot: cannot execute dpkg-divert: No such file or directory
> > ----------------------------------------------------------------------------------------------
> > 
> > Other details:
> > FAI version 2.5.2
> > Local mirror from which I have built several systems.
> > Minimal install of Debian stable with security updates (bf2.4 install) and just the required packages for fai as listed in the doco.
> > 
> > Any suggestions would be greatly appreciated.
> > 
> > Andrew.
> > 
> > 
> 
> 
> -- 
> <jwp at dmi.dk>
> Fingerprint: 9315 DC43 D2E4 4F70 3AA8  F8F0 9DA0 B765 F5C8 7D26
> 

-- 
<jwp at dmi.dk>
Fingerprint: 9315 DC43 D2E4 4F70 3AA8  F8F0 9DA0 B765 F5C8 7D26




More information about the linux-fai mailing list