Thread: Squid3 wont start
hello there
have huge problem squid3. second day im trying start it. wint start on bootup , wont start on
actualy on squid3 start squid3 start/running, process 13577code:service squid3 start
on
> ps auxww | fgrep squid3so no squid3 pscode:root 14073 0.0 0.0 4392 604 ? s 23:46 0:00 sh -c su root -c ps\ auxww\ \|\ fgrep\ squid3 2>&1 root 14074 0.0 0.0 54944 1596 ? s 23:46 0:00 su root -c ps auxww | fgrep squid3 root 14081 0.0 0.0 12296 1204 ? s 23:46 0:00 bash -c ps auxww | fgrep squid3 root 14083 0.0 0.0 9300 708 ? s 23:46 0:00 fgrep squid3
here conf file
code:# welcome squid 3.1.19 # ---------------------------- acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl localnet src 10.8.0.1 # network options # ----------------------------------------------------------------------------- # tag: http_port http_port 10.8.0.1:3128 intercept http_port 127.0.0.1:3128 intercept # squid listens port 3128 http_port 3128 intercept # tag: hierarchy_stoplist hierarchy_stoplist cgi-bin ? #acl query urlpath_regex cgi-bin ?#cache deny queryacl apache rep_header server ^apache # tag: ssl_ports acl ssl_ports port 443 # https acl ssl_ports port 563 # snews acl ssl_ports port 873 # cups # tag: safe_ports acl safe_ports port 21 # ftp acl safe_ports port 22 # ssh acl safe_ports port 70 # gopher acl safe_ports port 80 # http acl safe_ports port 210 # wais acl safe_ports port 280 # http-mgmt acl safe_ports port 443 # https acl safe_ports port 488 # gss-http acl safe_ports port 591 # filemaker acl safe_ports port 631 # multiling http acl safe_ports port 777 # multiling http acl safe_ports port 873 # cups acl safe_ports port 901 # rsync acl safe_ports port 10000 # webmin acl safe_ports port 1025-65535 # unregistered ports # tag: method acl purge method purge acl connect method connect http_access allow manager localhost http_access deny manager # deny requests unsafe ports http_access deny !safe_ports # deny connect other secure ssl ports http_access deny connect !ssl_ports # time options # ----------------------------------------------------------------------------- acl officetime time mtwhfa 10:00-17:00 # advertisement options # ----------------------------------------------------------------------------- acl ads_deny dstdomain "/etc/squid3/ads_deny.acl"acl ads_deny_administrators dstdomain "/etc/squid3/ads_deny_administrators.acl" acl ads_deny_powerusers dstdomain "/etc/squid3/ads_deny_powerusers.acl"acl ads_deny_users dstdomain "/etc/squid3/ads_deny_users.acl" # sites options # ----------------------------------------------------------------------------- acl sites_allow dstdomain "/etc/squid3/sites_allow.acl"acl sites_deny dstdomain "/etc/squid3/sites_deny.acl"acl sites_allow_administrators dstdomain "/etc/squid3/sites_allow_administrators.acl"acl sites_deny_administrators dstdomain "/etc/squid3/sites_deny_administrators.acl" acl sites_allow_powerusers dstdomain "/etc/squid3/sites_allow_powerusers.acl"acl sites_deny_powerusers dstdomain "/etc/squid3/sites_deny_powerusers.acl"acl sites_allow_users dstdomain "/etc/squid3/sites_allow_users.acl"acl sites_deny_users dstdomain "/etc/squid3/sites_deny_users.acl" # programs options # ----------------------------------------------------------------------------- acl skype url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+ #skype # files options # -----------------------------------------------------------------------------#acl files_allow_administrators_up rep_mime_type –i "/etc/squid3/files_allow_administrators.acl"#acl files_deny_administrators_up rep_mime_type -i "/etc/squid3/files_deny_administrators.acl" #acl files_allow_administrators_down req_mime_type -i "/etc/squid3/files_allow_administrators.acl"#acl files_deny_administrators_down req_mime_type -i "/etc/squid3/files_deny_administrators.acl" #acl files_allow_powerusers_up rep_mime_type -i "/etc/squid3/files_allow_powerusers.acl"#acl files_deny_powerusers_up rep_mime_type -i "/etc/squid3/files_deny_powerusers.acl"#acl files_allow_powerusers_down req_mime_type -i "/etc/squid3/files_allow_powerusers.acl"#acl files_deny_powerusers_down req_mime_type -i "/etc/squid3/files_deny_powerusers.acl" #acl files_allow_users_up rep_mime_type -i "/etc/squid3/files_allow_users.acl"#acl files_deny_users_up rep_mime_type -i "/etc/squid3/files_deny_users.acl"#acl files_allow_users_down req_mime_type -i "/etc/squid3/files_allow_users.acl" #acl files_deny_users_down req_mime_type -i "/etc/squid3/files_deny_users.acl" deny_info err_files_administrators_down files_deny_administrators_down deny_info err_files_powerusers_down files_deny_powerusers_down deny_info err_files_users_down files_deny_users_down # users options # ----------------------------------------------------------------------------- acl users src 10.8.0.21-10.8.0.25 acl powerusers src 10.8.0.11 acl adminsitrators src 10.8.0.2 # allow deny # ----------------------------------------------------------------------------- http_access allow localhost #allowed sites http_access allow sites_allow #denyed sites http_access deny sites_deny #adminsitrators options http_access allow adminsitrators sites_allow_administrators #http_access allow adminsitrators files_allow_administrators_up #http_access allow adminsitrators files_allow_administrators_down http_access deny adminsitrators sites_deny_administrators http_access deny adminsitrators ads_deny_administrators #http_access deny adminsitrators files_deny_administrators_up #http_access deny adminsitrators files_deny_administrators_down http_access allow adminsitrators #powerusers options http_access allow powerusers sites_allow_powerusers #http_access allow powerusers files_allow_powerusers_up #http_access allow powerusers files_allow_powerusers_down http_access deny powerusers sites_deny_powerusers http_access deny powerusers ads_deny_powerusers #http_access deny powerusers files_deny_powerusers_up #http_access deny powerusers files_deny_powerusers_down http_access allow powerusers #users options http_access allow users sites_allow_users #http_access allow users files_allow_users_up #http_access allow users files_allow_users_down http_access deny users sites_deny_users http_access deny users ads_deny_users #http_access deny users files_deny_users_up #http_access deny users files_deny_users_down http_access deny users connect skype http_access allow users # , deny other access proxy http_access deny # memory cache options # ----------------------------------------------------------------------------- # tag: cache_mem (bytes) cache_mem 256 mb maximum_object_size 100 mbminimum_object_size 1 kb # tag: maximum_object_size_in_memory (bytes) maximum_object_size_in_memory 512 kb # tag: cache_dir cache_dir ufs /var/spool/squid3 7000 16 256 # tag: access_log access_log /var/log/squid3/access.log squid # tag: cache_store_log cache_store_log /var/log/squid3/store.log # tag: logfile_rotate logfile_rotate 10 # options troubleshooting # ----------------------------------------------------------------------------- # tag: cache_log cache_log /var/log/squid3/cache.log # tag: coredump_dir coredump_dir /var/spool/squid3 # options tuning cache # ----------------------------------------------------------------------------- # tag: refresh_pattern refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (release|packages(.gz)*)$ 0 20% 2880 # example lin deb packages refresh_pattern . 0 20% 4320 refresh_pattern -i .(gif|png|jpg|jpeg|ico)$ 4320000 90% 4320000 override-expire ignore-no-cache ignore-no-store ignore-privaterefresh_pattern -i .(iso|avi|wva|mpg|wav|mp3|mp4|mpeg|swf|flv|x-flv|pdf)$ 4320000 90% 4320000 override-expire ignore-no-cache ignore-no-store ignore-privaterefresh_pattern -i .(deb|udeb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 4320000 90% 4320000 override-expire ignore-no-cache ignore-no-store ignore-privaterefresh_pattern -i .index.(html|htm)$ 0 1% 10080refresh_pattern -i .(html|htm|css|js)$ 10000 1% 40320 # tag: read_ahead_gap buffer-size read_ahead_gap 16 kb # tag: negative_ttl time-units negative_ttl 1 minute # http options # ----------------------------------------------------------------------------- # tag: request_header_max_size (kb) request_header_max_size 64 kb # tag: request_body_max_size (bytes) request_body_max_size 100 mb # administrative parameters # ----------------------------------------------------------------------------- # tag: cache_mgr cache_mgr asdafad@abv.bg # tag: visible_hostname visible_hostname asdafad.com # dns options # ----------------------------------------------------------------------------- # tag: hosts_file hosts_file /etc/hosts #acl query urlpath_regex index ?#no_cache deny query
why saying not running if process there? mean reason don't see running?
please post log squid.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Squid3 wont start
Ubuntu
Comments
Post a Comment