Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: julio on June 29, 2015, 10:32:16 pm
-
open a terminal window and "copy & paste" the following commands:
changes:
28.04.16: remove unsupported external ad functions
zentyal 4.2:
sudo apt-get install zbuildtools build-essential fakeroot dpkg-dev -y
cd ~/Downloads
rm -rf zentyal-squid-4.2
wget http://archive.zentyal.org/zentyal/pool/main/z/zentyal-squid/zentyal-squid_4.0.1.tar.gz -O zentyal-squid_4.0.1.tar
tar -xf zentyal-squid_4.0.1.tar
mv zentyal-squid-4.0.1 zentyal-squid-4.2
wget 'https://docs.google.com/uc?export=download&id=0B4_d-7xL0AS_aVlhNmdnSnFPakU' -O zentyal-squid-4.2.patch
patch -t -p1 -i zentyal-squid-4.2.patch
cd zentyal-squid-4.2
dpkg-buildpackage -rfakeroot -b -tc
cd ..
sudo dpkg -i zentyal-squid_4.2_all.deb
sudo apt-get install -f -y
sudo sed -i 's\next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\#next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\g' /usr/share/zentyal/templates/software/ebox.mas
sudo service zentyal webadmin restart
-
Good production in July has proven to work well in zentyal 4.1 proxy because personally in version 4.0 I had to tweak many things for decent work I would like your opinion if you've tried or whether to do something additional thanks
-
Thanks for sharing with us
-
Great job, julio!
You're my hero!!! ;D
I would also be interested in porting the network module from 4.0... I'd really like to use link aggregation.
Would these instructions work for zentyal-network_4.0.tar.gz also? I mean, of course, first 3 sed's are pretty self explanatory, the 4th one appears it's only for squid, but I wonder about the last one...
Thank you very much for all your work!
-
Nice work, julio!
Muchas gracias!!!
May I suggest to make this a new topic?
Maybe there are some other users like me disappointed by Zentyal's team decision to stop support for link aggregation...
One completion: you'd have to add a "cd zentyal-network-4.1.100" before first "sed"...
-
new topic:
https://forum.zentyal.org/index.php/topic,25622.0.html (https://forum.zentyal.org/index.php/topic,25622.0.html)
-
open a terminal window and "copy & paste" the following commands:
sudo apt-get install zbuildtools build-essential fakeroot dpkg-dev -y
cd ~/Downloads
wget http://archive.zentyal.org/zentyal/pool/main/z/zentyal-squid/zentyal-squid_4.0.1.tar.gz
tar -xf zentyal-squid_4.0.1.tar.gz
mv zentyal-squid-4.0.1 zentyal-squid-4.1
cd zentyal-squid-4.1
sed -i '1 i\zentyal-squid (4.1) trusty; urgency=medium\n\n * New release\n\n -- xy <xy@xy.com> Mon, 29 Jun 2015 00:00:00 +0100\n' ./debian/changelog
sed -i '1 i\4.1\n + Adapted to 4.1' ./ChangeLog
sed -i 's#Depends: zentyal-core (>= 4.0), zentyal-core (<< 4.1),#Depends: zentyal-core (>= 4.1), zentyal-core (<< 4.2),#g' ./debian/control
sed -i 's#my $usersMode = $users->mode();#my $usersMode = $users->_adcMode();#g' ./src/EBox/Squid.pm
dpkg-buildpackage -rfakeroot -b
cd ..
sudo dpkg -i zentyal-squid_4.1_all.deb
sudo apt-get install -f -y
sudo sed -i 's\next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\#next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\g' /usr/share/zentyal/templates/software/ebox.mas
sudo service zentyal webadmin restart
thx, works!
-
Hi,
it works good for HTTP protocol, but not for HTTPS...
Can you update your post to include HTTPS?
Thank you.
-
Hi,
it works good for HTTP protocol, but not for HTTPS...
Can you update your post to include HTTPS?
Thank you.
For HTTPS use WPAD in your intranet.
-
Hi,
it works good for HTTP protocol, but not for HTTPS...
Can you update your post to include HTTPS?
Thank you.
Subject is: "HowTo: add http-proxy module to zentyal 4.1"
For me working booth protocol in transparent mode, off course, https not cached/filtered!
if you need a https-proxy follow this instructions (for experts only!):
http://labs.zentyal.org/https-transparent-proxy-in-zentyal/ (http://labs.zentyal.org/https-transparent-proxy-in-zentyal/)
-
Hi, great Jobs by adding some important Modules for me again in 4.1! Seems now i'm ready to upgrade.
But one module i'm still missing what i would like to use in the future. It is HA and my question is if i can use that manual to add it in the same way?
-
Hi, great Jobs by adding some important Modules for me again in 4.1! Seems now i'm ready to upgrade.
But one module i'm still missing what i would like to use in the future. It is HA and my question is if i can use that manual to add it in the same way?
HA compiling methode is same, but HA module only with zentyal-network 4.0 module can working together:
https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400 (https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400)
-
A recent Squid update on the server squid3-6.3 seems to have broken this module. Anybody else experiencing this and may a solution?
-
please try with zentyal-squid module restart:
sudo service zentyal squid restart
-
after I activate the module I get an error "The following modules failed while saving their changes, their state is unknown: squid"
Afterwards any restarts end with the same "Failed" message saying it could not get a ticket: could not acquire credentials etc.
-
please run the following commands:
sudo mv /var/log/zentyal/zentyal.log /var/log/zentyal/zentyal.log.bckp
sudo touch /var/log/zentyal/zentyal.log
enable the zentyal squid module over gui, post your "/var/log/zentyal/zentyal.log".
-
here are the results. thanks
-
Probably the problem was that the administrator password had expired.
Please renew the administrator password with following command:
sudo samba-tool user setpassword administrator
set administrator password to never expire:
sudo samba-tool user setexpiry administrator --noexpiry
-
Thank you Julio that did the trick :-)
-
Hi,
The Bandwidth Throttling doesn't work on Transparent mode?!
At least here it doesn't. :(
Some tip?!
-
You tested with http?
Becouse this function only for http request working.
-
Julio,
If I use the proxy explicitly (Transparent mode off) the Bandwidth Throttling works as expected, including via FTP. But if I enable Transparent Mode the Bandwidth Throttling doesn't work, even in HTTP.
-
Hi, great Jobs by adding some important Modules for me again in 4.1! Seems now i'm ready to upgrade.
But one module i'm still missing what i would like to use in the future. It is HA and my question is if i can use that manual to add it in the same way?
HA compiling methode is same, but HA module only with zentyal-network 4.0 module can working together:
https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400 (https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400)
Hi Julio, thanks for your comment. But the link is not working for me.
regards
Dirk
-
"HA compiling methode is same, but HA module only with zentyal-network 4.0 module can working together:
https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400"
Sorry Dersch, the topic is removed, becouse this concept not working anymore. Too many functions are dropped by developpers from the Firewall module.
-
So it's not possible to install squid on 4.1?
-
So it's not possible to install squid on 4.1?
only HowTo zentyal 4.1 network module downgrade to 4.0 network module removed,
4.0 Squid Proxy on 4.1 working fine!
https://forum.zentyal.org/index.php/topic,25531.msg96198.html#msg96198
-
"HA compiling methode is same, but HA module only with zentyal-network 4.0 module can working together:
https://forum.zentyal.org/index.php/topic,25622.msg96400.html#msg96400"
Sorry Dersch, the topic is removed, becouse this concept not working anymore. Too many functions are dropped by developpers from the Firewall module.
Hi Julio, does it mean i can't implement HA module anymore into 4.1? :o
-
Yes! :-\
-
:'( Maybe it is going to be very offtopic in this thread right now. But do you know any alternative way to make this possible?
Want i want to get is just to have some redundancy. I want to setup up another zentyal device. If my main gateway zentyal is off (maintenance, error) the other is immeditaley the gateway and firewall. I though that will HA make it possible but i did not started yet. So maybe it is possible in another way.
-
Hi Julio, great job!
First, thank you for the HowTo, this work very fine!
It might work for 4.2?
-
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"
-
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
-
check your control file ~/Downloads/zentyal-squid-4.2/debian/control:
it must be:
Depends: zentyal-core (>= 4.2), zentyal-core (<< 4.3)
if not pls change it.
after change reply the commands:
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 (https://forum.zentyal.org/index.php/topic,25531.msg96198.html#msg96198)
-
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
-
Hello friends
i installed zentyal server in my server but they is any zentyal applications for install in Redhat Linux
-
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}
-
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?
-
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!
-
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?
-
I get the error
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
-
I get the error
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?
-
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
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?
-
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
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?
-
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
-
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...
-
It Works, thanks for the info.
now I had to configure it properly...
-
Hi,
Just tested it and works fine.
A couple of questions, i would like to use wpad. I read it in previous post. I need a web browser too. Can i add this module from previous versions or should i install use just with apt-get?
The second question is about language. The patch is in English. Is there any way to translate it?
Thanks a lot for your work. As many users, i donĀ“t understand why zentyal took this way.
-
open a terminal window and "copy & paste" the following commands:
changes:
28.04.16: remove unsupported external ad functions
zentyal 4.2:
sudo apt-get install zbuildtools build-essential fakeroot dpkg-dev -y
cd ~/Downloads
rm -rf zentyal-squid-4.2
wget http://archive.zentyal.org/zentyal/pool/main/z/zentyal-squid/zentyal-squid_4.0.1.tar.gz -O zentyal-squid_4.0.1.tar
tar -xf zentyal-squid_4.0.1.tar
mv zentyal-squid-4.0.1 zentyal-squid-4.2
wget 'https://docs.google.com/uc?export=download&id=0B4_d-7xL0AS_aVlhNmdnSnFPakU' -O zentyal-squid-4.2.patch
patch -t -p1 -i zentyal-squid-4.2.patch
cd zentyal-squid-4.2
dpkg-buildpackage -rfakeroot -b -tc
cd ..
sudo dpkg -i zentyal-squid_4.2_all.deb
sudo apt-get install -f -y
sudo sed -i 's\next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\#next if ($pkg->{name} eq '"'"'zentyal-squid'"'"');\g' /usr/share/zentyal/templates/software/ebox.mas
sudo service zentyal webadmin restart
duuuuuuuuuuuuuuuuuuuuuude, i love you man,you saved my day
-
Hi Julio,
I know that this question is not really related to the subject, but could I ask you to check the http proxy module in Zentyal 5?
The proxy module in transparent mode doesn't seem to work correctly at all.
For example: When you set the filter profile to allow all, everything works.
When you set the filter profile to Medium, most of the visited websites are simply blocked, even non pornographic or whatever.
Even after adding the specific website to the always allowed url rules, it keeps on getting blocked.
They also removed the antivirus module, but however the proxy module gives errors in saving the configuration about the removed antivirus module.
It seems to still check if the module is there, even when they removed it.
It looks like the Zentyal developers have done a hard copy of the proxy module without reprogramming anything.
In my 4.0 - 4.2 installations everything works like a charm, with same same setup....