• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Proftp on disconnection Unable to open pam_env.conf

Bossman

Basic Pleskian
Plesk Onyx 17.8.11 on CentOS Linux 7.7.1908 (Core)‬

Jan 16 03:48:27 server proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: Permission denied
Jan 16 03:48:27 server proftpd: pam_systemd(proftpd:session): Failed to connect to system bus: Permission denied
Jan 16 03:48:27 server proftpd: pam_unix(proftpd:session): session closed for user xxxxxxxx
Jan 16 03:48:27 server proftpd[3017]: 0.0.0.0 (0.0.0.0[0.0.0.0]) - FTP session closed.

This only happens on disconnecting user, everything works alright, more info on this there, proftpd works fine but lots of pam_env warnings in /var/log/secure
do you guys have same thing ?
 
Open ProFTPd configuration file (/etc/proftpd.conf).
Add the following line to the <Global> section:

Code:
AllowStoreRestart on

Restart xinetd service:

# service xinetd restart
 
Thanks IgorG for answer,

I remember this option very well, it is for finishing for upload when someone got disconnected .

I have added that setting, but that log didn't change, same error when i manually disconnect user from ftp.
 
Back
Top