ProFTPD virtual FTP Error

I get the following error when going to check config:

Checking Configuration
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 923.36 MB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it. However, the default master DNS server raspberrypi is not a fully qualified domain name.

Mail server Sendmail is installed and configured.

Apache is installed.

The following PHP versions are available : 5.6.22 (/usr/bin/php5), 7.0.19 (/usr/bin/php7.0), 5.6 (mod_php)

PHP-FPM support was not detected : No FPM configuration directory found

Webalizer is installed.

MySQL is installed and running.

PostgreSQL is installed and running.

An error was found in the ProFTPD configuration template : Unix group ftp in Group directive does not exist. This must be fixed by editing the Default Settings on the Server Templates page.

.. your system is not ready for use by Virtualmin.

However i dont know why that last part of error i am getting, here is the server template i have:

ServerName ${DOM}
<Anonymous ${HOME}/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
<Limit WRITE>
DenyAll
</Limit>
RequireValidShell off
ExtendedLog ${HOME}/logs/ftp.log
</Anonymous>

If It helps, I did buy the pro version!

Status: 
Closed (fixed)

Comments

Howdy -- thanks for contacting us!

I'm wondering if maybe there's a problem with the actual group named "ftp".

Can you paste in the contents of your /etc/groups file?

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:pi
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:pi
fax:x:21:
voice:x:22:
cdrom:x:24:pi
floppy:x:25:
tape:x:26:
sudo:x:27:pi
audio:x:29:pi
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:pi
sasl:x:45:
plugdev:x:46:pi
staff:x:50:
games:x:60:pi
users:x:100:pi
nogroup:x:65534:
input:x:101:pi
systemd-journal:x:102:
systemd-timesync:x:103:
systemd-network:x:104:
systemd-resolve:x:105:
systemd-bus-proxy:x:106:
crontab:x:107:
netdev:x:108:pi
pi:x:1000:
messagebus:x:109:
ssh:x:110:
bluetooth:x:111:
avahi:x:112:
spi:x:999:pi
i2c:x:998:pi
gpio:x:997:pi
lightdm:x:113:
lpadmin:x:114:
epmd:x:115:
ssl-cert:x:116:postgres
mysql:x:118:
bind:x:119:
sambashare:x:120:
antimalwareprogram:x:1001:www-data
postgres:x:121:
smmta:x:122:
smmsp:x:123:
postfix:x:124:
postdrop:x:125:
qmail:x:64010:
nofiles:x:126:
debian-spamd:x:117:

Did That what you wanted?

Okay, I do think I see the issue.

The FTP server template you shared above, do you know where that came from? Is that from your old server perhaps?

It looks like that wouldn't work on a typical Virtualmin server.

It looks like it's setup for some form of anonymous access, are you hoping to continue using that?

If not, we could probably comment a lot of that out.

If you do need anonymous access, you'd probably need to change the user/group mentioned in your FTP template to a user and group that exists in the passwd and groups file.

I fixed this error by adding ftp:x:118: to the end of the groups file

Status: Active » Fixed
Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.