Hi, I have some problems using the proftpd addon.
Does this look correct (near the end of add-on install, everything up to this point looks normal).
I am a bit unsure if it went okay or not, but as far as I can see it's only warnings.
Anyhow, in napp-it the config file was empty, so I tried to find a default config to start (removed the anonymous login part).
When I try to start the service I get:
Any help on this? Thank you!
Does this look correct (near the end of add-on install, everything up to this point looks normal).
Code:
make && make install;
please wait some minutes..
In file included from pr_fnmatch.c:256:0:
pr_fnmatch_loop.c: In function 'internal_fnmatch':
pr_fnmatch_loop.c:75:7: warning: variable 'is_seqval' set but not used [-Wunused-but-set-variable]
netaddr.c:1529:12: warning: 'netaddr_get_dnsstr_gethostbyname' defined but not used [-Wunused-function]
auth.c: In function 'pr_auth_get_anon_config':
auth.c:1106:40: warning: variable 'anon_c' set but not used [-Wunused-but-set-variable]
mod_auth.c: In function 'auth_count_scoreboard':
mod_auth.c:1608:9: warning: variable 'origuser' set but not used [-Wunused-but-set-variable]
mod_auth.c:1607:26: warning: variable 'anon_config' set but not used [-Wunused-but-set-variable]
----------------
proftpd log\n$r
----------------
----------------
load manifest /opt/local/share/smf/proftpd/manifest.xml
----------------
svccfg: Taking "initial" snapshot for svc:/pkgsrc/proftpd:default.
svccfg: Taking "last-import" snapshot for svc:/pkgsrc/proftpd:default.
svccfg: Refreshed svc:/pkgsrc/proftpd:default.
svccfg: Successful import.
Anyhow, in napp-it the config file was empty, so I tried to find a default config to start (removed the anonymous login part).
Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
Code:
/var/web-gui/_log/tftpd.conf must contain -s /folder