mn2192
(usa Outra)
Enviado em 16/08/2010 - 16:34h
Meu squid estava funcionando normalmente, até que parou de repente e fica dando esse erro quando dou o comando RunCache&
root@safety:~# Running: squid -sY >> /var/log/squid/squid.out 2>&1
Running: squid -sY >> /var/log/squid/squid.out 2>&1
Running: squid -sY >> /var/log/squid/squid.out 2>&1
Quando eu reinicio o servidor ele iniciar normalmente, depois de alguns segundos eu dou o comando ps aux e ele não aparece mais,e fica apresentando esse erro aí
quando dou ps aux aparece esses serviços
root 1110 0.0 0.0 0 0 ? S< 08:03 0:00 [exec-osm/0]
root 1116 0.0 0.0 0 0 ? S< 08:03 0:00 [block-osm/0]
root 1123 0.0 0.0 0 0 ? S< 08:03 0:00 [khpsbpkt]
root 1186 0.0 0.0 0 0 ? S< 08:03 0:00 [kstriped]
root 1188 0.0 0.0 0 0 ? S< 08:03 0:00 [ksnapd]
root 1194 0.0 0.0 0 0 ? S< 08:03 0:00 [rpciod/0]
root 1200 0.0 0.0 0 0 ? S< 08:03 0:00 [kjournald]
root 1254 0.0 0.1 2160 896 ? S<s 08:03 0:00 /sbin/udevd --daemon
root 1472 0.0 0.0 0 0 ? S< 08:03 0:00 [kpsmoused]
root 2257 0.0 0.0 0 0 ? S< 08:04 0:00 [kjournald]
root 2258 0.0 0.0 0 0 ? S< 08:04 0:00 [kjournald]
root 2301 0.0 0.1 1748 644 ? Ss 08:04 0:00 /usr/sbin/syslogd
root 2305 0.0 0.0 1704 460 ? Ss 08:04 0:00 /usr/sbin/klogd -c 3 -x
root 2563 0.0 0.1 1740 524 ? Ss 08:04 0:00 /usr/sbin/inetd
root 2570 0.0 0.2 3928 1028 ? Ss 08:04 0:00 /usr/sbin/sshd
root 2577 0.0 0.1 1696 576 ? Ss 08:04 0:00 /usr/sbin/acpid
81 2588 0.0 0.1 2292 672 ? Ss 08:04 0:00 /usr/bin/dbus-daemon --system
82 2593 0.0 0.8 5996 4072 ? Ss 08:04 0:00 /usr/sbin/hald --daemon=yes
root 2594 0.0 0.1 3076 1008 ? S 08:04 0:00 hald-runner
root 2628 0.0 0.1 3172 1008 ? S 08:04 0:00 hald-addon-input: Listening on /dev/input/event2 /dev/input/event1
82 2633 0.0 0.1 2228 940 ? S 08:04 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 2646 0.0 0.1 1912 632 ? S 08:04 0:00 /usr/sbin/crond -l10
daemon 2648 0.0 0.0 1912 420 ? Ss 08:04 0:00 /usr/sbin/atd -b 15 -l 1
root 2658 0.0 0.3 6512 2024 ? Ss 08:04 0:00 sshd: root@pts/0
root 2662 0.0 0.3 3120 1740 pts/0 Rs 08:04 0:00 -bash
root 2676 0.0 0.6 8568 3316 ? Ss 08:04 0:00 /usr/sbin/httpd -k start
root 2678 0.0 0.1 1920 524 ? Ss 08:04 0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root 2681 0.0 0.1 1704 528 tty1 Ss+ 08:04 0:00 /sbin/agetty 38400 tty1 linux
root 2682 0.0 0.1 1704 528 tty2 Ss+ 08:04 0:00 /sbin/agetty 38400 tty2 linux
root 2683 0.0 0.1 1704 532 tty3 Ss+ 08:04 0:00 /sbin/agetty 38400 tty3 linux
root 2684 0.0 0.1 1704 532 tty4 Ss+ 08:04 0:00 /sbin/agetty 38400 tty4 linux
root 2685 0.0 0.1 1704 528 tty5 Ss+ 08:04 0:00 /sbin/agetty 38400 tty5 linux
root 2686 0.0 0.1 1704 528 tty6 Ss+ 08:04 0:00 /sbin/agetty 38400 tty6 linux
apache 2706 0.0 0.3 8700 2024 ? S 08:04 0:00 /usr/sbin/httpd -k start
apache 2707 0.0 0.3 8700 2024 ? S 08:04 0:00 /usr/sbin/httpd -k start
apache 2708 0.0 0.3 8700 2024 ? S 08:04 0:00 /usr/sbin/httpd -k start
apache 2709 0.0 0.3 8700 2024 ? S 08:04 0:00 /usr/sbin/httpd -k start
apache 2710 0.0 0.3 8700 2024 ? S 08:04 0:00 /usr/sbin/httpd -k start
root 2897 0.0 0.1 2564 936 pts/0 R+ 08:26 0:00 ps aux
meu squid.conf está assim:
http_port 3128
cache_dir ufs /var/lib/squid/cache 100 256 256
cache_mem 16 mb
cache_swap_low 90
cache_swap_high 95
client_netmask 255.255.255.0
visible_hostname Safety
## PARAMETROS DE CONFIGURACAO
auth_param basic program /usr/libexec/ncsa_auth /etc/squid/arquivos/passwd
auth_param basic children 5
auth_param basic realm Solucoes
auth_param basic credentialsttl 10 hours
auth_param basic casesensitive off
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
hosts_file /etc/hosts
refresh_pattern ^ftp:1440 20%10080
refresh_pattern ^gopher:1440 0%1440
refresh_pattern .020%4320
#acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 110
acl SSL_ports port 21
acl SSL_ports port 20001
acl SSL_ports port 1080
acl SSL_ports port 443 563# https, snews
acl SSL_ports port 873# rsync
acl Safe_ports port 80# http
acl Safe_ports port 21# ftp
acl Safe_ports port 443 563# https, snews
acl Safe_ports port 8080# Tomcat
acl Safe_ports port 70# gopher
acl Safe_ports port 210# wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280# http-mgmt
acl Safe_ports port 488# gss-http
acl Safe_ports port 591# filemaker
acl Safe_ports port 777# multiling http
acl Safe_ports port 631# cups
acl Safe_ports port 873# rsync
acl Safe_ports port 901# SWAT
acl Safe_ports port 110
acl purge method PURGE
acl CONNECT method CONNECT
## CONFIGURACAO DAS ACLs
acl gdiretoria proxy_auth "/etc/squid/arquivos/grupos/gdiretoria" REQUIRED
acl gproducao proxy_auth "/etc/squid/arquivos/grupos/gproducao" REQUIRED
acl gatendimento proxy_auth "/etc/squid/arquivos/grupos/gatendimento" REQUIRED
acl rede_local src 192.168.2.0/255.255.255.0
acl dl_gdiretoria dstdomain "/etc/squid/arquivos/liberados/dl_gdiretoria"
acl dl_gproducao dstdomain "/etc/squid/arquivos/liberados/dl_gproducao"
acl dl_gatendimento dstdomain "/etc/squid/arquivos/liberados/dl_gatendimento"
acl db_geraldstdomain "/etc/squid/arquivos/bloqueados/db_geral"
acl dl_geraldstdomain "/etc/squid/arquivos/liberados/dl_geral"
acl desktop_msn req_mime_type -i ^application/x-msn-messenger$
acl proxysdstdomain "/etc/squid/arquivos/bloqueados/proxys"
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
http_access allow CONNECT SSL_ports
http_access allow localhost
http_access deny !rede_local
http_access deny proxys
http_access deny db_geral
http_access allow dl_geral
http_access allow gproducao dl_gproducao
http_access allow gatendimento dl_gatendimento
http_access allow gdiretoria
#http_reply_access allow all
#icp_access allow all
coredump_dir /var/spool/squid
http_access deny all