Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Henning Sprang

Thomas Lange wrote:


[...]
> Die Erläuterung in Abschnitt 7.2 unter "chboot" verstehe ich leider 
inhaltlich nicht.
> Damit man nicht nachschlagen muss, zitiere ich kurz:
> chboot Changes the symbolic link on the install server which indicates 
which kernel
Symbolic links wurden frueher erzeugt. Da ist die Doku also nicht mehr
up-to-date. Jetzt wird fai-chboot -d aufgerufen um die pxe config zu
disablen.


Ist also ein Bug in der Doku.

Ist das schon im trunk gefixt, oder kann ich das als Bug reporten, dass 
wir es nicht vergessen?


Henning


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Thomas Lange

>> Did you pass the following option in the dhcpd.conf :
>> use-host-decl-names on;
This dhcp option is not related to the $SERVER variable.
IIRC it's server-name or next-server which defines the variable $SERVER.
IIRC the variable $SERVER is not defined if you are doing fai
softupdate. This is a known bug in fai.

-- 
regards Thomas


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Viktor Keil

Hi,


> SERVER not defined. Can't change network boot configuration
Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log

Dort ist keine Variable SERVER definiert.

Muss ich Diese Variable irgendwo definieren?


Die wird eigentlich automatisch über die Netzwerkkonfiguration definiert -
machst Du DHCP? Oder was benützt Du dazu?

Ja, ich benutze DHCP. Der DHCP-Server funktionierte bisher eigentlich immer
problemlos. Muss ich da eventuell in dhcpd.conf noch etwas zusätzlich
angeben?

Did you pass the following option in the dhcpd.conf :
use-host-decl-names on;
This will enable the host-name sending to the dhcp-address requesting
client.


until now I used "option host-name". I've tested now the following: I commented 
out
"option host-name" for every client and inserted "use-host-decl-names on;" in 
the
subnet section for these clients.

The result is the same. In fai.log remains the message:
Calling task_chboot
SERVER not defined. Can't change network boot configuration
Exit code task_chboot: 2

What else can I try to do?

It is the first time I'm using FAI. My actual situation in testing FAI is:
my FAI-server is also serving for logging, DHCP, PXE and TFTP.
The client is installed via FAI and can boot from harddisk.
That's it!
I am working on making disappear every error-message found in fai.log.

Thanks for your help,
Viktor



signature.asc
Description: OpenPGP digital signature


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Roel van der Made
Hi Viktor,

On Fri, 2008-03-28 at 11:05 +0100, Viktor Keil wrote:
> Hallo Michael,
> 
> > > SERVER not defined. Can't change network boot configuration
> > Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log
>  Dort ist keine Variable SERVER definiert.
> 
>  Muss ich Diese Variable irgendwo definieren?
> 
> >>> Die wird eigentlich automatisch über die Netzwerkkonfiguration definiert -
> >>> machst Du DHCP? Oder was benützt Du dazu?
> >> Ja, ich benutze DHCP. Der DHCP-Server funktionierte bisher eigentlich immer
> >> problemlos. Muss ich da eventuell in dhcpd.conf noch etwas zusätzlich
> >> angeben?

Did you pass the following option in the dhcpd.conf :

use-host-decl-names on;

This will enable the host-name sending to the dhcp-address requesting
client.


my 2 cents :)

Roel.



Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Viktor Keil

Hallo Michael,


> SERVER not defined. Can't change network boot configuration
Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log

Dort ist keine Variable SERVER definiert.

Muss ich Diese Variable irgendwo definieren?


Die wird eigentlich automatisch über die Netzwerkkonfiguration definiert -
machst Du DHCP? Oder was benützt Du dazu?

Ja, ich benutze DHCP. Der DHCP-Server funktionierte bisher eigentlich immer
problemlos. Muss ich da eventuell in dhcpd.conf noch etwas zusätzlich
angeben?


Das ist seltsam - folglich musst Du irgendwas geändert haben, vermutlich an der
Installation/FAI-config.


Was genau meinst du mit "Installation/FAI-config"?

Gruß,
Viktor



signature.asc
Description: OpenPGP digital signature


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Michael Tautschnig
> Hallo Michael,
>
 > SERVER not defined. Can't change network boot configuration
 Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log
>>> Dort ist keine Variable SERVER definiert.
>>>
>>> Muss ich Diese Variable irgendwo definieren?
>>>
>> Die wird eigentlich automatisch über die Netzwerkkonfiguration definiert -
>> machst Du DHCP? Oder was benützt Du dazu?
>
> Ja, ich benutze DHCP. Der DHCP-Server funktionierte bisher eigentlich immer
> problemlos. Muss ich da eventuell in dhcpd.conf noch etwas zusätzlich
> angeben?
>

Das ist seltsam - folglich musst Du irgendwas geändert haben, vermutlich an der
Installation/FAI-config.

Viele Grüße,
Michael




pgpRVC2ORorHg.pgp
Description: PGP signature


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Michael Tautschnig
> Hallo Thomas,
>
>> > SERVER not defined. Can't change network boot configuration
>> Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log
>
> Dort ist keine Variable SERVER definiert.
>
> Muss ich Diese Variable irgendwo definieren?
>

Die wird eigentlich automatisch über die Netzwerkkonfiguration definiert -
machst Du DHCP? Oder was benützt Du dazu?

Viele Grüße,
Michael



pgp8Uhoyv2dUQ.pgp
Description: PGP signature


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Viktor Keil

Hallo Thomas,


> SERVER not defined. Can't change network boot configuration
Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log


Dort ist keine Variable SERVER definiert.

Muss ich Diese Variable irgendwo definieren?

Gruß,
Viktor



signature.asc
Description: OpenPGP digital signature


Re: task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Thomas Lange
> On Fri, 28 Mar 2008 10:02:42 +0100, Viktor Keil <[EMAIL PROTECTED]> said:

> SERVER not defined. Can't change network boot configuration
Die Variable $SERVER ist nicht definiert. Schau mal ins variables.log

> Die Erläuterung in Abschnitt 7.2 unter "chboot" verstehe ich leider 
inhaltlich nicht.
> Damit man nicht nachschlagen muss, zitiere ich kurz:
> chboot Changes the symbolic link on the install server which indicates 
which kernel
Symbolic links wurden frueher erzeugt. Da ist die Doku also nicht mehr
up-to-date. Jetzt wird fai-chboot -d aufgerufen um die pxe config zu
disablen.


-- 
regards Thomas



task_chboot: SERVER not defined

2008-03-28 Diskussionsfäden Viktor Keil

Hi,

In fai.log steht folgende Meldung:
Calling task_chboot
SERVER not defined. Can't change network boot configuration
Exit code task_chboot: 2

Was hat das zu bedeuten?

Die Erläuterung in Abschnitt 7.2 unter "chboot" verstehe ich leider inhaltlich 
nicht.
Damit man nicht nachschlagen muss, zitiere ich kurz:
chboot Changes the symbolic link on the install server which indicates which 
kernel
   image to load on the next boot from network card via TFTP.

An welcher Stelle genau soll da welcher Link geändert werden? Wird da 
irgendetwas
zurückgesetzt, was durch einen FAI-Befehl während der Clientinstallation 
geändert wurde?

Gruß,
viktor



signature.asc
Description: OpenPGP digital signature