1.4.1 Unable to register host (/bin/fog.man.reg)
-
@zclift15 said in 1.4.1 Unable to register host (/bin/fog.man.reg):
PHP Warning: ftp_rename(): Rename failed.
As for this one. Where we typically see this error is if someone mucks about with the FOG service account. This is a linux account called
fog
. The installer manages this user account and password. The linux userfog
(not the same as the web gui admin called fog) is used by FOG to move files around on the FOG server after image capture. The linux account password needs to match the password defined in the gui configuration for the storage node. If these are out of sync you will get the ftp errors like in your log. -
@zclift15 said in 1.4.1 Unable to register host (/bin/fog.man.reg):
@george1421
ddeatrich was the one who posted thatSorry only looked at the color of the icon not close enough. Sorry.
Then the second post was directed at you about the FTP issue.
-
@george1421 Here’s my error log! Pasted below:
[Fri Jun 02 10:43:27.561743 2017] [mpm_event:notice] [pid 58084:tid 139735762083328] AH00489: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Fri Jun 02 10:43:27.561816 2017] [core:notice] [pid 58084:tid 139735762083328] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 10:44:32.930751 2017] [mpm_event:notice] [pid 58084:tid 139735762083328] AH00491: caught SIGTERM, shutting down [Fri Jun 02 10:44:32.990889 2017] [mpm_prefork:notice] [pid 5599] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Fri Jun 02 10:44:32.990991 2017] [core:notice] [pid 5599] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 10:44:33.194191 2017] [mpm_prefork:notice] [pid 5599] AH00169: caught SIGTERM, shutting down [Fri Jun 02 10:44:33.299439 2017] [mpm_prefork:notice] [pid 5669] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Fri Jun 02 10:44:33.299478 2017] [core:notice] [pid 5669] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 10:46:35.190386 2017] [mpm_prefork:notice] [pid 5669] AH00169: caught SIGTERM, shutting down [Fri Jun 02 10:47:16.108199 2017] [mpm_prefork:notice] [pid 18340] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Jun 02 10:47:16.108242 2017] [core:notice] [pid 18340] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 10:56:38.868268 2017] [mpm_prefork:notice] [pid 18340] AH00169: caught SIGTERM, shutting down [Fri Jun 02 10:57:03.119359 2017] [mpm_prefork:notice] [pid 1683] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Jun 02 10:57:03.161915 2017] [core:notice] [pid 1683] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 11:38:25.430410 2017] [php7:warn] [pid 4298] [client 10.10.2.218:5156] PHP Warning: ftp_rename(): RNFR command failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769, referer: http://10.10.2.217/fog/management/index.php?node=about&sub=kernel&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMTEuMC42NA==&arch=64 [Fri Jun 02 11:46:22.075080 2017] [mpm_prefork:notice] [pid 1683] AH00169: caught SIGTERM, shutting down [Fri Jun 02 11:46:30.024649 2017] [mpm_prefork:notice] [pid 6965] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Jun 02 11:46:30.024700 2017] [core:notice] [pid 6965] AH00094: Command line: '/usr/sbin/apache2' [Fri Jun 02 11:46:36.156652 2017] [php7:error] [pid 6977] [client 10.10.2.217:54518] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/reportmaker.class.php(75): HookManager->processEvent('REPORT_TYPES', Array)\n#3 [internal function]: ReportMaker->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/maintenance/backup_db.php(23): FOGBase::getClass('ReportMaker')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Fri Jun 02 11:47:44.138527 2017] [php7:error] [pid 7003] [client 10.10.2.218:6181] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443, referer: http://10.10.2.217/fog/management/index.php?node=about&sub=settings [Fri Jun 02 11:49:45.259879 2017] [mpm_prefork:notice] [pid 6965] AH00169: caught SIGTERM, shutting down [Fri Jun 02 11:49:50.794797 2017] [mpm_prefork:notice] [pid 8551] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Jun 02 11:49:50.794838 2017] [core:notice] [pid 8551] AH00094: Command line: '/usr/sbin/apache2'
-
@ddeatrich said in 1.4.1 Unable to register host (/bin/fog.man.reg):
ftp_rename(): RNFR command failed
Interesting you also have an ftp issue (probably related to that linux
fog
user). This is the command to rename an image after capture.Uncaught Error: Call to a member function lastInsertId()
And equally as interesting this error. I’m sure I’ve see this error in the last 24 hours in another thread too. That user was using cento 7.
I’m still in the process of building a new fog server. Its almost done installing centos 7. Once updated I’ll install fog and test it out.
-
@george1421
This might make sense because I’m replacing a pre-existing network of nodes but i just turned them off and it didn’t fix my issue I can post the error log if that helps. -
@george1421 I’m also getting this error on client boot up after clicking quick registration -
http://i.imgur.com/It20TgJ.jpg
Not sure if that means anything or not though. Seems like a function is missing.
-
@ddeatrich
I’m also getting this error but I didn’t think much of it either -
@ddeatrich That error is more just a warning. We don’t use UDEV and I don’t build the kernels with it, so it just tells you the epoll function doesn’t exist. This is not the problem you’re having though.
Your fatal error appears to be due to mysql, maybe that was when you updated your server?
I am wondering if the reason is potentially two existing copies of FOG on the same server?
Can you get us output of:
ls -lhart /var/www
and
ls -lhart /var/www/html
I’m suspecting you have a copy within a copy and the place it’s getting the file is causing all the ruckus you’re seeing.
-
@zclift15 Found something new. I am unable to download client software.
http://YOURSERVERIP/WEB_ROOT/client/download.php?newclient
Can you?
It goes to the page but does nothing.
-
Here is my error logif this helps anyone.
[Thu Jun 01 14:13:42.441111 2017] [mpm_event:notice] [pid 19095:tid 140209925355392] AH00489: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Thu Jun 01 14:13:42.441234 2017] [core:notice] [pid 19095:tid 140209925355392] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun 01 14:15:19.031610 2017] [mpm_event:notice] [pid 19095:tid 140209925355392] AH00491: caught SIGTERM, shutting down [Thu Jun 01 14:15:19.105020 2017] [mpm_prefork:notice] [pid 31995] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Thu Jun 01 14:15:19.105131 2017] [core:notice] [pid 31995] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun 01 14:15:19.373176 2017] [mpm_prefork:notice] [pid 31995] AH00169: caught SIGTERM, shutting down [Thu Jun 01 14:15:19.536624 2017] [mpm_prefork:notice] [pid 32070] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Thu Jun 01 14:15:19.536695 2017] [core:notice] [pid 32070] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun 01 14:18:39.859031 2017] [mpm_prefork:notice] [pid 32070] AH00169: caught SIGTERM, shutting down [Thu Jun 01 14:20:12.398098 2017] [mpm_prefork:notice] [pid 19441] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2l configured -- resuming normal operations [Thu Jun 01 14:20:12.398179 2017] [core:notice] [pid 19441] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun 01 14:20:29.470847 2017] [php7:warn] [pid 19445] [client 10.43.10.171:59824] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/fog/lib/fog/fogbase.class.php on line 1029 [Thu Jun 01 14:20:29.470887 2017] [php7:warn] [pid 19445] [client 10.43.10.171:59824] PHP Warning: array_intersect_key(): Argument #1 is not an array in /var/www/fog/lib/client/fogclient.class.php on line 90 [Thu Jun 01 14:20:53.683673 2017] [php7:error] [pid 19466] [client 10.43.10.164:64306] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 15:04:44.802678 2017] [php7:error] [pid 19448] [client 10.43.10.106:59179] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 15:52:42.759013 2017] [php7:error] [pid 19464] [client 10.43.10.88:53001] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 16:02:05.599188 2017] [php7:error] [pid 22442] [client 10.43.10.106:60003] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 16:38:55.041964 2017] [php7:error] [pid 19447] [client 10.43.10.106:60463] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 16:56:45.647544 2017] [php7:error] [pid 19464] [client 10.43.10.28:55552] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 17:14:56.378676 2017] [php7:error] [pid 19464] [client 10.43.10.106:60937] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 17:16:51.696990 2017] [php7:error] [pid 19466] [client 10.43.10.106:60958] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 17:19:12.293339 2017] [php7:error] [pid 19464] [client 10.43.10.106:61049] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 17:19:40.739948 2017] [php7:error] [pid 19448] [client 10.43.10.227:57083] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 18:40:38.929905 2017] [php7:error] [pid 22488] [client 10.43.10.121:62903] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 18:55:19.450693 2017] [php7:error] [pid 23640] [client 10.43.10.106:62138] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 19:06:56.938557 2017] [php7:error] [pid 19449] [client 10.43.10.147:51264] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 19:14:03.037437 2017] [php7:error] [pid 19447] [client 10.43.10.147:51387] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 19:17:50.780932 2017] [php7:error] [pid 19446] [client 10.43.10.75:65253] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 20:06:00.474138 2017] [php7:error] [pid 19448] [client 10.43.10.106:62904] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Thu Jun 01 22:54:45.831354 2017] [php7:error] [pid 19447] [client 10.43.10.106:65046] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 06:43:36.732886 2017] [php7:error] [pid 19448] [client 10.43.10.147:62842] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 07:07:43.585431 2017] [php7:error] [pid 22488] [client 10.43.10.88:58026] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 07:17:54.430061 2017] [php7:error] [pid 19449] [client 10.43.10.147:63148] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 07:22:45.875004 2017] [php7:error] [pid 19446] [client 10.43.10.227:50462] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 07:47:12.421721 2017] [php7:error] [pid 19446] [client 10.43.10.28:58467] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 08:06:42.904631 2017] [php7:error] [pid 19464] [client 10.43.10.124:63649] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 12:45:42.154652 2017] [php7:error] [pid 19464] [client 10.43.10.28:63066] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723 [Fri Jun 02 12:50:35.531690 2017] [php7:error] [pid 19466] [client 10.43.10.164:65518] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/fog/lib/client/fogclient.class.php(185): FOGBase->sendData('{"error":"ih"}')\n#1 /var/www/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/fog/lib/fog/fogbase.class.php on line 1723
-
@Kyley-Holloway Those error’s aren’t related to why you can’t register a host unfortunately.
-
@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!