Unable to access the FOG URL(remote user interface)
-
I just installed FOG on a Ubuntu system using the following article.
[url]http://www.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network[/url]
After the install, it said this.
You still need to install/update your database schema.
This can be done by opening a web browser and going to:[url]http://192.168.1.5/fog/management[/url] Default User: Username: fog Password: password
I am unable to access [url]http://192.168.1.5/fog/management[/url]. I can’t access the FOG RUI at all. I was able to boot a computer on the network to FOG using PXE so I know that part is working.
I do have a password setup for the root user but during the install for MySQL, I just pressed enter and left the password blank. I also tried editng the config.php files with my root password but that doesn’t work either.
Can someone tell me where I went wrong here? I am close.
Thanks,
Justin
-
Can you post what your /var/log/apache2/error.log contains?
Also make sure Apache2 is running by going to 192.168.1.5
You should get a page that says “It works”
-
Thank you for replying.
I did that and it said “starting web server apach2,” but I still can’t access the FOG interface. How can I tell if the service is started? When I just visit the IP, I get the “It works!” page from Apache 2 Ubunut Default page.Justin
-
I edited my post above, please post the results of your apache2 error log.
It’s likely going to say the mysql password was incorrect.
-
How do I obtain the log? I am new to Linux and Apache.
I did try editing the two files with my root password but that was no luck. So I have tried my root password and no password which is what I used during the install. -
If you entered no password on the FOG install wizard, make sure your config files have no passwords listed.
After that restart your apache2 service by typing “Sudo /etc/init.d/apache2 restart”
After that try accessing the webpage, if you cannot get to 192.168.1.5/fog then run the command “vi /var/log/apache2/error.log”
And grab the bottom 10 lines of it and post it here.
-
Here is the log.
[Fri Apr 18 14:25:13.511142 2014] [mpm_event:notice] [pid 4870:tid 139646723962752] AH00489: Apache/2.4.7 (Ubuntu) configured – resuming normal operations
[Fri Apr 18 14:25:13.511530 2014] [core:notice] [pid 4870:tid 139646723962752] AH00094: Command line: ‘/usr/sbin/apache2’
[Fri Apr 18 14:25:42.931251 2014] [mpm_event:notice] [pid 4870:tid 139646723962752] AH00491: caught SIGTERM, shutting down
[Fri Apr 18 14:25:44.042911 2014] [mpm_prefork:notice] [pid 6508] AH00163: Apache/2.4.7 (Ubuntu) configured – resuming normal operations
[Fri Apr 18 14:25:44.043258 2014] [core:notice] [pid 6508] AH00094: Command line: ‘/usr/sbin/apache2’
[Fri Apr 18 14:25:45.439808 2014] [mpm_prefork:notice] [pid 6508] AH00169: caught SIGTERM, shutting down
[Fri Apr 18 14:25:46.623359 2014] [mpm_prefork:notice] [pid 6584] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Fri Apr 18 14:25:46.623446 2014] [core:notice] [pid 6584] AH00094: Command line: ‘/usr/sbin/apache2’
[Fri Apr 18 14:35:01.775039 2014] [mpm_prefork:notice] [pid 6584] AH00169: caught SIGTERM, shutting down
[Fri Apr 18 14:35:02.955554 2014] [mpm_prefork:notice] [pid 21073] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Fri Apr 18 14:35:02.955644 2014] [core:notice] [pid 21073] AH00094: Command line: ‘/usr/sbin/apache2’
[Fri Apr 18 15:00:07.577513 2014] [mpm_prefork:notice] [pid 21073] AH00169: caught SIGTERM, shutting down
[Fri Apr 18 15:01:01.189676 2014] [mpm_prefork:notice] [pid 1914] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Fri Apr 18 15:01:01.224231 2014] [core:notice] [pid 1914] AH00094: Command line: ‘/usr/sbin/apache2’ -
Are those the last 14 lines of the log or the first 14?
The newest are at the bottom, not the top.
-
They are the entire log. I’ll check again to make sure but I did control A to select all.
-
Can you make sure the mysql service is running?
“sudo /etc/init.d/mysql start”
-
Yes that is the entire /var/log/apache2/error.log.
-
I entered that command and it said it started but still can’t access the FOG console.
-
Did you ever get a page to show up on 192.168.1.5/fog/, even if it just said “Click here to upgrade database”?
-
No, I was never able to access the page. I followed the install direction in the link above. I am not sure where I went wrong.
-
This is a fresh install of Ubuntu as well. When I installed, I created an IT user that has a password. That is separate from the root which I enabled after the install. When I tried to enter the commands you put above, I was always asked to enter the IT password even though I am logged on as root. Could that of had to do with anything?
-
I used a different IP address then the default they recommended. I am also connected to a router on my home network but that should have nothing to do with locally connecting to the fog console right? I am unable to access it even if I disconnect all network connections. I know I have the IP right since I get the “It works!” page.
-
[code]tail -100f /var/log/apache2/error.log[/code]
Keep the terminal running.
Try accessing the page:
192.168.1.5/fogDoes it try to redirect you to: 192.1.68.1.5/fog/commons/index.php?redir=1 ?
-
Thanks for the reply but I am already reinstalling. It should not be this hard so something must of went wrong. I’ll let you know if I still have this issue after reinstalling.
Thanks,
Justin
-
This post is deleted! -
which version of Ubuntu, and did you make sure to update the system before you run the FOG installer? (sudo apt-get update, sudo apt-get upgrade)