I can use web-ftp but i can't login normal ftp !!!

Discussion in 'Installation/Configuration' started by kong121s, Apr 20, 2006.

  1. kong121s

    kong121s New Member

    Why why why why???

    help me,please.
    I don't know what i should check for this problem.

    I login Web-ftp by
    user : web2_test
    pass : test
    it can login.

    but when i login ftp (ftp://www.test.com) by the same username and password
    it appears "530 login incorrect"

    thank for your help.
     
  2. kong121s

    kong121s New Member

    I have a look in the ISPConfig logfile for errors:
    I found this :

    Code:
    17.02.2006 - 14:57:06 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1857: WARNING: could not groupadd -g web2_anonftp &> /dev/null
    

    and this

    Code:
    17.02.2006 - 14:57:06 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1861: WARNING: could not useradd -d /srv/www/web2/ftp -g web2_anonftp -M -s /bin/false -u 12004 web2_anonftp &> /dev/null 
    
     
  3. kong121s

    kong121s New Member

    have no one can help me T_T

    ...

    now...
    I can use all function in web-ftp but i can't login as admin in web-ftp
    I can login as anonymous with normal ftp (ftp://www.test.com or use ftp client like cuteFTP) but I can't login as username which I used to login in web-ftp.

    ps. sorry if my english is very bad T_T
    I'm Thai people :)
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
    Any errors in the log in /var/log?
    Do you use your server's IP address or FQDN in your FTP client? Please try the IP address.
     
  5. kong121s

    kong121s New Member

    I test my server in office.

    My server use 192.168.1.1 as default gateway,
    255.255.255.0 as subnet-mask,
    192.168.1.20 as its ip-address and
    192.168.1.1 as dns server

    I use my another computer in the same subnet, set
    dns as 192.168.1.20 and call ftp://www.test.com

    in /var/log/xferlog
    Code:
    Thu Apr 20 13:01:02 2006 0 127.0.0.1 16 /home/www/web2/test.php b _ i r web2_test ftp 0 * c
    
    this occur when I upload file.

    in /var/log/anaconda.log
    there are some warning.. like this
    Code:
    ..
    ..
    15:16:32 WARNING : /etc/lilo.conf.anaconda doesn't exist
    ..
    ..
    15:16:32 WARNING : /etc/blkid/blkid.tab doesn't exist
    15:16:32 WARNING : /etc/blkid/blkid.tab.old doesn't exist
    ..
    ..
    15:16:32 WARNING : /etc/modprobe.conf~ doesn't exist
    ..
    ..
    15:16:32 WARNING : /etc/raidtab doesn't exist
    15:16:32 WARNING : /etc/mdadm.conf doesn't exist
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you checked that there is no firewall blocking FTP on your server?
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
     
  8. kong121s

    kong121s New Member

    i have already disable firewall (follow this http://www.howtoforge.com/perfect_setup_fedora_core_5 page 3 )


    I use ISPConfig 2.2.1 with intel 64 bits 2core (dell server) and fedora core5

    thank for your help :) :)

    now, I'm trying to install fedora and ispconfig again.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Please try to follow the tutorial as close as possible, and try to avoid typos.
     
  10. fobicodam

    fobicodam New Member

    Cant login to FTP

    Ok, the answer for your problem is that:

    Edit or create: /etc/pam.d/ftp
    Write this:

    ------------------------------------------------------------------------------
    #%PAM-1.0
    auth required pam_unix.so nullok
    account required pam_unix.so
    session required pam_unix.so
    ------------------------------------------------------------------------------

    Save it and restart proftpd
     
    Last edited: Apr 24, 2006
  11. kong121s

    kong121s New Member

    Oh !! I did it. and now I can use normal ftp.
    Thank fobicodam very very much.

    :)
     
  12. frbnet

    frbnet New Member

    I have the same problem

    Apr 24 18:20:28 linux proftpd[27134]: 10.0.0.3 (10.0.0.2[10.0.0.2]) - FTP session opened.
    Apr 24 18:20:28 linux proftpd[27134]: 10.0.0.3 (10.0.0.2[10.0.0.2]) - PAM(web1_admin): Module is unknown.
    Apr 24 18:21:25 linux proftpd[27174]: 10.0.0.3 (10.0.0.2[10.0.0.2]) - FTP session opened.
    Apr 24 18:21:25 linux proftpd[27174]: 10.0.0.3 (10.0.0.2[10.0.0.2]) - PAM(web1_admin): Module is unknown.
     
  13. falko

    falko Super Moderator Howtoforge Staff

Share This Page