Author Topic: [SOLVED] zentyal and squid proxy  (Read 4927 times)

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
[SOLVED] zentyal and squid proxy
« on: July 03, 2013, 12:57:25 pm »
Hi mates, am new to zentyal. Am using ubuntu server 12LTs 64amd, with squid3 proxy, i want to monitor both my server and squid performance, i have installed zentyal, but miss the configs to intergrate proxy and ubuntu server, is there a way to do this?
thanks in advance
« Last Edit: July 13, 2013, 10:21:46 am by kanjah »
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #1 on: July 05, 2013, 11:42:09 am »
Could you please develop a little bit further what your needs / intentions are?

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #2 on: July 05, 2013, 11:55:54 am »
thanks for the reply, i want to run squid proxy and Intrusion Detection System on the server, and to monitor how the server is fairing on
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #3 on: July 05, 2013, 12:03:37 pm »
Hello kanjah:

Yeah, understood that, but what kind of monitoring would you need?
You could SSH and run a top or htop, or you could open zentyal Administrative Interface and look at graphic on Maintenance, or even install some external squid monitoring tool like one of this list http://www.squid-cache.org/Misc/log-analysis.html

So, as you may see your question is still too general, and you should make it a little bit more concrete if you expect to find a useful answer

;)

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #4 on: July 05, 2013, 02:23:42 pm »
thanks again for the reply, ad want to install squid under zentyal, plus the intrusion dectection system, is that possible with zentyal?
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #5 on: July 05, 2013, 02:25:51 pm »
Yes, you can install both modules without any issue
;)

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #6 on: July 05, 2013, 03:27:41 pm »
how do i do that? i tried, and i get this error message
 components cannot be installed
zentyal-remoteservices   
zentyal-ntp   
zentyal-squid   
zentyal-firewall   
zentyal-openvpn   Zentyal
zentyal-users   
zentyal-antivirus   
zentyal-trafficshaping   
zentyal-dns
zentyal-l7-protocols

even running
Code: [Select]
sudo dpkg --configure -adoesn't solve it
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #7 on: July 05, 2013, 04:49:05 pm »
Hello:

Are you using GUI or command-line.

Please use GUI for installing modules. If you still have some troubles installing any module, then more information on your procedure would be needed, and perhaps /var/log/zentyal.log would help

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #8 on: July 05, 2013, 06:15:09 pm »
hi sir,
i have attached the log file, i changed it to txt so that it can be readable
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #9 on: July 08, 2013, 03:13:51 pm »
Hello kanjah:

The only error I can see on your log is an error when deleting a route to a public IP, so please, make sure these commands succeed before going to the GUI to install the server:

ping -c4 www.google.es
sudo apt-get update
sudo apt-get upgrade

Once this commands have been executed, then go to the GUi to install any module you would need.

If ping fails, then you have a connectivity issue that you should solve first

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #10 on: July 09, 2013, 05:06:16 pm »
hi, thanks for the reply
now i can ping google.com with ease, i have installed the network components dns ntp firewall, sucessfully. I hit a stop when i try to install squid, it say in the zentyal log, i need to configure the firewall, so i tried by adding few web servicesg TCP and UDP protocols by using port 80, DNS protocol by using port 53, and accepting packets from my internal network to the zentyal server, then i save, but still the zentyal, insists that my firewall is not well configured....is there a way around this?
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #11 on: July 09, 2013, 05:10:33 pm »
could you please show the whole message?

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #12 on: July 09, 2013, 08:27:25 pm »
Code: [Select]
Selecting previously unselected package libtree-perl.
Unpacking libtree-perl (from .../libtree-perl_1.01-0ubuntu2_all.deb) ..
 Selecting previously unselected package zentyal-trafficshaping. Unpacking zentyal-trafficshaping (from .../zentyal-trafficshaping_3.0.2_all.deb) ...
Selecting previously unselected package l7-protocols.
Unpacking l7-protocols (from .../l7-protocols_20090528-4_all.deb) ...
Selecting previously unselected package l7-filter-userspace.
Unpacking l7-filter-userspace (from .../l7-filter-userspace_0.12-beta1-1_amd64.deb) ...
Selecting previously unselected package zentyal-l7-protocols.
Unpacking zentyal-l7-protocols (from .../zentyal-l7-protocols_3.0_all.deb) ...
Processing triggers for man-db ...
Setting up zentyal-firewall (3.0.4) ...
service administration does not exist.dpkg: error processing zentyal-firewall (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-dns:
zentyal-dns depends on zentyal-firewall; however:
Package zentyal-firewall is not configured yet.
dpkg: error processing zentyal-dns (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-ntp:
zentyal-ntp depends on zentyal-firewall; however:
Package zentyal-firewall is not configured yet.
dpkg: error processing zentyal-ntp (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-users:
zentyal-users depends on zentyal-firewall; however:
Package zentyal-firewall is not configured yet.
zentyal-users depends on zentyal-dns (>= 3.0.7); however:
Package zentyal-dns is not configured yet.
zentyal-users depends on zentyal-ntp; however:
Package zentyal-ntp is not configured yet.
dpkg: error processing zentyal-users (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-squid:
zentyal-squid depends on zentyal-firewall; however:
Package zentyal-firewall is not configured yet.
zentyal-squid depends on zentyal-users (>= 3.0.18); however:
Package zentyal-users is not configured yet.
dpkg: error processing zentyal-squid (--configure):
dpkg: dependency problems prevent configuration of zentyal-trafficshaping:
zentyal-trafficshaping depends on zentyal-firewall; however:
Package zentyal-firewall is not configured yet.
dpkg: error processing zentyal-trafficshaping (--configure):
dependency problems - leaving unconfigured
Setting up l7-protocols (20090528-4) ...
dpkg: dependency problems prevent configuration of zentyal-l7-protocols:
zentyal-l7-protocols depends on zentyal-trafficshaping; however
Package zentyal-trafficshaping is not configured yet
dpkg: error processing zentyal-l7-protocols (--configure):
dependency problems - leaving unconfigure
No apport report written because MaxReports is reached alread
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
zentyal-firewall
zentyal-dns
zentyal-ntp
zentyal-users
zentyal-squid
zentyal-trafficshaping
zentyal-l7-protocols
if i cant do it, then it cannot be done

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: zentyal and squid proxy
« Reply #13 on: July 09, 2013, 08:29:37 pm »
dpkg --configure zentyal-firewall

kanjah

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
  • the quiet you become, the more you hear
    • View Profile
Re: zentyal and squid proxy
« Reply #14 on: July 10, 2013, 07:42:30 am »
Hi there, when i run

Code: [Select]
dpkg --configure zentyal-firewall
i get this error message;
Quote
service administration does not exist.dpkg: error processing zentyal-firewall (--configure)
if i cant do it, then it cannot be done