Some services are not installed?

I just had a fresh installation with by running the following command

sudo bash hst-install.sh --apache no --phpfpm yes --multiphp yes --vsftpd no --proftpd yes --named yes --mysql yes --postgresql no --exim yes --dovecot yes --sieve no --clamav yes --spamassassin yes --iptables yes --fail2ban yes --quota no --api no --interactive yes --with-debs no --port ‘2053’ --hostname ‘my hostname’ --email ‘my personal email’ --password ‘my password’ --lang ‘en’ --force

I have CLAMAV, EXIM and FAIL2BAN are not installed?
any idea to how to fix this?

They are installed but not running. Try to tick the respective box and hit restart or start.

Alternatively you may login via ssh and restart manually the services.

If you encounter errors, go to /var/log to check why the service doesn’t start.

thank you @jlguerrero

I tried to restart they don’t!!
Does this help?

dpkg: error processing package exim4 (–configure):

dependency problems - leaving unconfigured

Setting up clamav-freshclam (0.103.6+dfsg-0ubuntu0.22.04.1) …

chown: invalid group: ‘clamav:adm’

dpkg: error processing package clamav-freshclam (–configure):

installed clamav-freshclam package post-installation script subprocess returned error exit status 1

dpkg: dependency problems prevent configuration of bsd-mailx:

bsd-mailx depends on default-mta | mail-transport-agent; however:

Package default-mta is not installed.

Package mail-transport-agent is not installed.

Package exim4-daemon-heavy which provides mail-transport-agent is not configured yet.

IMO If this is a new install try to reinstall from scratch, will save a lot of time and trouble to you.

1 Like

thank you @shg actually that’s the second time I get this error?!!
I will start from scratch for the third time and will update you…

What are your server specifications? Ram , cpu, os?

@shg
Would those info help? or anything else you’d like to know?
thank you,

That’s a fresh install… the result showing invalid group: ‘root:adm’!!! what’s does that mean?

@ScIT dear maybe you could help in this ticket please?

Have you run a sys update before the installation?

Yes I did…
I have installed Ubunto 20.04 instead of 22.04 and I had no issues… I did same steps with 2 different Ubunto version, it seems 20.04 is working fine

adm user group doesnt exist, probaly a custom provider build which doesnt provide it - where it should probaly be default :man_shrugging:. try a groupadd adm prior to install and see what happens.

2 Likes