Author Topic: HowTo: add http-proxy module to zentyal 4.2 (changed: 28.04.16)  (Read 34028 times)

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1
« Reply #30 on: October 24, 2015, 12:02:01 am »
Hi Julio, great job!
First, thank you for the HowTo, this work very fine!
It might work for 4.2?

you can ty it:
change the strings "4.2" to "4.3" and "4.1" to "4.2"

deepak

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1
« Reply #31 on: October 27, 2015, 08:51:31 am »

you can ty it:
change the strings "4.2" to "4.3" and "4.1" to "4.2"

I am getting following error on Zentyal 4.2

 Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zentyal-squid : Depends: zentyal-core (< 2.3.100) but 4.2 is to be installed
Depends: zentyal-users but it is not going to be installed

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1
« Reply #32 on: October 27, 2015, 10:16:27 am »
check your control file ~/Downloads/zentyal-squid-4.2/debian/control:
it must be:
Code: [Select]
Depends: zentyal-core (>= 4.2), zentyal-core (<< 4.3)if not pls change it.

after change reply the commands:
Code: [Select]
dpkg-buildpackage -rfakeroot -b
cd ..
sudo dpkg -i zentyal-squid_4.2_all.deb
sudo apt-get install -f -y

or after delete the old source, follow the new instructions:
https://forum.zentyal.org/index.php/topic,25531.msg96198.html#msg96198
« Last Edit: October 27, 2015, 10:25:02 am by julio »

xoy

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #33 on: December 09, 2015, 11:42:14 am »
if we want install a new proxy.  We need run wis command
sudo apt-get install squid dansguardian msktutil adzapper

before install zentyal-squid

zentyal 4.2

santhoshkasarla

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
zentyal installation on redhat
« Reply #34 on: December 09, 2015, 12:58:21 pm »
Hello friends

i installed zentyal  server  in my server  but   they is any zentyal   applications for install in Redhat Linux 

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #35 on: December 09, 2015, 02:43:42 pm »
if we want install a new proxy.  We need run wis command
sudo apt-get install squid dansguardian msktutil adzapper

before install zentyal-squid

zentyal 4.2

you have forget running the "sudo apt-get install -f" command!!

zentyal-squid.dpkg dependencies:
Depends: zentyal-core (>= 4.X), zentyal-core (<< 4.X),
         zentyal-firewall, zentyal-samba,
         squid3, dansguardian, adduser, adzapper, msktutil,
         libdata-hexdumper-perl, ${misc:Depends}

Labomba

  • Zen Monk
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #36 on: February 19, 2016, 02:51:40 pm »
Hello Julio,
I have done several installs on a clean 4.2 system, without updating.
After installing and activating the proxy module, it is not possible to browse the Internet.
Alle the connected client get the error: Your username is not allowed to browse: -
Categories: banned user

In the proxy i have a rule that says; allow all
in /var/log/zentyal/zentyal.log this error is displayed:
Squid.pm:1282 Ebox::Squid::authenticationMode - Unknown users mode: . Falling back to internal authorization mode

Can you help?

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #37 on: February 19, 2016, 08:08:47 pm »
Hello Julio,
I have done several installs on a clean 4.2 system, without updating.
After installing and activating the proxy module, it is not possible to browse the Internet.
Alle the connected client get the error: Your username is not allowed to browse: -
Categories: banned user

In the proxy i have a rule that says; allow all
in /var/log/zentyal/zentyal.log this error is displayed:
Squid.pm:1282 Ebox::Squid::authenticationMode - Unknown users mode: . Falling back to internal authorization mode

Can you help?

Please use with your own group, nested groups 'Domain Admins, Domain Users, Domain Guests' not working yet!

Labomba

  • Zen Monk
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #38 on: February 22, 2016, 11:17:02 am »
Hello Julio,
I have done several installs on a clean 4.2 system, without updating.
After installing and activating the proxy module, it is not possible to browse the Internet.
Alle the connected client get the error: Your username is not allowed to browse: -
Categories: banned user

In the proxy i have a rule that says; allow all
in /var/log/zentyal/zentyal.log this error is displayed:
Squid.pm:1282 Ebox::Squid::authenticationMode - Unknown users mode: . Falling back to internal authorization mode

Can you help?

Please use with your own group, nested groups 'Domain Admins, Domain Users, Domain Guests' not working yet!

Thnx for the reply, can you be more specific about how to get this "group" to work with the 4.2.  Or is it not possible at all?

BishopWolf

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #39 on: April 18, 2016, 06:49:50 pm »
I get the error

Code: [Select]
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode
2016/04/18 12:36:29 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of HTTP Proxy from dashboard failed: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:38:07 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode
« Last Edit: April 18, 2016, 06:51:21 pm by BishopWolf »

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #40 on: April 18, 2016, 09:34:51 pm »
I get the error

Code: [Select]
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode
2016/04/18 12:36:29 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of HTTP Proxy from dashboard failed: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:38:07 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode

hi BishopWolf ,

can you please give me more detail about your proxy settings?
transparent or explicit?
access rules source?
decision?

Labomba

  • Zen Monk
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #41 on: April 26, 2016, 07:36:27 am »
It's the same error as I already posted.....still can't have it to work neither with a 4.2
Squid.pm:1282 Ebox::Squid::authenticationMode - Unknown users mode: . Falling back to internal authorization mode


I get the error

Code: [Select]
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode
2016/04/18 12:36:29 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of HTTP Proxy from dashboard failed: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:38:07 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode

hi BishopWolf ,

can you please give me more detail about your proxy settings?
transparent or explicit?
access rules source?
decision?

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.1 and 4.2
« Reply #42 on: April 26, 2016, 10:04:06 am »
It's the same error as I already posted.....still can't have it to work neither with a 4.2
Squid.pm:1282 Ebox::Squid::authenticationMode - Unknown users mode: . Falling back to internal authorization mode


I get the error

Code: [Select]
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value in numeric gt (>) at /usr/share/perl5/EBox/Squid.pm line 1009, <GEN0> line 2048.
2016/04/18 12:36:29 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode
2016/04/18 12:36:29 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:36:29 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of HTTP Proxy from dashboard failed: Can't call method "users" on an undefined value at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 706, <GEN0> line 2050.
2016/04/18 12:38:07 WARN> Squid.pm:1282 EBox::Squid::authenticationMode - Unknown users mode: . Falling back to squid internal authorization mode

hi BishopWolf ,

can you please give me more detail about your proxy settings?
transparent or explicit?
access rules source?
decision?

can you please give me more detail about your proxy settings?
transparent or explicit?
access rules source?
decision?
internal or external ad?
« Last Edit: April 26, 2016, 01:23:00 pm by julio »

Stefano

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: HowTo: add http-proxy module to zentyal 4.2 (changed: 28.04.16)
« Reply #43 on: August 31, 2016, 11:04:02 am »
Hello,
I installed Zentyal Dev Edition 4.2 for testing (currently I'm using ipcop for firewall management and other services),
after that I got trouble with installation of HTTP proxy, I followed instuction posted in the topic but after installing HTTP proxy and restarting the machine I cannot see HTTP proxy menu on the left sidebar on the web interface.
Can anyone help me?

currently installed modules are:
network firewall antivirus audit ca dhcp dns logs mail mailfilter ntp openchange openvpn printers samba webadmin

thanks

julio

  • Guest
Re: HowTo: add http-proxy module to zentyal 4.2 (changed: 28.04.16)
« Reply #44 on: August 31, 2016, 06:47:47 pm »
Hello,
I installed Zentyal Dev Edition 4.2 for testing (currently I'm using ipcop for firewall management and other services),
after that I got trouble with installation of HTTP proxy, I followed instuction posted in the topic but after installing HTTP proxy and restarting the machine I cannot see HTTP proxy menu on the left sidebar on the web interface.
Can anyone help me?

currently installed modules are:
network firewall antivirus audit ca dhcp dns logs mail mailfilter ntp openchange openvpn printers samba webadmin

thanks

please trying to install one more time, step by step...