Help with domain joing



  • First off I am running fog 3.2 on ubuntu. I am fogging machines fine but they will not join to the a/d. I have the setting set as.

    FOG_AD_DEFAULT_DOMAINNAME :mydomain.org
    FOG_AD_DEFAULT_OU :Left blank
    FOG_AD_DEFAULT_USER : mydomain.org/administrator
    FOG_AD_DEFAULT_PASSWORD : fog crypt password

    I keep getting the error in the log that says: “Failed to connect to database server, will try again in next iteration.”

    please help


  • Moderator

    6/27/2013 11:17 AM FOG::HostnameChanger Domain Error! ('Unknown Error' Code: 87)
    

    Always use the code tags when posting logs or code to keep the board from eating it and pooping out smilies.

    Double check the information used for AD joining that is stored in the global FOG settings against the information that is stored in the Active Directory page for the particular host. Make sure they match, with the global FOG settings winning out over the host Active Directory settings if there is a difference.



  • The fog log for the laptop is as follow
    " 6/27/2013 11:10 AM FOG::SnapinClient Attempting to connect to fog server…
    6/27/2013 11:10 AM FOG::SnapinClient Module is active…
    6/27/2013 11:10 AM FOG::SnapinClient No Tasks found for: B8:CA:3A:CF:BC:AE|F4:B7:E2:6A:F9:C5"

    The fog log for the 390 looks like this
    " 6/27/2013 11:17 AM * Starting FOG.GreenFog
    6/27/2013 11:17 AM * Starting FOG.GUIWatcher
    6/27/2013 11:17 AM FOG: DisplayManager Starting display manager process…
    6/27/2013 11:17 AM * Starting FOG.HostNameChanger
    6/27/2013 11:17 AM FOG::GUIWatcher Starting GUI Watcher…
    6/27/2013 11:17 AM * Starting FOG.HostRegister
    6/27/2013 11:17 AM * Starting FOG.MODDebug
    6/27/2013 11:17 AM FOG::GreenFog Sleeping for 51 seconds.
    6/27/2013 11:17 AM * Starting FOG.PrinterManager
    6/27/2013 11:17 AM FOG::MODDebug Start Called
    6/27/2013 11:17 AM FOG::MODDebug Sleeping for 100 Seconds
    6/27/2013 11:17 AM FOG::HostRegister Starting host registration process…
    6/27/2013 11:17 AM FOG::HostnameChanger Starting hostname change process…
    6/27/2013 11:17 AM FOG::HostnameChanger Yielding to other subservices for 1 seconds.
    6/27/2013 11:17 AM * Starting FOG.SnapinClient
    6/27/2013 11:17 AM * Starting FOG.TaskReboot
    6/27/2013 11:17 AM FOG::TaskReboot Taskreboot in lazy mode.
    6/27/2013 11:17 AM FOG::TaskReboot Starting Task Reboot…
    6/27/2013 11:17 AM FOG: PrinterManager Starting interprocess communication process…
    6/27/2013 11:17 AM * Starting FOG.UserCleanup
    6/27/2013 11:17 AM * Starting FOG.UserTracker
    6/27/2013 11:17 AM FOG::SnapinClient Starting snapin client process…
    6/27/2013 11:17 AM FOG: PrinterManager interprocess comm startup: OK
    6/27/2013 11:17 AM FOG::UserCleanup Sleeping for 16 seconds.
    6/27/2013 11:17 AM FOG::UserTracker Starting user tracking process…
    6/27/2013 11:17 AM FOG::SnapinClient Sleeping for 454 seconds.
    6/27/2013 11:17 AM FOG::HostRegister Exiting because only 1 mac address was found.
    6/27/2013 11:17 AM FOG: DisplayManager Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::AutoLogOut Module is active…
    6/27/2013 11:17 AM FOG: DisplayManager Module is disabled globally on the FOG Server.
    6/27/2013 11:17 AM FOG::HostnameChanger Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::HostnameChanger Module is active…
    6/27/2013 11:17 AM FOG::HostnameChanger AD mode requested, confirming settings.
    6/27/2013 11:17 AM FOG::HostnameChanger Hostname is up to date
    6/27/2013 11:17 AM FOG::HostnameChanger Attempting to join domain if not already a member…
    6/27/2013 11:17 AM FOG::UserTracker Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::TaskReboot Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::AutoLogOut Timeout value is Zero, disabling module.
    6/27/2013 11:17 AM FOG::TaskReboot Module is active…
    6/27/2013 11:17 AM FOG::TaskReboot Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::AutoLogOut c:\program files\fog\images\alo-bg.jpg
    6/27/2013 11:17 AM FOG::TaskReboot No job exists for D0:67:E5:2B:05:F4
    6/27/2013 11:17 AM FOG::TaskReboot No task found for client.
    6/27/2013 11:17 AM FOG: PrinterManager Module is active…
    6/27/2013 11:17 AM FOG: PrinterManager Starting printer manager…
    6/27/2013 11:17 AM FOG: PrinterManager Yielding to other services for 31 seconds.
    6/27/2013 11:17 AM FOG::UserTracker Module is active…
    6/27/2013 11:17 AM FOG::HostnameChanger Domain Error! (‘Unknown Error’ Code: 87)
    6/27/2013 11:17 AM FOG::AutoLogOut at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    at FOG.AutoLogOut.doWork()
    6/27/2013 11:17 AM FOG::UserCleanup Starting user cleanup process…
    6/27/2013 11:17 AM FOG::UserCleanup Attempting to connect to fog server…
    6/27/2013 11:17 AM FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
    6/27/2013 11:18 AM FOG: PrinterManager Management level = 0
    6/27/2013 11:18 AM FOG: PrinterManager This host is set to NO MANAGEMENT, we will exit now.
    6/27/2013 11:18 AM FOG: PrinterManager Major printing operations complete, moving to tracking mode.
    6/27/2013 11:18 AM FOG: PrinterManager New user detected: 390test\Administrator
    6/27/2013 11:18 AM FOG: PrinterManager Waiting for tray to load…
    6/27/2013 11:18 AM FOG::UserTracker Event: LOGIN for 390test\Administrator
    6/27/2013 11:18 AM FOG::UserTracker Record processed by server!
    6/27/2013 11:18 AM FOG: DirCleaner Starting directory cleaning process…
    6/27/2013 11:18 AM FOG: DirCleaner Attempting to connect to fog server…
    6/27/2013 11:18 AM FOG: DirCleaner Module is active…
    6/27/2013 11:18 AM FOG: DirCleaner Determining which directories should be cleaned…
    6/27/2013 11:18 AM FOG: DirCleaner No directories are configured to be cleaned.
    6/27/2013 11:18 AM FOG: DirCleaner Starting directory cleaning loop…
    6/27/2013 11:18 AM FOG: DirCleaner Module has finished work and will now exit.
    6/27/2013 11:18 AM FOG::GreenFog Starting green fog…
    6/27/2013 11:18 AM FOG::GreenFog Attempting to connect to fog server…
    6/27/2013 11:18 AM FOG::GreenFog Module is active…
    6/27/2013 11:18 AM FOG::GreenFog No actions were found.
    6/27/2013 11:18 AM FOG::GreenFog No tasks found after validation!
    "

    Nothing stands out to me as why either are not auto joining to the domain.



  • Look at the fog log for one of your 390s.
    I’m willing to bet it’s having an issue discovering the Mac address on that machine.



  • I’m sorry i miss typed that in my post, my setting have it stored as domain\administrator

    edit: update. I took a 7010 windows 7 out of the domain and restarted it and fog added it back in.??! But it still won’t add in a 390 running 7 or a Lat e5530 running 7. Needless to say I am very confused


  • Moderator

    that error is unrelated.

    To correct your issue with domain join, try using domain\username instead.

    If you want to correct the error about connecting to the database server, start a new thread and I’ll be glad to address it there.


Log in to reply
 

503
Online

38916
Users

10685
Topics

101347
Posts

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