[quote=“Tom Elliott, post: 39571, member: 7271”]I’m reworking how the service files operate to work with our (still in coding phase) fog service.
It’s most likely related to this.[/quote]
Ok, any global ETA on when it’s ready?
[quote=“Tom Elliott, post: 39571, member: 7271”]I’m reworking how the service files operate to work with our (still in coding phase) fog service.
It’s most likely related to this.[/quote]
Ok, any global ETA on when it’s ready?
Server OS: CentOS 6.6 fully patched
Client OS: Windows 8.1 64-bit fully patched
FOG version: SVN 2733
Joining the domain no longer works, but the computer does get renamed.
I keep getting the following errors from the fog client (the service is set to delayed startup):
[CODE]3-12-2014 10:28 FOG::ClientUpdater File: C:\Program Files (x86)\FOG\tmp\SnapinClient.dll hash doesn’t match server hash!
3-12-2014 10:28 FOG::ClientUpdater Checking Status : TaskReboot.dll
3-12-2014 10:28 FOG::ClientUpdater File: TaskReboot.dll requires an update.
3-12-2014 10:28 FOG::ClientUpdater File: C:\Program Files (x86)\FOG\tmp\TaskReboot.dll hash doesn’t match server hash!
3-12-2014 10:28 FOG::ClientUpdater Checking Status : UserCleanup.dll
3-12-2014 10:28 FOG::ClientUpdater File: UserCleanup.dll requires an update.
3-12-2014 10:28 FOG::ClientUpdater File: C:\Program Files (x86)\FOG\tmp\UserCleanup.dll hash doesn’t match server hash!
3-12-2014 10:28 FOG::ClientUpdater Checking Status : UserTracker.dll
3-12-2014 10:28 FOG::ClientUpdater File: UserTracker.dll requires an update.
3-12-2014 10:28 FOG::ClientUpdater File: C:\Program Files (x86)\FOG\tmp\UserTracker.dll hash doesn’t match server hash!
3-12-2014 10:28 FOG::ClientUpdater Checking Status : config.ini
3-12-2014 10:28 FOG::ClientUpdater File: config.ini requires an update.
3-12-2014 10:28 FOG::ClientUpdater File: C:\Program Files (x86)\FOG\tmp\config.ini hash doesn’t match server hash!
3-12-2014 10:28 FOG::ClientUpdater 1 new modules found!
3-12-2014 10:28 FOG::ClientUpdater Checking Status :
3-12-2014 10:28 FOG::ClientUpdater File: requires an update.
3-12-2014 10:28 FOG::ClientUpdater An exception occurred during a WebClient request.
3-12-2014 10:28 FOG::ClientUpdater at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at FOG.SnapinClient.downloadAndDeploy(String localFile)
3-12-2014 10:28 FOG::ClientUpdater Client update will be applied during next service startup.
3-12-2014 10:28 FOG::ClientUpdater Client update process complete, exiting…
3-12-2014 10:30 FOG::SnapinClient Attempting to connect to fog server…
3-12-2014 10:30 FOG::SnapinClient Module is disabled globally on the FOG Server, exiting.
[/CODE]
When I restart the FOG service i get:
[CODE]3-12-2014 13:06 FOG Service Engine Version: 3
3-12-2014 13:06 Starting all sub processes
3-12-2014 13:06 14 modules loaded
3-12-2014 13:06 * Starting FOG.AutoLogOut
3-12-2014 13:06 * Starting FOG.SnapinClient
3-12-2014 13:06 * Starting FOG.DirCleaner
3-12-2014 13:06 * Starting FOG.DisplayManager
3-12-2014 13:06 * Starting FOG.GreenFog
3-12-2014 13:06 FOG::ClientUpdater Sleeping for 422 seconds.
3-12-2014 13:06 * Starting FOG.GUIWatcher
3-12-2014 13:06 FOG::DisplayManager Starting display manager process…
3-12-2014 13:06 FOG::GUIWatcher Starting GUI Watcher…
3-12-2014 13:06 * Starting FOG.HostNameChanger
3-12-2014 13:06 FOG::GreenFog Sleeping for 54 seconds.
3-12-2014 13:06 * Starting FOG.HostRegister
3-12-2014 13:06 * Starting FOG.MODDebug
3-12-2014 13:06 FOG::MODDebug Start Called
3-12-2014 13:06 FOG::MODDebug Sleeping for 100 Seconds
3-12-2014 13:06 FOG::HostRegister Starting host registration process…
3-12-2014 13:06 * Starting FOG.PrinterManager
3-12-2014 13:06 FOG::HostnameChanger Starting hostname change process…
3-12-2014 13:06 FOG::HostnameChanger Yielding to other subservices for 2 seconds.
3-12-2014 13:06 * Starting FOG.TaskReboot
3-12-2014 13:06 FOG::PrinterManager Starting interprocess communication process…
3-12-2014 13:06 * Starting FOG.UserCleanup
3-12-2014 13:06 FOG::TaskReboot Starting Task Reboot…
3-12-2014 13:06 * Starting FOG.UserTracker
3-12-2014 13:06 FOG::SnapinClient Starting snapin client process…
3-12-2014 13:06 FOG::UserCleanup Sleeping for 13 seconds.
3-12-2014 13:06 FOG::UserTracker Starting user tracking process…
3-12-2014 13:06 FOG::HostRegister Exiting because only 1 mac address was found.
3-12-2014 13:06 FOG::DisplayManager Attempting to connect to fog server…
3-12-2014 13:06 FOG::PrinterManager Attempting to connect to fog server…
3-12-2014 13:06 FOG::UserTracker Attempting to connect to fog server…
3-12-2014 13:06 FOG::PrinterManager Module is disabled globally on the FOG Server, exiting.
3-12-2014 13:06 FOG::AutoLogOut Module is disabled globally on the FOG Server.
3-12-2014 13:06 FOG::HostnameChanger Attempting to connect to fog server…
3-12-2014 13:06 FOG::HostnameChanger Module is active…
3-12-2014 13:06 FOG::HostnameChanger AD mode requested, confirming settings.
3-12-2014 13:06 FOG::HostnameChanger Additional non-parsable characters are at the end of the string.
3-12-2014 13:06 FOG::HostnameChanger bij System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
bij System.Convert.ToByte(String value, Int32 fromBase)
bij FOG.FOGCrypt.hexToByte(String hex)
bij FOG.FOGCrypt.decryptHex(String hex)
bij FOG.HostNameChanger.changeHostName()
3-12-2014 13:06 FOG::DisplayManager Module is disabled globally on the FOG Server.
3-12-2014 13:06 FOG::UserTracker Module is active…
3-12-2014 13:06 FOG::UserCleanup Starting user cleanup process…
3-12-2014 13:06 FOG::UserCleanup Attempting to connect to fog server…
3-12-2014 13:06 FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
3-12-2014 13:07 FOG::DirCleaner Starting directory cleaning process…
3-12-2014 13:07 FOG::GreenFog Starting green fog…
3-12-2014 13:07 FOG::DirCleaner Attempting to connect to fog server…
3-12-2014 13:07 FOG::GreenFog Attempting to connect to fog server…
3-12-2014 13:07 FOG::DirCleaner Module is disabled globally on the FOG Server.
3-12-2014 13:07 FOG::GreenFog Module is disabled globally on the FOG Server, exiting.
3-12-2014 13:08 FOG::MODDebug Reading config settings…
3-12-2014 13:08 FOG::MODDebug Reading of config settings passed.
3-12-2014 13:08 FOG::MODDebug Starting Core processing…
3-12-2014 13:08 FOG::MODDebug Operating System ID: 6
3-12-2014 13:08 FOG::MODDebug Operating System Minor: 2
3-12-2014 13:08 FOG::MODDebug MAC ID 0 C8:1F:66:B3:59:62
3-12-2014 13:08 FOG::MODDebug MAC POST String: C8:1F:66:B3:59:62
3-12-2014 13:08 FOG::MODDebug A user is currently logged in
3-12-2014 13:08 FOG::MODDebug Username: Optiplex-930-02\user
3-12-2014 13:08 FOG::MODDebug Hostname: Optiplex-930-02
3-12-2014 13:08 FOG::MODDebug Attempting to open connect to: http://1.1.1.1/fog/service/debug.php
3-12-2014 13:08 FOG::MODDebug Server responded with: Hello FOG Client
3-12-2014 13:08 FOG::MODDebug Module has finished work and will now exit.
[/CODE]
In the Apache error log I see:
[CODE]PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/pages/HostManagementPage.class.php on line 1689, referer: https://fog.glu.nl/fog/management/index.php?node=host&sub=edit&id=239[/CODE]
I’ve installed the latest FOG client, its set to delayed startup. The AD join password is encrypted with FOGCrypt.
What is going wrong here?
[quote=“Tom Elliott, post: 29356, member: 7271”]Try the command:
[code]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config[/code]
Normally the /etc/sysconfig/selinux is just a symbolic link to /etc/selinux/config, but sometimes the link doesn’t happen and it becomes it’s own file.
Once you do the sed command, you will likely need to restart the system again.
Thanks[/quote]
Yes, that was it, selinux is now disabled. Thanks for the quick fix.
I’ve installed CentOS 6.5, and I’ve run the following command:
[CODE]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/sysconfig/selinux[/CODE]
Then I rebooted, and when I run “sestatus” it shows the following:
[CODE]SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted[/CODE]
This is the content of “nano /etc/sysconfig/selinux”:
[CODE]# This file controls the state of SELinux on the system.
SELINUX=disabled
SELINUXTYPE=targeted[/CODE]
How do I disable SELinux?
[quote=“Tom Elliott, post: 29051, member: 7271”]Change the document root of your apache information to /var/www[/quote]
I’ve changed the documentroot, but there’s no difference.
[CODE][Wed Jun 04 12:15:10.484125 2014] [:error] [pid 7062] [client 10.4.30.43:49221] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:15:10.484155 2014] [:error] [pid 7062] [client 10.4.30.43:49221] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:15:13.479323 2014] [:error] [pid 7091] [client 10.4.30.43:49220] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:15:13.479352 2014] [:error] [pid 7091] [client 10.4.30.43:49220] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:26:44.439631 2014] [:error] [pid 7157] [client 10.4.30.174:49235] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:26:44.439661 2014] [:error] [pid 7157] [client 10.4.30.174:49235] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:26:47.437465 2014] [:error] [pid 7121] [client 10.4.30.174:49234] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:26:47.437494 2014] [:error] [pid 7121] [client 10.4.30.174:49234] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:33:39.110303 2014] [:error] [pid 7199] [client 10.4.30.174:49184] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Jun 04 12:33:39.110333 2014] [:error] [pid 7199] [client 10.4.30.174:49184] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[/CODE]
Could these errors be made by clients with the old fog client installed?
[quote=“Tom Elliott, post: 29021, member: 7271”]Do you have the file:
/var/www/fog/commons/base.inc.php[/quote]
Yes I have that file.
What I noticed is that I have the following directory’s with fog installed in them:
/var/www/fog/
/var/www/html/fog/
Both have the base.inc.php file, and als the same config.php file.
[quote=“Tom Elliott, post: 28972, member: 7271”]When you run [code]sudo service FOGMulticastManager restart[/code]
Can you tail the apache error logs?
[code]sudo tail -100f /var/log/apache2/error.log[/code]
And post the results of that here?[/quote]
This is the restart:
[ATTACH=full]873[/ATTACH]
And here is te apache log file:
[url=“/_imported_xf_attachments/0/873_screen01.JPG?:”]screen01.JPG[/url][url=“/_imported_xf_attachments/0/875_fog_apache_error.txt?:”]fog_apache_error.txt[/url]
[quote=“Tom Elliott, post: 28968, member: 7271”]You may need to change your FOG Configuration->FOG Settings->Multicast Settings,Web Settings, TFTP Settings to point at bond0 rather than the default eth0.[/quote]
Thanks for the reply,
All the settings are set to bond0, during the install I also choose bond0 instead of the default eth0.
[quote=“Roberti, post: 28827, member: 1466”]Hi everybody,
I’ve done a clean install of Ubuntu server 14.04 and installed Fog 1.0.1 as root, but the FOGMulticastManager service is behaving strangely, and multicast is not working (hangs on “please wait”).
On server boot the service isn’t started.
When I do “service FOGMulticastManager start” it fails.
When I do “service FOGMulticastManager stop” it says [ OK ], but also: “warning: failed to kill 28198: No such process”
When I now do “service FOGMulticastManager start” it says [ OK ], but the udp-sender process isn’t started.
When i do “php /opt/fog/service/FOGMulticastManager/FOGMulticastManager” the udp-sender starts and multicast works.
So udp-sender works, but somehow the FOGMulticastManager service won’t start it correctly.[/quote]
I forgot to mention that we use interface bonding. All the settings in fog are set to interface bond0.
Hi everybody,
I’ve done a clean install of Ubuntu server 14.04 and installed Fog 1.0.1 as root, but the FOGMulticastManager service is behaving strangely, and multicast is not working (hangs on “please wait”).
On server boot the service isn’t started.
When I do “service FOGMulticastManager start” it fails.
When I do “service FOGMulticastManager stop” it says [ OK ], but also: “warning: failed to kill 28198: No such process”
When I now do “service FOGMulticastManager start” it says [ OK ], but the udp-sender process isn’t started.
When i do “php /opt/fog/service/FOGMulticastManager/FOGMulticastManager” the udp-sender starts and multicast works.
So udp-sender works, but somehow the FOGMulticastManager service won’t start it correctly.