• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Unable to access the FOG URL(remote user interface)

Scheduled Pinned Locked Moved
FOG Problems
5
25
18.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JustinGSEIWI
    last edited by Apr 18, 2014, 8:21 PM

    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

    1 Reply Last reply Reply Quote 0
    • B
      BPSTravis Developer
      last edited by Apr 18, 2014, 8:34 PM

      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”

      1 Reply Last reply Reply Quote 0
      • J
        JustinGSEIWI
        last edited by Apr 18, 2014, 8:38 PM

        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

        1 Reply Last reply Reply Quote 0
        • B
          BPSTravis Developer
          last edited by Apr 18, 2014, 8:39 PM

          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.

          1 Reply Last reply Reply Quote 0
          • J
            JustinGSEIWI
            last edited by Apr 18, 2014, 8:41 PM

            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.

            1 Reply Last reply Reply Quote 0
            • B
              BPSTravis Developer
              last edited by Apr 18, 2014, 8:44 PM

              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.

              1 Reply Last reply Reply Quote 0
              • J
                JustinGSEIWI
                last edited by Apr 18, 2014, 8:45 PM

                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’

                1 Reply Last reply Reply Quote 0
                • B
                  BPSTravis Developer
                  last edited by Apr 18, 2014, 8:48 PM

                  Are those the last 14 lines of the log or the first 14?

                  The newest are at the bottom, not the top.

                  1 Reply Last reply Reply Quote 0
                  • J
                    JustinGSEIWI
                    last edited by Apr 18, 2014, 8:49 PM

                    They are the entire log. I’ll check again to make sure but I did control A to select all.

                    1 Reply Last reply Reply Quote 0
                    • B
                      BPSTravis Developer
                      last edited by Apr 18, 2014, 8:50 PM

                      Can you make sure the mysql service is running?

                      “sudo /etc/init.d/mysql start”

                      1 Reply Last reply Reply Quote 0
                      • J
                        JustinGSEIWI
                        last edited by Apr 18, 2014, 8:50 PM

                        Yes that is the entire /var/log/apache2/error.log.

                        1 Reply Last reply Reply Quote 0
                        • J
                          JustinGSEIWI
                          last edited by Apr 18, 2014, 8:52 PM

                          I entered that command and it said it started but still can’t access the FOG console.

                          1 Reply Last reply Reply Quote 0
                          • B
                            BPSTravis Developer
                            last edited by Apr 18, 2014, 8:53 PM

                            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”?

                            1 Reply Last reply Reply Quote 0
                            • J
                              JustinGSEIWI
                              last edited by Apr 18, 2014, 8:54 PM

                              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.

                              1 Reply Last reply Reply Quote 0
                              • J
                                JustinGSEIWI
                                last edited by Apr 18, 2014, 8:57 PM

                                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?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  JustinGSEIWI
                                  last edited by Apr 18, 2014, 9:07 PM

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by Apr 18, 2014, 9:29 PM

                                    [code]tail -100f /var/log/apache2/error.log[/code]

                                    Keep the terminal running.

                                    Try accessing the page:
                                    192.168.1.5/fog

                                    Does it try to redirect you to: 192.1.68.1.5/fog/commons/index.php?redir=1 ?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      JustinGSEIWI
                                      last edited by Apr 18, 2014, 9:30 PM

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        BPSTravis Developer
                                        last edited by Apr 18, 2014, 9:34 PM

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chad-bisd Moderator
                                          last edited by Apr 21, 2014, 3:04 PM

                                          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)


                                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 2 / 2
                                          2 / 2
                                          • First post
                                            4/25
                                            Last post

                                          145

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project