You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: /Stage[main]/Proftpd::Service/Service[proftpd]: Failed to call refresh: Could not restart Service[proftpd]: Execution of '/bin/systemctl restart proftpd' returned 1: Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
Error: /Stage[main]/Proftpd::Service/Service[proftpd]: Could not restart Service[proftpd]: Execution of '/bin/systemctl restart proftpd' returned 1: Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
The status output is:
Jan 05 19:43:44 host.domain.com systemd[1]: Starting ProFTPD FTP Server...
Jan 05 19:43:44 host.domain.com proftpd[7716]: 2017-01-05 19:43:44,243 host.domain.com proftpd[7716]: processing configuration directory '/etc/proftpd/sites.d'
Jan 05 19:43:44 host.domain.com proftpd[7716]: 2017-01-05 19:43:44,244 host.domain.com proftpd[7716]: mod_auth_file/1.0: unable to use world-readable AuthUserFile '/etc/proftpd/users.d/0.0.0.0_22.passwd' (perms 0644): Operation not permitted
Jan 05 19:43:44 host.domain.com proftpd[7716]: 2017-01-05 19:43:44,244 host.domain.com proftpd[7716]: fatal: AuthUserFile: unable to use /etc/proftpd/users.d/0.0.0.0_22.passwd: Operation not permitted on line 6 of '/etc/proftpd/users.d/0.0.0.0_22.conf'
Jan 05 19:43:44 host.domain.com systemd[1]: proftpd.service: control process exited, code=exited status=1
Jan 05 19:43:44 host.domain.com systemd[1]: Failed to start ProFTPD FTP Server.
Jan 05 19:43:44 host.domain.com systemd[1]: Unit proftpd.service entered failed state.
Jan 05 19:43:44 host.domain.com systemd[1]: proftpd.service failed.
This should simply be a change of permissions on the passwd and group files.
The text was updated successfully, but these errors were encountered:
TJM
pushed a commit
to LarkIT/puppet-proftpd
that referenced
this issue
Jan 5, 2017
As noted in my PR, I created another branch that fixed more than just these specific file permissions. Several changes were needed for CentOS 7. I also added the ability to have "server" managed SSH keys (rather than having them be accessible to the users) and to force publickey authentication. https://github.com/TJM/puppet-proftpd/tree/centos7 ... I realize its not generally a good thing to have a bunch of changes in one PR, but they were all kindof needed together for our deployment. :)
A puppet run fails with:
The status output is:
This should simply be a change of permissions on the passwd and group files.
The text was updated successfully, but these errors were encountered: