amavis install fails in16.04 perfect server screipt

Discussion in 'HOWTO-Related Questions' started by Trunkles, Jun 3, 2017.

  1. Trunkles

    Trunkles Member

    Hi.
    I've been working through the perfect server 16.04 install script. I've followed the instrcutions carefully (copy & paste commands rather than typing) and when I got to item 7, it failed.
    This is what I got when I ran...
    Code:
    apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl postgrey
    Anyone got any ideas? Thanks. This is the tail of the output...
    amavis.service - LSB: Starts amavisd-new mailfilter
    Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2017-06-03 23:54:40 NZST; 12ms ago
    Docs: man:systemd-sysv-generator(8)
    Process: 6711 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

    Jun 03 23:54:40 laphroaig amavis[6711]: Starting amavisd: The value of var...n
    Jun 03 23:54:40 laphroaig amavis[6711]: a fully qualified domain name; per....
    Jun 03 23:54:40 laphroaig amavis[6711]: You must explicitly assign a FQDN ...e
    Jun 03 23:54:40 laphroaig amavis[6711]: in /etc/amavis/conf.d/05-node_id, ...s
    Jun 03 23:54:40 laphroaig amavis[6711]: network name!
    Jun 03 23:54:40 laphroaig amavis[6711]: (failed).
    Jun 03 23:54:40 laphroaig systemd[1]: amavis.service: Control process exite...=1
    Jun 03 23:54:40 laphroaig systemd[1]: Failed to start LSB: Starts amavisd-n...r.
    Jun 03 23:54:40 laphroaig systemd[1]: amavis.service: Unit entered failed state.
    Jun 03 23:54:40 laphroaig systemd[1]: amavis.service: Failed with result 'e...'.
    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 libwww-perl (6.15-1) ...
    Setting up liblwp-protocol-https-perl (6.06-2) ...
    Processing triggers for libc-bin (2.23-0ubuntu7) ...
    Processing triggers for systemd (229-4ubuntu17) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Errors were encountered while processing:
    amavisd-new
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@laphroaig:~# Setting up amavisd-new (1:2.10.1-2ubuntu1) ...
    -bash: syntax error near unexpected token `('
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You must explicitly assign a FQDN

    You did not set a full hostname - it's nearly at the start of each perfect-setup. use something like server.example.com and not just exampe.com
     

Share This Page