Database connection unavailable - Login incorrect on FTP and Ubuntu



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


  • Developer

    @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



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


  • Developer

    @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.



361
Online

6.3k
Users

13.7k
Topics

129.0k
Posts