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

    Invalid Login

    Scheduled Pinned Locked Moved
    General
    2
    12
    4.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.
    • ?
      A Former User
      last edited by

      I installed FOG last week and everything was working fine. However when I tried to log in today I received an invalid login message on the /fog/management page. I have checked config.php and all passwords are still set as the default.

      Any ideas please?

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        What version of FOG? what revision?

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          [quote=“Wayne Workman, post: 45350, member: 28155”]What version of FOG? what revision?[/quote]

          FOG version 1.2.0

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            Have you rebooted since the last time it worked?

            I’d recommend beginning by making sure the various services are running… and I’d check MySQL first.

            [CODE]mysqladmin -u root -p status[/CODE]

            The password will be blank unless you set one.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              These are the responses from the checks, I’m pretty sure I didn’t set a password, but it would have been ‘password’ if I did so I tried that too.

              $ sudo service mysql status
              mysql start/running, process 5318

              $ mysqladmin -u fog -p status
              Enter password:
              mysqladmin: connect to server at ‘localhost’ failed
              error: ‘Access denied for user ‘fog’@‘localhost’ (using password: YES)’

              $ mysqladmin -u fog -p status
              Enter password:
              mysqladmin: connect to server at ‘localhost’ failed
              error: ‘Access denied for user ‘fog’@‘localhost’ (using password: NO)’

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                Try this, as seen here: [url]http://fogproject.org/forum/threads/cant-login-to-management-after-saving-fog-settings.12534/page-2#post-43286[/url]
                [CODE]sudo service apache2 stop;sudo rm -rf /var/lib/php5/sess_*; sudo service apache2 start;[/CODE]

                If that doesn’t work, try this as seen here: [url]http://fogproject.org/forum/threads/cant-login-to-management-after-saving-fog-settings.12534/page-3#post-43757[/url]
                [CODE]mysql -u root fog
                update globalSettings set settingValue=‘1’ where settingKey=‘FOG_INACTIVITY_TIMEOUT’;
                exit;[/CODE]

                Let us know.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  sadly neither worked, FOG_INACTIVITY_TIMEOUT was already set to 1.

                  mysql> update globalSettings set settingValue=‘1’ where settingKey=‘FOG_INACTIVITY_TIMEOUT’;
                  Query OK, 0 rows affected (0.00 sec)
                  Rows matched: 1 Changed: 0 Warnings: 0

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    What I’d like to try next is manually changing (or creating) the WEB user “fog” with password = “password”

                    If we can just get you into the web console, you’re likely able to delete the old user and make a new one.
                    But I’m not sure of the SQL that is needed.

                    I’m going to look through the installation files for 1.2.0, I should be able to find the code that does it…

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      What distro & version of Linux are you running?

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        sorry, I reinstalled Ubuntu and now it works fine. Not an ideal solution but I was under pressure to have it working that evening.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by

                          Thanks for your help anyway

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            Glad you got it working.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            158

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project