After Performing Full Host Inventory and Registration, Not automatically imaging after restart


  • Basically, What the title says.

    About every 1 in 5 will automatically go to image but most, I am having to manually select Quick Image after doing a full host.

    Any ideas?


  • // Proxy
    if ($Proxy)
    {
    $ContextOptions[‘http’][‘proxy’] = ‘tcp://’ . $Proxy;
    $ContextOptions[‘http’][‘request_fulluri’] = true;
    }
    This what line 3506 looks like in /var/www/fog/commons/functions.include.php


  • FOG Version is 0.32
    OS Version is Ubuntu 12.04 LTS

    [Fri May 02 06:39:34 2014] [error] [client 10.2.82.138] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://10.1.100.25/fog/management/index.php?node=home[/url]

    I have found this in the log but I don’t have a proxy defined in FOG. Do I need to have one?


  • They are both already blank…where can I find what they are?


  • From Other Information->FOG Settings->General Settings->FOG_PROXY_IP and FOG_PROXY_PORT, make sure they’re correct or removed (just delete and update) All should work.


  • After looking it myself, it is looking for a proxy that I had no idea existed. Like I said previously, this started probably about a month to two months ago. PLEASE HELP! I don’t know enough about linux to really troubleshoot this problem.


  • This was from the error.log after running an image today? Any ideas on how I can fix this?

    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:14 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17, referer: [url]http://10.1.100.25/fog/management/index.php?node=group&sub=list[/url]
    [Wed Apr 16 11:20:15 2014] [error] [client 10.2.82.138] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://10.1.100.25/fog/management/index.php?node=home[/url]
    [Wed Apr 16 11:20:15 2014] [error] [client 10.2.82.138] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://10.1.100.25/fog/management/index.php?node=home[/url]
    [Wed Apr 16 11:38:17 2014] [error] [client 10.2.82.56] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5
    [Wed Apr 16 11:38:17 2014] [error] [client 10.2.82.56] PHP Notice: Undefined index: node in /var/www/fog/commons/init.php on line 5
    [Wed Apr 16 11:38:17 2014] [error] [client 10.2.82.56] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5


  • Still having an issue with this. Need to get it resolved by our summer break in June so we can install and image replacement PCs for students.


  • It is not running Proxy. Its not a huge problem but definitely an extra step and I am unable to image unattended because I don’t know if it will go or not.


  • So based on what I see in the logs, I’m guessing you’re using 0.32?

    I don’t see anything regarding problems in sending the tasks as those errors seem targeted more at you’re running php 5.4 or higher.

    Is your system running via Proxy? is the proxy server maybe limiting connections?


  • [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44
    [Mon Mar 17 08:46:21 2014] [error] [client 10.2.82.138] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17
    [FONT=Times New Roman][Mon Mar 17 08:46:23 2014] [error] [client 10.2.82.138] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://10.1.100.25/fog/management/index.php?node=homer[/url][/FONT]


  • Can you you give some log files from apache especially trying to do this and getting this error?
    /var/log/httpd/error_log or /var/log/apache2/error.log


  • Correct.


  • First, what version of FOG?

    Regardless,

    You are telling the systems to image after they’re done inventorying? You are type fog when it prompts you?

353
Online

9.0k
Users

15.6k
Topics

145.0k
Posts