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

    FOG FTP login failed (?)

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    5
    9
    4.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.
    • C
      cnaud86
      last edited by

      • I installed several times FOG version 1.2 under Ubuntu 14.04 (desktop) just to be sure. I followed various tutorials (same steps more or less) : appropriate permissions, fog user, move images etc.

      • Fog worked perfectly right 😆 : importing of hosts, doing inventory, cloning of either Linux Ubuntu 12.04 or Windows 7 using the single disk multiple partitions mode, renaming of hosts etc.

      • The only problem I answered with a script was to restart each new graphical session the mysql service (or I got a message to update the database again and again on the login webpage each session) and the tftpd-hta one (apparently too fast to start).

      A few days ago and I setup things again today, I got the following error and still have it now : try cloning a w7 single disk resizable, 99,7% done (fog web interface / I destroy all the images so I have enough place on the harddisk)…

      [When I check what’s happening with the help of a terminal, I can see a temporary cloning in /home/images/dev done by root:root]

      … Then on the cloned PC, a fog FTP login error appears (with the password…) again and again.

      I check : https://wiki.fogproject.org/wiki/index.php/Unable_to_connect_to_TFTP but…

      Thanks in advance,

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

        I think you might be suffering from a problem that affects a few newer-ubuntu platforms with 1.2.0.

        There’s a fix for it in here.

        https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL

        And, for the record, there’s an article on troubleshooting FTP too. 😉 Use the WiKi’s search feature, type in the word “Troubleshoot” and see what pops up.

        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
        • C
          cnaud86
          last edited by cnaud86

          1. Thanks for the fix about MYSQL. I’ve just followed the advice and it looks OK (no more asking for upgrading the DTB).

          2. I did have a look at the forums about FTP. For the moment, it is not solving the “Error: ftp_login”.

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

            Do a cat /etc/passwd and see if the output looks like this:

            fog:x:1001:1001::/home/fog:
            

            If it does, there is no shell associated with the user. As root, try the following:

            chsh -s /bin/bash fog
            

            Let me know if that fixes it for you!

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

              @cnaud86 said:

              1. I did have a look at the forums about FTP. For the moment, it is not solving the “Error: ftp_login”.

              I was referring to this 😉
              https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
              Look at the credentials section.

              What @Trevelyan posted looks like great stuff though. I’ve made note of his post.

              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
              • C
                cnaud86
                last edited by

                Hi to all,
                Thanks for your help. I finally gave up with the 14.04 Ubuntu version, too unstable for the moment with fog.
                I set up fog 1.2 with Ubuntu 12.04 and it is working perfectly (no need to restart services etc.) except one problem I cannot possibly manage with.
                I’m cloning my 1st image (Windows 7 resizable). The cloning is OK (not stuck into the dev folder, can connect to the ftp with the fog user…). I can find the image done with the appropriate name into the images folder. (I move the images folder into the /home/fog/ folder).

                However the image size through the webinterface is 0 + root:root permissions on it despite the fact it is here in the images folder and cloned properly…

                Any help again welcome… Thanks

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

                  @cnaud86 said:

                  However the image size through the webinterface is 0

                  have you tried to download the image ? If you have a size 0 it’s a FTP login problem.

                  1 Reply Last reply Reply Quote 1
                  • C
                    cnaud86
                    last edited by

                    I insist. The image is done, 1st into /dev then moved and available into images with the appropriate name and size. But through the webinterface, size = 0 depsite the storagenode shows me there is less space available.

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

                      @cnaud86 What @ch3i is saying, is it’s still an FTP issue. You manually moving things around, or not, means it is most likely an FTP problem even still. That said, if all of the stuff is “working” automatically, there is still the chance that FTP just can’t read the file size as you would like.

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

                      190

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project