Fog Services not starting on Server
-
@zpoling going to guess your php.ini date.timezone is set to America.New_York when it should be America/New_York
-
Check your server’s timezone:
cat /etc/timezone
Find your
php.ini
files:sudo find /etc -name php.ini
Example output:
/etc/php5/cli/php.ini /etc/php5/apache2/php.ini /etc/php5/fpm/php.ini
Open each one and check the value of
date.timezone
-
/etc/php5/apache2/php.ini? It’s correct in this file. It is America/New_York.
-
@zpoling Apache is GUI services are cli
-
@dolf It was wrong in the fpm directory, thanks.
Rerunning the service script directly now does nothing. It puts me on a new line and does nothing. The service still does not want to start properly either.
-
@zpoling Check the apache error logs.
/var/log/apache2/
-
Reran the fog installer and now all of the services are running. I’m going to reboot and see if the services restart as well.
-
@Wayne-Workman What should I be looking for? There’s a lot of crap in it.
-
@zpoling If everything is working, don’t worry about it.
-
@Wayne-Workman I just wanted to update you on what I saw as I got it working.
In the multicast log, it was showing 0 tasks to be cleaned, but 3 tasks were found. Always. Every way I’ve seen here on the forums to destroy any udp casting tasks did not change the log continuing to show those 3 tasks. On two of the laptops I just happened to be trying to multicast that day, I took all source of power away and held the power button for 10 seconds. I then started a multicast task for those two, and they worked. Keep in mind that I haven’t been able to multicast for a few weeks now. I find it odd that that’s all I had to do, and on two random laptops at that.
Also with the timezone issue, the services not starting was happening before I even tried to set the timezone prefrences. I tried to set the timezone purely because my multicast log was showing dates four-five hours away. I don’t know the exact time, because the log is now reporting the dates correctly.