SOLVED Ftp_Login() Error - CentOS 6 - Fog 1.2

  • Server
    • FOG Version: FOG 1.2.0
    • OS: CentOS 6.x
    • Service Version: Any client - we can’t assign task
    • OS:

    My client is running a FOG server as above - and it had been working fine up until late last week. He tells me no changes have been made.

    We get the FTP_Login() error when we try to assign a basic task to a host - we don’t get it mid-task as I’ve seen other posts reference we get it straight away.

    From a windows 7 machine I have no issues FTPing into the VSFTP service on the CentOS box using the credentials I’ve setup.

    I’ve stepped through the entire “FTP Troubleshooting” page and made sure that my CentOS user has the same credentials as the Storage Management settings, and the TFTP Server settings.

    I’m looking for any insight that I can get at this point.

  • This issue is resolved.

    We had the credentials correctly stored in Storage Manager.

    After a reboot the partition that had the images’ directory wasn’t mounting correctly and thus couldn’t reached via FTP. Once we made sure that was mounting correctly everything started working.

    Thanks for your help!

  • Senior Developer

    Possibly a space character that made it into the username or password field?

  • Senior Developer

    It looks like the password is not even set.

    Please check your storage node(s) Management Username/Password fields.

  • Hi Wayne, as I said in my OP I can manually connect via FTP from a Windows 7 machine without any problems. Using the same password that the FTP_Login() error is telling me it is using.

    Thanks again for your help.

  • @orion It looks like there isn’t a password being passed, or the password is wrong. Have you did the testing section of the FTP Troubleshooting? Where you actually manually connect via FTP to confirm all is well?

  • Pictures that I wasn’t able to get in my earlier post, here:

    Disk Space:



  • Senior Developer

    Mind seeing if you are good to go now?

  • [My other account can’t post anything because it’s flagged as spam, even without any links.]

    So, I have plenty of disk space. (Using 19%)
    My permissions should now be fine if they weren’t before. (Ran sudo chown fog)

    Still seeing this error when I try to assign a task.

    Like I said in the OP, I’ve stepped through that troubleshooting FTP page. Confirmed firewall disabled, storage management paths are correct, can ftp from remote machine, interface is accurate, etc.

    Thanks for your help.

    I have pictures for each of the steps above but I don’t want to get marked as spam again.

  • Senior Developer

    Disk space? Permissions? /home/fog actually exists?