ketika ketik..squid -z keluar gini (FATAL)

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 15:45

root@TestServer:/home/server# squid -z
2012/11/26 15:40:24| WARNING: '192.168.2.0/255.255.255.0' is a subnetwork of '192.168.0.
0/255.255.0.0'
2012/11/26 15:40:24| WARNING: because of this '192.168.2.0/255.255.255.0' is ignored to
keep splay tree searching predictable
2012/11/26 15:40:24| WARNING: You should probably remove '192.168.2.0/255.255.255.0' fro
m the ACL named 'localnet'
2012/11/26 15:40:24| parseConfigFile: squid.conf:722 unrecognized: 'icp'
FATAL: Bungled squid.conf line 1118: http_port 3128 Transparent
Squid Cache (Version 2.7.STABLE7): Terminated abnormally.
root@TestServer:/home/server#

Gan ane mau nanya neh,..
ketika ngetik squid -z via putty keluar kaya di atas..
itu kira2 kenapa yah..???

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

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 16:02

chitoz wrote:root@TestServer:/home/server# squid -z
2012/11/26 15:40:24| WARNING: '192.168.2.0/255.255.255.0' is a subnetwork of '192.168.0.
0/255.255.0.0'
2012/11/26 15:40:24| WARNING: because of this '192.168.2.0/255.255.255.0' is ignored to
keep splay tree searching predictable
2012/11/26 15:40:24| WARNING: You should probably remove '192.168.2.0/255.255.255.0' fro
m the ACL named 'localnet'
2012/11/26 15:40:24| parseConfigFile: squid.conf:722 unrecognized: 'icp'
FATAL: Bungled squid.conf line 1118: http_port 3128 Transparent
Squid Cache (Version 2.7.STABLE7): Terminated abnormally.
root@TestServer:/home/server#

Gan ane mau nanya neh,..
ketika ngetik squid -z via putty keluar kaya di atas..
itu kira2 kenapa yah..???

Mohon pencerahannya,..Thanks
kemungkinan anda keliru dalam menuiskan subnet 192.168.2.0/255.255.255.0, coba anda hapus dulu dari ACL yang bernama 'localnet'
Yang kedua,tertera juga di squid.conf 'icp' yang tidak dikenali oleh squid.
Pada baris 1118, Transparent anda ganti dengan transparent
CMIIW, semoga membantu.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 16:07

PragolaPati wrote:
chitoz wrote:root@TestServer:/home/server# squid -z
2012/11/26 15:40:24| WARNING: '192.168.2.0/255.255.255.0' is a subnetwork of '192.168.0.
0/255.255.0.0'
2012/11/26 15:40:24| WARNING: because of this '192.168.2.0/255.255.255.0' is ignored to
keep splay tree searching predictable
2012/11/26 15:40:24| WARNING: You should probably remove '192.168.2.0/255.255.255.0' fro
m the ACL named 'localnet'
2012/11/26 15:40:24| parseConfigFile: squid.conf:722 unrecognized: 'icp'
FATAL: Bungled squid.conf line 1118: http_port 3128 Transparent
Squid Cache (Version 2.7.STABLE7): Terminated abnormally.
root@TestServer:/home/server#

Gan ane mau nanya neh,..
ketika ngetik squid -z via putty keluar kaya di atas..
itu kira2 kenapa yah..???

Mohon pencerahannya,..Thanks
kemungkinan anda keliru dalam menuiskan subnet 192.168.2.0/255.255.255.0, coba anda hapus dulu dari ACL yang bernama 'localnet'
Yang kedua, ada kesalahan pada squid.conf di baris 722. Di situ tertera 'icp' yang tidak dikenali oleh squid.
CMIIW, semoga membantu.



OK gan,..
ane mau koreksi dl..:)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 16:10

Eitsss...sori.postingan saya yang di atas barusan saya update. tolong dilihat lagi.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 16:35

PragolaPati wrote:
chitoz wrote:root@TestServer:/home/server# squid -z
2012/11/26 15:40:24| WARNING: '192.168.2.0/255.255.255.0' is a subnetwork of '192.168.0.
0/255.255.0.0'
2012/11/26 15:40:24| WARNING: because of this '192.168.2.0/255.255.255.0' is ignored to
keep splay tree searching predictable
2012/11/26 15:40:24| WARNING: You should probably remove '192.168.2.0/255.255.255.0' fro
m the ACL named 'localnet'
2012/11/26 15:40:24| parseConfigFile: squid.conf:722 unrecognized: 'icp'
FATAL: Bungled squid.conf line 1118: http_port 3128 Transparent
Squid Cache (Version 2.7.STABLE7): Terminated abnormally.
root@TestServer:/home/server#

Gan ane mau nanya neh,..
ketika ngetik squid -z via putty keluar kaya di atas..
itu kira2 kenapa yah..???

Mohon pencerahannya,..Thanks
kemungkinan anda keliru dalam menuiskan subnet 192.168.2.0/255.255.255.0, coba anda hapus dulu dari ACL yang bernama 'localnet'
Yang kedua,tertera juga di squid.conf 'icp' yang tidak dikenali oleh squid.
Pada baris 1118, Transparent anda ganti dengan transparent
CMIIW, semoga membantu.


setelah ane edit malah keluar gini gan
----------------
# squid -z
2012/11/26 16:31:14| parseConfigFile: squid.conf:719 unrecognized: 'icp'
2012/11/26 16:31:14| parseConfigFile: squid.conf:3502 unrecognized: 'httpd_accel_host'
2012/11/26 16:31:14| parseConfigFile: squid.conf:3503 unrecognized: 'httpd_accel_port'
2012/11/26 16:31:14| parseConfigFile: squid.conf:3504 unrecognized: 'httpd_accel_with_proxy'
2012/11/26 16:31:14| parseConfigFile: squid.conf:3505 unrecognized: 'httpd_accel_uses_host_header'
2012/11/26 16:31:14| Creating Swap Directories
--------------------------------------------
kenapa malah banyak yg ngga di kenali.?
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby yudiarbi » 26 Nov 2012, 17:12

cek di bagian line 719, yaitu di bagian icp, itu pasti kurang lengkap
trus httpd_accel_hosts salah juga itu, coba di posting lengkap aj konfigurasinya
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 17:15

yudiarbi wrote:cek di bagian line 719, yaitu di bagian icp, itu pasti kurang lengkap
trus httpd_accel_hosts salah juga itu, coba di posting lengkap aj konfigurasinya


ane ngikut konfigurasi ini gan

-------------
# Port
http_port 3128 transparent
icp_port 3130
prefer_direct off

server_http11 on

# Cache

cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
max_filedesc 8192
maximum_object_size 128 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB

ipcache_size 10240
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir aufs /cache 30000 16 256 # untuk partisi /cache 50GB

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/run/squid.pid
cache_swap_log /var/log/squid/swap.state
dns_nameservers /etc/resolv.conf
emulate_httpd_log off
hosts_file /etc/hosts
half_closed_clients off
negative_ttl 1 minutes

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 873 # https snews rsync
acl Safe_ports port 80 # http
acl Safe_ports port 20 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 631 # cups
acl Safe_ports port 10000 # webmin
acl Safe_ports port 901 # SWAT
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 110 # POP3
acl Safe_ports port 25 # SMTP
acl Safe_ports port 2095 2096 # webmail from cpanel
acl Safe_ports port 2082 2083 # cpanel

acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports

#default option
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

# ALLOWED ACCESS
acl localnet src 192.168.1.0/24 #IP lokal kamu
http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow localnet
icp_access allow localhost
icp_access deny all
always_direct deny all


cache_mgr admin@telkom.net.id
visible_hostname inilah-proxy-ku
cache_effective_user proxy
cache_effective_group proxy
coredump_dir /var/spool/squid
shutdown_lifetime 10 seconds
logfile_rotate 14

#-----------------------------------------------------------------#
#tcp_outgoing_tos 0x30 localnet
#-----------------------------------------------------------------#

zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136
---------------

thanks atas responnya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 17:30

Kayaknya yang di baca squid bukan file squid.conf yang diposting itu.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 17:46

PragolaPati wrote:Kayaknya yang di baca squid bukan file squid.conf yang diposting itu.


ane ngikut itu gan,..
udah ane sesuaikan jaringan yg ane punya..:D
sebelumnya ane juga pake itu lancar2 aja..
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 18:13

Coba jalankan command ' ls -l /etc/squid/' hasilnya diposting di sini mas.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 18:25

@TS
chitoz wrote:'httpd_accel_host'
'httpd_accel_port'
'httpd_accel_with_proxy'
'httpd_accel_uses_host_header'
tidak ada dalam file squid.conf kok bisa muncul di 'error massage' ? itu yang saya maksud dengan
PragolaPati wrote:Kayaknya yang di baca squid bukan file squid.conf yang diposting itu.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 18:42

PragolaPati wrote:@TS
chitoz wrote:'httpd_accel_host'
'httpd_accel_port'
'httpd_accel_with_proxy'
'httpd_accel_uses_host_header'
tidak ada dalam file squid.conf kok bisa muncul di 'error massage' ? itu yang saya maksud dengan
PragolaPati wrote:Kayaknya yang di baca squid bukan file squid.conf yang diposting itu.


ya udah gan ane oprek2...
thanks atas masukannya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 18:48

OK, selamat nguprek2. Hasilnya di posting di sini ya mas..... :)
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 26 Nov 2012, 18:48

PragolaPati wrote:Coba jalankan command ' ls -l /etc/squid/' hasilnya diposting di sini mas.


ini hasilnya mas
----------------
ls -l /etc/squid/
total 172
-rw------- 1 root root 169977 2012-11-26 16:46 squid.conf
------------------------
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby q_p » 26 Nov 2012, 19:06

-rw------- 1 root root 169977 2012-11-26 16:46 squid.conf
Volumenya 169977 kayaknya tidak cocok dengan volume squid.conf yang anda posting. Ketika squid.conf yang anda posting saya kopi, hasilnya =

Code: Select all

root@warnetersa:/home/share# ls -l
total 8
drwxrwx--- 1 root plugdev 4096 2012-09-07 06:53 doc
-rwxrwx--- 1 root plugdev 2674 2012-11-26 18:57 squid.conf ---->ini squid.conf anda
Terbaca, volumenya cuma 2674. Kesimpulannya menurut saya, file yang dibaca squid bukan squid.conf yang anda posting.
CMIIW
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby yudiarbi » 27 Nov 2012, 07:56

sepakat dengan cak pragola, pasti bkn squid.conf yg dimaksud, yg diposting itu overall udah bener scriptnya
mgkn ttg squid dasar coba main ke sini
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 27 Nov 2012, 08:13

PragolaPati wrote:
-rw------- 1 root root 169977 2012-11-26 16:46 squid.conf
Volumenya 169977 kayaknya tidak cocok dengan volume squid.conf yang anda posting. Ketika squid.conf yang anda posting saya kopi, hasilnya =

Code: Select all

root@warnetersa:/home/share# ls -l
total 8
drwxrwx--- 1 root plugdev 4096 2012-09-07 06:53 doc
-rwxrwx--- 1 root plugdev 2674 2012-11-26 18:57 squid.conf ---->ini squid.conf anda
Terbaca, volumenya cuma 2674. Kesimpulannya menurut saya, file yang dibaca squid bukan squid.conf yang anda posting.
CMIIW


wah gt yah,..
ya udah ane remove aja dulu...:(
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: ketika ketik..squid -z keluar gini (FATAL)

Postby chitoz » 27 Nov 2012, 08:13

yudiarbi wrote:sepakat dengan cak pragola, pasti bkn squid.conf yg dimaksud, yg diposting itu overall udah bener scriptnya
mgkn ttg squid dasar coba main ke sini


thanks sarannya gan,..

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 3 guests