Can't view FOG Configuration
-
Got a new FOG server 1.1.0, on Ubuntu 13.10 (32-bit desktop), both are fresh installations. I can log into the management portal, get to every other tab, I even created a new user, but I cannot get into the FOG Configuration tab - the screen acts like it is going there but then just goes white and the web page does nothing.
I have tried this with Ubuntu 12.04 (64-bit desktop), Ubuntu 14.04 (64-bit server) and now 13.10, but I get the same problem. I’m pretty new to FOG so odds are I could be missing something completely obvious!
-
Can you give me a copy of the Apache error logs excuse some of the translation your Web server error logs
-
I think this is the log you wanted to see? Thank you for the help
[url=“/_imported_xf_attachments/0/958_Apache2log.txt?:”]Apache2log.txt[/url]
-
Set your /etc/php.ini date.timezone field.
-
[quote=“Tom Elliott, post: 29731, member: 7271”]Set your /etc/php.ini date.timezone field.[/quote]
Hey Tom,
So I set my php.ini file within /etc/php5/apache2 folder to date.timezone = “Chicago” (it was blank) and now I’m getting this in my Apache error log :[Error] [Client 172.15.15.22] File does not exist: /var/www/access, referer: [url]http://172.15.15.22/fog/management/index.php?node=about[/url]
(On a side note, I’m actually using Ubuntu 12.04 (64bit desktop), not 13.10 - I’m losing my mind)
-
i don’t believe that “Chicago” is a valid timezone. try “America/Chicago”
-
[quote=“Junkhacker, post: 29929, member: 21583”]i don’t believe that “Chicago” is a valid timezone. try “America/Chicago”[/quote]
Hey Junkhacker, I believe you are correct, but I still haven’t had luck with “America/Chicago” either. I also tried without the quotations. I saw another thread that says change the same field in the /etc/php5/cli php.ini file and I saw a command Tom suggested to restart the Apache service.
I’m going to reinstall Fog again and see what happens.
-
Here is a little tidbit of what my Apache log is showing, I don’t know what has happened to those folders. Maybe tomorrow I will try blowing everything away again haha - I wonder what I’m doing wrong!
[Wed Jun 11 16:41:21 2014] [error] [client 172.15.15.22] File does not exist: /var/www/access, referer: [url]http://172.15.15.22/fog/management/index.php?node=about[/url]
[Wed Jun 11 16:43:32 2014] [error] [client 172.15.15.22] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30
[Wed Jun 11 16:43:33 2014] [error] [client 172.15.15.22] File does not exist: /var/www/favicon.ico
[Wed Jun 11 16:43:33 2014] [error] [client 172.15.15.22] File does not exist: /var/www/assets, referer: [url]http://172.15.15.22/fog/management/[/url]
[Wed Jun 11 16:43:33 2014] [error] [client 172.15.15.22] File does not exist: /var/www/assets, referer: [url]http://172.15.15.22/fog/management/[/url] -
I started fresh with Ubuntu 12.04 and FOG 1.1.0 and I still get this in my Apache error log (see attached).
[url=“/_imported_xf_attachments/0/990_Apache2.txt?:”]Apache2.txt[/url]
-
One other thing to note, I successfully set up the same versions of Ubuntu and FOG in my environment, but I get this error once I get in my friend’s environment and set it up for her. I’m doing the same exactly procedure, the only thing that has changed is the IP addresses between the two networks, is there anything else I should look for that could be different from network to network?
-
What is the exact line from the /etc/php5/apache2/php.ini file?
Is it:
[code];date.timezone = America/Chicago[/code]
OR
[code]date.timezone = America/Chicago[/code] -
Hey Tom,
It looks like the first one:[code];date.timezone = America/Chicago[/code]
-
Remove the semicolon restart apache and restart the fog services.
-
[quote=“Tom Elliott, post: 30411, member: 7271”]Remove the semicolon restart apache and restart the fog services.[/quote]
Thanks Tom, I see the code now lights up green, I removed the semicolon only for the date.timezone field (all the other fields still have the semicolon). I restarted the machine and my web gui is still logging in fine but the “FOG Configuration” tab still goes to a blank page.
I still have these errors in my Apache2 error log, not sure if they are significant:
[error] [client 172.15.15.22] File does not exist: /var/www/access, referer:[url]http://172.15.15.22/fog/management/index.php?node=about[/url]
[error] [client 172.15.15.22] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30
[error] [client 172.15.15.22] File does not exist: /var/www/favicon.ico
[error] [client 172.15.15.22] File does not exist: /var/www/assets, referer:[url]http://172.15.15.22/fog/management/[/url] -
Hi.
I just thought that i would jump in and say that i am see this as well with a fresh install of fog 1.1.1 running on ubuntu 14.04.
This is the error that i have in my log:
[FONT=arial][COLOR=#222222][Tue Jun 17 11:09:46.751049 2014] [:error] [pid 2777] [client [/COLOR][/FONT][URL=‘http://172.19.1.131:64744/’][FONT=arial][COLOR=#1155cc]172.19.1.131:64744[/COLOR][/FONT][/URL][FONT=arial][COLOR=#222222]] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.[/COLOR][/FONT][FONT=arial][COLOR=#222222]class.php on line 89, referer: [/COLOR][/FONT][URL=‘http://172.19.1.132/fog/management/index.php’][FONT=arial][COLOR=#1155cc]http://172.19.1.132/fog/management/index.php[/COLOR][/FONT][/URL]
-
Hey cbirch,
I don’t know if this helps you at all, but I was able to fix my problem of a blank FOG configuration page by ignoring my FOG server IP address in the Lightspeed content filtering appliance that is in-line in our network. Apparently it was blocking the download of certain files during the ./installfog.sh portion of my installation, resulting in the core GUI being there, but not the pages associated with the FOG configuration page. I would make sure you bypass any firewall/content filtering services you have on your network if you are having this issue. -
[quote=“PdsNick, post: 30732, member: 24454”]Hey cbirch,
I don’t know if this helps you at all, but I was able to fix my problem of a blank FOG configuration page by ignoring my FOG server IP address in the Lightspeed content filtering appliance that is in-line in our network. Apparently it was blocking the download of certain files during the ./installfog.sh portion of my installation, resulting in the core GUI being there, but not the pages associated with the FOG configuration page. I would make sure you bypass any firewall/content filtering services you have on your network if you are having this issue.[/quote]PdsNick, thanks for the help on this . I have lightspeed web filter as well and this worked for me.
-
[quote=“PdsNick, post: 30732, member: 24454”]Hey cbirch,
I don’t know if this helps you at all, but I was able to fix my problem of a blank FOG configuration page by ignoring my FOG server IP address in the Lightspeed content filtering appliance that is in-line in our network. Apparently it was blocking the download of certain files during the ./installfog.sh portion of my installation, resulting in the core GUI being there, but not the pages associated with the FOG configuration page. I would make sure you bypass any firewall/content filtering services you have on your network if you are having this issue.[/quote]Thanks for posting your fix. This worked for us too!