1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

FTP trouble

Discussion in 'Plesk for Linux - 8.x and Older' started by Egenius, Oct 9, 2008.

  1. Egenius

    Egenius Guest

    0
     
    Hi !

    I'm install Plesk 8.6.0.4 on OpenVZ virtual machine under Centos 5.2.
    I have trouble with FTP connect on server. When I connect from TotalCommander I see empty page.
    In logs on server I see this message:

    proftpd: Deprecated pam_stack module called from service "proftpd"
    proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    proftpd: Deprecated pam_stack module called from service "proftpd"
    proftpd: pam_succeed_if(proftpd:session): error retrieving information about user 0

    But this file is present with permitions 644.

    I try connect to active and passive mode, and get no effect.

    How I can solve this problem ?
    Thank's !
     
  2. ziba@

    ziba@ Guest

    0
     
  3. Egenius

    Egenius Guest

    0
     
    Oh yes!
    I solved the problem. It was only a point in the config ProFTPD range of passive ports and open access to firewall.
     
  4. ittec

    ittec Guest

    0
     
    Why?

    Hi all

    I detected the same problems in a fresh Plesk 9.2 installation on the logs messages and secure:

    # cat /var/log/secure |grep proftpd

    Jul 23 11:06:12 249115 proftpd: Deprecated pam_stack module called from service "proftpd"
    Jul 23 11:06:12 249115 proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory

    I fixed removing the /etc/pam.d/proftd and making new one with

    # cat ftp
    #%PAM-1.0
    auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
    auth required /lib/security/pam_pwdb.so shadow nullok
    account required /lib/security/pam_pwdb.so
    session required /lib/security/pam_pwdb.so

    I restarted xinetd daemon and FTP works again. My question is...Why we have to suffer this kind of problems when we are paying money to use a panel? Is not the first time, and won't be the last. And of course, the worst of all, I didn't find the solution in this forum but another. Cmon!!!
     
Loading...