Author Topic: SARG  (Read 1958 times)

dfbicalho

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
SARG
« on: January 12, 2015, 08:21:16 pm »
Boa tarde Pessoal,
Sou novo em servidores linux, e estou tentando configurar o SARG , em meu Gateway Zentyal. Parece que por padrão o Zentyal ,já possui o SARG instalado, mas não consigo acessa-lo via web. Já tentei varios tutoriais e nada , ele gera os reports normalmente, mas não consigo visualiza-los em formato html , acessando http://ip-servidor/squid-reports.
Será que alguém consegue me dar um luz?
Agradeço a atenção dos Senhores.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Good afternoon Staff,
Am new to linux servers, and am trying to set the SARG in my Gateway Zentyal. It seems that the standard by Zentyal, already has installed SARG, but I can not access it via the web. I've tried several tutorials and nothing, it generates the reports normally, but can not view them in HTML format by accessing http: // ip-server / squid-reports.
Can anyone give me a light?
I thank the attention of Lords.
« Last Edit: January 12, 2015, 08:24:42 pm by dfbicalho »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: SARG
« Reply #1 on: January 14, 2015, 04:33:59 pm »
Zentyal does not install sarg by default, so it looks clear the reason why you are being able to reach it

dfbicalho

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: SARG
« Reply #2 on: January 16, 2015, 06:59:55 pm »

Obrigado pela resposta jbahillo,
Realmente , o Sarg não vem com o sarg instalado e configurado por padrão, tivemos que instala-lo manualmente.
Porém que não conseguimos acessa-lo pela web de forma alguma.
Será que teriamos que configurar algum arquivo dentro Apache ?
Obrigado.

-------------------------------------------------------------------------------------------------------------------------------------------
Thank you for jbahillo response,
Indeed, the Sarg does not come with the sarg installed and configured by default, we had to install it manually.
But we can not access it via the web at all.
Did we would have to set up some file in Apache?

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: SARG
« Reply #3 on: January 17, 2015, 07:44:08 am »
You don't change apache unless you want it as a virtual host.
Check you /etc/sarg/sarg.conf file to see where it is generation the reports, and where it takes the data from

dfbicalho

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: SARG
« Reply #4 on: January 19, 2015, 02:25:02 pm »
Ele esta gerando os Reports em

Output_dir /var/www/html/squid-reports

Mas , mesmo assim não consigo acessar, já tentei como http://ip-server/html/squid-reports e http://ip-server/squid-reports

Mas não funciona.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
He is generating Reports in

Output_dir /var/www/html/squid-reports

But I still can not access , I tried to http://ip-server/ html/squid-reports and http://ip-server/squid-reports

But does not work.

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: SARG
« Reply #5 on: January 19, 2015, 03:06:34 pm »
that should be:
http://ip_of_server/html/squid-reports

as var/www/ is the root of the web server

edit: I see you've done that, so have a look with the console to see if any html is generated. in that folder. Also check permissions. Is the folder and contents root:www-data

dfbicalho

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: SARG
« Reply #6 on: January 20, 2015, 02:33:18 pm »
Existem vários Htmls gerados dentro desta pasta , estou gerando os relatórios normalmente, só não consigo acessa-los via navegador.
Acredito não ser permissão , pelo fato dos relatórios htmls estarem sendo gerados dentro da pasta /squid-reports normalmente.
Sera que ter alguma coisa haver com o Apache2 ?

--------------------------------------------------------------------------------------------------------------------------------------------------------

There are several htmls generated within this folder, I'm generating the reports usually just can not access them via browser.
I believe not be allowed, because the reports are being generated htmls inside the folder / squid-reports normally.
Sera that have something to do with Apache2?
« Last Edit: January 20, 2015, 02:36:46 pm by dfbicalho »

gregorylins

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-0
  • Brain's Up.
    • View Profile
Re: SARG
« Reply #7 on: February 12, 2015, 08:14:08 pm »
Você já verificou se a porta 80 está rodando ?
pode usar esse comando para verificar
Code: [Select]
netstat -atpn | grep :80
Tem que ficar do jeito da imagem que anexei.
« Last Edit: February 12, 2015, 08:16:19 pm by gregorylins »