FOG 1.0.1 FOGMulticastManager service won't start
-
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=“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.
-
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=“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.
-
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=“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]
-
Do you have the file:
/var/www/fog/commons/base.inc.php -
[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.
-
Change the document root of your apache information to /var/www
-
[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?