Problema log en tiempo real SquidGuard
-
Que tal compañeros del foro!
El día de hoy me di cuenta de un problema que me sucedió con squidGuard, específicamente con la pestaña "Log", me aparece la leyenda "No data" creo que sin querer modifiqué algo de la configuración y probablemente sucedió esto.
Había seguido el tutorial del compañero Bellera https://forum.pfsense.org/index.php?topic=74634.msg407714#msg407714 y tal vez eso desencadeno el problema.
Haciendo una busqueda
cat /var/squid/logs/cache.log | grep /var/log/squidGuard.log
me sale esto:
2017-01-24 00:00:00 [87622] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 00:00:00 [87933] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 00:00:00 [88201] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 00:00:00 [88232] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:03:53 [30108] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:03:53 [30202] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:03:53 [30313] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:03:53 [30359] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:51:15 [10392] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:51:15 [10665] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:51:15 [10669] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 07:51:15 [10958] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 08:36:27 [53709] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 08:36:27 [54012] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 08:36:27 [54354] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 08:36:27 [54235] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:05 [63506] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64483] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64590] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64627] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64671] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64812] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [64819] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:16:06 [65100] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:23:55 [68273] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:23:55 [68544] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:23:55 [68845] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:23:55 [69039] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [79076] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80233] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80357] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80494] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80682] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80742] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [80746] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 10:54:37 [81060] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:14 [28537] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:14 [28699] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:14 [28839] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:14 [28895] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:14 [29196] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:15 [29248] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:15 [29400] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:02:15 [29720] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:06:54 [31599] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:06:54 [31845] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:06:54 [31980] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:06:54 [32304] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:08:51 [81114] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:08:51 [81200] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:08:51 [81503] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:08:51 [81569] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [78890] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79296] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79297] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79392] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79629] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79864] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [79972] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:14:02 [80261] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [93929] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [93966] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94159] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94418] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94483] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94762] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94788] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:16:47 [94910] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:22 [8506] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:22 [8789] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:22 [8892] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:22 [8973] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:22 [9185] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:23 [9342] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:23 [9492] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:42:23 [9821] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [90936] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [91066] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [91218] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [91410] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [91668] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [92014] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [92324] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:46:59 [92474] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:47:27 [18630] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:47:28 [18859] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:47:28 [18946] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 11:47:28 [18991] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [32337] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [32574] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [32794] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [33048] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [33203] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [33471] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [33708] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:29:50 [33744] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:34 [81903] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:34 [82014] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:34 [82142] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:34 [82388] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:43 [82691] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:43 [82692] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:43 [82971] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:31:43 [83155] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [50416] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [50601] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [50636] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [50661] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [50695] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [51006] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [51346] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:44:13 [51541] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [64985] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [65288] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [65337] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [65609] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [65909] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [66134] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [66463] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:48:19 [66587] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:35 [74999] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:35 [75203] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [75511] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [75559] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [75878] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [75971] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [76059] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 12:52:36 [76082] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:02:43 [8704] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:02:43 [8833] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:02:43 [8904] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:02:43 [8977] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:08:11 [45521] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:08:12 [45750] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:08:12 [45842] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:08:12 [46050] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:18 [25974] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:18 [26309] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:18 [26571] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:19 [26681] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:19 [26903] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:19 [27060] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:19 [27379] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:29:19 [27611] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:39:19 [65668] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:39:19 [65879] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:39:19 [66109] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log 2017-01-24 13:39:19 [66382] (squidGuard): can't write to logfile /var/log/squidGuard/squidGuard.log
Y el filter config me arroja esto:
============================================================
SquidGuard configuration file
This file generated automaticly with SquidGuard configurator
(C)2006 Serg Dvoriancev
email: dv_serg@mail.ru
============================================================
logdir /var/squidGuard/log
dbhome /var/db/squidGuardAlguna luz para volver a activar los logs en tiempo real de squidGuard? ???
Saludos
-
Alguna luz? algo donde comenzar a checar, buscar, leer? :-)
-
Reiniciaste para que vuelva a crear los archivos? o si lo borras y luego reinicias y revisas?
-
No he hecho eso que dices, pero tengo otro servidor instalado con pfsense 2.1, actualizado a 2.3.2_1 e instalado squid+squidguard desde cero y ahi tambie sale lo mismo. Pensé que al instalar de nuevo desde cero iban a desaparecer esos problemas porque cuando instale el servidor de producción si me aparecían los logs en tiempo real.
Lo de desinstalar no me parece buena idea, ya que tengo 150 usuarios conectados e implica dejar la oficina sin internet… :-D
-
@pozolero alguna solucion a ese problema
-
El log va en la siguiente dirección.
logdir /var/squidGuard/log