masalah proxy FATAL: ERROR: Unknown policy lru

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
rangga_mone
Posts: 46
Joined: 03 Dec 2012, 16:49
Location: Dompu, Indonesia
Contact:

masalah proxy FATAL: ERROR: Unknown policy lru

Postby rangga_mone » 03 Dec 2012, 21:27

gan, ane bingung frustate confused waktu install lusca di 12.04 euy... tiap kali mo /etc/init.d/squid start keluar gini Gan (newbie abiess euy, pingin bisa)


* Starting Squid HTTP proxy squid FATAL: ERROR: Unknown policy lru

Squid Cache (Version LUSCA_HEAD-r14809): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 5536 KB
Page faults with physical i/o: 0
Aborted (core dumped)

trus harus gmn dunk Gan?? mo nanya sama rumput yang bergoyang seperti saran Bang Ebiet tp rumput ga pernah sekolah si...

Mohon pencerahannya sangat...
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: masalah proxy FATAL: ERROR: Unknown policy lru

Postby q_p » 03 Dec 2012, 22:40

Sepertinya ini berhubungan dengan saat ngupil menggunakan opsi '--enable-removal-policies=lru,heap' dan squid.conf pada opsi 'cache_replacement_policy heap xxyyzz'. Untuk jelasnya, anda copas saja hasil command 'squid -v' dan squid.conf pada bagian 'cache_replacement_policy heap xxyyzz'. Atau anda ngupil ulang dengan opsi '--enable-removal-policies=heap' dan pada squid.conf pakai 'cache_replacement_policy heap LFUDA'
CMIIW
User avatar
rangga_mone
Posts: 46
Joined: 03 Dec 2012, 16:49
Location: Dompu, Indonesia
Contact:

Re: masalah proxy FATAL: ERROR: Unknown policy lru

Postby rangga_mone » 03 Dec 2012, 23:35

thanx pakde buat fast responnya... udah dilakukan tapi masih tetap saja kaya tadi... klo ga kbrtan ngetik atw ngopas, mohon diturunkan cara ngupil dengan opsi '--enable-removal-policies=heap' dunk pakde...
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: masalah proxy FATAL: ERROR: Unknown policy lru

Postby q_p » 04 Dec 2012, 00:19

1. Jika proc Intel cek di sini.
2. Jika proc AMD cek di sini.
3. Misalnya menggunakan AMD Phenom II

Code: Select all

CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CXXFLAGS="${CFLAGS}" \
./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/sbin \
--sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid \
--localstatedir=/var/spool/squid --datadir=/usr/share/squid \
--enable-gnuregex --enable-async-io=24 --with-aufs-threads=24 \
--with-pthreads --with-aio --with-dl --enable-storeio=aufs,null \
--enable-removal-policies=heap --enable-icmp --enable-delay-pools \
--disable-wccp --enable-snmp --enable-cache-digests \
--enable-default-err-language=English --enable-err-languages=English \
--enable-linux-netfilter --disable-ident-lookups --with-maxfd=65535 \
--enable-follow-x-forwarded-for --enable-large-cache-files \
--with-large-files --enable-http-gzip --disable-unlinkd
Opsi lengkapnya bisa dilihat dengan perintah './configure --help'
User avatar
rangga_mone
Posts: 46
Joined: 03 Dec 2012, 16:49
Location: Dompu, Indonesia
Contact:

Re: masalah proxy FATAL: ERROR: Unknown policy lru

Postby rangga_mone » 04 Dec 2012, 09:31

Thanx alot... aman Pakde... TOP MARKOTOP... berhasil berhasil berhasil

B-)
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: masalah proxy FATAL: ERROR: Unknown policy lru

Postby thrvers » 04 Dec 2012, 10:41

'
ok di gembok kalau sudah berhasil.

terima kasih

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 1 guest