Re: [ubuntu-ec] Problemas con Squid 2 (logs)
Que tal Carlos para mi opinion tienes dos opciones, la primera de dar permisos al archivo que te esta fallando o la otra es coger borrar toda la swap del squid y regenerar la misma con squid -z. Pero yo recomendaria dar permisos la segunda opcion dejemosla para el último. Suerte!!! Carlos Sanchez escribió: > Hola companeros parece que he encontrado el error en lo que les > comente del squid, he aqui el LOG > > > 2009/03/16 11:50:55| Starting Squid Cache version 2.6.STABLE18 for > i386-debian-linux-gnu... > 2009/03/16 11:50:55| Process ID 4899 > 2009/03/16 11:50:55| With 1024 file descriptors available > 2009/03/16 11:50:55| Using epoll for the IO loop > 2009/03/16 11:50:55| DNS Socket created at 0.0.0.0, port 40462, FD 6 > 2009/03/16 11:50:55| Adding nameserver 192.168.1.1 from /etc/resolv.conf > 2009/03/16 11:50:55| Adding nameserver 192.168.1.100 from /etc/resolv.conf > 2009/03/16 11:50:55| Adding nameserver 200.107.10.52 from /etc/resolv.conf > 2009/03/16 11:50:55| Adding nameserver 200.107.60.58 from /etc/resolv.conf > 2009/03/16 11:50:55| User-Agent logging is disabled. > 2009/03/16 11:50:55| Referer logging is disabled. > 2009/03/16 11:50:55| Unlinkd pipe opened on FD 11 > 2009/03/16 11:50:55| Swap maxSize 102400 KB, estimated 7876 objects > 2009/03/16 11:50:55| Target number of buckets: 393 > 2009/03/16 11:50:55| Using 8192 Store buckets > 2009/03/16 11:50:55| Max Mem size: 8192 KB > 2009/03/16 11:50:55| Max Swap size: 102400 KB > 2009/03/16 11:50:55| Local cache digest enabled; rebuild/rewrite every > 3600/3600 sec > *2009/03/16 11:50:55| /var/spool/squid/swap.state: (13) Permission denied > FATAL: storeUfsDirOpenSwapLog: Failed to open swap log. > Squid Cache (Version 2.6.STABLE18): Terminated abnormally. > *CPU Usage: 0.030 seconds = 0.030 user + 0.000 sys > Maximum Resident Size: 0 KB > Page faults with physical i/o: 0 > > Me parece a mi que hay que darle permisos a esta ruta, lo que me hace > dudar del poder del SUDO, mejor es hacer las cosas por ROOT > verdad, opiñones. > > Saludos -- Ubuntu-ec mailing list Ubuntu-ec@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ec
[ubuntu-ec] Problemas con Squid 2 (logs)
Hola companeros parece que he encontrado el error en lo que les comente del squid, he aqui el LOG 2009/03/16 11:50:55| Starting Squid Cache version 2.6.STABLE18 for i386-debian-linux-gnu... 2009/03/16 11:50:55| Process ID 4899 2009/03/16 11:50:55| With 1024 file descriptors available 2009/03/16 11:50:55| Using epoll for the IO loop 2009/03/16 11:50:55| DNS Socket created at 0.0.0.0, port 40462, FD 6 2009/03/16 11:50:55| Adding nameserver 192.168.1.1 from /etc/resolv.conf 2009/03/16 11:50:55| Adding nameserver 192.168.1.100 from /etc/resolv.conf 2009/03/16 11:50:55| Adding nameserver 200.107.10.52 from /etc/resolv.conf 2009/03/16 11:50:55| Adding nameserver 200.107.60.58 from /etc/resolv.conf 2009/03/16 11:50:55| User-Agent logging is disabled. 2009/03/16 11:50:55| Referer logging is disabled. 2009/03/16 11:50:55| Unlinkd pipe opened on FD 11 2009/03/16 11:50:55| Swap maxSize 102400 KB, estimated 7876 objects 2009/03/16 11:50:55| Target number of buckets: 393 2009/03/16 11:50:55| Using 8192 Store buckets 2009/03/16 11:50:55| Max Mem size: 8192 KB 2009/03/16 11:50:55| Max Swap size: 102400 KB 2009/03/16 11:50:55| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec *2009/03/16 11:50:55| /var/spool/squid/swap.state: (13) Permission denied FATAL: storeUfsDirOpenSwapLog: Failed to open swap log. Squid Cache (Version 2.6.STABLE18): Terminated abnormally. *CPU Usage: 0.030 seconds = 0.030 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Me parece a mi que hay que darle permisos a esta ruta, lo que me hace dudar del poder del SUDO, mejor es hacer las cosas por ROOT verdad, opiñones. Saludos -- Ubuntu-ec mailing list Ubuntu-ec@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ec
Re: [ubuntu-ec] Problemas con Squid
Sería muy importante revisar los logs. Por ahí se puede determinar que realmente esta pasando y si es posible levante squid en modo debug. Carlos Sanchez escribió: > Que tal companeros, saben que estoy implementando Squid en mi servidor > con Ubuntu 8.04.2 pero lo raro es que ya tengo configurado bien el > squid, inicio el servicio y no sale error, pero al momento de ver si > esta funcionando con ps ax no me sale nada, lo raro es que si mando un > squid reload me sale que no tengo ninguna copia corriendo, e aqui la > informacion: > > r...@cps-ubuntu:~# cd /etc/init.d > r...@cps-ubuntu:/etc/init.d# ./squid reload > * Reloading Squid configuration files > squid: ERROR: No running copy > > > lo mande a iniciar y paso lo siguiente > r...@cps-ubuntu:/etc/init.d# ./squid start > * Starting Squid HTTP proxy squid > [ OK ] > r...@cps-ubuntu:/etc/init.d# ./squid reload > * Reloading Squid configuration files > squid: ERROR: No running copy > > > Muy extraño, el proxy esta raro > r...@cps-ubuntu:/etc/init.d# ./squid stop > * Stopping Squid HTTP proxy squid > [ OK ] > r...@cps-ubuntu:/etc/init.d# ./squid start > * Starting Squid HTTP proxy squid [ OK > pero al hacer > r...@cps-ubuntu:/etc/init.d# ./squid reload > * Reloading Squid configuration files > squid: ERROR: No running copy > r...@cps-ubuntu:/etc/init.d# ./squid force-reload > * Reloading Squid configuration files > squid: ERROR: No running copy > > > por favor si alguien ha solucionado esto, o sabe como arreglarlo por > favor comuniquese conmigo o expongalo aqui en la lista > > gracias saludos -- Ubuntu-ec mailing list Ubuntu-ec@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ec
[ubuntu-ec] Problemas con Squid
Que tal companeros, saben que estoy implementando Squid en mi servidor con Ubuntu 8.04.2 pero lo raro es que ya tengo configurado bien el squid, inicio el servicio y no sale error, pero al momento de ver si esta funcionando con ps ax no me sale nada, lo raro es que si mando un squid reload me sale que no tengo ninguna copia corriendo, e aqui la informacion: r...@cps-ubuntu:~# cd /etc/init.d r...@cps-ubuntu:/etc/init.d# ./squid reload * Reloading Squid configuration files squid: ERROR: No running copy lo mande a iniciar y paso lo siguiente r...@cps-ubuntu:/etc/init.d# ./squid start * Starting Squid HTTP proxy squid [ OK ] r...@cps-ubuntu:/etc/init.d# ./squid reload * Reloading Squid configuration files squid: ERROR: No running copy Muy extraño, el proxy esta raro r...@cps-ubuntu:/etc/init.d# ./squid stop * Stopping Squid HTTP proxy squid [ OK ] r...@cps-ubuntu:/etc/init.d# ./squid start * Starting Squid HTTP proxy squid [ OK pero al hacer r...@cps-ubuntu:/etc/init.d# ./squid reload * Reloading Squid configuration files squid: ERROR: No running copy r...@cps-ubuntu:/etc/init.d# ./squid force-reload * Reloading Squid configuration files squid: ERROR: No running copy por favor si alguien ha solucionado esto, o sabe como arreglarlo por favor comuniquese conmigo o expongalo aqui en la lista gracias saludos -- Ubuntu-ec mailing list Ubuntu-ec@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ec