Err http://127.0.0.1 etch Release.gpg

Javi Legido javilegido at gmail.com
Tue Mar 6 17:22:59 CET 2007


Hi.

I have fai 3.1.7 installed properly.

My /etc/make-fai-nfsroot.conf and /etc/apt/sources.list are pointing to:

deb http://127.0.0.1/debian etch main contrib non-free

My local debmirror. fai-setup finished properly, then I think all the
things are ok.

First trouble, when I call fai-cd, is that when I try to install
my_version_1.iso, it crashed because directory
/var/lib/fai/config/class not found.
I took a look in /srv/fai/nfsroot/var/lib/fai/config and I found that
this directory is empty.

My first question: why, if I have...

FAI_LOCATION=/srv/fai/config (in /etc/fai.conf)

...the script finds in /srv/fai/nfsroot/var/lib/fai/config to the config?

Any problem, I made this:

cp -R /srv/fai/config/* /srv/fai/nfsroot/var/lib/fai/config/

When I try to install my_version_2.iso, the installations fails again,
this time later.
I take a look at /var/log/fai/... with a live-cd and I see this:

Calling task_updatebase
Updating base
Err http://127.0.0.1 etch Release.gpg
  Could not connect to 127.0.0.1:80 (127.0.0.1). - connect (111
Connection refused)
....
Calling task_instsoft
...
Writing extended state information...
Err http://127.0.0.1 etch/main console-data 2:1.01-6
  Could not connect to 127.0.0.1:80 (127.0.0.1). - connect (111
Connection refused)

I think the script is trying to connect to internet to get the
packages. Why the local debmirror is not working?

Any help?

Thanks in advice



More information about the linux-fai mailing list