On Tue, Apr 27, 2010 at 1:54 PM, Rusli A <[email protected]> wrote:
> Dear all
>
>
>
> Minta pencerahannya tentang squid. Karena squid saya tidak bisa jalan
> komennya berikut :
>
> Initializing the Squid cache with the command squid -f
/etc/squid/squid.conf
> -z ..
>
> 2010/04/27 13:37:13| Squid is not safe to run as root! If you must
> 2010/04/27 13:37:13| start Squid as root, then you must configure
> 2010/04/27 13:37:13| it to run as a non-priveledged user with the
> 2010/04/27 13:37:13| 'cache_effective_user' option in the config file.
> FATAL: Don't run Squid as root, set 'cache_effective_user'!
> Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
> CPU Usage: 0.012 seconds = 0.000 user + 0.012 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
>
>
>
> Bagaimana cara untuk set 'cache_effective_user' ?
>
>
>
> Terimakasih
>
Coba periksa /etc/squid.conf nya pak.
Edit the squid.conf file, vi /etc/squid/squid.conf and add/change the
following options:
http_port 80
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /cache 200 16 256
emulate_httpd_log on
redirect_rewrites_host_header off
replacement_policy GDSF
acl all src 0.0.0.0/0.0.0.0
http_access allow all
cache_mgr [email protected]
*cache_effective_user squid
cache_effective_group squid*
httpd_accel_host 208.164.186.3
httpd_accel_port 80
log_icp_queries off
cachemgr_passwd my-secret-pass all
buffered_logs on
______________________________________________
---
Info Milis : http://opensuse.or.id/milis
Keluar dari Milis : Kirim email ke [email protected]
Manajemen Keanggotaan :
http://lists.opensuse-id.org/listinfo.cgi/milis-opensuse-id.org