@Joe-Schmitt said in Trunk 5735 PC doesnt restart after joining the domain.:
This issue has been addressed in v0.11.2. Please test when you get a chance.
The Update worked for me Joe, Thanks!
@Joe-Schmitt said in Trunk 5735 PC doesnt restart after joining the domain.:
This issue has been addressed in v0.11.2. Please test when you get a chance.
The Update worked for me Joe, Thanks!
@Wayne-Workman said in Trunk 5749 Snapin deployment issue:
Is the snapin set to replicate? Can you verify the files exist on the storage nodes? Are you using the location plugin?
ok, I verified that all my snapins are set to replicate and I verified that all the files are at the remote node. and yes I am using the location plugin. The snapins are still being pulled from the main fogserver across the slow mpls network.
This is going to be a very long weekend! please help…
Thanks.
@Wayne-Workman said in Trunk 5749 Snapin deployment issue:
Is the snapin set to replicate? Can you verify the files exist on the storage nodes? Are you using the location plugin?
I dont have the replicatre box checked. Although the snapins are on the remote node.
I will check the box.
when imaging a PC from a remote storage node the snapins are not installed from the storage node but from the main fogserver.
This is causing the imaging process to crawl as it downloads the snapins across our slow MPLS network.
@Wayne-Workman said in Trunk 5735 PC doesnt restart after joining the domain.:
@Greg-Plamondon Joe said it’s a bug, just be patient and wait for the new version. Did you know that Joe is the new client developer? He knows what he’s talking about.
Oh, I know who Joe is, I just didn’t want to be rude and ignore your question.
This is a Windows 10 Sysprep image.
the fog client is installed in the finalize stage of the sysprep in the setupcomplete.cmd
I was running a poweshell tail on it at the time (get-content -wait \computername\C$\fog.log) and I could see activity up to the point I posted. But when I checked the service it was indeed in the stopped state.
After successfully imaging the PC it doesn’t want to reboot even though the log says it should.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
6/22/2016 3:09 PM Client-Info Client Version: 0.11.1
6/22/2016 3:09 PM Client-Info Client OS: Windows
6/22/2016 3:09 PM Client-Info Server Version: 7853
6/22/2016 3:09 PM Middleware::Response Success
6/22/2016 3:09 PM HostnameChanger Checking Hostname
6/22/2016 3:09 PM HostnameChanger Hostname is correct
6/22/2016 3:09 PM HostnameChanger Attempting to join active directory
6/22/2016 3:09 PM HostnameChanger Success, code = 0
6/22/2016 3:09 PM Power Creating shutdown command in 60 seconds
6/22/2016 3:09 PM Bus {
"self": true,
"channel": "Power",
"data": "{\r\n \"action\": \"request\",\r\n \"period\": 60,\r\n \"options\": 2,\r\n \"command\": \"/r /c \\\"Host joined to Active Directory, restart required\\\" /t 0\",\r\n \"message\": \"This computer needs to perform maintenance.\"\r\n}"
}
6/22/2016 3:09 PM Bus Emmiting message on channel: Power
------------------------------------------------------------------------------
6/22/2016 3:09 PM Service Power operation being requested, checking back in 30 seconds
6/22/2016 3:10 PM Service Power operation being requested, checking back in 30 seconds
6/22/2016 3:10 PM Power Creating shutdown request
6/22/2016 3:10 PM Power Parameters: /r /c "Host joined to Active Directory, restart required" /t 0```
Thanks for helping on this Tom.
After installing the latest trunk to a new VM and importing my db, I failed to realize that I need to update the credentials.
Thanks for all your help on narrowing this down.
Was kind of hoping there would be some activity on this thread… Am I the only one having this issue?
I am getting the following in my fog.log on the client when trying to deploy a snapin.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
6/3/2016 2:39 PM Client-Info Client Version: 0.10.6
6/3/2016 2:39 PM Client-Info Client OS: Windows
6/3/2016 2:39 PM Client-Info Server Version: 7961
6/3/2016 2:39 PM Middleware::Response Success
6/3/2016 2:39 PM SnapinClient Snapin Found:
6/3/2016 2:39 PM SnapinClient ID: 9289
6/3/2016 2:39 PM SnapinClient RunWith:
6/3/2016 2:39 PM SnapinClient RunWithArgs:
6/3/2016 2:39 PM SnapinClient Name: 02b - Office365-2016 - E3
6/3/2016 2:39 PM SnapinClient File: Office365_E3_2016.sfx.exe
6/3/2016 2:39 PM SnapinClient Created: 2016-06-03 14:38:20
6/3/2016 2:39 PM SnapinClient Args:
6/3/2016 2:39 PM SnapinClient Action:
6/3/2016 2:39 PM Middleware::Communication Download: http://10fogserver/fog/service/snapins.file.php?mac=C0:3F:D5:9C:76:B5||00:00:00:00:00:00:00:E0&taskid=9289
6/3/2016 2:39 PM SnapinClient C:\Program Files (x86)\FOG\tmp\Office365_E3_2016.sfx.exe
6/3/2016 2:39 PM SnapinClient ERROR: Hash does not match
6/3/2016 2:39 PM SnapinClient ERROR: --> Ideal: 23A499F23E8EFC65DB68B9A9B22FBD6CE222B67B1639EA5E6508CB9D8650825D80EE0FBBEF364308CA77A05298B44085F314433129399BC76931E51B0FFBA559
6/3/2016 2:39 PM SnapinClient ERROR: --> Actual: 5A8DD905396D01E79F8E5C7C1DECFBD46548685D93C1DE18A47151BC649AB2F7DD77298869931D33526FCDE429FE1B934DA210C9ED5944A01E162D0635A8F378
6/3/2016 2:39 PM Middleware::Communication URL: http://10fogserver/fog/service/snapins.checkin.php?taskid=9289&exitcode=-1&mac=C0:3F:D5:9C:76:B5||00:00:00:00:00:00:00:E0&newService&json
6/3/2016 2:39 PM Middleware::Communication ERROR: Could not contact FOG server
6/3/2016 2:39 PM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error.
------------------------------------------------------------------------------```
when I goto my server the hash checks out…
/opt/fog/snapins/ # sha512sum /opt/fog/snapins/Office365_E3_2016.sfx.exe
23a499f23e8efc65db68b9a9b22fbd6ce222b67b1639ea5e6508cb9d8650825d80ee0fbbef364308ca77a05298b44085f314433129399bc76931e51b0ffba559 /opt/fog/snapins/Office365_E3_2016.sfx.exe
Any suggestions?
@Tom-Elliott said in Unable to get subsection and error: (500):
@MadsMagnus If the server is giving this issue (which it is), then update the server.
Worked for me, Thanks.
To check if you have portfast enabled on your 2960 series
telnet to your switch and issue these commands:
show running-config
scroll down to your interfaces.
[CODE]interface GigabitEthernet1/0/1
switchport access vlan 130
switchport mode access
switchport voice vlan 120
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
macro description cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/2
switchport access vlan 130
switchport mode access
switchport voice vlan 120
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
macro description cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
[/CODE]
look for [COLOR=#ff0000]spanning-tree portfast[/COLOR]
if you see it, its enabled, unless its expressly disabled then you will see
spanning-tree portfast disabled
to enable port-fast: --change 1/0/1 to the interface you need
[CODE]
GR-NB-2960S-01#enable
GR-NB-2960S-01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
GR-NB-2960S-01(config)#
GR-NB-2960S-01(config)#interface gigabitEthernet 1/0/1
GR-NB-2960S-01(config-if)#
GR-NB-2960S-01(config-if)#spanning-tree portfast
GR-NB-2960S-01(config-if)#exit
GR-NB-2960S-01(config)#exit
GR-NB-2960S-01#
[/CODE]
[COLOR=#000000]If you wish to save your settings. [/COLOR]
[CODE]GR-NB-2960S-01#write memory
Building configuration…
[OK]
GR-NB-2960S-01#
[/CODE]
I am trying to setup fog in centralized management mode and I am running into some issues with clients on the remote end. I have set the tftp server for the remote client to point to the central fog server. I can register the hosts, image them but fog will not join the PC to the domain or install snapins. it also will not “record” the hardware inventory to the fog server. I see that the hardware inventory takes place but it doesn’t update the server.
I have some errors in the log.
This message repeats in the/var/log/apache2/error.log 10.10.111.110 is the client that i am imaging
[CODE][Tue Jul 08 10:38:51 2014] [error] [client 10.10.111.110] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
[Tue Jul 08 10:38:51 2014] [error] [client 10.10.111.110] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
[Tue Jul 08 10:38:51 2014] [error] [client 10.10.111.110] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
[Tue Jul 08 10:38:51 2014] [error] [client 10.10.111.110] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
[/CODE]
/var/log/syslog:
[CODE]Jul 8 10:38:52 10fogserver mysqld: Version: ‘5.5.37-0+wheezy1’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 (Debian)
Jul 8 10:38:52 10fogserver mysqld: 140708 10:38:52 [ERROR] /usr/sbin/mysqld: Table ‘./fog/plugins’ is marked as crashed and should be repaired
Jul 8 10:38:52 10fogserver mysqld: 140708 10:38:52 [ERROR] /usr/sbin/mysqld: Table ‘./fog/plugins’ is marked as crashed and should be repaired
Jul 8 10:38:52 10fogserver mysqld: 140708 10:38:52 [Warning] Checking table: ‘./fog/plugins’
Jul 8 10:38:52 10fogserver /etc/mysql/debian-start[3147]: Upgrading MySQL tables if necessary.
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/hosts’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/hosts’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [Warning] Checking table: ‘./fog/hosts’
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/globalSettings’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/globalSettings’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [Warning] Checking table: ‘./fog/globalSettings’
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/moduleStatusByHost’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/moduleStatusByHost’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [Warning] Checking table: ‘./fog/moduleStatusByHost’
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/tasks’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [Warning] Checking table: ‘./fog/tasks’
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [ERROR] /usr/sbin/mysqld: Table ‘./fog/snapinJobs’ is marked as crashed and should be repaired
Jul 8 10:38:53 10fogserver mysqld: 140708 10:38:53 [Warning] Checking table: ‘./fog/snapinJobs’
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3151]: /usr/bin/mysql_upgrade: the ‘–basedir’ option is always ignored
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3151]: Looking for ‘mysql’ as: /usr/bin/mysql
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3151]: Looking for ‘mysqlcheck’ as: /usr/bin/mysqlcheck
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3151]: This installation of MySQL is already upgraded to 5.5.37, use --force if you still need to run mysql_upgrade
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3449]: Checking for insecure root accounts.
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3454]: WARNING: mysql.user contains 3 root accounts without password!
Jul 8 10:38:55 10fogserver /etc/mysql/debian-start[3455]: Triggering myisam-recover for all MyISAM tables
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/groupMembers’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/groupMembers’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/groups’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/groups’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/history’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/history’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/imagingLog’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/imagingLog’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/location’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/location’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/locationAssoc’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/locationAssoc’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/nfsFailures’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/nfsFailures’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/nfsGroupMembers’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/nfsGroupMembers’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/snapinAssoc’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/snapinAssoc’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/snapinTasks’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/snapinTasks’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/snapins’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/snapins’
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [ERROR] /usr/sbin/mysqld: Table ‘./fog/userTracking’ is marked as crashed and should be repaired
Jul 8 10:38:56 10fogserver mysqld: 140708 10:38:56 [Warning] Checking table: ‘./fog/userTracking’
Jul 8 10:39:01 10fogserver /USR/SBIN/CRON[3614]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete)
Jul 8 10:41:52 10fogserver in.tftpd[5397]: tftp: client does not accept options
Jul 8 10:49:05 10fogserver in.tftpd[5617]: tftp: client does not accept options
Jul 8 10:49:42 10fogserver in.tftpd[5641]: tftp: client does not accept options
[/CODE]
Any help would be appreciated.
Thanks.
[quote=“steve, post: 23301, member: 980”]Sunny montego bay jamaica[/quote]
you lucky #$@$@
[quote=“Tom Elliott, post: 22310, member: 7271”]Of course on Windows 7 it’s working, but seemingly not on Windows XP. Strange![/quote]
Not on my Windows 7 Box…
I am going to head home… I have the KVM connected so I can test once I get there.
[PHP]/30/2014 6:25 PM FOG::MODDebug Attempting to open connect to: http://10fogserver/fog/service/debug.php
1/30/2014 6:25 PM FOG::MODDebug Server responded with: Hello FOG Client
1/30/2014 6:25 PM FOG::MODDebug Module has finished work and will now exit.
1/30/2014 6:30 PM FOG::ClientUpdater Attempting to connect to fog server…
1/30/2014 6:30 PM FOG::ClientUpdater Module is active…
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : AutoLogOut.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : ClientUpdater.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : DirCleaner.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : DisplayManager.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : GreenFog.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : GUIWatcher.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : HostRegister.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : MODDebug.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : PrinterManager.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : SnapinClient.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : TaskReboot.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : UserCleanup.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : UserTracker.dll
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Checking Status : config.ini
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 6:30 PM FOG::ClientUpdater 0 new modules found!
1/30/2014 6:30 PM FOG::ClientUpdater Client update will be applied during next service startup.
1/30/2014 6:30 PM FOG::ClientUpdater Client update process complete, exiting…
[/PHP]
Strange… I am not seeing anything out of the norm in the logs.