• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue FTP login not possible for one domain

Martin6969

Basic Pleskian
Hi,

For one of my domains login with FTP seems to be inpossible.

FTP client stops wit time-out error end in /var/log/secure i get this :

Code:
May 14 19:29:07 ns0 proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: Permission non accordée
May 14 19:29:07 ns0 proftpd: pam_systemd(proftpd:session): Failed to connect to system bus: Permission non accordée
May 14 19:29:07 ns0 proftpd: pam_unix(proftpd:session): session closed for user ftpfrankrijktopl
May 14 19:29:09 ns0 sshd[13501]: Accepted password for ftpgestion from 176.xxx.xxx.15 port 54565 ssh2
May 14 19:29:09 ns0 sshd[13501]: pam_unix(sshd:session): session opened for user ftpgestion by (uid=0)
May 14 19:29:17 ns0 proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
May 14 19:29:18 ns0 proftpd: pam_unix(proftpd:session): session opened for user ftpfrankrijktopl by (uid=0)
May 14 19:29:18 ns0 proftpd[13508]: 127.0.0.1 (176.xxx.xxx.15[176.xxx.xxx.15]) - USER ftpfrankrijktopl: Login successful.
May 14 19:29:33 ns0 proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: Permission non accordée
May 14 19:29:33 ns0 proftpd: pam_systemd(proftpd:session): Failed to connect to system bus: Permission non accordée
May 14 19:29:33 ns0 proftpd: pam_unix(proftpd:session): session closed for user ftpfrankrijktopl

No problems with other domains on my server

Some help is really needed here...
 
Hi Martin6969,

pls. see my suggestion at ( for Debian/Ubuntu - based systems! ) : => #2
Code:
sudo update-rc.d dbus defaults
sudo service dbus restart
/etc/init.d/xinetd stop
/etc/init.d/xinetd start

... or the "systemd" - option ( for systems, which use "systemd" instead of "upstart":
Code:
update-rc.d dbus defaults
systemctl restart dbus.service
systemctl stop xinetd.service
systemctl start xinetd.service
 
Last edited by a moderator:
Back
Top