Issue with ftp_login on CentOS 7, FOG 1.2.0



  • Hey all,
    I recently have been working on setting up a FOG server with CentOS 7 and I’ve run into multiple issues, most of which have been fixed. At this point, what I have right now is an issue with the end of my first upload. Everything goes great until right at the end, where I get an error like this: ftp_login(): please specify the password. My best guess is it has something to do with reporting back the size of the image to the server, but I’m not sure. Either way, it prevents the image upload from fully completing. I’ve configured the password in TFTP settings for FOG, verified the fog user exists, checked FTP with a test file, and I’ve verified the service is running. At this point I’m totally lost, as I’m not that strong of a Linux user. We are using FOG’s DHCP server, if that makes any difference. Feel free to ask for any information I might have missed, and thanks in advance for your help.


  • Moderator

    @Joseph-Hales said:

    As I understand it 4 things need to match the Operating system password for the fog user, the storage management password and username fog, the tftp password under the web ui in fog settings and finally the storageftpuser / storageftppassword in the /opt/fog/.fogsettings file. After they all match restart the fog services or just reboot the server.

    #credentials

    Been meaning to make a list anyways…


  • Testers

    As I understand it 4 things need to match the Operating system password for the fog user, the storage management password and username fog, the tftp password under the web ui in fog settings and finally the storageftpuser / storageftppassword in the /opt/fog/.fogsettings file. After they all match restart the fog services or just reboot the server.


  • Developer

    you say that you’ve “configured the password in TFTP settings for FOG” but have you made sure the username and password are correct in the storage management settings? those are what matter for the ftp operations used in imaging processes.



  • @Tom-Elliott, I’ll be sure to try that when I’m able to. Will let you know how it goes. Thanks to you and @Wayne-Workman for the help.


  • Senior Developer

    Sorry about the short response. I was limited to cell phone for a moment. I was not at all intending to sound rude or anything.

    I ask you to upgrade to trunk @sam-karateman because I didn’t get to work on anything RH 7 or higher until about 2921 when @Wayne-Workman was needing assistance with Fedora 21.

    If you can upgrade, I’m fairly sure all will work as you require it to.


  • Moderator

    @sam-karateman said:

    Will I need to re-configure any settings once I moved, or should they largely stay intact?

    There is a installation settings file on your FOG server. It contains the choices you made during install.

    All versions of FOG (that I know of) look for that file, and use it if it’s found.
    DB data isn’t removed at all, it just gets an updated scheme (shuffled around a little).

    But, do this anyways beforehand:
    FOG Configuration -> Configuration Save -> Export.
    That’ll dump your entire DB. I recommend it just for safe-keeping reasons.



  • Will I need to re-configure any settings once I moved, or should they largely stay intact?


  • Moderator

    @sam-karateman

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

    Trunk is the current developmental release of FOG. You’ll find a plethora of bug fixes, wider range of supported hardware, and about a 70% to 100% speed increase in download/upload. Although, it’s developmental. There might be unexpected bugs, but if you report them, Tom (the senior developer) has a long-standing history of smashing found bugs in a matter of minutes.

    I recommend using the SVN method.



  • Using the trunk for FOG? Sorry, I’m not terribly sure which one you meant for me to use there.


  • Senior Developer

    Seeing the tags I’m guessing you used 1.2.0 stable on centos 7? This is why you’re having issues. Please try svn trunk of you want some better success.



378
Online

38976
Users

10712
Topics

101675
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.