Você está na página 1de 7

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

Welcome, Guest. Please login or register. Did you miss your activation email?
pfSense Forum International Support Portuguese [Resolvido] Erro no sarg

Username: Password:

Home

Help

Search

Login

Register

Honda CBR 1000 RR


A PARTIR DE

Honda Biz
A PARTIR DE

Honda XRE 300


A PARTIR DE

R$ 35.000

R$ 3.000

R$ 5.500

previous next
Pages: [1] 2 All Go Down Author Topic: [Resolvido] Erro no sarg (Read 4687 times)
PRINT

0 Members and 1 Guest are viewing this topic.

danielsantiago
Newbie Offline Posts: 14

[Resolvido] Erro no sarg


on: April 04, 2012, 08:15:21 am

Ol pessoal alguem ja se deparou com este erro no sarg para reports? Error: Could not find report index file. Check sarg settings and try to force sarg schedule. O show log estar perfeito porem n tenho report diario.
Last Edit: April 04, 2012, 06:11:06 pm by marcelloc Logged

marcelloc
Moderator Hero Member Offline Posts: 8443

Re: Erro no sarg


Reply #1 on: April 04, 2012, 08:54:43 am

Voc marcou a opo de gerar o index na primeira aba de configurao do sarg? J tentou forar uma execuo dentro dos agendamentos(schedules)?

Logged Have I helped you? Donations are always welcome! Te ajudei? Doaes so sempre bem vindas!

1 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

danielsantiago
Newbie Offline Posts: 14

Re: Erro no sarg


Reply #2 on: April 04, 2012, 03:42:30 pm

Perfeito amigo fiz o q falou e deu certo... Valew

Logged

thiagosf88
Jr. Member Offline Posts: 82

Re: [Resolvido] Erro no sarg


Reply #3 on: May 29, 2012, 01:52:40 pm

Marcello, estou com o mesmo problema. Quando vou na aba view report d o erro: Error: Could not find report index file. Check and save sarg settings and try to force sarg schedule. As nicas configuraes que fiz so as que esto nos anexos
Logged

marcelloc
Moderator Hero Member Offline Posts: 8443

Re: [Resolvido] Erro no sarg


Reply #4 on: May 29, 2012, 02:11:50 pm

marque todas as opes padro(com yes na descrio) e tente gerar o report novamente. se ainda sim no funcionar, rode o comando sarg -x na console e veja se ele retorna algum erro de configurao. att, Marcello Coutinho
Logged Have I helped you? Donations are always welcome! Te ajudei? Doaes so sempre bem vindas!

thiagosf88
Jr. Member Offline Posts: 82

Re: [Resolvido] Erro no sarg


Reply #5 on: May 29, 2012, 03:13:34 pm

Marcello, o erro retornado foi: /libexec/ld-elf.so.1: Shared object "libgd.so.4" not found, required by "sarg"
Logged

2 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

marcelloc
Moderator Hero Member Offline Posts: 8443

Re: [Resolvido] Erro no sarg


Reply #6 on: May 29, 2012, 05:05:07 pm

Quote from: thiagosf88 on May 29, 2012, 03:13:34 pm


Marcello, o erro retornado foi: /libexec/ld-elf.so.1: Shared object "libgd.so.4" not found, required by "sarg"

Precisei apontar o download do pacote para o repositrio oficial, instala o gd com este comando. Posta o resultado por favor. amd64 pkg_add -r http://files.pfsense.org/packages/amd64/8/All/gd-2.0.35_7%2c1.tbz i386 pkg_add -r http://files.pfsense.org/packages/8/All/gd-2.0.35_7%2c1.tbz
Logged Have I helped you? Donations are always welcome! Te ajudei? Doaes so sempre bem vindas!

thiagosf88
Jr. Member Offline Posts: 82

Re: [Resolvido] Erro no sarg


Reply #7 on: May 30, 2012, 06:36:29 am

Marcello, Funcionou. Muito obrigado


Logged

elvio.tche
Full Member Offline Posts: 132

Re: [Resolvido] Erro no sarg


Reply #8 on: June 28, 2012, 04:10:53 pm

Quote from: marcelloc on May 29, 2012, 05:05:07 pm Quote from: thiagosf88 on May 29, 2012, 03:13:34 pm
Marcello, o erro retornado foi: /libexec/ld-elf.so.1: Shared object "libgd.so.4" not found, required by "sarg" Precisei apontar o download do pacote para o repositrio oficial, instala o gd com este comando. Posta o resultado por favor. amd64 pkg_add -r http://files.pfsense.org/packages/amd64/8/All/gd-2.0.35_7%2c1.tbz

3 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

i386 pkg_add -r http://files.pfsense.org/packages/8/All/gd-2.0.35_7%2c1.tbz

Marcelo, ao tentar instalar o "gd-2.0.35_7%2c1.tbz", no caso j est disponvel o "gd-2.0.35_8%2c1.tbz". Para gd-2.0.35_8%2c1.tbz retorna a mensagem de que j est instalada uma vereso mais antiga. Tentei seguir os passos deste post, porm, fui at o "sarg -x", que me retorna o seguinte:
Code: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: Init Loading configuration from /usr/local/etc/sarg/sarg.conf Loading exclude host file from: /usr/local/etc/sarg/exclude_hosts.conf Loading exclude file from: /usr/local/etc/sarg/exclude_users.conf Reading host alias file "/usr/local/etc/sarg/hostalias" List of host names to alias: Parameters: Hostname or IP address (-a) = Useragent log (-b) = Exclude file (-c) = /usr/local/etc/sarg/exclude_hosts.conf Date from-until (-d) = Email address to send reports (-e) = Config file (-f) = /usr/local/etc/sarg/sarg.conf Date format (-g) = USA (mm/dd/yyyy) IP report (-i) = No Input log (-l) = /var/log/dansguardian/access.log Resolve IP Address (-n) = No Output dir (-o) = /usr/local/sarg-reports/ Use Ip Address instead of userid (-p) = No

Alguma outra dica?


Logged

marcelloc
Moderator Hero Member Offline Posts: 8443

Re: [Resolvido] Erro no sarg


Reply #9 on: June 28, 2012, 04:21:06 pm

marca o ovewrite report nas configuraes do sarg. roda o sarg -x se no funcionar, apaga a pasta em questo e roda o sarg -x Se no funcionar, coloca aquele paramentro de data sugerido na aba schedule do sarg roda o sarg -x -d `date +%d/%m/%Y`-`date +%d/%m/%Y`

Logged Have I helped you? Donations are always welcome!

4 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

Te ajudei? Doaes so sempre bem vindas!

elvio.tche
Full Member Offline Posts: 132

Re: [Resolvido] Erro no sarg


Reply #10 on: June 29, 2012, 02:41:54 pm

Quote from: marcelloc on June 28, 2012, 04:21:06 pm


marca o ovewrite report nas configuraes do sarg. roda o sarg -x se no funcionar, apaga a pasta em questo e roda o sarg -x Se no funcionar, coloca aquele paramentro de data sugerido na aba schedule do sarg roda o sarg -x -d `date +%d/%m/%Y`-`date +%d/%m/%Y`

Continua a mensagem de erro!


Logged

marcelloc
Moderator Hero Member Offline Posts: 8443

Re: [Resolvido] Erro no sarg


Reply #11 on: June 29, 2012, 02:48:04 pm

Voc apagou as pastas que esto dando erro? Como ele pode retornar mensagem de erro de excuso em uma pasta que no existe mais?

Logged Have I helped you? Donations are always welcome! Te ajudei? Doaes so sempre bem vindas!

elvio.tche
Full Member Offline Posts: 132

Re: [Resolvido] Erro no sarg


Reply #12 on: June 29, 2012, 08:53:07 pm

Quote from: marcelloc on June 29, 2012, 02:48:04 pm


Voc apagou as pastas que esto dando erro? Como ele pode retornar mensagem de erro de excuso em uma pasta que no existe mais?

Deletei a pasta: Cannot delete /usr/local/sarg-reports/2012Jun27-2012Jun28/d192_168_10_11.html - No such file or directory


Code: rm -r /usr/local/sarg-reports/2012Jun27-2012Jun28

Na segunda-feira (02/07), vou tentar novamente!

5 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

Estou pensando em remover o SARG e instalar novamente. Depois aviso o que aconteceu. Valeu.
Logged

elvio.tche
Full Member Offline Posts: 132

Re: [Resolvido] Erro no sarg


Reply #13 on: July 03, 2012, 12:54:31 pm

Quote from: marcelloc on June 29, 2012, 02:48:04 pm


Voc apagou as pastas que esto dando erro?

Como ele pode retornar mensagem de erro de excuso em uma pasta que no existe mais?

Opa! Deletei a pasta e no tive resultado, continua na mesma!


Logged

elvio.tche
Full Member Offline Posts: 132

Re: [Resolvido] Erro no sarg


Reply #14 on: July 03, 2012, 03:13:18 pm

Quote from: marcelloc on June 29, 2012, 02:48:04 pm


Voc apagou as pastas que esto dando erro? Como ele pode retornar mensagem de erro de excuso em uma pasta que no existe mais?

Pastas deletadas! Log do comando "sarg -x":


Code: [2.0.1-RELEASE][root@pfsense.cbgrc.com.br]/usr/local/sarg-reports(48): sarg -x SARG: Init SARG: Loading configuration from /usr/local/etc/sarg/sarg.conf SARG: Loading exclude host file from: /usr/local/etc/sarg/exclude_hosts.conf SARG: Loading exclude file from: /usr/local/etc/sarg/exclude_users.conf SARG: Reading host alias file "/usr/local/etc/sarg/hostalias" SARG: List of host names to alias: SARG: Parameters: SARG: Hostname or IP address (-a) = SARG: Useragent log (-b) = SARG: Exclude file (-c) = /usr/local/etc/sarg/exclude_hosts.conf SARG: Date from-until (-d) = SARG: Email address to send reports (-e) = SARG: Config file (-f) = /usr/local/etc/sarg/sarg.conf SARG: Date format (-g) = Europe (dd/mm/yyyy) SARG: IP report (-i) = No SARG: Input log (-l) = /var/log/dansguardian/access.log SARG: Resolve IP Address (-n) = No

6 de 7

29/06/2013 10:22

[Resolvido] Erro no sarg

http://forum.pfsense.org/index.php?topic=47995.0

SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG: SARG:

Output dir (-o) Use Ip Address instead of userid (-p) Accessed site (-s) Time (-t) User (-u) Temporary dir (-w) Debug messages (-x) Process messages (-z) Previous reports to keep (--lastlog)

= = = = = = = = =

/usr/local/sarg-reports/ No

/tmp/sarg Yes No 50

sarg version: 2.3.2 Nov-23-2011 Reading access log file: /var/log/dansguardian/access.log Records in file: 226, reading: 100.00% Records read: 226, written: 226, excluded: 0 Squid log format Period: 03 Jul 2012 pre-sorting files Making file: /tmp/sarg/192_168_10_14 Making file: /tmp/sarg/192_168_10_13

Telas de configurao:
Logged

Pages: [1] 2 All Go Up

PRINT

previous next

Jump to:

Powered by SMF 1.1.18 | SMF 2013, Simple Machines Page created in 0.03 seconds with 18 queries.

7 de 7

29/06/2013 10:22

Você também pode gostar