FTP login error



  • Before you send me to the FAQ page for FTP login issues, I have already been there.

    I have 1 storage node that will not replicate because of an FTP login. The FAQ page is not detailed enough and is a bit confusing about which password goes where…

    I have 2 boxes

    Box1 = Main fog server
    Box2 = Storage node

    Under Storage Management, I click on my Storage Node (Box2), at the bottom is a “Mangement Username & Management Password”

    Is have in there as username “fog” and password the long one from Box2’s .fogsettings file.

    Is this correct? Also, if it is correct, then where do I go to fix the FTP login???



  • @tom-elliott That’s also at the very-tip-top of the ftp troubleshooting article, too. Saying that the problem is usually credentials, so go look at that first.

    Also, this is the only FAQ that I could find (that I didn’t even know existed until now): https://wiki.fogproject.org/wiki/index.php?title=FAQ but there is no mention of FTP in there. I think that page should just be deleted since this information is covered in other places.


  • Senior Developer

    Just a show here:
    https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Credentials_.2F_Passwords

    Notice it tells you everything you are saying we need to add.

    I’d also like to know what Wiki page you’re referring to that we shouldn’t refer you to, as well the ‘forums’ you found the correct answer on.

    I’m happy that you solved your issue, but I’m finding a hard time knowing where the issue was with the wiki (when I don’t know what wiki page you were looking at.)


  • Senior Developer

    @vince-villarreal I’m confused. The information you’re saying IS in the wiki. The only difference is the password you’re using, in which this could be any password.



  • Mark it as solved and please add this to the “FTP troubleshooting FAQ page”…

    I found another forum with the same issue i was having.

    You have to open terminal type: passwd fog
    Then change password to: P@ssw0rd
    Login to webGUI, storage management, go to storage node, management password set to P@ssw0rd
    Open terminal ON STORAGE NODE type: vi /opt/fog/.fogsettings
    change the password in there to P@ssw0rd

    now that all 3 match, it works… Please adjust your FAQ accordingly



  • @vince-villarreal What version of FOG and what OS is the master FOG server running on?



  • @tom-elliott Ok. So that is setup correctly. Now how do I go about fixing the FTP login issue in my Image Replicator Log?

    I have one image that will not replicate to my storage node because of an “FTP login error”…

    [05-10-18 8:25:20 pm] * Starting Image Replication.
    [05-10-18 8:15:20 pm] * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.4.11.114, Username: fog


  • Senior Developer



  • @tom-elliott

    This is my log from Image Replicator

    [05-10-18 8:25:20 pm] * Starting Image Replication.
    [05-10-18 8:15:20 pm] * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.4.11.114, Username: fog

    How do I find out what the Storage Node FTP login is???

    Is this what the "username=‘fog’ and password=‘longasspw’ " is for ?


  • Senior Developer

    What error are you having? Ftp login error isn’t very descriptive. Have you actually tried using the credentials to login to the machine you seem to be having issues with? This is why the wiki is there. What’s confusing about the wiki so maybe we can fix it to be less confusing. The FAQ is there for a reason, and there’s a reason we suggest using it. You said you’ve been there but what do you mean by this? You read the info and decided it doesn’t fit the issue?


Log in to reply
 

440
Online

6.2k
Users

13.6k
Topics

128.0k
Posts