[Server] Problema con sarg

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Scrivi risposta
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

[Server] Problema con sarg

Messaggio da cucumiao »

ciao a tutti oggi stavo controllando il server proxy con squid e sarg, e mentre andavo a leggere i report di sarg mi appare un messaggio di errore
SARG: (report-2) Non riesco ad aprire il file: /tmp/sarg/[23/.htmp - No such file or directory
ho provato anche a cambiare i permessi ma mi da sempre lo stesso problema.. non riesco a far partire sarg.. >:(
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

versione di sarg installata? fai l'output html?
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

Sarg version 2.1
se vado a veder l'output html mi da il seguente errore
Failed to open report file : /var/www/squid-reports/2008Jun23-2008Jun23/index.html
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

hai la 8.04?

io con le precedenti versioni di sarg ho avuto mille problemi ora con la 2.2.5 tutto pare essersi risolto

comunque prova a dare

Codice: Seleziona tutto

 sudo sarg-reports today 
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

proxy@ubuntu:~$ sudo sarg-reports today
sudo: sarg-reports: command not found
proxy@ubuntu:~$
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

versione OS? 7.10 o 8.04? installato dai sorgenti o dai deb di apt?
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

server 6.06 installato tramite apt
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

mhmmm ecco perchè non ti funzia...credo che abbiano inserito il comando sarg-reports con la 2.2.x...anche a me dava quell'errore con la 1.4.x ma dalla 2 ho creato la generazione con uno script gestito da webmin, fino ad un mese fa quando ho scoperto "sarg-reports [today,manual,daily,weekly,mothly] è uno script di un italiano:

http://www.initzero.it/products/opensou ... rg-reports
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

ma i quale directory lo devo inserire e con che nome?
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

sarg-reports in /usr/sbin permessi root:root 755
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

[Risolto] Re: [Server] Problema con sarg

Messaggio da cucumiao »

grazie mille funge alla grande  (b2b) (b2b)
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

ti funziona anche il weekly?
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

webpatella ha scritto: ti funziona anche il weekly?
??? ???
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

sarg-reports weekly
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Avatar utente
cucumiao
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1121
Iscrizione: martedì 22 agosto 2006, 0:24
Località: Sardegna
Contatti:

Re: [Server] Problema con sarg

Messaggio da cucumiao »

webpatella ha scritto: sarg-reports weekly
scusami ma non so cosa intendi.. i reports riesco a vederli , cio'è vengono generati e li vedo tramite webmin
Avatar utente
webpatella
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1185
Iscrizione: lunedì 14 gennaio 2008, 10:14
Contatti:

Re: [Server] Problema con sarg

Messaggio da webpatella »

aaaaaahhhhh ok no io li genero con un cron...ok come non detto sorry...
Se oggi ho capito qualcosa deve essere obsoleto!!!
Guide & Consigli http://www.easyict.org/guide-consigli.html
Web Directory Free http://www.easyict.org/directory.html
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite