FTP Storage Connection Failed



  • /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.


  • Senior Developer

    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.



  • 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.



  • 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


Log in to reply
 

365
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

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