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

Fogftp login failed

Scheduled Pinned Locked Moved
FOG Problems
6
36
28.8k
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.
  • W
    Wayne Workman @kortnor
    last edited by Mar 13, 2016, 8:58 PM

    @kortnor Can you try to manually FTP into the fog server from a remote computer using the credentials you have inside storage management? What happens?

    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/

    K 1 Reply Last reply Mar 14, 2016, 7:24 AM Reply Quote 0
    • K
      kortnor @Wayne Workman
      last edited by kortnor Mar 14, 2016, 1:29 AM Mar 14, 2016, 7:24 AM

      @Wayne-Workman
      Hello wayne,

      I’ve been able to make a remote connection with ftp hereunder the extraction of the information

      [root@pla pla]# ftp
      ftp> open 10.10.0.15
      Connected to 10.10.0.15 (10.10.0.15).
      220 (vsFTPd 3.0.2)
      Name (10.10.0.15:root): fog
      331 Please specify the password.
      Password:
      230 Login successful.
      Remote system type is UNIX.
      Using binary mode to transfer files.
      ftp> cd /images
      250 Directory successfully changed.
      ftp> ls
      227 Entering Passive Mode (10,10,0,15,119,3).
      150 Here comes the directory listing.
      drwxrwxrwx    3 1001     0              41 Mar 13 16:45 dev
      -rw-r--r--    1 1001     1001         2629 Mar 13 20:24 file.pcap
      drwxrwxrwx    2 1001     0              29 Mar 13 12:59 postdownloadscripts
      226 Directory send OK.
      ftp> cd dev
      250 Directory successfully changed.
      ftp> ls
      227 Entering Passive Mode (10,10,0,15,139,245).
      150 Here comes the directory listing.
      drwxrwxrwx    2 1001     0              87 Mar 13 17:06 288023fd45ae
      226 Directory send OK.
      ftp> cd 288023fd45ae
      250 Directory successfully changed.
      ftp> ls
      227 Entering Passive Mode (10,10,0,15,207,231).
      150 Here comes the directory listing.
      -rwxrwxrwx    1 1001     0               0 Mar 13 18:42 d1.has_grub
      -rwxrwxrwx    1 1001     0         1048576 Mar 13 18:42 d1.mbr
      -rwxrwxrwx    1 1001     0             313 Mar 13 18:42 d1.partitions
      -rwxrwxrwx    1 1001     0        2027153647 Mar 13 18:54 d1p1.img
      -rwxrwxrwx    1 1001     0             136 Mar 13 18:54 d1p2.img
      226 Directory send OK.
      
      

      I can see that the image has been created ( at least I think so based on the code here above)

      When try to download the stored images within dev/288023fd45ae the vm retrive the related error

      0_1457940537654_extract.png

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth Mar 14, 2016, 4:31 AM Mar 14, 2016, 10:28 AM

        @kortnor The image currently uploaded is put in /images/dev/<mac-address> and will be moved to /images/<img-name> at the end of the upload process (probably where you see the FTP login error). You can move the directory by hand if you like (mv /images/dev/<mac-address> /images/<img-name>) but you’d still want to find out what’s wrong with the FTP settings! Please check that username and password of the FTP user (you were able to successfully login via FTP as we see) match the storage management password and username fog and the tftp password under the web ui in fog settings! As you see in the old post there where whitespaces cause trouble. Please double check all the settings!

        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

        Q K 2 Replies Last reply Mar 14, 2016, 10:32 AM Reply Quote 2
        • Q
          Quazz Moderator @Sebastian Roth
          last edited by Mar 14, 2016, 10:32 AM

          @Sebastian-Roth It’s likely caused by the autofill feature of certain browsers, would it be possible to add that to the wiki so people are aware that every time they make changes to the storage nodes that they have to enter their actual password?

          1 Reply Last reply Reply Quote 1
          • W
            Wayne Workman
            last edited by Mar 14, 2016, 12:15 PM

            SELinux is another thing to check, as well. And as Sebastian and Quazz mentioned, many people get bitten by their browser’s Auto-Fill functionality.

            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
            • K
              kortnor @Sebastian Roth
              last edited by Mar 14, 2016, 2:25 PM

              @Sebastian-Roth
              I’ve copy the /image/<mac> to /images/<images in image management >
              It appears it does something really quick on the client side, then delete the task in the task management. but he hasn’t upload the images ( in /image/ )

              also, I’ve checked the user within the gof ui and they are correct. I also added some space in front of the pwd and it refkect directy on the client side ( on the error shown on the screen) So i don’t think its on the ui that there is a problem

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Mar 14, 2016, 10:59 AM Mar 14, 2016, 4:51 PM

                @kortnor Any tricky special characters in your password? Tom has done a lot to handle all sorts of characters correctly but you never know…?!?

                You are saying that you use FOG 1.2.0 - is this the version number you see in the blue cloud on the web interface? If you really use 1.2.0 I am totally lost with this. Hundreds of people are using FOG 1.2.0 and the image moving via FTP should definitely work - if password/user is correct. I am wondering what else we can do to help you find out what the issue is. Maybe you set a really easy password just for testing and give it a try.

                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

                K 2 Replies Last reply Mar 14, 2016, 7:17 PM Reply Quote 0
                • K
                  kortnor @Sebastian Roth
                  last edited by Mar 14, 2016, 7:17 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • K
                    kortnor @Sebastian Roth
                    last edited by Mar 14, 2016, 7:55 PM

                    @Sebastian-Roth
                    first, thank you Sebastian for your time
                    I’ve completly alligned the password everywere I guess related to the fog user.
                    However I still have the same issue at the end. Can somebody tell me if I’ve missed a paramater? also, I can from a distant client make a ftp connection and connect the the fog server and put get and co ( epxlained in reply earlier in this topic)
                    I’m kind of lost

                    OS layer
                    [root@localhost ~]# echo “fog:password” | chpasswd

                    user management
                    0_1457985117837_usermanagement.jpg
                    tftp server
                    0_1457985138980_tftp.jpg
                    storage management
                    0_1457985155350_storagemngt.jpg

                    error from client VM
                    0_1457985209733_centoserror.jpg

                    T 1 Reply Last reply Mar 14, 2016, 8:30 PM Reply Quote 0
                    • T
                      Tom Elliott @kortnor
                      last edited by Mar 14, 2016, 8:30 PM

                      @kortnor The only other place you would need to change the password is on the actual fog server.

                      You have to do this to the local user. It’d be better to do:

                      echo -e "password\npassword\n" | sudo passwd fog (or very similar)

                      I’d usually just do:
                      sudo passwd fog

                      and manually type the password. I don’t know that chpasswd will fix that because isn’t chpasswd for domains?

                      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

                      W 1 Reply Last reply Mar 14, 2016, 8:32 PM Reply Quote 1
                      • W
                        Wayne Workman @Tom Elliott
                        last edited by Mar 14, 2016, 8:32 PM

                        @Tom-Elliott I remoted in and was able to confirm all his FTP settings, and verify it worked.

                        Then I found out he has PHP 7 installed. I recommended updating to trunk, and explained the pros/cons of it. He’s going to give it a go.

                        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
                        • S
                          Sebastian Roth Moderator
                          last edited by Mar 15, 2016, 12:05 AM

                          This is really strange! Can we get a tcpdump/wireshark packet dump of the FTP connection when the errors show up after upload?? Just to make sure FOG is sending the correct user/password to the FTP daemon.
                          @kortnor The easiest to get a good packet dump of this is probably using tcpdump on the FOG server. Install tcpdump package (yum, dnf, apt-get, aptitude, …) and let your client do the upload. Prepare everything and as soon as you get the first ftp_login message on screen fire up tcpdump -i eth0 -w ftp_issue.pcap host 10.10.0.x (where 10.10.0.x must be your client’s IP address!). After you have seen the error messages for five times you can stop tcpdump (Ctrl+c). Please upload the PCAP file here in the forum!

                          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

                          W 1 Reply Last reply Mar 15, 2016, 12:15 AM Reply Quote 1
                          • W
                            Wayne Workman @Sebastian Roth
                            last edited by Wayne Workman Mar 14, 2016, 6:17 PM Mar 15, 2016, 12:15 AM

                            @Sebastian-Roth I’m in the habit now of looking at what is stored in the DB for the nfsGroupMembers table. His credentials stored there worked for connecting to the fog server via FTP. 😕

                            I also checked firewall and SELinux. Both were disabled.

                            Only thing I could see that was different and unusual was PHP 7.

                            That said - I don’t disagree with a packet capture.

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

                            164

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project