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

Database connection unavailable - Login incorrect on FTP and Ubuntu

Scheduled Pinned Locked Moved Solved
FOG Problems
database login incorrect ftplogin ubuntu 16.04
2
4
667
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.
  • D
    DeRo93
    last edited by May 22, 2019, 10:08 AM

    Hello Guys,

    i have a problem and i hope that you guys can help me with that issue.
    I´m new at FOG and didnt install the System.

    I tried to connect to the FOG WebInterface today and got the following Error:

    “Database connection unavailable”

    After that i tried to login via FTP to the FOG Server.
    But now im not able to login because the Server tells me that i entered an incorrect password.
    When i open the Ubuntu FOG VM he is asking me for the FOG Login and Password.
    I entered the FOG Management User and Password and getting an incorrect password error.

    I´m not able to access any FOG Services. Is the Password Issue because of the lost Connection to the Database?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 22, 2019, 10:55 AM

      @DeRo93 I think we need to clear up some things here first. In FOG we have a couple of different accounts that you should be aware of and not mix up.

      • Web UI login: This is an account within the database. So the password is usually different to the one you login via FTP!
      • FTP login: This is a local Linux user account (called fogproject since 1.5.6 and fog in prior versions). It’s meant to be a system service account and shouldn’t be used to login via shell or GUI at the machine.
      • Database “login”: FOG needs to talk to the database and uses credentials for that as well. Those are usually behind the scenes and you shouldn’t need to bother about those. But in this case I guess we need to look into this as well.

      But first let’s see if we can get access to the machine again.

      When i open the Ubuntu FOG VM he is asking me for the FOG Login and Password.

      Can you please take a picture of that on screen and post here so we get an idea.

      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
      • D
        DeRo93
        last edited by May 22, 2019, 11:11 AM

        Thank you for the response @Sebastian-Roth

        I solved the Issue!

        I looked again for all Credentials i have for the FOG Server.
        After i got the right Credentials to login into the Linux System I used this Tutorial:

        https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

        But maybe you can tell me if this happened because the Ubuntu Server did an Upgrade or something?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 22, 2019, 11:34 AM

          @DeRo93 said in Database connection unavailable - Login incorrect on FTP and Ubuntu:

          But maybe you can tell me if this happened because the Ubuntu Server did an Upgrade or something?

          Probably yes. But you may check the update log in /var/log/apt/history.log…

          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
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          156

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project