[FOG 1.6] “Attempting to check in… Failed”



  • @Sebastian-Roth I just see that my OS partition is full. I have fix it before.

    Each time I have the check in error, i have the memory exhausted error.
    Endless error… I have set -1 as limit and it’s same…

    [Thu Feb 27 10:38:35.348972 2020] [proxy_fcgi:error] [pid 30368] [client 10.121.86.78:36270] AH01071: Got error 'PHP message: PHP Fatal error:  Out of memory (allocated 4118974464) (tried to allocate 20480 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 483\n'
    

  • Senior Developer

    @jmeyer said in [FOG 1.6] “Attempting to check in… Failed”:

    ... Error multiple hosts returned for list of mac addresses ...
    

    While the links I post are about the fog-client or snapins you can still go through those to see how to find and remove the duplicated entry - all have the same thing causing this message:
    https://forums.fogproject.org/topic/14081/fog-client-authentication-issue
    https://forums.fogproject.org/topic/14019/snapin-queued-forever



  • I edited /etc/php/7.2/fpm/pool.d/www.conf to set php_admin_value[memory_limit] = 1024M and end with this :

    [Wed Feb 26 15:51:37.870983 2020] [proxy_fcgi:error] [pid 873] [client 10.121.84.43:59200] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 483\n'
    


  • @Sebastian-Roth
    I run version 1.5.8.960

    I have these 2 type of error in Apache log :

    [Wed Feb 26 13:33:08.728059 2020] [proxy_fcgi:error] [pid 7204] [client 10.121.84.39:49338] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:299\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(592): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(2117): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(274): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/fog/fogpagemanager.class.php(255): FOGPage->__construct()\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(73): FOGPageManager->loadPageClasses()\n#6 [internal function]: FOGPageManager->__construct()\n#7 /var/www/html/fog/lib/fog/fogbase.class.php(493): ReflectionClass->newInstanceArgs(Array)\n#8 /var/www/html/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#9 {main}\n  thrown in /var/www/html/fog/lib/fog/hostmanager.class.php on lin...\n'
    
    [Wed Feb 26 13:33:36.859890 2020] [proxy_fcgi:error] [pid 8925] [client 10.121.84.13:64391] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 483\n'
    

  • Senior Developer

    @jmeyer Do you see any further messages on screen like FTP…?

    Which subversion of FOG 1.6 do you run (1.5.7.xxx / 1.5.8.xxx)? I know the version numbers might be a bit confusing but as 1.6 has initially been derived form the 1.5.x code it’s still based on that versioning for a good reason.

    The other thing you should check is the apache logs (see my signature).


Log in to reply
 

206
Online

7.2k
Users

14.4k
Topics

135.6k
Posts