Author Topic: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)  (Read 628 times)

jtreml272

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #15 on: August 05, 2020, 08:32:48 am »
Hi doncamilo,

thank you for reply. I don´t have broken packages. I just checked it with "dpkg -l | grep -Ev '^(ii|rc)'
", mailfilter nad antivirus are still stopped.

Josef

doncamilo

  • Zen Samurai
  • ****
  • Posts: 392
  • Karma: +112/-1
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #16 on: August 05, 2020, 12:51:44 pm »
 :)

Correct, you don't have broken packages. It means your problem isn't the bug that was detected and fixed in this thread.

You'll have to study your logs. The first log you should check is '/var/log/zentyal/zentyal.log'. Check the status of the services through 'zs' and 'systemctl' too.

Cheers!
"Tanta salud goces como bondad abrigues en tu corazón"

Don Camilo.

"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.

jtreml272

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #17 on: August 05, 2020, 04:08:37 pm »
Thanks for reply  ;)  this is how its look. I have clear installation, I didn´t make any change, but since I install antivir and mail filter, both modules are still STOPPED, below are statuses and records from log

Code: [Select]
Zentyal: status module antivirus:                       [ STOPPED ]

Code: [Select]
:~$ systemctl status bind9
● bind9.service - BIND Domain Name Server
   Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-08-05 01:46:40 CEST; 14h ago
     Docs: man:named(8)
 Main PID: 1709 (named)
    Tasks: 8 (limit: 4327)
   CGroup: /system.slice/bind9.service
           └─1709 /usr/sbin/named -f -u bind -4

Code: [Select]
2020/08/05 01:02:43 ERROR> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/OQ9hqXPvQT.cmd 2> /var/lib/zentyal/tmp/stderr
2020/08/05 01:02:43 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: mail
2020/08/05 01:02:43 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: mailfilter
2020/08/05 01:02:43 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: sogo
2020/08/05 01:02:43 ERROR> Base.pm:117 EBox::Exceptions::Base::throw - Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jI7MrbOnu1.cmd 2> /var/lib/zentyal/tmp/stderr at Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jI7MrbOnu1.cmd 2> /var/lib/zentyal/tmp/stderr at /usr/share/perl5/EBox/Sudo.pm line 221
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jI7MrbOnu1.cmd 2> /var/lib/zentyal/tmp/stderr', 'set -e^J/bin/mv /var/lib/zentyal/tmp/fY8shraVgp \'/etc/default/sogo\'^J/bin/chmod 755 \'/etc/default/sogo\'^J/bin/chown 0.0 \'/etc/default/sogo\'', -1, 'ARRAY(0x5594a5b58070)', 'ARRAY(0x5594a5b58088)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, '/bin/mv /var/lib/zentyal/tmp/fY8shraVgp \'/etc/default/sogo\'', '/bin/chmod 755 \'/etc/default/sogo\'', '/bin/chown 0.0 \'/etc/default/sogo\'') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('/bin/mv /var/lib/zentyal/tmp/fY8shraVgp \'/etc/default/sogo\'', '/bin/chmod 755 \'/etc/default/sogo\'', '/bin/chown 0.0 \'/etc/default/sogo\'') called at /usr/share/perl5/EBox/Module/Base.pm line 1063
EBox::Module::Base::_writeFileSave('/var/lib/zentyal/tmp/fY8shraVgp', '/etc/default/sogo', 'HASH(0x55949ecce820)') called at /usr/share/perl5/EBox/Module/Base.pm line 1142
EBox::Module::Base::writeConfFileNoCheck('/etc/default/sogo', 'sogo/sogo.mas', 'ARRAY(0x5594a3f76308)', 'HASH(0x55949ecce820)') called at /usr/share/perl5/EBox/Module/Service.pm line 1022
EBox::Module::Service::writeConfFile('EBox::SOGo=HASH(0x5594a52d9148)', '/etc/default/sogo', 'sogo/sogo.mas', 'ARRAY(0x5594a3f76308)', 'HASH(0x55949ecce820)') called at /usr/share/perl5/EBox/SOGo.pm line 227
EBox::SOGo::_writeSOGoDefaultFile('EBox::SOGo=HASH(0x5594a52d9148)') called at /usr/share/perl5/EBox/SOGo.pm line 98
EBox::SOGo::_setConf('EBox::SOGo=HASH(0x5594a52d9148)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::SOGo=HASH(0x5594a52d9148)') called at /usr/share/perl5/EBox/Module/Service.pm line 940
EBox::Module::Service::_regenConfig('EBox::SOGo=HASH(0x5594a52d9148)') called at /usr/share/perl5/EBox/Module/Base.pm line 234


2020/08/05 01:02:43 ERROR> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Failed to save changes in module sogo: Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jI7MrbOnu1.cmd 2> /var/lib/zentyal/tmp/stderr
2020/08/05 01:02:43 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2020/08/05 01:02:48 ERROR> Service.pm:43 EBox::Service::manage - No such daemon: zentyal.loggerd at No such daemon: zentyal.loggerd at /usr/share/perl5/EBox/Service.pm line 43
EBox::Service::manage('zentyal.loggerd', 'start') called at /usr/share/perl5/EBox/Module/Service.pm line 746
EBox::Module::Service::_manageDaemon('EBox::Logs=HASH(0x5594a3ab0348)', 'HASH(0x5594a5b45808)', 'start') called at /usr/share/perl5/EBox/Module/Service.pm line 728
EBox::Module::Service::_startDaemon('EBox::Logs=HASH(0x5594a3ab0348)', 'HASH(0x5594a5b45808)') called at /usr/share/perl5/EBox/Module/Service.pm line 772
EBox::Module::Service::_manageService('EBox::Logs=HASH(0x5594a3ab0348)', 'start') called at /usr/share/perl5/EBox/Module/Service.pm line 797
EBox::Module::Service::_startService('EBox::Logs=HASH(0x5594a3ab0348)') called at /usr/share/perl5/EBox/Module/Service.pm line 996
EBox::Module::Service::_enforceServiceState('EBox::Logs=HASH(0x5594a3ab0348)') called at /usr/share/perl5/EBox/Module/Service.pm line 947
EBox::Module::Service::_regenConfig('EBox::Logs=HASH(0x5594a3ab0348)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233

2020/08/05 01:02:49 ERROR> Firewall.pm:207 EBox::Firewall::_enforceServiceState - Error restarting firewall: Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/STeBGFmfFF.cmd 2> /var/lib/zentyal/tmp/stderr
2020/08/05 01:02:49 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: sysinfo
2020/08/05 01:02:50 ERROR> Base.pm:117 EBox::Exceptions::Base::throw - Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/KA0kZufIj_.cmd 2> /var/lib/zentyal/tmp/stderr at Failed to execute /usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/KA0kZufIj_.cmd 2> /var/lib/zentyal/tmp/stderr at /usr/share/perl5/EBox/Sudo.pm line 221
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/KA0kZufIj_.cmd 2> /var/lib/zentyal/tmp/stderr', 'set -e^Jecho Europe/Prague > /etc/timezone^Jln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime', -1, 'ARRAY(0x5594a5beeb18)', 'ARRAY(0x5594a5bae878)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'echo Europe/Prague > /etc/timezone', 'ln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('echo Europe/Prague > /etc/timezone', 'ln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime') called at /usr/share/perl5/EBox/SysInfo.pm line 158
EBox::SysInfo::_setConf('EBox::SysInfo=HASH(0x5594a2ed7738)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::SysInfo=HASH(0x5594a2ed7738)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::SysInfo=HASH(0x5594a2ed7738)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 649
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 648
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x55949f728ac0)', 'progress', 'EBox::ProgressIndicator=HASH(0x5594a2dddb38)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x5594a2e9f7b0)', 'progress', 'EBox::ProgressIndicator=HASH(0x5594a2dddb38)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30


jtreml272

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #18 on: August 05, 2020, 07:07:38 pm »
I am running clear installation core version 6.2.3, I didn´t make any change, just install modules within initial installation process. But after reboot these two modules stayed  in STOPPED status....

doncamilo

  • Zen Samurai
  • ****
  • Posts: 392
  • Karma: +112/-1
    • View Profile
 :)

Your logs show that could be SOGo the module which is throwing the errors.  Bind9 is the DNS server, but you need information about the amavis, postfix and dovecot services.

Code: [Select]
sudo systemctl status dovecot
sudo systemctl status postfix
sudo systemctl status amavis
sudo systemctl status sogo

Probably, the last command will throw an error saying you to check this service with "journalctl..." do it, and paste here the output.

Cheers!

"Tanta salud goces como bondad abrigues en tu corazón"

Don Camilo.

"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.