squid not running

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

squid not running

Postby sandimun » 28 Dec 2012, 10:43

root@proxyku:~# /etc/init.d/squid -k parse
Usage: /etc/init.d/squid {start|stop|reload|force-reload|restart|status}
root@proxyku:~# /etc/init.d/squid restart
* Restarting Squid HTTP proxy squid [ OK ]
root@proxyku:~# /etc/init.d/squid status
* squid is not running
root@proxyku:~#



tolong ane para master....dah bingung niiii
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 28 Dec 2012, 15:49

Wuih ada orang Jepara. Jeparanya mana nih, Purwogondo ? Semua aktivitas server tercatat di log mas untuk memudahkan admin menelusuri kalau ada error semacam ini, misalnya bisa dilihat di syslog. Coba mas sandimun paste-kan di sini hasil dari

Code: Select all

cat /var/log/syslog | grep squid
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 28 Dec 2012, 19:53

jeparanya nalumsari mas, tugu macan ke kiri,,lah smapeyan patinya mna mas pragolapati cpa tau klo ke sna bisa mampir mau tnya2 skalian blajar ubuntu, baru nyba ni mas dan rasanya mknyus tenan ngelune....hehehe,, mkasih mas sblumya dah d kasih ptunjuk. ni mas gua gelar errornya mga dikasih ptunjuk lagi...

Dec 28 10:22:53 proxyku squid[1644]: Squid Parent: child process 1675 started
Dec 28 10:22:53 proxyku squid[1675]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:22:53 proxyku squid[1644]: Squid Parent: child process 1675 exited due to signal 6
Dec 28 10:22:56 proxyku squid[1644]: Squid Parent: child process 1702 started
Dec 28 10:22:56 proxyku squid[1702]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:22:56 proxyku squid[1644]: Squid Parent: child process 1702 exited due to signal 6
Dec 28 10:22:59 proxyku squid[1644]: Squid Parent: child process 1729 started
Dec 28 10:22:59 proxyku squid[1729]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:23:00 proxyku squid[1644]: Squid Parent: child process 1729 exited due to signal 6
Dec 28 10:23:03 proxyku squid[1644]: Squid Parent: child process 1756 started
Dec 28 10:23:03 proxyku squid[1756]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:23:03 proxyku squid[1644]: Squid Parent: child process 1756 exited due to signal 6
Dec 28 10:23:03 proxyku squid[1644]: Exiting due to repeated, frequent failures
Dec 28 10:28:20 proxyku squid[816]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:20 proxyku kernel: [ 133.943515] init: squid main process (816) ki lled by ABRT signal
Dec 28 10:28:31 proxyku squid[974]: Squid Parent: child process 978 started
Dec 28 10:28:31 proxyku squid[978]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:31 proxyku squid[974]: Squid Parent: child process 978 exited due t o signal 6
Dec 28 10:28:34 proxyku squid[974]: Squid Parent: child process 1005 started
Dec 28 10:28:34 proxyku squid[1005]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:34 proxyku squid[974]: Squid Parent: child process 1005 exited due to signal 6
Dec 28 10:28:37 proxyku squid[974]: Squid Parent: child process 1039 started
Dec 28 10:28:37 proxyku squid[1039]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:37 proxyku squid[974]: Squid Parent: child process 1039 exited due to signal 6
Dec 28 10:28:40 proxyku squid[974]: Squid Parent: child process 1066 started
Dec 28 10:28:40 proxyku squid[1066]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:40 proxyku squid[974]: Squid Parent: child process 1066 exited due to signal 6
Dec 28 10:28:43 proxyku squid[974]: Squid Parent: child process 1093 started
Dec 28 10:28:43 proxyku squid[1093]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:28:43 proxyku squid[974]: Squid Parent: child process 1093 exited due to signal 6
Dec 28 10:28:43 proxyku squid[974]: Exiting due to repeated, frequent failures
Dec 28 10:33:53 proxyku squid[1161]: Squid Parent: child process 1165 started
Dec 28 10:33:53 proxyku squid[1165]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:33:53 proxyku squid[1161]: Squid Parent: child process 1165 exited due to signal 6
Dec 28 10:33:56 proxyku squid[1161]: Squid Parent: child process 1199 started
Dec 28 10:33:56 proxyku squid[1199]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:33:56 proxyku squid[1161]: Squid Parent: child process 1199 exited due to signal 6
Dec 28 10:33:59 proxyku squid[1161]: Squid Parent: child process 1227 started
Dec 28 10:33:59 proxyku squid[1227]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:33:59 proxyku squid[1161]: Squid Parent: child process 1227 exited due to signal 6
Dec 28 10:34:02 proxyku squid[1161]: Squid Parent: child process 1254 started
Dec 28 10:34:02 proxyku squid[1254]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:34:02 proxyku squid[1161]: Squid Parent: child process 1254 exited due to signal 6
Dec 28 10:34:05 proxyku squid[1161]: Squid Parent: child process 1281 started
Dec 28 10:34:05 proxyku squid[1281]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:34:05 proxyku squid[1161]: Squid Parent: child process 1281 exited due to signal 6
Dec 28 10:34:05 proxyku squid[1161]: Exiting due to repeated, frequent failures
Dec 28 10:37:51 proxyku squid[713]: Squid Parent: child process 716 started
Dec 28 10:37:52 proxyku squid[716]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:37:52 proxyku squid[713]: Squid Parent: child process 716 exited due t o signal 6
Dec 28 10:37:55 proxyku squid[713]: Squid Parent: child process 752 started
Dec 28 10:37:55 proxyku squid[752]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:37:55 proxyku squid[713]: Squid Parent: child process 752 exited due t o signal 6
Dec 28 10:37:58 proxyku squid[713]: Squid Parent: child process 780 started
Dec 28 10:37:58 proxyku squid[780]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:37:58 proxyku squid[713]: Squid Parent: child process 780 exited due t o signal 6
Dec 28 10:38:01 proxyku squid[713]: Squid Parent: child process 814 started
Dec 28 10:38:01 proxyku squid[814]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:38:01 proxyku squid[713]: Squid Parent: child process 814 exited due t o signal 6
Dec 28 10:38:04 proxyku squid[713]: Squid Parent: child process 841 started
Dec 28 10:38:04 proxyku squid[841]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:38:04 proxyku squid[713]: Squid Parent: child process 841 exited due t o signal 6
Dec 28 10:38:04 proxyku squid[713]: Exiting due to repeated, frequent failures
Dec 28 10:38:13 proxyku squid[955]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:38:13 proxyku kernel: [ 133.587169] init: squid main process (955) ki lled by ABRT signal
Dec 28 10:42:07 proxyku squid[1139]: Squid Parent: child process 1143 started
Dec 28 10:42:07 proxyku squid[1143]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:07 proxyku squid[1139]: Squid Parent: child process 1143 exited due to signal 6
Dec 28 10:42:10 proxyku squid[1139]: Squid Parent: child process 1170 started
Dec 28 10:42:10 proxyku squid[1170]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:10 proxyku squid[1139]: Squid Parent: child process 1170 exited due to signal 6
Dec 28 10:42:13 proxyku squid[1139]: Squid Parent: child process 1198 started
Dec 28 10:42:13 proxyku squid[1198]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:13 proxyku squid[1139]: Squid Parent: child process 1198 exited due to signal 6
Dec 28 10:42:15 proxyku squid[1241]: Squid Parent: child process 1245 started
Dec 28 10:42:15 proxyku squid[1245]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:16 proxyku squid[1241]: Squid Parent: child process 1245 exited due to signal 6
Dec 28 10:42:16 proxyku squid[1139]: Squid Parent: child process 1272 started
Dec 28 10:42:16 proxyku squid[1272]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:16 proxyku squid[1139]: Squid Parent: child process 1272 exited due to signal 6
Dec 28 10:42:19 proxyku squid[1241]: Squid Parent: child process 1299 started
Dec 28 10:42:19 proxyku squid[1299]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:19 proxyku squid[1241]: Squid Parent: child process 1299 exited due to signal 6
Dec 28 10:42:19 proxyku squid[1139]: Squid Parent: child process 1333 started
Dec 28 10:42:19 proxyku squid[1333]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:19 proxyku squid[1139]: Squid Parent: child process 1333 exited due to signal 6
Dec 28 10:42:19 proxyku squid[1139]: Exiting due to repeated, frequent failures
Dec 28 10:42:22 proxyku squid[1241]: Squid Parent: child process 1360 started
Dec 28 10:42:22 proxyku squid[1360]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:22 proxyku squid[1241]: Squid Parent: child process 1360 exited due to signal 6
Dec 28 10:42:25 proxyku squid[1241]: Squid Parent: child process 1387 started
Dec 28 10:42:25 proxyku squid[1387]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:25 proxyku squid[1241]: Squid Parent: child process 1387 exited due to signal 6
Dec 28 10:42:28 proxyku squid[1241]: Squid Parent: child process 1414 started
Dec 28 10:42:28 proxyku squid[1414]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 10:42:28 proxyku squid[1241]: Squid Parent: child process 1414 exited due to signal 6
Dec 28 10:42:28 proxyku squid[1241]: Exiting due to repeated, frequent failures
Dec 28 11:31:29 proxyku squid[715]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 11:31:29 proxyku kernel: [ 133.779585] init: squid main process (715) ki lled by ABRT signal
Dec 28 19:35:34 proxyku squid[1116]: Squid Parent: child process 1120 started
Dec 28 19:35:34 proxyku squid[1120]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:35:34 proxyku squid[1116]: Squid Parent: child process 1120 exited due to signal 6
Dec 28 19:35:37 proxyku squid[1116]: Squid Parent: child process 1147 started
Dec 28 19:35:37 proxyku squid[1147]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:35:37 proxyku squid[1116]: Squid Parent: child process 1147 exited due to signal 6
Dec 28 19:35:40 proxyku squid[1116]: Squid Parent: child process 1181 started
Dec 28 19:35:40 proxyku squid[1181]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:35:40 proxyku squid[1116]: Squid Parent: child process 1181 exited due to signal 6
Dec 28 19:35:43 proxyku squid[1116]: Squid Parent: child process 1208 started
Dec 28 19:35:43 proxyku squid[1208]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:35:43 proxyku squid[1116]: Squid Parent: child process 1208 exited due to signal 6
Dec 28 19:35:46 proxyku squid[1116]: Squid Parent: child process 1235 started
Dec 28 19:35:46 proxyku squid[1235]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:35:46 proxyku squid[1116]: Squid Parent: child process 1235 exited due to signal 6
Dec 28 19:35:46 proxyku squid[1116]: Exiting due to repeated, frequent failures
Dec 28 19:41:33 proxyku squid[813]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:41:33 proxyku kernel: [ 133.618371] init: squid main process (813) ki lled by ABRT signal
Dec 28 19:43:01 proxyku squid[694]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:43:01 proxyku kernel: [ 14.795240] init: squid main process (694) ki lled by ABRT signal
Dec 28 19:44:00 proxyku squid[978]: Squid Parent: child process 982 started
Dec 28 19:44:01 proxyku squid[982]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:44:01 proxyku squid[978]: Squid Parent: child process 982 exited due t o signal 6
Dec 28 19:44:04 proxyku squid[978]: Squid Parent: child process 1009 started
Dec 28 19:44:04 proxyku squid[1009]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:44:04 proxyku squid[978]: Squid Parent: child process 1009 exited due to signal 6
Dec 28 19:44:07 proxyku squid[978]: Squid Parent: child process 1036 started
Dec 28 19:44:07 proxyku squid[1036]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:44:07 proxyku squid[978]: Squid Parent: child process 1036 exited due to signal 6
Dec 28 19:44:10 proxyku squid[978]: Squid Parent: child process 1063 started
Dec 28 19:44:10 proxyku squid[1063]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:44:10 proxyku squid[978]: Squid Parent: child process 1063 exited due to signal 6
Dec 28 19:44:13 proxyku squid[978]: Squid Parent: child process 1090 started
Dec 28 19:44:13 proxyku squid[1090]: The store_rewriter helpers are crashing too rapidly, need help!
Dec 28 19:44:13 proxyku squid[978]: Squid Parent: child process 1090 exited due to signal 6
Dec 28 19:44:13 proxyku squid[978]: Exiting due to repeated, frequent failures
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 28 Dec 2012, 23:07

The store_rewriter helpers are crashing too rapidly, need help!
Kemungkinan muncul karena anda melakukan /etc/init.d/squid restart tepat setelah anda melakukan /etc/init.d/squid -k parse. Saya kutipkan lagi posting anda =
root@proxyku:~# /etc/init.d/squid -k parse
Usage: /etc/init.d/squid {start|stop|reload|force-reload|restart|status}
root@proxyku:~# /etc/init.d/squid restart
Di baris ke-2 disebutkan : Pemakaian /etc/init.d/squid hanya boleh diikuti oleh salah satu dari {start|stop|reload|force-reload|restart|status}
Sedangkan /etc/init.d/squid -k parse tidak disebutkan. Yang ada itu squid - k diikuti dengan {reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse}. Tentang perintah lengkap-nya anda bisa ketikkan "squid -h".
Sedangkan (lagi) tentang child process sudah pernah di bahas di sini mas.
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 09:57

bukanya /etc/init.d/squid -k parse atau squid - k parse untuk melhat error mas....

sma pessan error bkan karena ksalahan cras pada partisi cachenya atw gman mas??
Dec 28 19:44:13 proxyku squid[1090]: The store_rewriter helpers are crashing too rapidly, need help!

terus kalo getu apa yang harus saya lakukan? mgkin ad pencerahan biar proxy saya jalan mas...


mkasih mas, maaf kalo tanya terus smoga tidak bosan2 untuk membantu...
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 11:12

Sudah jelas disebutkan oleh pesan error-nya squid
root@proxyku:~# /etc/init.d/squid -k parse
Usage: /etc/init.d/squid {start|stop|reload|force-reload|restart|status}
Penggunaan /etc/init.d/squid hanya diikuti oleh salah satu opsi {start|stop|reload|force-reload|restart|status} dan opsi '-k {parse} tidak disebutkan. Kalau masih kurang yakin, bisa anda jalankan '/etc/init.d/squid - h'.
Sedangkan 'opsi -k' pada squid bisa anda temukan =
Tampilkan

Code: Select all

root@warnetersa:~# squid -h
Usage: squid [-hvzCDFINRYX] [-d level] [-s | -l facility] [-f config-file] [-u port] [-k signal]
       -d level  Write debugging to stderr also.
       -f file   Use given config-file instead of
                 /etc/squid/squid.conf
       -h        Print help message.
       -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
                 Parse configuration file, then send signal to
                 running copy (except -k parse) and exit.
       -s | -l facility
                 Enable logging to syslog.
       -u port   Specify ICP port number (default: 3130), disable with 0.
       -v        Print version.
       -z        Create swap directories
       -C        Do not catch fatal signals.
       -D        Disable initial DNS tests.
       -F        Don't serve any requests until store is rebuilt.
       -I        Override HTTP port with the bound socket passed in on stdin.
       -N        No daemon mode.
       -R        Do not set REUSEADDR on port.
       -S        Double-check swap during rebuild.
       -X        Force full debugging.
       -Y        Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.
Kalau memang dalam proses instalasinya tidak ada masalah, coba lanjutkan dengan

Code: Select all

~#/etc/init.d/squid stop
~#squid -f /etc/squid/squid.conf -x
~#/etc/init.d/squid start
~#ps aux | grep squid
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 13:24

gnore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims'
2012/12/29 13:21:41| parse_line: refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
2012/12/29 13:21:41| Processing: 'refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate '
2012/12/29 13:21:41| parse_line: refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
2012/12/29 13:21:41| Processing: 'refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0'
2012/12/29 13:21:41| parse_line: refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080'
2012/12/29 13:21:41| parse_line: refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080
2012/12/29 13:21:41| Processing: 'refresh_pattern ytimg\.com.*\.(jpg|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern ytimg\.com.*\.(jpg|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern ^http:\/\/images|openx|pics|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern ^http:\/\/images|openx|pics|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 5259487 100% 5259487 override-expire reload-into-ims'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 5259487 100% 5259487 override-expire reload-into-ims
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 5259487 100% 5259487 override-expire reload-into-ims ignore-reload'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 5259487 100% 5259487 override-expire reload-into-ims ignore-reload
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999%% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999%% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims
2012/12/29 13:21:41| Processing: 'refresh_pattern -i (cgi-bin) 0 0% 0'
2012/12/29 13:21:41| parse_line: refresh_pattern -i (cgi-bin) 0 0% 0
2012/12/29 13:21:41| Processing: 'refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0'
2012/12/29 13:21:41| parse_line: refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
2012/12/29 13:21:41| Processing: 'refresh_pattern . 0 50% 161280 store-stale'
2012/12/29 13:21:41| parse_line: refresh_pattern . 0 50% 161280 store-stale
2012/12/29 13:21:41| Processing: 'header_access X-Forwarded-For deny all'
2012/12/29 13:21:41| parse_line: header_access X-Forwarded-For deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'storeurl_rewrite_program /etc/squid/storeurl.pl'
2012/12/29 13:21:41| parse_line: storeurl_rewrite_program /etc/squid/storeurl.pl
2012/12/29 13:21:41| Processing: 'acl proxyku src 192.168.1.0/24 ## Sesuaikan'
2012/12/29 13:21:41| parse_line: acl proxyku src 192.168.1.0/24 ## Sesuaikan
2012/12/29 13:21:41| aclParseAclLine: Creating ACL 'proxyku'
2012/12/29 13:21:41| aclParseIpData: 192.168.1.0/24
2012/12/29 13:21:41| Processing: 'acl mikrotik src 192.188.11.0/24 '
2012/12/29 13:21:41| parse_line: acl mikrotik src 192.188.11.0/24
2012/12/29 13:21:41| aclParseAclLine: Creating ACL 'mikrotik'
2012/12/29 13:21:41| aclParseIpData: 192.188.11.0/24
2012/12/29 13:21:41| Processing: 'http_access allow proxyku'
2012/12/29 13:21:41| parse_line: http_access allow proxyku
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'proxyku'
2012/12/29 13:21:41| Processing: 'http_access allow mikrotik'
2012/12/29 13:21:41| parse_line: http_access allow mikrotik
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'mikrotik'
2012/12/29 13:21:41| Processing: 'http_access allow localhost'
2012/12/29 13:21:41| parse_line: http_access allow localhost
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'localhost'
2012/12/29 13:21:41| Processing: 'http_access deny all'
2012/12/29 13:21:41| parse_line: http_access deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'http_reply_access allow all'
2012/12/29 13:21:41| parse_line: http_reply_access allow all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'icp_access allow proxyku'
2012/12/29 13:21:41| parse_line: icp_access allow proxyku
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'proxyku'
2012/12/29 13:21:41| Processing: 'icp_access allow mikrotik'
2012/12/29 13:21:41| parse_line: icp_access allow mikrotik
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'mikrotik'
2012/12/29 13:21:41| Processing: 'icp_access allow localhost'
2012/12/29 13:21:41| parse_line: icp_access allow localhost
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'localhost'
2012/12/29 13:21:41| Processing: 'icp_access deny all'
2012/12/29 13:21:41| parse_line: icp_access deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'always_direct deny all'
2012/12/29 13:21:41| parse_line: always_direct deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'header_access Accept-Encoding deny all'
2012/12/29 13:21:41| parse_line: header_access Accept-Encoding deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| Processing: 'client_persistent_connections off'
2012/12/29 13:21:41| parse_line: client_persistent_connections off
2012/12/29 13:21:41| Processing: 'server_persistent_connections on'
2012/12/29 13:21:41| parse_line: server_persistent_connections on
2012/12/29 13:21:41| Processing: 'half_closed_clients off'
2012/12/29 13:21:41| parse_line: half_closed_clients off
2012/12/29 13:21:41| Processing: 'strip_query_terms off'
2012/12/29 13:21:41| parse_line: strip_query_terms off
2012/12/29 13:21:41| Processing: 'quick_abort_min 0 KB'
2012/12/29 13:21:41| parse_line: quick_abort_min 0 KB
2012/12/29 13:21:41| Processing: 'quick_abort_max 0 KB'
2012/12/29 13:21:41| parse_line: quick_abort_max 0 KB
2012/12/29 13:21:41| Processing: 'quick_abort_pct 100'
2012/12/29 13:21:41| parse_line: quick_abort_pct 100
2012/12/29 13:21:41| Processing: 'vary_ignore_expire on'
2012/12/29 13:21:41| parse_line: vary_ignore_expire on
2012/12/29 13:21:41| Processing: 'reload_into_ims on'
2012/12/29 13:21:41| parse_line: reload_into_ims on
2012/12/29 13:21:41| Processing: 'pipeline_prefetch on'
2012/12/29 13:21:41| parse_line: pipeline_prefetch on
2012/12/29 13:21:41| Processing: 'range_offset_limit 512 KB'
2012/12/29 13:21:41| parse_line: range_offset_limit 512 KB
2012/12/29 13:21:41| Processing: 'read_timeout 30 minutes'
2012/12/29 13:21:41| parse_line: read_timeout 30 minutes
2012/12/29 13:21:41| Processing: 'client_lifetime 6 hours'
2012/12/29 13:21:41| parse_line: client_lifetime 6 hours
2012/12/29 13:21:41| Processing: 'negative_ttl 30 seconds'
2012/12/29 13:21:41| parse_line: negative_ttl 30 seconds
2012/12/29 13:21:41| Processing: 'positive_dns_ttl 6 hours'
2012/12/29 13:21:41| parse_line: positive_dns_ttl 6 hours
2012/12/29 13:21:41| Processing: 'negative_dns_ttl 60 seconds'
2012/12/29 13:21:41| parse_line: negative_dns_ttl 60 seconds
2012/12/29 13:21:41| Processing: 'pconn_timeout 15 seconds'
2012/12/29 13:21:41| parse_line: pconn_timeout 15 seconds
2012/12/29 13:21:41| Processing: 'request_timeout 1 minute'
2012/12/29 13:21:41| parse_line: request_timeout 1 minute
2012/12/29 13:21:41| Processing: 'store_avg_object_size 13 KB'
2012/12/29 13:21:41| parse_line: store_avg_object_size 13 KB
2012/12/29 13:21:41| Processing: 'log_icp_queries off'
2012/12/29 13:21:41| parse_line: log_icp_queries off
2012/12/29 13:21:41| Processing: 'ipcache_size 16384'
2012/12/29 13:21:41| parse_line: ipcache_size 16384
2012/12/29 13:21:41| Processing: 'ipcache_low 98'
2012/12/29 13:21:41| parse_line: ipcache_low 98
2012/12/29 13:21:41| Processing: 'ipcache_high 99'
2012/12/29 13:21:41| parse_line: ipcache_high 99
2012/12/29 13:21:41| Processing: 'log_fqdn off'
2012/12/29 13:21:41| parse_line: log_fqdn off
2012/12/29 13:21:41| Processing: 'fqdncache_size 16384'
2012/12/29 13:21:41| parse_line: fqdncache_size 16384
2012/12/29 13:21:41| Processing: 'memory_pools off'
2012/12/29 13:21:41| parse_line: memory_pools off
2012/12/29 13:21:41| Processing: 'forwarded_for on'
2012/12/29 13:21:41| parse_line: forwarded_for on
2012/12/29 13:21:41| Processing: 'logfile_rotate 3'
2012/12/29 13:21:41| parse_line: logfile_rotate 3
2012/12/29 13:21:41| Processing: 'store_dir_select_algorithm round-robin'
2012/12/29 13:21:41| parse_line: store_dir_select_algorithm round-robin
2012/12/29 13:21:41| Processing: 'cache_effective_user proxy'
2012/12/29 13:21:41| parse_line: cache_effective_user proxy
2012/12/29 13:21:41| Processing: 'cache_effective_group proxy'
2012/12/29 13:21:41| parse_line: cache_effective_group proxy
2012/12/29 13:21:41| Processing: 'max_filedescriptors 8192'
2012/12/29 13:21:41| parse_line: max_filedescriptors 8192
2012/12/29 13:21:41| parse_line: htcp_access deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| parse_line: htcp_clr_access deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| parse_line: ident_lookup_access deny all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| parse_line: reply_body_max_size 0 allow all
2012/12/29 13:21:41| aclParseAclList: looking for ACL name 'all'
2012/12/29 13:21:41| parse_line: wccp2_service standard 0
2012/12/29 13:21:41| wccp2_add_service_list: added service id 0
2012/12/29 13:21:41| parse_line: dns_testnames netscape.com internic.net nlanr.net microsoft.com
[color:#FF0000]2012/12/29 13:21:41| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
2012/12/29 13:21:41| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2012/12/29 13:21:41| WARNING: use of 'ignore-must-revalidate' in 'refresh_pattern' violates HTTP[/color]
2012/12/29 13:21:41| cachemgrRegister: registered config
root@proxyku:~# /etc/init.d/squid start
* Starting Squid HTTP proxy squid [ OK ]
root@proxyku:~# ps aux | grep squid
[color:#FF0000]root 3259 0.0 0.0 5248 864 ? Ss 13:21 0:00 /usr/sbin/squid -D -YC
root 3344 0.0 0.0 4208 764 pts/0 S+ 13:22 0:00 grep --color=auto squid[/color]


ini maksutnya apa mas pragolo pati???
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 13:53

Begini mas Sandimun dari Blimbing, Nalumsari, Jepara =
1. Tiga baris pertama yang berwarna merah bisa diartikan penggunaan fitur 'override-expire', 'override-lastmod' dan 'ignore-must-revalidate' itu menyalahi aturan HTTP. Abaikan saja, tdk apa2 itu.
2. Baris kedua dari bawah menunjukkan squid sudah berjalan lengkap dengan Process ID-nya (PID=3259).
3. CMIIW
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 14:02

hahaha...mkasih mas bntuanya..

tpi msalahnya tetap saja msih belum jalan squidnya...
root@proxyku:~# /etc/init.d/squid status
[color:#FF0000] * squid is not running[/color]
root@proxyku:~#

what wrong????
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 14:21

Kok aneh mas ? Coba anda cermati lagi baris2 terakhir file syslog, biasanya ada clue di situ. Nanti kita diskusikan lagi.
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 14:43

aq juga heran mas....maaf mas syslog nya di mana ya???
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 14:46

Lha yang anda pastekan di paling atas itu kan isi file syslog.
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 14:50

yang banyak itu kan mas???maaf takut salah...
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 15:04

uri_whitespace strip

#DNS NAMESERVER
[color:#FF0000]dns_nameservers 192.168.1.1[/color] (pke dns ip di MT mnuju proxy apa dns yang untuk keluar "202.134.1.10")

cache_mem 8 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

[color:#CC0000]cache_dir aufs /cache 28000 32 256[/color] ( partisi cache 28 GB reisfers 32 bit ubuntu 11.10)


apa udah benar mas setingan saya yang bagian merah, mhon koreksinya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 15:32

Pakai dns ip di MT menuju ke proxy atau 127.0.0.1 mas. Perhatikan juga file isi /etc/resolv.conf sebagai refferensi.
Cache_dir -nya kebesaren mas. Untuk hasil terbaik, besarnya volume partisi yang akan digunakan u/ cache maksimal 20 GB dan hanya 70 % -nya untuk cache_dir (jadi kira2 15 GB).
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 16:11

gtu ya mas....tapi saat restart network ada pesan gni ngaruh ga mas???
root@proxyku:~# /etc/init.d/networking restart
[color:#CC0000]* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces[/color]
* Reconfiguring network interfaces... ssh stop/waiting
ssh start/running, process 1438
[ OK ]
root@proxyku:~#
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 17:52

Pakai ubuntu versi berapa mas, kok bisa ya muncul warning seperti itu ? atau coba anda paste-kan isi file /etc/network/interfaces
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 18:35

ubuntu 11.10 mas awalnya pake 12.10 e malh stelah di instal tidak sesuai dengan tutornya dah pernah di praktekan malah pakenya squid3 ya udah trus donload lagi yang versi 11.10 yg sesuai dengan tutornya pernah mau ganti yg lusca tpi pikir2 dlu yg ini aja blum klar nti tmbah puyeng lgi,,, dah berulang ulang instal konfigurasi gagal dan sampai sekarang masih belum bisa,,apa mas pragolopati punya saran ato solusi mas, tolongin dong mas atau punya tuotrial yg bagus nuat di implementasikan buat jaringan ane yg agak lemot dan bermasalh..hehehe

ni mas gua gelar squid.conf

#######################################################
## SQUID 2.7 - High Performance Configuration
## ====================================================
## ## Updated: 3.2012
## ## set by awit rocky
#######################################################

##start of config
http_port 3128 transparent
server_http11 on
icp_port 0

# File Squid
pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
icon_directory /usr/share/squid/icons
mime_table /usr/share/squid/mime.conf
visible_hostname proxy

# Log Squid
access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null

# Beberapa log yg tidak signifikan karena opsi2-nya jarang digunakan.
log_fqdn off
log_icp_queries off
buffered_logs off
emulate_httpd_log off

ftp_list_width 32
ftp_passive on
ftp_sanitycheck on

acl localnet src [color:#FF6666]192.188.11.0/24 [/color] #----------------> sesuaikan dg ip local


uri_whitespace strip

#DNS NAMESERVER
dns_nameservers [color:#FF0000]127.0.0.1[/color] #----------------> sesuaikan dg gateway proxy

cache_mem 8 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

[color:#FF0000]cache_dir aufs /cache 28000 32 256[/color]

minimum_object_size 512 bytes
maximum_object_size 9216000 KB
offline_mode off
cache_swap_low 98
cache_swap_high 99

# Setup some default acls
acl all src 0.0.0.0/0
acl localhost src 127.0.0.1/32
acl safeports port 21 70 80 81 210 280 443 488 563 591 631 777 901 3128 1025-65535
acl sslports port 443 563 81
acl manager proto cache_object
acl purge method PURGE
acl connect method CONNECT
acl dynamic urlpath_regex cgi-bin \?
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !safeports
http_access deny CONNECT !sslports
http_access allow localhost

# Allow local network(s) on interface(s)
http_access allow localnet
http_access deny all
#http_gzip on
#http_gzip_types text/plain,text/html,text/xml,text/css,application/xml,application/xhtml+xml,application/rss+xml,application/javascript,application/x-javascript

# TAG: ZPH
tcp_outgoing_tos 0x30 localnet
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

# delay polls

acl admin src 192.188.11.3/32 #ip administrator
acl management src 192.188.11.3/32 #---> ip administrator

acl download url_regex -i \.avi$ \.mpg$ \.mpeg$ \.rm$ \.iso$ \.wav$ \.mov$ \.dat$ \.mpe$ \.mid$ \.flv$ \.3gp$
acl download url_regex -i ftp \.exe$ \.mp3$ \.mp4$ \.tar.gz$ \.gz$ \.tar.bz2$ \.rpm$ \.zip$ \.rar$
acl download url_regex -i \.midi$ \.rmi$ \.wma$ \.wmv$ \.ogg$ \.ogm$ \.m1v$ \.mp2$ \.mpa$ \.wax$
acl download url_regex -i \.m3u$ \.asx$ \.wpl$ \.wmx$ \.dvr-ms$ \.snd$ \.au$ \.aif$ \.asf$ \.m2v$
acl download url_regex -i \.m2p$ \.ts$ \.tp$ \.trp$ \.div$ \.divx$ \.mod$ \.vob$ \.aob$ \.dts$
acl download url_regex -i \.ac3$ \.cda$ \.vro$ \.deb$ \.mkv$

delay_pools 2

delay_class 1 1
delay_parameters 1 -1/-1
delay_access 1 allow admin
delay_access 1 allow admin management
delay_access 1 deny all

delay_class 2 1
#delay_parameters 2 40000/512000
delay_parameters 2 30000/1000000
delay_access 2 allow download
delay_access 2 deny all

#cache content
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|avc|zip|mp3|3gp|rar|on2|mar|exe)$
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id) streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com

acl dontrewrite url_regex yimg.com redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]* \.php\?
acl getmethod method GET

#snmp
snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all

storeurl_rewrite_children 1
storeurl_rewrite_concurrency 99

storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_domain store_rewrite_list_path
storeurl_access deny all

hierarchy_stoplist (ini|ui|lst|inf||mh-|sc-)$ (afs.dat|update.txt|vdf.info.gz|captcha|reset.css|gamenotice|ickernew.css)
acl QUERY urlpath_regex -i \.(ini|ui|lst|inf|mh-|sc-)$
acl QUERY urlpath_regex -i (afs.dat|captcha|reset.css|update.txt|gamenotice|vdf.info.gz)
cache deny QUERY

# 1 year = 525600 mins, 1 month = 43800 mins

refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(begin|start)\=[1-9][0-9]* 0 0% 0
refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
refresh_pattern ^ftp: 40320 20% 40320 override-expire reload-into-ims store-stale
refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 5259487 20% 5259487 ignore-no-cache ignore-no-store ignore-private override-expire ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=1440
refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 5259487 999999% 5259487 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0
refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern ^http://v\.okezone\.com/get_video\/([a-zA-Z0-9]) 129600 100% 129600 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale

#antivirus
refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale

#other sites
refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0
refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080
refresh_pattern ytimg\.com.*\.(jpg|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale
refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale
refresh_pattern ^http:\/\/images|openx|pics|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale

refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 5259487 100% 5259487 override-expire reload-into-ims
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 5259487 100% 5259487 override-expire reload-into-ims ignore-reload
refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999%% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims
refresh_pattern -i (cgi-bin) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
refresh_pattern . 0 50% 161280 store-stale

header_access X-Forwarded-For deny all

storeurl_rewrite_program /etc/squid/storeurl.pl

#---------------------------------------------------------------#
# ALLOWED ACCESS
#---------------------------------------------------------------#

[color:#FF0000]acl proxyku src 192.168.1.0/24 ## Sesuaikan
acl mikrotik src 192.188.11.0/24 [/color]
http_access allow proxyku
http_access allow mikrotik
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow proxyku
icp_access allow mikrotik
icp_access allow localhost
icp_access deny all
always_direct deny all


#extra tuning configuration
header_access Accept-Encoding deny all
client_persistent_connections off
server_persistent_connections on
half_closed_clients off
strip_query_terms off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
vary_ignore_expire on
reload_into_ims on
pipeline_prefetch on
range_offset_limit 512 KB
read_timeout 30 minutes
client_lifetime 6 hours
negative_ttl 30 seconds
positive_dns_ttl 6 hours
negative_dns_ttl 60 seconds
pconn_timeout 15 seconds
request_timeout 1 minute
store_avg_object_size 13 KB
log_icp_queries off
ipcache_size 16384
ipcache_low 98
ipcache_high 99
log_fqdn off
fqdncache_size 16384
memory_pools off
forwarded_for on
logfile_rotate 3
store_dir_select_algorithm round-robin
cache_effective_user proxy
cache_effective_group proxy
max_filedescriptors 8192

##end of config
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid not running

Postby q_p » 29 Dec 2012, 21:03

Maksud saya bukan konfigurasinya squid, tapi isi file /etc/network/interfaces mas untuk mencari clue dari warning yang muncul setelah anda restart network-nya.
Kalau mau memahami ubuntu server, anda bisa download di sini mas., dengan syarat MT-nya disimpan saja. Susah memang untuk melihat Ubuntu server hanya dari sisi squid saja. Squid itu hanya salah satu program saja di antara ribuan program (repository/bank program) Ubuntu.
User avatar
sandimun
Posts: 29
Joined: 26 Dec 2012, 11:32
Location: jepara

Re: squid not running

Postby sandimun » 29 Dec 2012, 22:20

maaf ams bacanya ngawur jadi salah deh....ni mas gua prin file /etc/network/intefaces dn terima kasih bntuanya ama link donload tutornya..


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 14 guests