Problems with FOG services
-
Hi,
I upgraded to FOG 5566 from 3594 but for some reason, the services are displaying errors.
In /opt/fog/log/servicemaster.log
[11-30-15 7:04:47 pm] FOGImageReplicator child process (11066) exited with code 255. [11-30-15 7:04:47 pm] FOGImageReplicator child process (11095) exited with code 255. [11-30-15 7:04:47 pm] FOGMulticastManager child process (11094) exited with code 255. [11-30-15 7:04:47 pm] FOGPingHosts child process (11096) exited with code 255. [11-30-15 7:04:47 pm] FOGTaskScheduler child process (11097) exited with code 255.
When I stop and then start the service manually, I get…
Fatal error: Call to undefined method ImageReplicator::getBanner() in /opt/fog/service/FOGImageReplicator/FOGImageReplicator on line 10 PHP Fatal error: Call to undefined method ImageReplicator::getBanner() in /opt/fog/service/FOGImageReplicator/FOGImageReplicator on line 10
Also in the WebUI Log Viewer, the drop down box only shows Service Master, Apache Error Log, and Apache Access Log. It doesn’t display the services logs.
Any ideas?
-
Can you run:
sudo rm -rf /opt/fog/service /opt/fog/etc
and rerun the installer? -
Ok I managed to solve this based on a previous post where Tom had deleted files in /opt/fog/{service,etc}
I tried doing the above but still didn’t seem to resolve the problem. So I moved the existing fog folder in /opt to fog.backup. Then created the /opt/fog folder and copied the .fogsettings to it.
Performed a reinstall to pick up the existing settings and it now seems to be all ok without any errors.