Author Topic: Unable to install zentyal-firewall on 5.0  (Read 3164 times)

snarchio

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +2/-0
    • View Profile
Unable to install zentyal-firewall on 5.0
« on: January 31, 2017, 09:54:10 am »
I'm trying to installa new Zentyal server
I tried both with the Zentyal iso and the Ubuntu16.04+Zentyal but i get always the same error
Zentyal webgui works but package are installed and not configured

Code: [Select]
Configurazione di zentyal-firewall (5.0)...
service zentyal_webadmin does not exist.dpkg: errore nell'elaborare il pacchetto zentyal-firewall (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di zentyal-dhcp:
 zentyal-dhcp dipende da zentyal-firewall; comunque:
  Il pacchetto zentyal-firewall non è ancora configurato.

dpkg: errore nell'elaborare il pacchetto zentyal-dhcp (--configure):
 problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di zentyal-openvpn:

... omissis ...

Si sono verificati degli errori nell'elaborazione:
 zentyal-firewall
 zentyal-dhcp
 zentyal-openvpn
 zentyal-squid
 zentyal-dns
 zentyal-ntp
 zentyal-samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

and in /var/log/zentyal/zentyal.log i read
Code: [Select]
2017/01/31 09:48:55 DEBUG> Firewall.pm:530 EBox::Firewall::_setService - service zentyal_webadmin does not exist. at service zentyal_webadmin does not exist. at /usr/share/perl5/EBox/Firewall.pm line 530
EBox::Firewall::_setService('EBox::Firewall=HASH(0x5eb7ee8)', 'zentyal_webadmin', 'accept', 1) called at /usr/share/perl5/EBox/Firewall.pm line 473
EBox::Firewall::setInternalService('EBox::Firewall=HASH(0x5eb7ee8)', 'zentyal_webadmin', 'accept') called at /usr/share/perl5/EBox/Firewall.pm line 104
EBox::Firewall::initialSetup('EBox::Firewall=HASH(0x5eb7ee8)', undef) called at /usr/share/zentyal/initial-setup line 51

don2009

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Unable to install zentyal-firewall on 5.0
« Reply #1 on: February 01, 2017, 11:22:56 am »
Exact same problem!

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Unable to install zentyal-firewall on 5.0
« Reply #2 on: February 03, 2017, 07:54:42 pm »
We cannot reproduce this. The following procedure works for us:

- Fresh install Ubuntu 16.0.4.1 Server ISO
- Add "deb http://archive.zentyal.org/zentyal 5.0 main" to /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install zentyal-firewall

Is there any difference with your scenario?

Thanks for the feedback.
Zentyal Server Lead Developer

snarchio

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +2/-0
    • View Profile
Re: Unable to install zentyal-firewall on 5.0
« Reply #3 on: February 04, 2017, 08:57:11 am »
Surpriseling i re-tried today firs on a VirtualMachine an then on the real machine on witch it was failing and it works fine on both
Asking to my colleagues, on previous installations during the installation on the web part the site was hung for more than half hour giving an error but they can't say more
Maybe it was the problem so zentyal-firewall asks for the zentyal_webadmin missing

Sorry if i can't give more useful infos and thanks for your time

rainye

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Unable to install zentyal-firewall on 5.0
« Reply #4 on: September 13, 2017, 10:14:13 am »
I managed to solve this problem as following:
sudo apt-get remove zentyal-firewall
sudo apt-get autoremove

sudo apt-get install zentyal-firewall

mak1001

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Unable to install zentyal-firewall on 5.0
« Reply #5 on: August 19, 2018, 04:32:51 pm »
The same problem with zentyal-firewall on zentyal 5.1 (in virtualbox)