Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate_cmd problem with missing AuthUserFile #7

Closed
yarikdot opened this issue Feb 23, 2016 · 1 comment
Closed

Validate_cmd problem with missing AuthUserFile #7

yarikdot opened this issue Feb 23, 2016 · 1 comment

Comments

@yarikdot
Copy link

Configuration:

$passwd = '/etc/proftpd/proftpd.passwd'

class { 'proftpd':
    anonymous_enable => false,
    options          => {
        'ROOT' => {
            'ServerName'   => 'Proftpd',
            'ServerAdmin'  => '[email protected]',
            'MaxInstances' => '100',
            'AuthUserFile' => '/etc/proftpd/proftpd.passwd',
            'AuthOrder'    => 'mod_auth_file.c',
            'PassivePorts' => '64000 65000',
        },
    }
}

Error message:

Error: Execution of '/usr/sbin/proftpd -t -c /etc/proftpd/proftpd.conf20160223-22582-1pjho3p' returned 1: Checking syntax of configuration file
2016-02-23 16:21:14,315 devel proftpd[23635]: mod_auth_file/1.0: unable to lstat AuthUserFile '/etc/proftpd/proftpd.passwd': No such file or directory
2016-02-23 16:21:14,315 devel proftpd[23635]: fatal: AuthUserFile: unable to use /etc/proftpd/proftpd.passwd: No such file or directory on line 28 of '/etc/proftpd/proftpd.conf20160223-22582-1pjho3p'
Error: /Stage[main]/Proftpd::Config/File[/etc/proftpd/proftpd.conf]/content: change from {md5}675c09519f746b8154dec38df20103c0 to {md5}1d6cd0fc37e7c6f57f8cff3d1e28309e failed: Execution of '/usr/sbin/proftpd -t -c /etc/proftpd/proftpd.conf20160223-22582-1pjho3p' returned 1: Checking syntax of configuration file
2016-02-23 16:21:14,315 devel proftpd[23635]: mod_auth_file/1.0: unable to lstat AuthUserFile '/etc/proftpd/proftpd.passwd': No such file or directory
2016-02-23 16:21:14,315 devel proftpd[23635]: fatal: AuthUserFile: unable to use /etc/proftpd/proftpd.passwd: No such file or directory on line 28 of '/etc/proftpd/proftpd.conf20160223-22582-1pjho3p'
@yarikdot
Copy link
Author

Duplicate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant