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

    FTP Storage Connection Failed

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    1.7k
    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
      Josh Beddingfield
      last edited by

      /var/log/auth.log

      Sep 19 14:45:27 FOGMAN vsftpd[1]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=fog rhost=10.28.0.10 user=fog

      I am having permission issues again but I’m not sure what I have done wrong. Is there a location which lists standard user and permission levels for the different fog functions such at file ownership and permission settings.

      1 Reply Last reply Reply Quote 0
      • J
        Josh Beddingfield
        last edited by

        prosigna@FOGMAN:/images$ ls -l
        total 24
        drwxrwxrwx 5 fog root 4096 Sep 19 14:28 dev
        drwxrwxrwx 2 fog root 16384 Sep 13 12:53 lost+found
        drwxrwxrwx 2 fog root 4096 Sep 16 09:52 M81PLTWW764
        prosigna@FOGMAN:/images$ ls -l -v
        total 24
        drwxrwxrwx 2 fog root 4096 Sep 16 09:52 M81PLTWW764
        drwxrwxrwx 5 fog root 4096 Sep 19 14:28 dev
        drwxrwxrwx 2 fog root 16384 Sep 13 12:53 lost+found
        prosigna@FOGMAN:/images$ cd /images/dev
        prosigna@FOGMAN:/images/dev$ ls
        0023ae6635ae 002564aaf8fc bc305bbf6d2f
        prosigna@FOGMAN:/images/dev$ ls -l
        total 12
        drwxrwxrwx 2 root root 4096 Sep 19 14:28 0023ae6635ae
        drwxrwxrwx 2 root root 4096 Sep 16 14:21 002564aaf8fc
        drwxrwxrwx 2 root root 4096 Sep 19 11:33 bc305bbf6d2f
        prosigna@FOGMAN:/images/dev$ man ls
        prosigna@FOGMAN:/images/dev$ man ls
        prosigna@FOGMAN:/images/dev$ ls -lR
        .:
        total 12
        drwxrwxrwx 2 root root 4096 Sep 19 14:28 0023ae6635ae
        drwxrwxrwx 2 root root 4096 Sep 16 14:21 002564aaf8fc
        drwxrwxrwx 2 root root 4096 Sep 19 11:33 bc305bbf6d2f

        ./0023ae6635ae:
        total 13305472
        -rwxrwxrwx 1 root root 512 Sep 19 14:28 d1.mbr
        -rwxrwxrwx 1 root root 9236815 Sep 19 14:28 d1p1.img
        -rwxrwxrwx 1 root root 13602232692 Sep 19 14:54 d1p2.img

        ./002564aaf8fc:
        total 43348316
        -rwxrwxrwx 1 root root 512 Sep 16 14:20 d1.mbr
        -rwxrwxrwx 1 root root 3723192 Sep 16 14:20 d1p1.img
        -rwxrwxrwx 1 root root 181638055 Sep 16 14:21 d1p2.img
        -rwxrwxrwx 1 root root 44159939439 Sep 16 14:55 d1p3.img

        ./bc305bbf6d2f:
        total 28552344
        -rwxrwxrwx 1 root root 512 Sep 19 14:27 d1.mbr
        -rwxrwxrwx 1 root root 14626611271 Sep 19 14:41 d1p1.img
        -rwxrwxrwx 1 root root 14582409689 Sep 19 11:47 d1p2.img

        1 Reply Last reply Reply Quote 0
        • J
          Josh Beddingfield
          last edited by

          I followed these directions to try to fix the problem:

          access: [url]http://fogserver/fog/management/[/url]
          *** FOG Configuration ***
          *** FOG Settings *** in the menu on the left
          -> Replace the FOG_TFTP_FTP_PASSWORD fields under FOG settings

          Then open the file:
          /var/www/fog/commons/config.php - check the values of: TFTP_FTP_PASSWORD and STORAGE_FTP_PASSWORD
          These MUST match the password you set above, if not write them properly in here
          Finally reload of the service
          /etc/init.d/vsftpd reload

          I will have to try it again in the morning.

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

            What I’d recommend for this, is to change the actual fog user password with:
            [CODE]passwd fog[/CODE]

            Make sure this password is then changed in the GUI under:
            FOG Configuration (Other Info)->FOG Settings->FOG_TFTP_FTP_PASSWORD
            [B]AND[/B]
            Storage Management->All Storage Nodes->Click the node you’re having problems with->Management Password

            That should fix it. At the very least, make sure the GUI FOG_TFTP_FTP_PASSWORD and Storage Node::Management Passwords are the same and correct for the fog user on the FOG server.

            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

            172

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project