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

Cant access management portal

Scheduled Pinned Locked Moved Solved
FOG Problems
4
34
8.2k
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.
  • C
    CoxM
    last edited by Feb 6, 2018, 3:35 PM

    Hey all,
    My FOG has been running great for some time. Recently we had some drama on the network (long story!) which meant we have to just turn off FOG asap, no grace nothing, just end the VM. This had to be done due to domain membership changes.

    I have now started the server again with a disabled virtual network card so that I can go in and adjust the AD domain details. unfortunately even going to 127.0.0.1 it wont load the portal. I just get a blank white screen.

    Any thoughts?
    Thanks

    1 Reply Last reply Reply Quote 0
    • C
      CoxM
      last edited by Feb 6, 2018, 3:37 PM

      Just to add to this issue

      When I type in 127.0.0.1/fog/management it changes the url to 127.0.0.1/fog/management/?node=schema

      If i disable the apache2 service it doesn’t change the url, restart it and it does again so something is working right, just not showing me the portal!

      K 1 Reply Last reply Feb 14, 2018, 4:13 PM Reply Quote 0
      • C
        CoxM
        last edited by Feb 6, 2018, 3:51 PM

        also found the mysql service is not running and failing to start, should it be running?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Feb 6, 2018, 4:00 PM

          @CoxM Yes mysql should definitely be running. What version of FOG and which Linux do you use? Please post the errors here and we sure can help.

          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

          C 1 Reply Last reply Feb 6, 2018, 4:27 PM Reply Quote 0
          • C
            CoxM @Sebastian Roth
            last edited by Feb 6, 2018, 4:27 PM

            @sebastian-roth Here is what I am getting
            1_1517934440848_fog2.JPG 0_1517934440847_fog1.JPG image url)

            T 1 Reply Last reply Feb 6, 2018, 5:02 PM Reply Quote 0
            • T
              Tom Elliott @CoxM
              last edited by Feb 6, 2018, 5:02 PM

              @coxm What’s output of:

              df -h
              

              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

              C 1 Reply Last reply Feb 6, 2018, 5:19 PM Reply Quote 0
              • C
                CoxM @Tom Elliott
                last edited by Feb 6, 2018, 5:19 PM

                @tom-elliott 0_1517937586714_fog3.JPG

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Feb 6, 2018, 5:33 PM

                  What’s output of systemctl status -l mysql

                  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

                  C 1 Reply Last reply Feb 7, 2018, 11:26 AM Reply Quote 0
                  • C
                    CoxM @Tom Elliott
                    last edited by Feb 7, 2018, 11:26 AM

                    @tom-elliott 0_1518002804739_fog4.JPG

                    C 1 Reply Last reply Feb 7, 2018, 1:39 PM Reply Quote 0
                    • C
                      CoxM @CoxM
                      last edited by Feb 7, 2018, 1:39 PM

                      @Tom-Elliott I have ow had some progress, turns out MySQL wouldn’t start due to the local nic being disabled and therefore couldn’t bind. This is now resolved but still I get an empty white screen from the fog management url.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Feb 7, 2018, 5:06 PM

                        @CoxM Check the apache logs. See my signature on where to find those.

                        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

                        C 1 Reply Last reply Feb 14, 2018, 11:13 AM Reply Quote 0
                        • C
                          CoxM @Sebastian Roth
                          last edited by Feb 14, 2018, 11:13 AM

                          @sebastian-roth @Tom-Elliott
                          thanks for the help, I was out the office for a few days but back now and really need to get this sorted… Apache2 error…
                          0_1518606827689_fog5.JPG

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Feb 14, 2018, 11:31 AM

                            @CoxM Check out this article in our wiki: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

                            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

                            C 2 Replies Last reply Feb 14, 2018, 11:32 AM Reply Quote 0
                            • C
                              CoxM @Sebastian Roth
                              last edited by Feb 14, 2018, 11:32 AM

                              @sebastian-roth Thanks, any pointers what to look for, there is alot of info on that link.

                              1 Reply Last reply Reply Quote 0
                              • C
                                CoxM @Sebastian Roth
                                last edited by CoxM Feb 14, 2018, 6:17 AM Feb 14, 2018, 12:16 PM

                                @sebastian-roth That doesn’t seem to have resolved it.
                                Do you think its still a mysql issue? The MySQL error appears to have gone away and the service has started. I ran the repair sql command but all came back with status of ok.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Feb 14, 2018, 2:30 PM

                                  @CoxM But from the apache error look it seems like the mysql connection information (username, password) do not match. Check /opt/fog/.fogsettings plus /var/www/fog/lib/fog/config.class.php for mysql connection info. Then try to connect to the database using the command line tool as described in the wiki page to see if the credentials are correct.

                                  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

                                  C 1 Reply Last reply Feb 14, 2018, 3:11 PM Reply Quote 0
                                  • C
                                    CoxM @Sebastian Roth
                                    last edited by Feb 14, 2018, 3:11 PM

                                    @sebastian-roth ok cool, that makes sense. Where can I take the correct sql credentials from? .fogsettings?

                                    Thanks,

                                    Matt

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Feb 14, 2018, 3:15 PM

                                      @CoxM Those all need to match up! .fogsettings is what the installer uses, config.class.php is used by the web UI… (and should be generated by the installer).

                                      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

                                      C 3 Replies Last reply Feb 14, 2018, 3:28 PM Reply Quote 0
                                      • C
                                        CoxM @Sebastian Roth
                                        last edited by Feb 14, 2018, 3:28 PM

                                        @sebastian-roth Thanks. I did have some issues with username and password matching when configuring a new storage node but it still worked after that.

                                        I can see in .fogsettings I have the username and password field which appears to be what I use to login to the fog web ui. then there is snmysqluser, snmysqlpass and snmysqlhost. currently thats “root”, blank and “localhost”. Is that correct?

                                        Any further guidance this would be amazing.

                                        Thanks,

                                        Matt

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          CoxM @Sebastian Roth
                                          last edited by Feb 14, 2018, 3:32 PM

                                          @sebastian-roth
                                          This is what happens when using the username “root” and the same password as I would use to log into the fog web ui
                                          0_1518622322448_fog6.JPG

                                          Tom ElliottT 1 Reply Last reply Feb 14, 2018, 4:20 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            3/34
                                            Last post

                                          192

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project