FTP_Login() Failed



  • Hello everybody,

    I’m having an issue here with my FOG server and I have been checking the forums for people experiencing similar issues. I have checked all passwords, both GUI and server side as directed on previous posts and still having the issue. I checked the Storage management password, TFTP password, Storage FTP password and still no luck. Every time I uploaded an image it would state, “task complete” and after about 5-10 seconds it would display Error: ftp_login() failed and it keeps repeating itself. Not sure what is wrong exactly but there is one thing I did notice. Under my define (‘DATABASE_PASSWORD’) server side, it remains blank but I can still access the GUI without issue but once I input a password (server side) and try loading the GUI I get an error saying “Unable to connect to database” and once I delete the password I am able to log in. I feel this may be causing the issue because once I add a password the current system that was being uploaded than goes from the error to a repeating " *." What am I missing? Currently running it on Ubuntu Server with FOG 1.0.

    Thank you


  • Senior Developer

    Actually,

    I added checks to know when you need the seccomp_sandbox=NO settings. It will not add this item for versions of VSFTPD that do not allow this setting. This is only viable for dev/trunk versions though as I was not aware of this requirement when we first released 1.2.0.


  • Moderator

    @George-Katsigiannis said:

    I did have one question though, when I looked at the vsftpd.conf file I noticed that I didn’t have the seccomp_sandbox. I added it but I’m curious, what exactly does that command/function do?

    That setting was found to be required with FOG Trunk 2922 and Fedora 21. I’m not sure if it’s needed in Ubuntu or not… Tom probably had the installer just start adding that to everything to be safe.

    It wouldn’t be there from the 1.2.0 installation.



  • Thank you for that link Wayne. After looking through it I found that my problem was in the .fogsettings file. That password did not match any passwords that I had set. Once I changed the password it took my test image without issue. I did have one question though, when I looked at the vsftpd.conf file I noticed that I didn’t have the seccomp_sandbox. I added it but I’m curious, what exactly does that command/function do?

    Thanks again everyone!


  • Moderator

    @JoeCT said:

    I am having the exact same problem. I am using Centos 6.5 Fog 1.2.0. Passwords have all been confirmed. Ftp is working with the fog and fog created password from a windows client, can create, copy to and read from ftp:\images folder. Folder access rights look correct and seem to be working.

    Something is not working after the image successfully creates. Also after the failure under image management I see the image but get a fogftp:login failed username fog Password (system generated password). Error also happens when I try to delete the created image from the image management screen. Image will not delete.

    Hi, Your FTP password in web UI musb be the unix fog user password. As @Wayne-Workman said it, please check https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP



  • I am having the exact same problem. I am using Centos 6.5 Fog 1.2.0. Passwords have all been confirmed. Ftp is working with the fog and fog created password from a windows client, can create, copy to and read from ftp:\images folder. Folder access rights look correct and seem to be working.

    Something is not working after the image successfully creates. Also after the failure under image management I see the image but get a fogftp:login failed username fog Password (system generated password). Error also happens when I try to delete the created image from the image management screen. Image will not delete.


  • Moderator

    FOG 1.0 ? Can you upgrade to 1.2.0 ?

    And make sure your firewall is off.

    Also, make sure that your FTP credentials even work by trying to manually connect via FTP and grab a random file. Here are the instructions for that: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP


Log in to reply
 

434
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.