servisys / ispconfig_setup

ISPConfig autoinstaller and setup
GNU General Public License v3.0
507 stars 257 forks source link

amavis.service - Error on setup #269

Closed bartolije closed 5 years ago

bartolije commented 5 years ago

Tested on Ubuntu 16 and 18 LTS, and got the same error, at the same step.

Not sure how to solve this step. Gonna try without updating AntiVirus, not sure about the rest

Setting up amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-10-18 09:38:23 CEST; 3ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25488 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]:   The value of v...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]:   a fully qualif...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]:   You must expli...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]:   in /etc/amavis...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]:   network name!
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal amavis[25488]: (failed).
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal systemd[1]: amavis.service: Con...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal systemd[1]: Failed to start LSB...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal systemd[1]: amavis.service: Uni...
Oct 18 09:38:23 Ubuntu-1604-xenial-64-minimal systemd[1]: amavis.service: Fai...
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package amavisd-new (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libauthen-sasl-perl (2.1600-1) ...
Setting up unhide (20130526-1) ...
Setting up unhide.rb (22-2) ...
Setting up libwww-perl (6.15-1) ...
Setting up liblwp-protocol-https-perl (6.06-2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for rkhunter (1.4.2-5) ...
[ Rootkit Hunter version 1.4.2 ]
File updated: searched for 176 files, found 144
Errors were encountered while processing:
 amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------
tdulcet commented 5 years ago

See this: https://github.com/servisys/ispconfig_setup/issues/144#issuecomment-256836384

You should have received a warning when starting the script.

bartolije commented 5 years ago

Didn't saw any warning/error, should have missed it so. But yeah, once i've changed the fqdn, even to something stupid, it work.

Sorry for the false issue, should have searched a bit more

servisys commented 5 years ago

I've just removed spampd from install on ubuntu 18.04, can you try if it's working correctly?