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

    FTP_Login() Failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    7
    2.9k
    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.
    • G
      George Katsigiannis
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        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

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • J
          JoeCT
          last edited by

          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.

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @JoeCT
            last edited by

            @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

            1 Reply Last reply Reply Quote 1
            • G
              George Katsigiannis
              last edited by George Katsigiannis

              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!

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @George Katsigiannis
                last edited by Wayne Workman

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

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  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.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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
                  • First post
                    Last post

                  153

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project