I’m slowly working my way through Webmin, Virtualmin and Usemin, I’ve managed to configure it as a nameserver, get apache up and running and all is looking good, lol probably not a great feat I know but I’m not very experienced with Linux, so I’m overjoyed!
But the problem I’m having now is with Proftpd, by using Webmin to install it just simply wouldn’t work, it would end with “Nothing to do” and of course wouldn’t show up in the Server List, I’ve even specified the URL to the module on the webmin website, but again it produces the same affect.
To get around the problem I got the RPM from RPMForge, this installed fine and it’s now showing up in the server list, but unfortunatly the service doesn’t start…well when I try to start it through the command line i get “Starting proftpd [OK]” but it doesnt seem to be recognised within Webmin. Also is I try to stop or restart the service the Stop Fails.
I’m guessing that perhaps the problem is caused by me installing the RPM from RPMForge, so my question is this, how can I install the Wedmin module for this? Or can I edit the config file of proftp.conf to work correctly? I’ve included the contents of the conf file below;
[code:1]# This is the ProFTPD configuration file
ServerName "ProFTPD server"
ServerIdent on "FTP Server ready."
AccessGrantMsg "User %u logged in."
Use this to excude users from the chroot
DefaultRoot ~ !adm
Use pam to authenticate (default) and be authoritative
AuthOrder mod_auth_pam.c* mod_auth_unix.c
Do not perform ident nor DNS lookups (hangs when the port is filtered)
Port 21 is the standard FTP port.
Umask 022 is a good standard umask to prevent new dirs and files
from being group and world writable.
Default to show dot files in directory listings
See Configuration.html for these (here are the default values)
#AllowForeignAddress off # For FXP
Allow to resume not only the downloads but the uploads too
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)
Set the user and group that the server normally runs at.
Disable sendfile by default since it breaks displaying the download speeds in
ftptop and ftpwho
This is where we want to put the pid file
Normally, we want users to do a few things.
<Limit ALL SITE_CHMOD>
Define the log formats
LogFormat default "%h %l %u %t "%r" %s %b"
LogFormat auth "%v [%P] %h %t "%r" %s"
##TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
SQL authentication Dynamic Shared Object (DSO) loading
See README.DSO and howto/DSO.html for more details.
A basic anonymous configuration, with an upload directory.
AccessGrantMsg "Anonymous login ok, restrictions apply."
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, max %m users – try again later"
# Put the user into /pub right after login
# We want ‘welcome.msg’ displayed at login, ‘.message’ displayed in
# each newly chdired directory and tell users to read README* files.
# Some more cosmetic and not vital stuff
DirFakeUser on ftp
DirFakeGroup on ftp
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE SITE_CHMOD>
# An upload directory that allows storing files but not retrieving
# or creating directories.
# Don’t write anonymous accesses to the system wtmp file (good idea!)
# Logging for the anonymous transfers
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth
<VirtualHost "ipaddress of server">
I’m also curious to know if the problem could be caused by the HOSTNAME file, as if I type “proftpd” into the command line i get 2 error messages (both the same) “- warning: unable to determine IP address of ‘.’”? The contents of the HOSTNAME file is below;
Any help would be greatly appreciated<br><br>Post edited by: ptom98, at: 2008/10/14 03:02