Здравейте, имам проблем със Squid и не мога да го подкарам
Ето какъв ми е конфигурационния файл:
/etc/squid/squid.conf:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/24 # RFC1918 possible internal network
#acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
#
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 CONNECT method CONNECT
http_access allow manager localhost
http_access allow localnet
####################
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
http_access allow localnet
# And finally deny all other access to this proxy
http_access deny all
#Allow ICP queries from local networks only
icp_access allow localnet
icp_access deny all
#Allow HTCP queries from local networks only
htcp_access allow localnet
htcp_access deny all
# Squid normally listens to port 3128
http_port 3128
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/cache/squid/ 100 16 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid/squid.pid
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_effective_user nobody
cache_effective_group nobody
icp_port 3130
при стартиране на програмата със #squid не дава никаква грешка появява се за малко процесът squid но след 1 мин. изчезва:
bash-3.1# squid
bash-3.1# ps -ef |grep squid
root 3597 1 0 10:16 ? 00:00:00 squid
bash-3.1# ps -ef |grep squid
root 3597 1 0 10:16 ? 00:00:00 squid
bash-3.1# ps -ef |grep squid
root 3597 1 0 10:16 ? 00:00:00 squid
bash-3.1# ps -ef |grep squid
root 3597 1 0 10:16 ? 00:00:00 squid
nobody 3614 3597 0 10:17 ? 00:00:00 (squid)
bash-3.1# ps -ef |grep squid
root 3597 1 0 10:16 ? 00:00:00 squid
bash-3.1# ps -ef |grep squid
НЯМА ВЕЧЕ ТАКЪВ ПРОЦЕС!
При стартирането на sqiud така:
#squid -N -d l -D изкарва следното съобщение:
bash-3.1# squid -N -d l -D
2010/03/01 10:13:50| Starting Squid Cache version 3.0.STABLE13 for i486-slackware-linux-gnu...
2010/03/01 10:13:50| /var/cache/squid//00: (2) No such file or directory
Естествено като настроя браузър на компютър от мрежата да ползва това прокси не става нищо...защото според мен не се е стартирал прокси сървърът
Ще се радвам ако някой даде идея защо така става и къде ми е проблема?