1.4.1 Unable to register host (/bin/fog.man.reg)
-
@Tom-Elliott Sure, I’ll get you the output. However, I never updated the server. This is a brand new fresh install. I’ve re-installed ubuntu server AND fog 7 times or so from scratch.
ls -lhart /var/www total 16K drwxr-xr-x 14 root root 4.0K Jun 2 10:43 [0m[01;34 .. drwxr-xr-x 2 root root 4.0K Jun 2 10:47 [01;34 html drwxr-xr-x 4 root root 4.0K Jun 2 11:49 [01;34 . drwxr-xr-x 11 www-data www-data 4.0K Jun 2 11:50 [01;34 fog root@fog-server:~/fogproject# ls -lhart /var/www/html total 20K -rw-r--r-- 1 root root 11K Jun 2 10:43 index.html lrwxrwxrwx 1 root root 13 Jun 2 10:47 fog -> /var/www/fog/ drwxr-xr-x 2 root root 4.0K Jun 2 10:47 . drwxr-xr-x 4 root root 4.0K Jun 2 11:49 .. root@fog-server:~/fogproject# exit exit
-
Hello,
I am running Ubuntu 16.04.2 LTS with FOG 1.4.1, and I am having what appears to be the exact same issue.
Here is the results of my ls -lhart commands:
I should note that while it appears to be the case that there are two installs of the FOG, I just installed Ubuntu today, and the only other program that I installed on this machine is isc-dhcp-server to specifically for FOG.
-
It doesn’t appear you have two installs of FOG. I purposely make a link from /var/www/fog to /var/www/html/fog, but in some older system cases the link was unable to be used. So some instances would work from /var/www/fog and /var/www/html/fog. If the link didn’t exist, it was possible to have two links together.
Can you try:
sudo -i #enter logged in user's password if needed rm /var/www/html/fog #confirm as needed) mv /var/www/{,html/}fog ln -s /var/www/{html/,}fog
-
@Tom-Elliott Commands went through successfully.
I’m still getting the same error and automatic computer reboot though.
Edit: If I add the host manually into FOG, I get repeated messages saying “failed to check in” on the host. This does not stop until you hold the power button.
-
@Tom-Elliott I ran those commands and tried to re-register, but no change in the result.
-
Quick fix:
FOG Configuration Page->FOG Settings->Web Server->FOG_WEB_ROOT please set to
/fog/
and update.This should fix the problem for you.
I’ll try to get a fix pushed for fresh installs.
-
@Tom-Elliott The quick fix worked for me. Thanks. Done a Full Host Registration and capturing images now.
-
@Tom-Elliott IT WORKS!!!
Thanks for all your help.
-
@Tom-Elliott Fixed. Thanks!
-
Fixed for my fresh install!
-
Please like all of @george1421. His testing helped me see the error directly. Sorry it was hard to see it.
The quick fix is only intended for those who fresh installed. In 1.4.2 it should not happen anymore.
-
Can confirm as well that worked. Thank you!
-
@george1421 Thanks for all your help!