Author Topic: error processing package zentyal-all  (Read 235 times)

pirod

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
error processing package zentyal-all
« on: January 05, 2020, 07:36:13 pm »
Hi,

Installing Znetyal from packages on a clean Ubuntu 18.04 I get these errors that do not let me proceed on the webadmin interface:

root@scw-agb7-zentyal:~# dpkg --configure -a
Setting up amavisd-new (1:2.11.0-1ubuntu1.1) ...
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; generated)
   Active: failed (Result: exit-code) since Sun 2020-01-05 19:32:25 CET; 14ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 30008 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

Jan 05 19:32:25 scw-agb7-zentyal systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]: Starting amavisd:   The value of variable $myhostname is "scw-agb7-zentyal", but should have been
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   a fully qualified domain name; perhaps uname(3) did not provide such.
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   You must explicitly assign a FQDN of this host to variable $myhostname
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   network name!
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]: (failed).
Jan 05 19:32:25 scw-agb7-zentyal systemd[1]: amavis.service: Control process exited, code=exited status=1
Jan 05 19:32:25 scw-agb7-zentyal systemd[1]: amavis.service: Failed with result 'exit-code'.
Jan 05 19:32:25 scw-agb7-zentyal systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
dpkg: error processing package amavisd-new (--configure):
 installed amavisd-new package post-installation script subprocess returned error exit status 1
Setting up sogo (4.1.0.20191025-1) ...
chmod: cannot access '/usr/share/doc/sogo/*.sh': No such file or directory
dpkg: error processing package sogo (--configure):
 installed sogo package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-mailfilter:
 zentyal-mailfilter depends on amavisd-new; however:
  Package amavisd-new is not configured yet.

dpkg: error processing package zentyal-mailfilter (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-sogo:
 zentyal-sogo depends on sogo (>= 4.1); however:
  Package sogo is not configured yet.

dpkg: error processing package zentyal-sogo (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sogo-activesync:
 sogo-activesync depends on sogo (= 4.1.0.20191025-1); however:
  Package sogo is not configured yet.

dpkg: error processing package sogo-activesync (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-groupware:
 zentyal-groupware depends on zentyal-sogo; however:
  Package zentyal-sogo is not configured yet.

dpkg: error processing package zentyal-groupware (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-all:
 zentyal-all depends on zentyal-groupware; however:
  Package zentyal-groupware is not configured yet.
 zentyal-all depends on zentyal-mailfilter; however:
  Package zentyal-mailfilter is not configured yet.

dpkg: error processing package zentyal-all (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
 amavisd-new
 sogo
 zentyal-mailfilter
 zentyal-sogo
 sogo-activesync
 zentyal-groupware
 zentyal-all
« Last Edit: January 05, 2020, 07:38:34 pm by pirod »

doncamilo

  • Zen Samurai
  • ****
  • Posts: 415
  • Karma: +122/-1
    • View Profile
Re: error processing package zentyal-all
« Reply #1 on: January 07, 2020, 12:49:06 pm »
 :)

Quote
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]: Starting amavisd:   The value of variable $myhostname is "scw-agb7-zentyal", but should have been
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   a fully qualified domain name; perhaps uname(3) did not provide such.
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   You must explicitly assign a FQDN of this host to variable $myhostname
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
Jan 05 19:32:25 scw-agb7-zentyal amavis[30008]:   network name!

I suggest you to install the module packages gradually. First you have to install and configure the samba related modules (it's a dependency for the mail related packages) afterward, install the mail related packages in sequence (mail > webmail > mailfilter).

As you can see you haven't configured your host with a FQDN, so, probably, samba haven't been correctly configured.

Cheers!
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,