Fog client not working after upgrade to FOG 1.1.1



  • Hi all,

    hope you have been having as much fun with FOG as I have! i’m very impressed with the new version.

    Im trying to work through why after upgrading to 1.1.1 the FOG client on my images is no longer changing hostnames and auto joining to our Active Directory.

    Here is the FOG client log for a newly imaged computer.

    6/24/2014 5:05 PM Service Stop requested
    6/24/2014 5:05 PM FOG::AutoLogOut Shutdown complete
    6/24/2014 5:05 PM FOG::ClientUpdater Shutdown complete
    6/24/2014 5:05 PM FOG::DirCleaner Shutdown complete
    6/24/2014 5:05 PM FOG::DisplayManager Shutdown complete
    6/24/2014 5:05 PM FOG::GreenFog Shutdown complete
    6/24/2014 5:05 PM FOG::GUIWatcher Stopping…
    6/24/2014 5:05 PM FOG::HostnameChanger Shutdown complete
    6/24/2014 5:05 PM FOG::HostRegister Shutdown complete
    6/24/2014 5:05 PM FOG::MODDebug Shutdown complete
    6/24/2014 5:05 PM FOG::PrinterManager Shuting down
    6/24/2014 5:05 PM FOG::SnapinClient Shutdown complete
    6/24/2014 5:05 PM FOG::TaskReboot Stopping…
    6/24/2014 5:05 PM FOG::UserCleanup Shutdown complete
    6/24/2014 5:05 PM FOG::UserTracker Shutdown complete
    6/24/2014 5:08 PM FOG Service Engine Version: 3
    6/24/2014 5:08 PM Starting all sub processes
    6/24/2014 5:08 PM 14 modules loaded
    6/24/2014 5:08 PM * Starting FOG.AutoLogOut
    6/24/2014 5:08 PM * Starting FOG.SnapinClient
    6/24/2014 5:08 PM * Starting FOG.DirCleaner
    6/24/2014 5:08 PM FOG::AutoLogOut Starting process…
    6/24/2014 5:08 PM FOG::ClientUpdater Starting client update process…
    6/24/2014 5:08 PM FOG::ClientUpdater Sleeping for 414 seconds.
    6/24/2014 5:08 PM * Starting FOG.DisplayManager
    6/24/2014 5:08 PM FOG::DirCleaner Sleeping for 34 seconds.
    6/24/2014 5:08 PM * Starting FOG.GreenFog
    6/24/2014 5:08 PM FOG::DisplayManager Starting display manager process…
    6/24/2014 5:08 PM * Starting FOG.GUIWatcher
    6/24/2014 5:08 PM FOG::GreenFog Sleeping for 30 seconds.
    6/24/2014 5:08 PM * Starting FOG.HostNameChanger
    6/24/2014 5:08 PM FOG::GUIWatcher Starting GUI Watcher…
    6/24/2014 5:08 PM * Starting FOG.HostRegister
    6/24/2014 5:08 PM * Starting FOG.MODDebug
    6/24/2014 5:08 PM * Starting FOG.PrinterManager
    6/24/2014 5:08 PM FOG::HostnameChanger Starting hostname change process…
    6/24/2014 5:08 PM FOG::HostnameChanger Yielding to other subservices for 4 seconds.
    6/24/2014 5:08 PM FOG::MODDebug Start Called
    6/24/2014 5:08 PM FOG::MODDebug Sleeping for 100 Seconds
    6/24/2014 5:08 PM * Starting FOG.SnapinClient
    6/24/2014 5:08 PM FOG::HostRegister Starting host registration process…
    6/24/2014 5:08 PM * Starting FOG.TaskReboot
    6/24/2014 5:08 PM FOG::PrinterManager Starting interprocess communication process…
    6/24/2014 5:08 PM * Starting FOG.UserCleanup
    6/24/2014 5:08 PM FOG::PrinterManager interprocess comm startup: OK
    6/24/2014 5:08 PM FOG::TaskReboot Taskreboot in lazy mode.
    6/24/2014 5:08 PM FOG::TaskReboot Starting Task Reboot…
    6/24/2014 5:08 PM * Starting FOG.UserTracker
    6/24/2014 5:08 PM FOG::UserCleanup Sleeping for 15 seconds.
    6/24/2014 5:08 PM FOG::SnapinClient Starting snapin client process…
    6/24/2014 5:08 PM FOG::PrinterManager Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::DisplayManager Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::HostRegister Exiting because only 1 mac address was found.
    6/24/2014 5:08 PM FOG::SnapinClient Sleeping for 387 seconds.
    6/24/2014 5:08 PM FOG::TaskReboot Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::UserTracker Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::UserTracker Unknown error, module will exit.
    6/24/2014 5:08 PM FOG::PrinterManager #!er:No Host Found
    6/24/2014 5:08 PM FOG::AutoLogOut Unknown error, module will exit.
    6/24/2014 5:08 PM FOG::DisplayManager Unknown error, module will exit.
    6/24/2014 5:08 PM FOG::HostnameChanger Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::TaskReboot General Error Returned:
    6/24/2014 5:08 PM FOG::TaskReboot #!er:No Host Found
    6/24/2014 5:08 PM FOG::TaskReboot No task found for client.
    6/24/2014 5:08 PM FOG::HostnameChanger General Error Returned:
    6/24/2014 5:08 PM FOG::HostnameChanger #!er:No Host Found
    6/24/2014 5:08 PM FOG::HostnameChanger Host name was not found in the database.
    6/24/2014 5:08 PM FOG::UserCleanup Starting user cleanup process…
    6/24/2014 5:08 PM FOG::UserCleanup Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::UserCleanup General Error Returned:
    6/24/2014 5:08 PM FOG::UserCleanup #!er:No Host Found
    6/24/2014 5:08 PM FOG::GreenFog Starting green fog…
    6/24/2014 5:08 PM FOG::GreenFog Attempting to connect to fog server…
    6/24/2014 5:08 PM FOG::GreenFog General Error Returned:
    6/24/2014 5:08 PM FOG::GreenFog #!er:No Host Found
    6/24/2014 5:09 PM FOG::DirCleaner Starting directory cleaning process…
    6/24/2014 5:09 PM FOG::DirCleaner Attempting to connect to fog server…
    6/24/2014 5:09 PM FOG::DirCleaner Unknown error, module will exit.
    6/25/2014 8:22 AM FOG Service Engine Version: 3
    Thanks in advanced!



  • Okay so here is what my .fogsettings looks like

    ipaddress=“10.40.224.90”;
    interface=“eth1”;
    routeraddress=" option routers 10.40.240.1;";
    plainrouter=“10.40.240.1”;
    dnsaddress=" option domain-name-servers 10.40.32.10; ";
    dnsbootimage=“10.40.32.10”;
    password=“e50a63”;
    osid=“2”;
    osname=“Debian”;
    dodhcp=“N”;
    bldhcp=“0”;
    installtype=“N”;
    snmysqluser="root"
    snmysqlpass=“e50a63”;
    snmysqlhost=“localhost”;
    installlang=“0”;
    donate=“0”;
    fogupdateloaded=“1”



  • Ive now updated to fog 1.1.2 and the log file now shows.

    %(#000000] 6/26/2014 3)[
    6/26/2014 3:48 PM FOG::UserTracker Starting user tracking process…]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::HostRegister Exiting because only 1 mac address was found.]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::UserCleanup Attempting to connect to fog server…]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::SnapinClient Sleeping for 446 seconds.]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::DisplayManager Unknown error, module will exit.]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::UserCleanup General Error Returned: ]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::printerManager General Error Returned: ]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::AutoLogOut Unknown error, module will exit.]
    %(#000000] 6/26/2014 3)[
    6/26/2014 3:49 PM FOG::HostnameChanger #!er:No Host Found]

    %(#000000]6/26/2014 3)[

    -----------------Not sure why i keep getting Host name not found in database. ]



  • I also have no issue registering hosts when PXE booting, I have no problem capturing and deploying images. Just the FOG client seems to not see the FOG host database.



  • Okay, ive updated the config file and its still not working.

    just to be clear:
    [I]password="*****"; ------ What password is this referring to? displays some random values that i did not configure? #######This refers to the linux fog user on your FOG Server.[/I]

    This is the password used to login to ubuntu at the users login screen? or am i mistaken.

    Any other ideas of what else could cause this issue?



  • Thanks i will update and see if this resolves my issue.

    will report back


  • Senior Developer

    @kelly.bettendorf, post: 31482, member: 5100 said:

    Could this issue be related to settings in,

    the /opt/fog/.fogsettings file?

    Looking through the .fogsettings file it looks like there might be some inaccurate information but im not totally sure whats wrong.

    %(#000000]## Created by the FOG Installer

    Version)[

    Install time: Mon 16 Jun 2014 09:30:27 AM PDT]

    ipaddress=“10.40.224.90”;
    interface=“eth1”;
    routeraddress=" option routers 10.40.240.1;";
    plainrouter=“10.40.240.1”;
    dnsaddress=" option domain-name-servers 10.40.32.10; “;
    dnsbootimage=“10.40.32.10”;
    password=”*"; ------ What password is this referring to? displays some random values that i did not configure? #######This refers to the linux fog user on your FOG Server.
    osid=“2”;
    osname=“Debian”;
    dodhcp=“N”;
    bldhcp=“0”;
    installtype=“N”;
    snmysqluser=""------------------------------------------------------------- should this be “root” or localprofile? ######root
    snmysqlpass="
    ";------------------------------------------------------ The mysql password setup during install? ######Yes
    snmysqlhost="";------------------------------------------------------------Would this be the localprofile fog was installed with? ######localhost or ip of fog server
    installlang=“0”;
    donate=“0”;
    fogupdateloaded=“1”

    See inline quote answers to your questions.



  • Could this issue be related to settings in,

    the /opt/fog/.fogsettings file?

    Looking through the .fogsettings file it looks like there might be some inaccurate information but im not totally sure whats wrong.

    Created by the FOG Installer

    Version: 1.1.1

    Install time: Mon 16 Jun 2014 09:30:27 AM PDT

    ipaddress=“10.40.224.90”;
    interface=“eth1”;
    routeraddress=" option routers 10.40.240.1;";
    plainrouter=“10.40.240.1”;
    dnsaddress=" option domain-name-servers 10.40.32.10; “;
    dnsbootimage=“10.40.32.10”;
    password=”*"; ------ What password is this referring to? displays some random values that i did not configure
    osid=“2”;
    osname=“Debian”;
    dodhcp=“N”;
    bldhcp=“0”;
    installtype=“N”;
    snmysqluser=""------------------------------------------------------------- should this be “root” or localprofile?
    snmysqlpass="
    ";------------------------------------------------------ The mysql password setup during install?
    snmysqlhost="";------------------------------------------------------------Would this be the localprofile fog was installed with?
    installlang=“0”;
    donate=“0”;
    fogupdateloaded=“1”



  • @Fhajad, post: 31452, member: 24675 said:

    When you did the registration, did you indicate to tell it to join AD or not? I see you’re still using 1.1.1 which that was the problem for me at a point.

    Yes i did indicate to join AD, verified that the AD option is enabled under the host using the GUI.

    Did you have issues using the FOG client on version 1.1.1?
    Im a bit hesitant to move to the new version since ive seen a lot of chatter of issues that happened when updating. But if that will resolve the issue i will run a backup and go for it.



  • When you did the registration, did you indicate to tell it to join AD or not? I see you’re still using 1.1.1 which that was the problem for me at a point.



  • Anyone have some ideas on this? i’m feeling stuck still have not figured out why the hostname changer and auto join no longer work.

    Looking to start deploying some computers labs in a few days and i would love to have the FOG client working.

    Thanks every one.



  • @kelly.bettendorf, post: 31382, member: 5100 said:

    I set it as just the “user” but still no change.
    I also have the domain name as the fully qualified name



  • @Junkhacker, post: 31372, member: 21583 said:

    there is a difference in active directory settings between 0.32 and 1.0+ versions of fog
    the domain is no longer needed in the Domain Username field
    "domain\user" must be changed to just “user”

    I set it as just the “user” but still no change.


  • Developer

    there is a difference in active directory settings between 0.32 and 1.0+ versions of fog
    the domain is no longer needed in the Domain Username field
    "domain\user" must be changed to just “user”



  • Could this possibly be a permission issue for where the FOG client is looking at a database and not able to read it?

    Just a though as i’m trying to work though this.



  • Okay,

    I also tried deleting the host from the FOG database and re registered it with the new FOG client installed on the host.

    No change i get the same error:
    HostnameChanger General Error Returned:
    HostnameChanger #!er:No Host Found
    HostnameChanger Host name was not found in the database.



  • i also checked that i do have the FOG client services enabled under the registered host and under the service configuration page.



  • @need2, post: 31319, member: 21891 said:

    Have you installed the newer version of the FOG Client?

    After I imaged the computer, ( had fog client from fog .32 in the image)

    I uninstalled and reinstalled from /fog/client with no change.


  • Moderator

    Have you installed the newer version of the FOG Client?



  • @kelly.bettendorf, post: 31315, member: 5100 said:

    host was registered with FOG’s full host registration and inventory process.
    Ive never import them with CSV/SQL injection


Log in to reply
 

351
Online

38746
Users

10569
Topics

100052
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.