• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue FTP listing directory hanging. Log: Couldn't open /etc/ftpusers

KevinM

New Pleskian
Hi everyone, my Plesk Web Panel been working perfectly since install. All of the sudden (maybe after a Plesk update), a client informed me they could not FTP to their account. I proceeded to try with my account and the same result.

The logs show a successful user login:
Nov 28 06:39:55 pleskcp proftpd: pam_unix(proftpd:session): session opened for user kevixxx by (uid=0)
Nov 28 06:39:55 pleskcp proftpd[32144]: 127.0.0.1 (70.211.3.65[70.211.3.65]) - USER kevixxx: Login successful.


The FTP client just hangs and times out.

The proftpd Config
file has the following
.

#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_shells.so
auth include system-auth
account include system-auth
session include system-auth
session required pam_loginuid.so

Any suggestions? Thanks.
 
Try to replace file /etc/pam.d/proftpd with following content:

#%PAM-1.0M-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_shells.so
auth include system-auth
account include system-auth
#session include system-auth
session required pam_loginuid.so

and resatrt xinetd service.
 
Thanks, I commented out that line and restarted xinetd. Same results as above. Any other solution's?

#session include system-auth
 
I did get this message in the log file after the timeout.

Nov 28 07:15:31 pleskcp proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
 
I was able to get in by changing the Security Policy in Plesk CP.

Not sure if this was the best option.

x6zhBit.jpg
 
Back
Top