Author Topic: zentyal 6.2 stuck at configuring http proxy  (Read 391 times)

kokodin

  • Zen Apprentice
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
zentyal 6.2 stuck at configuring http proxy
« on: December 21, 2020, 11:42:06 am »
hello
 i had a problem with my old server box so i decided to install newer version of  zential on it
the ofending module on old system was squid , system was unable to determine if the service is runing or not

so i installed zentyal community 6,2 twice
for some reason every other component install and configure corectly, but squid spit out some error int he dash
The following packages are not properly installed. You need to fix this before trying to use them or install new modules.
zentyal-squid    Zentyal - HTTP Proxy    6.2.0
To solve this situation, please try to execute the following command in the console:

sudo dpkg --configure -a

After the above command is finished you can reload this page. If the problem persists, you can ask for help in the community forum or file a ticket in the Zentyal trac.

when i run the listed command i get
[sudo] password for *********:
Setting up zentyal-squid (6.2.0) ...
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/EBox/Module/Base.pm line 285.
dpkg: error processing package zentyal-squid (--configure):
 installed zentyal-squid package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 zentyal-squid
so i searched the web and found this command
sudo dpkg --configure  -D 777 zentyal-squid
and boy it messed things up
when i go to dashboard squid is installed and running, hattp configuration and forwarding works, i can even save settings of the http module trough the site with no errors and they work i can stop and restart module trough dashboard and logs are being generated
but i still have that error message that squid is not installed and can't install any other modules because of that
what to do now, i could leave it as is but i still don't have antyvirus and few other componentsi like to install back

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: zentyal 6.2 stuck at configuring http proxy
« Reply #1 on: December 21, 2020, 04:30:00 pm »
 :)

I would bet that you have some other broken packages. Paste here this command output:

Code: [Select]
dpkg -l | egrep -v '^(ii|rc)'

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

G. Guareschi., Don Camillo.,

kokodin

  • Zen Apprentice
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: zentyal 6.2 stuck at configuring http proxy
« Reply #2 on: December 22, 2020, 08:17:17 am »
dpkg -l | egrep -v '^(ii|rc)'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                                         Architecture Description
+++-======================================-===============================================-============-===============================================================================
iF  zentyal-squid                          6.2.0                                           all          Zentyal - HTTP Proxy

and that's it really

but as i say that dpkg command with parameters d and 777 kind of messed things up by installing http proxy with errors returned

sudo dpkg --configure  -D 777 zentyal-squid
D000001: ensure_diversions: new, (re)loading
D000001: process queue pkg zentyal-squid:all queue.len 0 progress 1, try 1
D000040: checking dependencies of zentyal-squid:all (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-firewall
D000400:       checking non-provided pkg zentyal-firewall:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> squid
D000400:       checking non-provided pkg squid:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> dansguardian
D000400:       checking non-provided pkg dansguardian:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> adduser
D000400:       checking non-provided pkg adduser:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000040: ok 2 msgs >><<
D000040:     checking Breaks
Setting up zentyal-squid (6.2.0) ...
D000002: fork/exec /var/lib/dpkg/info/zentyal-squid.postinst ( configure  )
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/EBox/Module/Base.pm line 285.
dpkg: error processing package zentyal-squid (--configure):
 installed zentyal-squid package post-installation script subprocess returned error exit status 2
D000001: ensure_diversions: same, skipping
Errors were encountered while processing:
 zentyal-squid

i forget to post this one last time

on previous atempt to install 6.2 i had the same errors but i also tryed to purge squid  and clean after the install with apt-get autocleen and clean and nothing has changed

my corrently installed  modules are network, firewall, dhcp, logs and http proxy and they seem to be working and enabled by gui i can mannahe them and configure , enable  or disable and saving does not spit any errors the only thing now is that squid that is stuck with errors and it is both installed and working and not configured with errors at the same time

i am running a box with some xeon v2 , 16 gb of ddr3 memory, 2 reltek gigabit ethernets one pci one pci express and a junk geforce graphics card
eth0 is external with dhcp configured ip eth1 is internal with static ip with dhcp server running on it
« Last Edit: December 22, 2020, 08:34:40 am by kokodin »