Squid Tidak Bisa berfungsi

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
G7X
Posts: 150
Joined: 19 May 2010, 12:41
Location: Semarang

Squid Tidak Bisa berfungsi

Postby G7X » 09 Jan 2012, 16:10

Saya Mau tanya, tiba2 saja squid saya mati. Tidak bisa digunakan browsing
oleh client. Kira2 maslahnya apa ya? karena sebelumnya tidak ada masalah, semua ping ke inet lancar. hanya saja tidak bisa browsing dan tidak bisa masuk ke software settingnya modem, padahal modemnya juga reply.

lalu saya iseng2 menggunakan nmap, dengan perintah 'nmap localhost'
Saya lihat disitu tidak ada port 3128 / port 80 yang terbuka. apa ini penyebabnya?

Tolong bantuannya, sudah sejak 2 jam lalu saya belum menemukan solusi.
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: Squid Tidak Bisa berfungsi

Postby thrvers » 09 Jan 2012, 19:19

'
klo tanpa squid (dilepas dulu), bisa jalankah inet/jaringan klien??
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Squid Tidak Bisa berfungsi

Postby MasDjo » 09 Jan 2012, 21:08

/etc/squid/squid.conf nya kalo bisa di copas disini masbro, mungkin ada yg bermasalah
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Squid Tidak Bisa berfungsi

Postby yudiarbi » 10 Jan 2012, 17:11

iptables -L -t nat hasile gmn bro?
User avatar
G7X
Posts: 150
Joined: 19 May 2010, 12:41
Location: Semarang

Re: Squid Tidak Bisa berfungsi

Postby G7X » 11 Jan 2012, 18:50

terima kasih.

Semuanya sudah saya cek... dan normal, tidak ada masalah.... karena squid tersebut sudah jalan hampir 1 tahun. baru kali ini menemui masalah.

Nah kebetulan kemarin ada komputer yang hardwarenya jauh lebih baek, jadinya saya install ulang lagi saja di komputer baru.

Tapi sekarang muncul masalah laen.
Jika setelah mati lampu, kadang2 internet client menjadi access denied semua. Tapi setelah squidnya saya restart jalan normal kembali. kira2 masalah tersebut apa ya penyebabnya....?
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: Squid Tidak Bisa berfungsi

Postby thrvers » 11 Jan 2012, 19:17

'
mungkin karena shutdown yg 'gak normal' jadi waktu start masih 'nyantol' :D

coba di startup, squid dikasih stop, kemudian distart = restart (jadi tiap kali komputer start selalu direstart squidnya)

CMIIW
User avatar
G7X
Posts: 150
Joined: 19 May 2010, 12:41
Location: Semarang

Re: Squid Tidak Bisa berfungsi

Postby G7X » 11 Jan 2012, 19:34

jadi dibuatkan service gitu ya....?
Ok Terima kasih banyak....akan saya coba.
User avatar
myitanium
Posts: 409
Joined: 14 Jul 2011, 14:56
Contact:

Re: Squid Tidak Bisa berfungsi

Postby myitanium » 15 Jan 2012, 11:59

lihat di log nya squid:
/var/log/squid/access.log

dia bilang apa disana.
Jangan2 inode-nya di cache squid penuh? Coba cek pakai df -hi
User avatar
rekano
Posts: 190
Joined: 02 Jun 2010, 22:17
Location: Baturaja, Sumatera Selatan
Contact:

Re: Squid Tidak Bisa berfungsi

Postby rekano » 30 Jan 2012, 15:45

pengen ikutan belajar juga nih bos, kayaknya squid saya gak berfungsi karena web yang diblokir masih bisa dibuka.
ini squid.conf nya
http_port 3128 transparent
cache_mgr axxx@mail.tld
forwarded_for off
visible_hostname sensor.tld

hierarchy_stoplist cgi-bin ? .js .jsp
acl QUERY urlpath_regex cgi-bin \? .js .jsp
no_cache deny QUERY

cache_mem 128 MB
cache_swap_low 98
cache_swap_high 99

maximum_object_size 24 MB
minimum_object_size 1024 KB
maximum_object_size_in_memory 512 bytes

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

ipcache_size 2048
ipcache_low 98
ipcache_high 99

memory_pools off
reload_into_ims on
pipeline_prefetch on

cache_dir aufs /home/ncode/cache 24000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none

acl all src 0.0.0.0/0.0.0.0
acl localNet src 192.168.1.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.0.0.0
#acl to_localhost dst 127.0.0.1/8

#port yang diijinkan akses
acl SSL_ports port 443 563
acl SSL_ports port 2083 2096
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl FTP proto FTP

http_access allow manager localhost
http_access allow localhost
http_access allow localNet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all

#blokir situs porno
acl situsporno dstdomain "/home/ncode/block/webblock.txt"
acl keyblock url_regex -i "/home/ncode/block/keyblock.txt"
http_access deny situsporno
http_access deny keyblock

icp_access allow localhost

cache_effective_user squid
cache_effective_group squid

dns_nameservers 203.130.193.74 202.134.0.61


dan ini output dari perintah iptables -L --t nat
root@ocelot:/home/rekano# iptables -L --t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
root@ocelot:/home/rekano#


dan kenapa seperti ini?
root@ocelot:/home/rekano# /etc/init.d/squid start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start squid
squid start/running, process 3702
root@ocelot:/home/rekano# service squid status
squid stop/waiting
root@ocelot:/home/rekano#
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Squid Tidak Bisa berfungsi

Postby yudiarbi » 31 Jan 2012, 11:01

coba bantu ya bro rekano, iptables yg mengarah ke port 3128 kok kayake gak ada tuh?coba bikin bro biar misal semua port 80 belok ke 3128(milik squid)
mslh :
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid start
itu udah jelas, sejak ubuntu 9.10 udah diganti perintah yaitu
service squid start/stop/restart
User avatar
yanz
Posts: 5
Joined: 23 Oct 2010, 09:11
Location: Pemalang, INDONESIA

Re: Squid Tidak Bisa berfungsi

Postby yanz » 01 Feb 2012, 08:07

ijin nanya-nanya juga mas bro >>
squid status saya juga stop/waiting
itu terjadi karena saya reboot
padahal baru instal. dll , nyoba cache .. sesudah itu tak reboot
eh squid nya stop/waiting
udah tak squid start . squid restart tetep saja bro
solusi gimana yah kira2?? yang perlu di cek dimana yah??
maturnuwun sangettt
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Squid Tidak Bisa berfungsi

Postby yudiarbi » 01 Feb 2012, 14:26

berarti udah jalan tuh, coba browsing di client bisa gak? cek di server dengan
tail -f /var/log/squid/access.log
User avatar
yanz
Posts: 5
Joined: 23 Oct 2010, 09:11
Location: Pemalang, INDONESIA

Re: Squid Tidak Bisa berfungsi

Postby yanz » 05 Feb 2012, 22:54

yudiarbi wrote:berarti udah jalan tuh, coba browsing di client bisa gak? cek di server dengan
tail -f /var/log/squid/access.log

maaf baru balas bro
udah tak tail -f /var/log/squid/access.log |ccze
MIIS , HIT ,, oke dah ngacir pokoknya
abis di restart / shutdown (padahal baru inul) eh status squid running tapi lemott abiss
nb (CPU BUAT PROXY):
- Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz
- 1 GB RAM
- 2 hd sata (80+80)
ane pakai
> 1 gb /boot(noatime+Bootable Flag on)
> 20 gb / (noatime)
> 2 gb swap
> 20 gb > cache1(notail, noatime)
dst
>20 gb > cache 5
=====================
SQUID STABLE 2.7STABLE9
=====================
apakah perlu dipaparkan mulai inul ampe selesai bro? mungkinkah ada yang salah di awal2 instalasi CMIIW
maturnuwun
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Squid Tidak Bisa berfungsi

Postby yudiarbi » 06 Feb 2012, 07:26

digelar squid.conf nya bro
User avatar
yanz
Posts: 5
Joined: 23 Oct 2010, 09:11
Location: Pemalang, INDONESIA

Re: Squid Tidak Bisa berfungsi

Postby yanz » 06 Feb 2012, 14:30

yudiarbi wrote:digelar squid.conf nya bro

oke bro
,,, ane contek dari autobia ko bro
all setingan sama plek >>

squid gini bro
#######################################################
## SQUID 2.7 - High Performance Configuration
## ====================================================
## ## Updated: 3.2011
## ## autobia
#######################################################

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

# 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 b9net

# 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 192.168.0.0/24 #----------------> ip local


uri_whitespace strip

#DNS NAMESERVER
dns_nameservers 192.168.3.1 #----------------> gateway proxy

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


cache_dir aufs /cache1 20000 47 256
cache_dir aufs /cache2 20000 47 256
cache_dir aufs /cache3 20000 47 256
cache_dir aufs /cache4 20000 47 256
cache_dir aufs /cache5 20000 47 256



minimum_object_size 512 bytes
maximum_object_size 128000 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.168.0.2/32 #ip administrator
#acl management src 192.168.2.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
#---------------------------------------------------------------#

acl proxyku src 192.168.3.0/24
acl mikrotik src 192.168.0.0/24
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




http://www.kaskus.us/showthread.php?t=9646970
User avatar
rekano
Posts: 190
Joined: 02 Jun 2010, 22:17
Location: Baturaja, Sumatera Selatan
Contact:

Re: Squid Tidak Bisa berfungsi

Postby rekano » 10 Feb 2012, 16:18

yudiarbi wrote:coba bantu ya bro rekano, iptables yg mengarah ke port 3128 kok kayake gak ada tuh?coba bikin bro biar misal semua port 80 belok ke 3128(milik squid)
mslh :
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid start
itu udah jelas, sejak ubuntu 9.10 udah diganti perintah yaitu
service squid start/stop/restart


Ok kang yudiarbi sekarang sudah jalan normal. :)
User avatar
bowo_bongkar
Posts: 2
Joined: 11 Feb 2012, 11:48
Location: jakarta

Re: Squid Tidak Bisa berfungsi

Postby bowo_bongkar » 11 Feb 2012, 12:15

salam kenal semuanya.saya mau tanya,saya baru saja instal ubuntu server 10.10 32 bit.sekarang ini permasalah nya squid saya blm ber fungsi,padahal saya juga sudah instal squid nya,kira2 masalah nya dmna ya ?mohon bantuanya.
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Squid Tidak Bisa berfungsi

Postby yudiarbi » 13 Feb 2012, 02:35

cek dengan :

Code: Select all

tail -f /var/log/squid/access.log

gmn hasilnya?
User avatar
rockafello
Posts: 48
Joined: 23 Jan 2012, 14:21
Location: bekasi
Contact:

Re: Squid Tidak Bisa berfungsi

Postby rockafello » 13 Feb 2012, 16:58

Aborted
rocka007@rocka007:~$ ps -ax|grep squid
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
2969 ? Ss 0:00 /usr/sbin/squid -N -D
2973 pts/0 S+ 0:00 grep --color=auto squid


mksud ny ini apa y om tlong dije;askan squidny kok gk bisa y

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 1 guest