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

FTP Connection to storage server has failed

Scheduled Pinned Locked Moved
FOG Problems
9
15
12.2k
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.
  • J
    jk117
    last edited by Mar 28, 2012, 12:01 PM

    Hi,
    I have just built a fog server using ubuntu 10.4 64bit and fog 0.32. Everything seems to be fine, but when I upload an image it completes on the blue screen and percentage bar on the pc, then it goes to a black screen and says resizing disks, and then I get an occurring message of FTP Connection to storage server has failed.
    The storage is locally on the server, and it seems to put the uploaded image into a Dev folder with a number for the image.
    I know there is a workaround for this to copy the file to the images folder and rename it, but does anyone have some clear steps of how to fix this problem so that I do not have to manually copy it?

    Thanks

    1 Reply Last reply Reply Quote 0
    • S
      Steve Ropiak
      last edited by Mar 28, 2012, 1:15 PM

      This is of interest to me as I have a similar issue with my Fog 0.32 on Ubuntu 10.4. The image upload appears to go OK, but it never seems to make it to the images folder. Also, when I upload, the task never leaves the queue. Do you see this behavior as well?

      1 Reply Last reply Reply Quote 0
      • J
        jk117
        last edited by Mar 28, 2012, 7:31 PM

        That’s right, it goes to the Dev folder as a temporary filename and the task stays in the task queue.

        What should happen is that fog issues the shutdown command to the PC, and the image is copied back to the image folder with the correct file name.

        I have seen this referenced quite a lot on the forums, but I haven’t seen an answer to this problem. Does anyone know which configuration files I need to check etc.

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          Steve Ropiak
          last edited by Mar 29, 2012, 2:26 PM

          From the outside looking in, it seems my PC never gets the command to shut down, so anything subsequent to that (i.e., placing the image file in the proper folder under the proper name, etc.) doesn’t seem to happen. Our production server is running 0.30. It runs great and we love it. I’m hoping to get 0.32 on line soon or 0.33 when it gets released.

          1 Reply Last reply Reply Quote 0
          • J
            jk117
            last edited by Mar 29, 2012, 9:02 PM

            Hi,
            Has anyone else seen this and is there any solution to the problem? It should be showing messages such as shutting down client, but it doesn’t get that far. The message is very specific, it says FTP Connection to storage server has failed.

            1 Reply Last reply Reply Quote 0
            • S
              Steve Ropiak
              last edited by Mar 30, 2012, 12:57 PM

              I don’t see the FTP error on mine, it just seems to get “stuck”. I do notice in the Active Tasks list that it never moves beyond “Queued” even when it’s running.

              1 Reply Last reply Reply Quote 0
              • J
                jk117
                last edited by Mar 31, 2012, 6:07 PM

                Is anyone else running ubuntu 10.4 64bit with fog 0.32? Should I reinstall using Ubuntu 11?
                Is the recommendation to run 32bit since I don’t have a problem with that version, but will I be able to store my windows 7 64bit images on the 32bit version of Ubuntu?
                Any other suggestions on how to fix the FTP error would also be appreciated.

                Thanks

                1 Reply Last reply Reply Quote 0
                • P
                  Philip S Hall
                  last edited by May 8, 2012, 2:26 PM

                  I encountered this problem and discovered that it was the FTP credentials being used for the storage server.

                  Go to the Storage Management section. list all storage nodes and select the one the one that is being used (in my case it was the ‘default member’).

                  Check the username and password there and make sure there is a corresponding user account on the fog server with the right access priviliges on the images folder shown in fog managment.

                  In my case it was set to username ‘fog’ with a very long password. I don’t know how this ended up as ‘fog’ instead of ‘fogstorage’ but it appeared to have been configured with some randomly generated password.

                  BTW I knew it was an access problem because the fog server’s ‘auth.log’ file showed the authentication error.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian M.
                    last edited by Nov 21, 2012, 8:57 AM

                    Same error here. Changed the password from the user fog (linux user fog) to the password from the linux user fog and now the problem is solved.

                    1 Reply Last reply Reply Quote 0
                    • C
                      chad-bisd Moderator
                      last edited by Nov 30, 2012, 8:14 AM

                      You can avoid most of these errors by NOT making a FOG user when installing the OS. Let the FOG installer create the FOG user and you will not have many issues related to authentication. I have fixed many FOG installations because the admin thought that “fog” would make a great username when installing the OS.


                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                      1 Reply Last reply Reply Quote 0
                      • M
                        Matt Harding
                        last edited by Feb 12, 2013, 8:48 AM

                        I have this problem having migrated my VM server to real hardware. Everything is working fine apart from this one thing. I didnt create a ‘fog’ user but let the installation do it. So the username in storage management for defaultmember says ‘fog’. What user should there be ideally here and how do I make sure I have the right password? Its early for me and I havent even had coffee this morning… the trials we must endure! 😉

                        Thanks guys.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kevin
                          last edited by Feb 12, 2013, 3:26 PM

                          It’s ok to have the Fog user in the defaultmember. The password that you would need would be the same as your tftp password which can be found under Other Settings > FOG Settings > TFTP > FOG_TFTP_FTP_PASSWORD. If you haven’t changed the password for the default FOG user, it will be a long randomly string of letters and numbers.

                          "The quieter you become, the more you are able to hear"

                          New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                          1 Reply Last reply Reply Quote 0
                          • M
                            Matt Harding
                            last edited by Feb 13, 2013, 3:33 PM

                            Thanks. I actually changed it before I got this response to my original user that I set up the ubuntu server with and that worked a treat. I figured it just wanted something with access rights to move the files that had been uploaded. Thanks a lot for the response, I’ll change it just in case it causes a problem down the line.

                            1 Reply Last reply Reply Quote 0
                            • L
                              Leroy Brown
                              last edited by Mar 25, 2015, 10:54 PM

                              FTP connection worked fine, did this get fixed in .32 ever? “[SIZE=13px][FONT=Ubuntu][COLOR=#333333]Failed to delete image file” still happens from the GUI…thanks[/COLOR][/FONT][/SIZE]

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Mar 27, 2015, 10:59 AM

                                [quote=“Leroy Brown, post: 44398, member: 1560”]FTP connection worked fine, did this get fixed in .32 ever? “[SIZE=13px][FONT=Ubuntu][COLOR=#333333]Failed to delete image file” still happens from the GUI…thanks[/COLOR][/FONT][/SIZE][/quote]

                                Are you still running 0.32? We don’t back port changes mostly because too much typically changes between releases to make backporting a feasible option.

                                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

                                256

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project