Seems that TFTP was not prepared by installer
-
# netstat -an|grep 69 udp 0 0 0.0.0.0:69 0.0.0.0:*
# ls -la /tftpboot ls: Zugriff auf '/tftpboot' nicht möglich: Datei oder Verzeichnis nicht gefunden
(Does not exist)
-
@Tywyn Well that is interesting. We can see the tftp server is running and listening on all interfaces (that’s good), but tftpboot should contain the ipxe boot kernels.
How did you install fog? What steps?
Did you use git to download the installer files and then run the ./bin/installfog.sh script?
-
@george1421 Thanx for helping!
I downloaded the tarball from fogproject.org (Download-Button), untared it and then did a$ cd Downloads/fog_1.4.4/bin $ sudo ./installfog.sh
-
@Tywyn What OS (and version) are you running exactly?
Also, notably, the TFTP config file is not pointing to the expected directory.
Is there anything in /srv/tftp?
-
Where are you expecting it to say “Modified by FOG”?
-
# uname -a Linux debian-linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
@Tom-Elliott:
Found it here: Some forum (Posting at Jun 19, 2014 at 9:21 PM) -
@Tywyn OK those steps are standard (the preferred way is to use git instead of the tarball, but either way will work. the git method makes it easier to install upgrades as they are released).
There are 2 files we need to inspect (I’m guessing that the installer didn’t complete correctly since the /tftpboot directory is empty).
In the same directory as the installfog.sh script is a directory called error_logs. In that directory there are installer files (i.e. fog_error_1.4.4.log). Please review this file to ensure the installer didn’t throw an error.
The second one is a hidden file in /opt/fog called .fogsettings If the installer didn’t finish for some reason this file will be blank or missing.
We may need to run through the installer one more time to address things that didn’t get installed correctly.
-
@Quazz
/srv/tftp was empty.
Tried to copy the files from ~/Downloads/fog_1.4.4/packages/tftp there, but then I ran into the missing default.ipxe (see inital posting) -
@Tywyn Quazz was asking for the version of Debian you are using.
-
@Tywyn said in Seems that TFTP was not prepared by installer:
but then I ran into the missing default.ipxe
This kind of tells me that your installer didn’t finish correctly, the default.ipxe file is built by the installer.
-
@george1421
Sorry, you are right. Using debian 9.0.0 amd 64 -
@george1421 said in Seems that TFTP was not prepared by installer:
This kind of tells me that your installer didn’t finish correctly, the default.ipxe file is built by the installer.
Strange, did not see any errormessages…
-
The “FOG Modified Version” string appears, to me, to be related to debian/ubuntu. This, however, does not mean it is a requirement as using rpcbind variants might work better for the server in which case IT would be used. You stated /tftpboot/default.ipxe wasn’t created?
-
@Tom-Elliott
Was not created, no. Don’t even have a /tftpboot-directory -
Then, as @george1421 state, it would seem your installer didn’t finish.
When it asked you to open the browser and goto update the schema, did you go back to the console and press enter to continue on?
-
@Tom-Elliott
You mean after updating/installing the database scheme? Yes, I did.But, it was the second attempt of installation.
First time I did something wrong with the 2 NICs, because I did not understand the questions in the installer about the router-adress for DHCP-Server (and still don’t understand it completely :)) so the first installation endet up with an error-message (something about the DHCP-Server).
The second install went well, and as mentioned I did not see any error-messages. -
@Tywyn Did you install as server or storage node?
-
@Tywyn There’s an error_logs folder in the fogproject/bin folder (where you extracted the download). There will be a log file of the most recent installation, there’s probably some more detailed information in there.
-
@Tom-Elliott
Normal Server -
@Quazz
Hm hm … thought over to reinstall about an hour ago but aborted the reinstall. It seems, that this try overwrote the log-files from the last install. So I have none from my orignal installation.Maybe I should do another, clean reinstallation.
Is it just the sudo ./installscript.sh? Or do I have to remove some files/databases?Do I have to set router address for DHCP-Server to 192.168.100.1 ?
Are those settings then correct:
* Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Debian GNU/Linux * Server IP Address: 192.168.100.1 * Server Subnet Mask: 255.255.255.0 * Interface: enp3s1 * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: Yes * DHCP router Address: 192.168.100.1
Interface enp3s1 is the one, which listens to 192.168.100.1