سلام دوستان
من یه کش نصب کردم که همه چی درست هست اما موقع استارت اسکویید اینو مینویسه:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart squid
squid start/running, process 1195
و وقتی squid -z میزنم اینو میده:
2010/10/07 10:28:40| Squid is already running! Process ID 1197
کجای کار من اشتباه هست که اسکویید درست ران نمیشه.من از اوبونتو استفاده کردم.
اینم cache.log من:
2010/10/07 10:22:01| Starting Squid Cache version 2.7.STABLE7 for amd64-debian-linux-gnu...
2010/10/07 10:22:01| Process ID 1149
2010/10/07 10:22:01| With 1024 file descriptors available
2010/10/07 10:22:01| Using epoll for the IO loop
2010/10/07 10:22:01| Performing DNS Tests...
2010/10/07 10:22:01| Successful DNS name lookup tests...
2010/10/07 10:22:01| DNS Socket created at 0.0.0.0, port 43660, FD 6
2010/10/07 10:22:01| Adding domain kazeroononline from /etc/resolv.conf
2010/10/07 10:22:01| Adding nameserver هip from /etc/resolv.conf
2010/10/07 10:22:01| Adding nameserver ip from /etc/resolv.conf
2010/10/07 10:22:01| Adding nameserver ip from /etc/resolv.conf
2010/10/07 10:22:01| User-Agent logging is disabled.
2010/10/07 10:22:01| Referer logging is disabled.
2010/10/07 10:22:01| logfileOpen: opening log /var/log/squid/access.log
2010/10/07 10:22:01| Swap maxSize 4194304 + 102400 KB, estimated 330515 objects
2010/10/07 10:22:01| Target number of buckets: 16525
2010/10/07 10:22:01| Using 32768 Store buckets
2010/10/07 10:22:01| Max Mem size: 102400 KB
2010/10/07 10:22:01| Max Swap size: 4194304 KB
2010/10/07 10:22:01| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/10/07 10:22:01| Store logging disabled
2010/10/07 10:22:01| Rebuilding storage in /var/spool/squid (CLEAN)
2010/10/07 10:22:01| Using Least Load store dir selection
2010/10/07 10:22:01| Current Directory is /
2010/10/07 10:22:01| Loaded Icons.
2010/10/07 10:22:01| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 13.
2010/10/07 10:22:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2010/10/07 10:22:01| HTCP Disabled.
2010/10/07 10:22:01| Accepting SNMP messages on port 3401, FD 15.
2010/10/07 10:22:01| WCCP Disabled.
2010/10/07 10:22:01| Configuring 94.74.136.69 Parent 94.74.136.69/8080/0
2010/10/07 10:22:01| Ready to serve requests.
2010/10/07 10:22:01| Done reading /var/spool/squid swaplog (0 entries)
2010/10/07 10:22:01| Finished rebuilding storage from disk.
2010/10/07 10:22:01| 0 Entries scanned
2010/10/07 10:22:01| 0 Invalid entries.
2010/10/07 10:22:01| 0 With invalid flags.
2010/10/07 10:22:01| 0 Objects loaded.
2010/10/07 10:22:01| 0 Objects expired.
2010/10/07 10:22:01| 0 Objects cancelled.
2010/10/07 10:22:01| 0 Duplicate URLs purged.
2010/10/07 10:22:01| 0 Swapfile clashes avoided.
2010/10/07 10:22:01| Took 0.5 seconds ( 0.0 objects/sec).
2010/10/07 10:22:01| Beginning Validation Procedure
2010/10/07 10:22:01| Completed Validation Procedure
2010/10/07 10:22:01| Validated 0 Entries
2010/10/07 10:22:01| store_swap_size = 0k
2010/10/07 10:22:02| storeLateRelease: released 0 objects
2010/10/07 10:26:46| Preparing for shutdown after 0 requests
2010/10/07 10:26:46| Waiting 30 seconds for active connections to finish
2010/10/07 10:26:46| FD 13 Closing HTTP connection
2010/10/07 10:27:17| Shutting down...
2010/10/07 10:27:17| FD 14 Closing ICP connection
2010/10/07 10:27:17| FD 15 Closing SNMP socket
2010/10/07 10:27:17| aioSync: flushing pending I/O operations
2010/10/07 10:27:17| aioSync: done
2010/10/07 10:27:17| storeDirWriteCleanLogs: Starting...
2010/10/07 10:27:17| Finished. Wrote 0 entries.
2010/10/07 10:27:17| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
Maximum Resident Size: 22352 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2508 KB
Ordinary blocks: 2377 KB 7 blks
Small blocks: 0 KB 4 blks
Holding blocks: 656 KB 2 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 130 KB
Total in use: 3033 KB 96%
Total free: 130 KB 4%
2010/10/07 10:27:17| aioSync: flushing pending I/O operations
2010/10/07 10:27:17| aioSync: done
2010/10/07 10:27:17| logfileClose: closing log /var/log/squid/access.log
2010/10/07 10:27:17| aioSync: flushing pending I/O operations
2010/10/07 10:27:17| aioSync: done
2010/10/07 10:27:17| Squid Cache (Version 2.7.STABLE7): Exiting normally.
2010/10/07 10:28:04| Starting Squid Cache version 2.7.STABLE7 for amd64-debian-linux-gnu...
2010/10/07 10:28:04| Process ID 1197
2010/10/07 10:28:04| With 1024 file descriptors available
2010/10/07 10:28:04| Using epoll for the IO loop