• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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