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

    Fog 1.2. FOGFTP: Login failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    4
    1.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.
    • D
      dustindizzle11
      last edited by

      I just upgraded a 0.32.server to 1.2, and I cannot seem to figure out why I cannot get ftp working. When displaying all the images in the web interface, I noticed that it gives me the “FOGFTP: Login failed” message for all the images. I also cannot ftp to the server from another linux box, says the password is incorrect. I have gone through the Wiki …(https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP)

      • I have disabled the Firewall

      • I made sure to change the rights on the images directory (sudo chown -R fog:root /images)

      • All the mentioned places below have the same username and password
        The “fog” user for the web interface
        Web Interface -> Storage Management -> My storage node -> Management Username & Management Password
        Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
        The local ‘fog’ user on the Fog Server

      • I also manually edited “/var/www/fog/lib/fog/Config.class.php” to reflect the same values.

      Any ideas as to what could be going wrong? It is acting like the password I am defining is not actually being set somehow. I tried everything I could think of before asking here. Thanks in advance for any help!

      1 Reply Last reply Reply Quote 0
      • D
        dustindizzle11
        last edited by

        UPDATE: This was fixed. The problem was that the local fog user on the machine had no SHELL tied to it. Giving the fog user a shell fixed the FTP problems all around (I have no idea why fog had no shell in the first place). If another person runs into this, you can see if the fog user has a shell by viewing “/etc/passwd”. If the fog user has no shell you will see something like “fog❌1002:1002::/home/fog:”. I simply edited the passwd file to “fog❌1002:1002::/home/fog:/bin/bash”, which specified a shell and fixed the issue.

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

          @dustindizzle11

          What OS did you install 1.2.0 on? That version of FOG doesn’t play well with newer Linux distributions.

          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/

          D 1 Reply Last reply Reply Quote 0
          • D
            dustindizzle11 @Wayne Workman
            last edited by

            @Wayne-Workman Ubuntu Server 14.04

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

            195

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project