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

    Ftp_Login() Error - CentOS 6 - Fog 1.2

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    11
    2.0k
    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.
    • O
      orion
      last edited by

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

      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.

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

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

        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 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Also: https://wiki.fogproject.org/wiki/index.php?title=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
          • O
            orion2
            last edited by

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

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

              Mind seeing if you are good to go now?

              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
              • O
                orion
                last edited by orion

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

                Disk Space:
                0_1485445250524_diskSpace.png

                Permissions:
                0_1485445259354_Permissions.PNG

                Error:
                0_1485445266682_Error.PNG

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

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

                  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
                  • O
                    orion
                    last edited by

                    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.

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

                      It looks like the password is not even set.

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

                      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
                      • S
                        Sebastian Roth Moderator
                        last edited by

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

                        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
                        • O
                          orion
                          last edited by

                          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!

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post

                          232

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project