$sudo /usr/sbin/squid -k reconfigure squid: ERROR: No running copy
Nah, penasaran kenapa lusca ngambek ga mau direconfigure, saya kill proses dulu squidnya.
Kemudian di debug menggunakan perintah
squid -NC -d1
Lalu saya mendapati laporan seperti ini :
darkarray@M5x0G:/etc/squid$ sudo squid -NC -d1 2011/08/04 22:00:52| Starting Squid Cache version LUSCA_FMI for i686-pc-linux-gnu... 2011/08/04 22:00:52| Process ID 2960 2011/08/04 22:00:52| With 1024 file descriptors available 2011/08/04 22:00:52| Using epoll for the IO loop 2011/08/04 22:00:52| Performing DNS Tests... 2011/08/04 22:00:52| Successful DNS name lookup tests... 2011/08/04 22:00:52| Adding nameserver 192.168.10.1 from squid.conf 2011/08/04 22:00:52| Adding nameserver 208.67.222.222 from squid.conf 2011/08/04 22:00:52| Adding nameserver 8.8.8.8 from squid.conf 2011/08/04 22:00:52| helperOpenServers: Starting 1 'storeurl.pl' processes 2011/08/04 22:00:52| logfileOpen: opening log /var/log/squid/access.log 2011/08/04 22:00:52| Swap maxSize 5120000 + 1048576 KB, estimated 474505 objects 2011/08/04 22:00:52| Target number of buckets: 23725 2011/08/04 22:00:52| Using 32768 Store buckets 2011/08/04 22:00:52| Max Mem size: 1048576 KB 2011/08/04 22:00:52| Max Swap size: 5120000 KB 2011/08/04 22:00:52| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2011/08/04 22:00:52| Store logging disabled 2011/08/04 22:00:52| AUFS: /home/squid/cache: log '/home/squid/cache/swap.state' opened on FD 11 2011/08/04 22:00:52| AUFS: /home/squid/cache: tmp log /home/squid/cache/swap.state.new opened on FD 11 2011/08/04 22:00:52| Rebuilding storage in /home/squid/cache (DIRTY) 2011/08/04 22:00:52| Using Least Load store dir selection 2011/08/04 22:00:52| Current Directory is /etc/squid 2011/08/04 22:00:52| Loaded Icons. 2011/08/04 22:00:52| Accepting transparently proxied HTTP connections at 127.0.0.1, port 3128, FD 13. 2011/08/04 22:00:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. 2011/08/04 22:00:52| Accepting HTCP messages on port 4827, FD 15. 2011/08/04 22:00:52| Accepting SNMP messages on port 3401, FD 16. 2011/08/04 22:00:52| WCCP Disabled. 2011/08/04 22:00:52| /var/spool/squid/logs/squid.pid: (2) No such file or directory FATAL: Could not write pid file AbortedNah, ketahuan deeh errornya pada bagian mana :D, ternyata file squid.pid pada direktori /var/spool/squid/logs/ tidak ada, untuk memperbaikinya cukup membuat file squid.pid pada direktori tersebut, cukup dengan perintah :
sudo touch squid.pidLalu panggil squid seperti biasa, kemudian coba gunakan perintah reconfigure, apakah masih ada peringatan error : no running copy ?! aah.. ternyata dilaptop saya sudah tidak ada :)
1 komentar:
wah makasih banyak gan
Posting Komentar
yang ninggalin komen ganteng / cantik deech :p