Squid Problem



  • Om apa yang bermasalah dengan Squid ku

    2010/02/06 09:12:01| Starting Squid Cache version 2.7.STABLE7 for i386-portbld-freebsd7.0…
    2010/02/06 09:12:01| Process ID 63356
    2010/02/06 09:12:01| With 3520 file descriptors available
    2010/02/06 09:12:01| Using kqueue for the IO loop
    2010/02/06 09:12:01| DNS Socket created at 0.0.0.0, port 20943, FD 13
    2010/02/06 09:12:01| Adding domain networks from /etc/resolv.conf
    2010/02/06 09:12:01| Adding nameserver 125.160.2.162 from /etc/resolv.conf
    2010/02/06 09:12:01| Adding nameserver 202.134.1.10 from /etc/resolv.conf
    2010/02/06 09:12:01| Adding nameserver 208.67.222.222 from /etc/resolv.conf
    2010/02/06 09:12:01| errorTryLoadText: '/usr/local/etc/squid/errors/English/ERR_READ_TIMEOUT': (13) Permission denied
    2010/02/06 09:12:01| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
    FATAL: failed to find or read error text file.
    Squid Cache (Version 2.7.STABLE7): Terminated abnormally.
    CPU Usage: 0.031 seconds = 0.025 user + 0.006 sys
    Maximum Resident Size: 3780 KB
    Page faults with physical i/o: 0

    Thanks,

    Zchellpy

    PIII 900MHz, Memory 256MB, HD 20GB



  • Permissions -> owner,group=proxy semua
    cemod bisa 0664 atau 0775



  • $ pfctl -sn
    nat-anchor "pftpx/" all
    nat-anchor "natearly/
    " all
    nat-anchor "natrules/" all
    nat on fxp1 inet from 192.168.5.0/24 to any -> (fxp1) port 1024:65535 round-robin
    nat on fxp2 inet from 192.168.5.0/24 to any -> (fxp2) port 1024:65535 round-robin
    rdr-anchor "pftpx/
    " all
    rdr-anchor "slb" all
    no rdr on fxp0 inet proto tcp from any to 192.168.0.0/16 port = http
    no rdr on fxp0 inet proto tcp from any to 172.16.0.0/12 port = http
    no rdr on fxp0 inet proto tcp from any to 10.0.0.0/8 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.181.12 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.181.15 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.181.16 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.181.11 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.186.30 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.184.32 port = http
    no rdr on fxp0 inet proto tcp from any to 69.63.186.38 port = http
    rdr on fxp0 inet proto tcp from any to ! (fxp0) port = http -> 192.168.5.1 port 80
    rdr-anchor "imspector" all
    rdr-anchor "miniupnpd" all

    Mas mau nanya apa ini ada masalah klo report na kayak gini,
    Settinga Nat Outbond (AON) hanya di baris yang berwarnah merah itu aku curiga ada masalah na….
    bisa dijelasin nga apa maksud nya itu garis yang berwarna merah diatas, mohon bimbingannya...

    Thanks,

    Zchellpy



  • @ipoelnet:

    Permissions -> owner,group=proxy semua
    cemod bisa 0664 atau 0775

    Mas saya mau minta tolong lagi, langsung aja mas apa perntah nya dan saya ngetik nya dimana, asli mas nubie na nubie….

    Thanks

    Zchellpy



  • @ipoelnet:

    Permissions -> owner,group=proxy semua
    cemod bisa 0664 atau 0775

    mas apa perintah na seperti ini yah chmod 775 /usr/local/etc/squid/errors/English/ERR_READ_TIMEOUT ….???

    Salam,

    Zchellpy



  • Mati aku koq error semua om ini kira2 apa na yang salah yah  ???

    $ ls -la /usr/local/etc/squid/errors/English
    total 128
    drwxr-xr-x  2 proxy  proxy  1024 Feb  6 09:10 .
    drwxr-xr-x  36 proxy  proxy  1024 Feb  6 09:10 ..
    -r–r--r--  1 proxy  proxy  848 Oct 19 19:58 ERR_ACCESS_DENIED
    -r--r--r--  1 proxy  proxy  1069 Oct 19 19:58 ERR_CACHE_ACCESS_DENIED
    -r--r--r--  1 proxy  proxy  1170 Oct 19 19:58 ERR_CACHE_MGR_ACCESS_DENIED
    -r--r--r--  1 proxy  proxy  1034 Oct 19 19:58 ERR_CANNOT_FORWARD
    -r--r--r--  1 proxy  proxy  826 Oct 19 19:58 ERR_CONNECT_FAIL
    -r--r--r--  1 proxy  proxy  912 Oct 19 19:58 ERR_DNS_FAIL
    -r--r--r--  1 proxy  proxy  863 Oct 19 19:58 ERR_FORWARDING_DENIED
    -r--r--r--  1 proxy  proxy  729 Oct 19 19:58 ERR_FTP_DISABLED
    -r--r--r--  1 proxy  proxy  869 Oct 19 19:58 ERR_FTP_FAILURE
    -r--r--r--  1 proxy  proxy  877 Oct 19 19:58 ERR_FTP_FORBIDDEN
    -r--r--r--  1 proxy  proxy  1020 Oct 19 19:58 ERR_FTP_NOT_FOUND
    -r--r--r--  1 proxy  proxy  453 Oct 19 19:58 ERR_FTP_PUT_CREATED
    -r--r--r--  1 proxy  proxy  799 Oct 19 19:58 ERR_FTP_PUT_ERROR
    -r--r--r--  1 proxy  proxy  453 Oct 19 19:58 ERR_FTP_PUT_MODIFIED
    -r--r--r--  1 proxy  proxy  866 Oct 19 19:58 ERR_FTP_UNAVAILABLE
    -r--r--r--  1 proxy  proxy  1003 Oct 19 19:58 ERR_INVALID_REQ
    -r--r--r--  1 proxy  proxy  963 Oct 19 19:58 ERR_INVALID_RESP
    -r--r--r--  1 proxy  proxy  971 Oct 19 19:58 ERR_INVALID_URL
    -r--r--r--  1 proxy  proxy  798 Oct 19 19:58 ERR_LIFETIME_EXP
    -r--r--r--  1 proxy  proxy  774 Oct 19 19:58 ERR_NO_RELAY
    -r--r--r--  1 proxy  proxy  998 Oct 19 19:58 ERR_ONLY_IF_CACHED_MISS
    -r--r--r--  1 proxy  proxy  835 Oct 19 19:58 ERR_READ_ERROR
    -rwxrwxr-x  1 proxy  proxy  885 Oct 19 19:58 ERR_READ_TIMEOUT
    -r--r--r--  1 proxy  proxy  776 Oct 19 19:58 ERR_SHUTTING_DOWN
    -r--r--r--  1 proxy  proxy  847 Oct 19 19:58 ERR_SOCKET_FAILURE
    -r--r--r--  1 proxy  proxy  1087 Oct 19 19:58 ERR_TOO_BIG
    -r--r--r--  1 proxy  proxy  837 Oct 19 19:58 ERR_UNSUP_REQ
    -r--r--r--  1 proxy  proxy  749 Oct 19 19:58 ERR_URN_RESOLVE
    -r--r--r--  1 proxy  proxy  829 Oct 19 19:58 ERR_WRITE_ERROR
    -r--r--r--  1 proxy  proxy  746 Oct 19 19:58 ERR_ZERO_SIZE_OBJECT



  • @zchellpy:

    rdr on fxp0 inet proto tcp from any to ! (fxp0) port = http -> 192.168.5.1 port 80

    saya coba bantu yah..

    asumsi saya interfacenya ada dua, kalo fxp0 untuk LAN berarti interface satunya untuk WAN,
    berarti semua paket yang menuju interface WAN protokol tcp dengan dest port 80 akan di redirect oleh interface fxp0 ke ip 192.168.5.1 port 80

    kalo salah mohon di koreksi :)



  • Help me….

    Squid ku dah jalan 2 minggu tapi disk na masih 3 % napa yah.....

    Thanks,

    Zchellpy


Log in to reply