The pfSense Store

Author Topic: KSUSUS LOG...!!!!!  (Read 27699 times)

0 Members and 1 Guest are viewing this topic.

Offline kambeeng

  • Moderator
  • Full Member
  • *****
  • Posts: 284
  • Karma: +1/-10
    • View Profile
KSUSUS LOG...!!!!!
« on: September 09, 2009, 11:07:33 pm »
Untuk yang memiliki masalah di section masing2 .... coba cantumkan lognya aja siapa tau dengan melihat log permasalahan akan lebih cepat di atasi...

Contoh Squid log dll.

Oke all

Offline xaviero

  • Full Member
  • ***
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #1 on: September 10, 2009, 12:24:33 pm »
om, ginian jangan di sticky lah.... jadi boros page deh :(

Offline kambeeng

  • Moderator
  • Full Member
  • *****
  • Posts: 284
  • Karma: +1/-10
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #2 on: September 10, 2009, 12:36:00 pm »
gpp

Offline xaviero

  • Full Member
  • ***
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #3 on: September 10, 2009, 12:56:15 pm »
ntar stickinya ampe 1000 list om... :p
baru thread2 dibawah muncul2....

Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!! Ask
« Reply #4 on: September 20, 2009, 05:17:41 am »
Mau tanya para master di mesinku acces log squid kok gak jalan ya, padahal di opsi squid enable logging sudah di aktifkan, kalau cache log nya sih jalan dengan normal.
MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline kambeeng

  • Moderator
  • Full Member
  • *****
  • Posts: 284
  • Karma: +1/-10
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #5 on: September 20, 2009, 08:17:36 am »
Bisa dicantumkan Lognya di sini :D

Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!!
« Reply #6 on: September 20, 2009, 01:40:46 pm »
kemaren access lognya sizenya masih 0 terus tepi sekarang sudah bisa kayaknya.
kalau seperti ini jalan dengan bener gak om kambing ?
1253471683.795    436 192.168.119.4 TCP_MISS/200 666 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/shadow.gif - DIRECT/69.64.6.21 image/gif
1253471683.826    467 192.168.119.4 TCP_MISS/200 1355 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/move.gif - DIRECT/69.64.6.21 image/gif
1253471684.086    702 192.168.119.4 TCP_MISS/200 641 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/pre.gif - DIRECT/69.64.6.21 image/gif
1253471684.086    495 192.168.119.4 TCP_MISS/200 641 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/left.gif - DIRECT/69.64.6.21 image/gif
1253471684.324    720 192.168.119.4 TCP_MISS/200 640 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/center.gif - DIRECT/69.64.6.21 image/gif
1253471684.343    548 192.168.119.4 TCP_MISS/200 650 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/hr.gif - DIRECT/69.64.6.21 image/gif
1253471684.505    679 192.168.119.4 TCP_MISS/200 662 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/size.gif - DIRECT/69.64.6.21 image/gif
1253471684.505    416 192.168.119.4 TCP_MISS/200 721 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/face.gif - DIRECT/69.64.6.21 image/gif
1253471684.777    595 192.168.119.4 TCP_MISS/200 881 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/flash.gif - DIRECT/69.64.6.21 image/gif
1253471684.777   1161 192.168.119.4 TCP_MISS/200 641 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/right.gif - DIRECT/69.64.6.21 image/gif
1253471684.870    544 192.168.119.4 TCP_MISS/200 940 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/img.gif - DIRECT/69.64.6.21 image/gif
1253471684.885    540 192.168.119.4 TCP_MISS/200 858 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/url.gif - DIRECT/69.64.6.21 image/gif
1253471685.110    603 192.168.119.4 TCP_MISS/200 829 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/email.gif - DIRECT/69.64.6.21 image/gif
1253471685.134    617 192.168.119.4 TCP_MISS/200 760 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/ftp.gif - DIRECT/69.64.6.21 image/gif
1253471685.285    400 192.168.119.4 TCP_MISS/200 687 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/table.gif - DIRECT/69.64.6.21 image/gif
1253471685.303    406 192.168.119.4 TCP_MISS/200 690 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/tr.gif - DIRECT/69.64.6.21 image/gif
1253471686.025   1128 192.168.119.4 TCP_MISS/200 685 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/td.gif - DIRECT/69.64.6.21 image/gif
1253471686.034   1137 192.168.119.4 TCP_MISS/200 651 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/sup.gif - DIRECT/69.64.6.21 image/gif
1253471686.141   1005 192.168.119.4 TCP_MISS/200 649 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/sub.gif - DIRECT/69.64.6.21 image/gif
1253471686.151    946 192.168.119.4 TCP_MISS/200 773 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/tele.gif - DIRECT/69.64.6.21 image/gif
1253471686.182    898 192.168.119.4 TCP_MISS/200 649 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/code.gif - DIRECT/69.64.6.21 image/gif
1253471686.182    879 192.168.119.4 TCP_MISS/200 794 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/quote.gif - DIRECT/69.64.6.21 image/gif
1253471686.394    330 192.168.119.4 TCP_MISS/200 653 GET http://forum.pfsense.org/Themes/slickprographite/images/bbc/list.gif - DIRECT/69.64.6.21 image/gif
1253471686.394    267 192.168.119.4 TCP_MISS/200 964 GET http://forum.pfsense.org/Smileys/default/angry.gif - DIRECT/69.64.6.21 image/gif
1253471686.486    333 192.168.119.4 TCP_MISS/200 2052 GET http://forum.pfsense.org/Smileys/default/shocked.gif - DIRECT/69.64.6.21 image/gif
1253471686.516    355 192.168.119.4 TCP_MISS/200 949 GET http://forum.pfsense.org/Smileys/default/cool.gif - DIRECT/69.64.6.21 image/gif
1253471686.761    575 192.168.119.4 TCP_MISS/200 1022 GET http://forum.pfsense.org/Smileys/default/huh.gif - DIRECT/69.64.6.21 image/gif
1253471686.769    576 192.168.119.4 TCP_MISS/200 1611 GET http://forum.pfsense.org/Smileys/default/rolleyes.gif - DIRECT/69.64.6.21 image/gif

terus ada persoalan laen lagi nih om masih berhubungan dengan ini, light squidnnya yang web base gak mau jalan.. kalau cuma mau lihat statistik cache-nya lewat command line aja gimana caranya ?
tak coba
# squidclient mgr:info
client: ERROR: Cannot connect to localhost:3128: Operation timed out

MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!! Errot lagi
« Reply #7 on: September 20, 2009, 02:40:26 pm »
nih tak coba hapus access.log-nya, pfsense saya reboot, terus tak coba browsing lagi kok access.log-nya masih 0 ya?
-rw-r-----  1 proxy  proxy       0 Sep 21 02:01 access.log
-rw-r-----  1 proxy  proxy  113173 Sep 21 02:26 cache.log   ??? ???
MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline kambeeng

  • Moderator
  • Full Member
  • *****
  • Posts: 284
  • Karma: +1/-10
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #8 on: September 20, 2009, 03:53:59 pm »
wah sepertinya ada msalah tuh

Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!!
« Reply #9 on: September 20, 2009, 09:23:22 pm »
kira masalahnya dimana om kambing?
MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline kambeeng

  • Moderator
  • Full Member
  • *****
  • Posts: 284
  • Karma: +1/-10
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #10 on: September 21, 2009, 04:34:34 am »
coba di bikin swap manual jalan nggak squid -z

terus check lognya tail -v /var/squid/log/access.log.

atau buatkan directorinya secar permanen edit di Squid.conf

Good luck...

kambeeng

Bisa kirimkan kasih tau setingan squidnya kalo bisa saya mau check :D

Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!!
« Reply #11 on: September 21, 2009, 07:19:38 am »
.
dah saya coba install ulang squid paket squidnya.. kalau habis di install mau jalan access.log-nya; tapi kalau habis di reboot access.lognya macet lagi..;
untuk light squidnya
masih keluar error ini:
LigthSquid diagnostic.
Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)
Please check config file !
padahal dah tak refresh full..

Ini settingan squidnya .

# Do not edit manually !
http_port 192.168.119.1:3128
http_port 127.0.0.1:80 transparent
icp_port 0

pid_filename /var/run/squid.pid
cache_effective_user proxy
cache_effective_group proxy
error_directory /usr/local/etc/squid/errors/English
icon_directory /usr/local/etc/squid/icons
visible_hostname bikini-bottom
cache_mgr patrick@bikini-bottom
access_log /var/squid/log/access.log
cache_log /var/squid/log/cache.log
cache_store_log none
shutdown_lifetime 3 seconds
# Allow local network(s) on interface(s)
acl localnet src  192.168.119.0/255.255.255.0
uri_whitespace strip

cache_dir diskd /var/squid/cache 10000 16 256
cache_mem 6 MB
maximum_object_size 128 KB
minimum_object_size 0 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
offline_mode off
dns_children 32
cache_swap_low 98
cache_swap_high 99
acl donotcache dstdomain "/var/squid/acl/donotcache.acl"
cache deny donotcache
# No redirector configured



# Setup some default acls
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 80 3128 1025-65535
acl sslports port 443 563 80
acl manager proto cache_object
acl purge method PURGE
acl connect method CONNECT
acl dynamic urlpath_regex cgi-bin \?
acl allowed_subnets src 192.168.118.0/24 192.168.119.0/24
cache deny dynamic
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

# Always allow localhost connections
http_access allow localhost

quick_abort_min 0 KB
quick_abort_max 0 KB
request_body_max_size 0 KB
reply_body_max_size 0 allow all
delay_pools 1
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_initial_bucket_level 100
delay_access 1 allow all

# Allow local network(s) on interface(s)
http_access allow localnet
http_access allow allowed_subnets
# Custom options
#tambahan

ipcache_size 2048



## Toleransi aborting dihilangkan saja

quick_abort_min 0

quick_abort_max 0

quick_abort_pct 98


## Mematikan dan merekonfigurasi Squid jangan terlalu cepat krn bisa mengakibatkan integritas file kacau

shutdown_lifetime 10 seconds


## Penting utk relasi dg sibling dg mengukur respons-nya via ICP dan ICMP (tapi ada isp yg tidak mengijinkan lho)

icp_hit_stale on

query_icmp on



## tidak perlu reservasi memori

memory_pools off


##Refresh Pattern
hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi .friendster.com facebook.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com bikini-bottom

acl QUERY urlpath_regex cgi-bin \? .js .jsp .g .do .php .asp .cgi .friendster.com facebook.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com bikini-bottom


refresh_pattern -i \.rar$ 10080 100% 40320

refresh_pattern -i \.ram$ 10080 100% 40320

refresh_pattern -i \.gif$ 10080 100% 40320 reload-into-ims

refresh_pattern -i \.gif$ 10080 100% 40320 reload-into-ims

refresh_pattern -i \.txt$ 1440 100% 20160 reload-into-ims

refresh_pattern -i \.zip$ 10080 100% 40320

refresh_pattern -i \.arj$ 10080 100% 40320

refresh_pattern -i \.exe$ 10080 100% 40320

refresh_pattern -i \.tgz$ 10080 100% 40320

refresh_pattern -i \.gz$ 10080 100% 40320

refresh_pattern -i \.tgz$ 10080 100% 40320

refresh_pattern -i \.tar$ 10080 100% 40320

refresh_pattern -i \.Z$ 10080 100% 40320

refresh_pattern -i \.js$ 10080 100% 40320

refresh_pattern -i \.3gp$ 10080 100% 40320

refresh_pattern -i \.swf$ 10080 100% 40320

refresh_pattern -i \.flv$ 10080 100% 40320
 
refresh_pattern -i \.jpg$ 10080 100% 40320
 
refresh_pattern -i \.jpeg$ 10080 100% 40320
 
refresh_pattern ^ftp:// 1440 150% 10080

refresh_pattern ^gopher:// 1440 10% 1440

refresh_pattern . 1440 60% 43200

# Default block all to be sure
http_access deny all
« Last Edit: September 21, 2009, 07:32:58 am by tomplee »
MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline grage95

  • Full Member
  • ***
  • Posts: 208
  • Karma: +0/-1
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #12 on: September 21, 2009, 07:48:11 am »
--deleted --

terus ada persoalan laen lagi nih om masih berhubungan dengan ini, light squidnnya yang web base gak mau jalan.. kalau cuma mau lihat statistik cache-nya lewat command line aja gimana caranya ?
tak coba
# squidclient mgr:info
client: ERROR: Cannot connect to localhost:3128: Operation timed out


squidclient mgr:info bisa jalan tanpas passswod & embel2 host  kalau config anda ada
http_port 127.0.0.1:3128 dan cachemgr_passwd none all

utk produksi seperti utk RT/RW net mending gunakan release stable dan utk proxynya gunakan cacheboy/lusca, lebih responsif dari squid-2.6.xx, sedangkan  squid 3 bagus utk filtering, kurang sip utk cache. silahkan update ke cacheboy/lusca.

http://forum.pfsense.org/index.php/topic,19251.0.html

-automatic  fixing transparent proxy with shaper,
-fix bug unknown lru if u using policy heap (default webgui only running policy lru, NOT policy heap !!)
-fix delay_pool with type url domain .com
-fix look statistic cache with squidclient mgr:info / squidclient mgr:storedir / squidclient mgr:delay ,etc (loook squidclient:menu)
-fix insert tunning for more reaktif cache files
-fix configuration with webgui (you can edit squid.conf with webgui )

saran ane, jangan coba2 versi current yang belum stable utk produksi kecuali ente sudah siap dengan resikonya,
kalau utk di pakai test sendiri dan mempelajari fitur2 yang baru boleh2 saja.





Offline tomplee

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • Toko Perangkat Wireless dan Modem Murah|Atom-Media.Net
Re: KSUSUS LOG...!!!!!
« Reply #13 on: September 21, 2009, 08:46:12 am »
--deleted --

terus ada persoalan laen lagi nih om masih berhubungan dengan ini, light squidnnya yang web base gak mau jalan.. kalau cuma mau lihat statistik cache-nya lewat command line aja gimana caranya ?
tak coba
# squidclient mgr:info
client: ERROR: Cannot connect to localhost:3128: Operation timed out


squidclient mgr:info bisa jalan tanpas passswod & embel2 host  kalau config anda ada
http_port 127.0.0.1:3128 dan cachemgr_passwd none all

utk produksi seperti utk RT/RW net mending gunakan release stable dan utk proxynya gunakan cacheboy/lusca, lebih responsif dari squid-2.6.xx, sedangkan  squid 3 bagus utk filtering, kurang sip utk cache. silahkan update ke cacheboy/lusca.

http://forum.pfsense.org/index.php/topic,19251.0.html

-automatic  fixing transparent proxy with shaper,
-fix bug unknown lru if u using policy heap (default webgui only running policy lru, NOT policy heap !!)
-fix delay_pool with type url domain .com
-fix look statistic cache with squidclient mgr:info / squidclient mgr:storedir / squidclient mgr:delay ,etc (loook squidclient:menu)
-fix insert tunning for more reaktif cache files
-fix configuration with webgui (you can edit squid.conf with webgui )

saran ane, jangan coba2 versi current yang belum stable utk produksi kecuali ente sudah siap dengan resikonya,
kalau utk di pakai test sendiri dan mempelajari fitur2 yang baru boleh2 saja.

oke bro.. tak ganti ke yang versi stable lagi aja.. kemaren dah coba yang stable terus ganti ipcop terus sekarang lagi coba yang 2.0 alpha..
dulu sepertinya pake yang versi stable gak sering error gini..
yang squid client itu ternyata begini bisa squidclient -p 80 cache_object://localhost/info
MB : ASUS
PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
RAM : 1GB
HD : 20 GB
NETWORK : REALTEK 10/100
NETWORK : TP-LINK 10/100
PFESENSE :      1.2.2   
DIGUNAKAN UNTUK : RTRWNET

Offline grage95

  • Full Member
  • ***
  • Posts: 208
  • Karma: +0/-1
    • View Profile
Re: KSUSUS LOG...!!!!!
« Reply #14 on: September 21, 2009, 11:33:45 am »
bro,
ram ente 256 MB utk RT/RW Net ??
servis yang jalan apa aja ?
coba ketik top

swap memory kepake enggak?
kalo kepake kasian banget client2 ente, bakal lelet gara2 squid