خیر در فایل کانفیگش چیزی رو عوض نکردم.
پورت ۳۱۲۸ نبود ولی پورت ۳۱۳۰ بودش
−−−−−−−−−−−−−−−−−−−−−
و برای دستور squid start این جوابو داد:
(((2010/08/11 02:49:51| Squid is already running! Process ID 3169)))
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
برای دستور netstat -na این جوابو داد
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:45871 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN
tcp 0 0 95.168.161.82:22 217.219.71.197:42563 ESTABLISHED
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:949 0.0.0.0:*
udp 0 0 0.0.0.0:3130 0.0.0.0:*
udp 0 0 0.0.0.0:38485 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:39806 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 6 [ ] DGRAM 4177 /dev/log
unix 2 [ ] DGRAM 2594 @/org/kernel/udev/udevd
unix 3 [ ] STREAM CONNECTED 23718
unix 3 [ ] STREAM CONNECTED 23717
unix 2 [ ] DGRAM 23716
unix 2 [ ] DGRAM 14616
unix 2 [ ] DGRAM 14610
unix 2 [ ] DGRAM 4669
−−−−−−−−−−−−−−−−−−−−−
و برای دستور ps -a
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 watchdog/0
6 ? 00:00:00 events/0
7 ? 00:00:00 cpuset
8 ? 00:00:00 khelper
9 ? 00:00:00 netns
10 ? 00:00:00 async/mgr
11 ? 00:00:00 pm
12 ? 00:00:00 xenwatch
13 ? 00:00:00 xenbus
14 ? 00:00:00 sync_supers
15 ? 00:00:00 bdi-default
16 ? 00:00:00 kintegrityd/0
17 ? 00:00:00 kblockd/0
18 ? 00:00:00 kseriod
20 ? 00:00:00 kondemand/0
21 ? 00:00:00 khungtaskd
22 ? 00:00:00 kswapd0
23 ? 00:00:00 ksmd
24 ? 00:00:00 aio/0
25 ? 00:00:00 crypto/0
29 ? 00:00:00 khvcd
272 ? 00:00:00 kjournald
344 ? 00:00:00 udevd
600 ? 00:00:00 flush-202:0
762 ? 00:00:00 portmap
773 ? 00:00:00 rpc.statd
878 ? 00:00:00 rsyslogd
901 ? 00:00:00 xe-daemon
976 ? 00:00:00 sshd
984 ? 00:00:00 bijk-node
986 ? 00:00:14 bijk-node
987 ? 00:00:04 bijk-node
988 ? 00:00:00 bijk-node
1269 ? 00:00:00 exim4
1288 ? 00:00:00 inetd
1296 ? 00:00:00 pptpd
1308 ? 00:00:00 atd
1328 ? 00:00:00 cron
1342 ? 00:00:00 apache2
1359 hvc0 00:00:00 getty
1360 tty1 00:00:00 getty
1361 tty2 00:00:00 getty
1362 tty3 00:00:00 getty
1363 tty4 00:00:00 getty
1364 tty5 00:00:00 getty
1365 tty6 00:00:00 getty
1376 ? 00:00:00 apache2
1377 ? 00:00:00 apache2
1378 ? 00:00:00 apache2
1379 ? 00:00:00 apache2
1380 ? 00:00:00 apache2
1393 ? 00:00:00 apache2
1439 ? 00:00:00 apache2
1441 ? 00:00:00 apache2
1442 ? 00:00:00 apache2
1443 ? 00:00:00 apache2
3164 ? 00:00:00 squid
3169 ? 00:00:00 squid
3171 ? 00:00:00 unlinkd
7459 ? 00:00:00 sshd
7462 ? 00:00:00 sshd
7463 pts/2 00:00:00 bash
7467 pts/2 00:00:00 su
7468 pts/2 00:00:00 bash
7826 ? 00:00:00 sshd
7829 ? 00:00:00 sshd
7830 pts/0 00:00:00 bash
7833 pts/0 00:00:00 su
7863 ? 00:00:00 sleep
7864 pts/0 00:00:00 bash
7865 pts/0 00:00:00 ps
------------------------------------
و برای cat /var/logsquid/cash.log
2010/08/11 00:37:26| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/11 00:37:26| Process ID 1757
2010/08/11 00:37:26| With 1024 file descriptors available
2010/08/11 00:37:26| Using epoll for the IO loop
2010/08/11 00:37:26| DNS Socket created at 0.0.0.0, port 40122, FD 7
2010/08/11 00:37:26| Adding domain hajm.ir from /etc/resolv.conf
2010/08/11 00:37:26| Adding nameserver 217.20.115.1 from /etc/resolv.conf
2010/08/11 00:37:26| User-Agent logging is disabled.
2010/08/11 00:37:26| Referer logging is disabled.
2010/08/11 00:37:26| logfileOpen: opening log /var/log/squid/access.log
2010/08/11 00:37:26| Unlinkd pipe opened on FD 12
2010/08/11 00:37:26| Swap maxSize 102400 KB, estimated 7876 objects
2010/08/11 00:37:26| Target number of buckets: 393
2010/08/11 00:37:26| Using 8192 Store buckets
2010/08/11 00:37:26| Max Mem size: 8192 KB
2010/08/11 00:37:26| Max Swap size: 102400 KB
2010/08/11 00:37:26| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/08/11 00:37:26| logfileOpen: opening log /var/log/squid/store.log
2010/08/11 00:37:26| Rebuilding storage in /var/spool/squid (DIRTY)
2010/08/11 00:37:26| Using Least Load store dir selection
2010/08/11 00:37:26| Set Current Directory to /var/spool/squid
2010/08/11 00:37:26| Loaded Icons.
2010/08/11 00:37:26| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
2010/08/11 00:37:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2010/08/11 00:37:26| HTCP Disabled.
2010/08/11 00:37:26| WCCP Disabled.
2010/08/11 00:37:26| Ready to serve requests.
2010/08/11 00:37:26| Done scanning /var/spool/squid (0 entries)
2010/08/11 00:37:26| Finished rebuilding storage from disk.
2010/08/11 00:37:26| 0 Entries scanned
2010/08/11 00:37:26| 0 Invalid entries.
2010/08/11 00:37:26| 0 With invalid flags.
2010/08/11 00:37:26| 0 Objects loaded.
2010/08/11 00:37:26| 0 Objects expired.
2010/08/11 00:37:26| 0 Objects cancelled.
2010/08/11 00:37:26| 0 Duplicate URLs purged.
2010/08/11 00:37:26| 0 Swapfile clashes avoided.
2010/08/11 00:37:26| Took 0.4 seconds ( 0.0 objects/sec).
2010/08/11 00:37:26| Beginning Validation Procedure
2010/08/11 00:37:27| Completed Validation Procedure
2010/08/11 00:37:27| Validated 0 Entries
2010/08/11 00:37:27| store_swap_size = 0k
2010/08/11 00:37:27| storeLateRelease: released 0 objects
2010/08/11 01:08:34| Preparing for shutdown after 16 requests
2010/08/11 01:08:34| Waiting 30 seconds for active connections to finish
2010/08/11 01:08:34| FD 13 Closing HTTP connection
2010/08/11 01:08:34| Shutting down...
2010/08/11 01:08:34| FD 14 Closing ICP connection
2010/08/11 01:08:34| Closing unlinkd pipe on FD 12
2010/08/11 01:08:34| storeDirWriteCleanLogs: Starting...
2010/08/11 01:08:34| Finished. Wrote 0 entries.
2010/08/11 01:08:34| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.068 seconds = 0.016 user + 0.052 sys
Maximum Resident Size: 18816 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2148 KB
Ordinary blocks: 2041 KB 6 blks
Small blocks: 0 KB 5 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 106 KB
Total in use: 2321 KB 96%
Total free: 106 KB 4%
2010/08/11 01:08:34| logfileClose: closing log /var/log/squid/store.log
2010/08/11 01:08:34| logfileClose: closing log /var/log/squid/access.log
2010/08/11 01:08:34| Squid Cache (Version 2.7.STABLE3): Exiting normally.
2010/08/11 01:08:36| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/11 01:08:36| Process ID 3169
2010/08/11 01:08:36| With 1024 file descriptors available
2010/08/11 01:08:36| Using epoll for the IO loop
2010/08/11 01:08:36| DNS Socket created at 0.0.0.0, port 38485, FD 6
2010/08/11 01:08:36| Adding domain hajm.ir from /etc/resolv.conf
2010/08/11 01:08:36| Adding nameserver 217.20.115.1 from /etc/resolv.conf
2010/08/11 01:08:36| User-Agent logging is disabled.
2010/08/11 01:08:36| Referer logging is disabled.
2010/08/11 01:08:36| logfileOpen: opening log /var/log/squid/access.log
2010/08/11 01:08:36| Unlinkd pipe opened on FD 11
2010/08/11 01:08:36| Swap maxSize 102400 KB, estimated 7876 objects
2010/08/11 01:08:36| Target number of buckets: 393
2010/08/11 01:08:36| Using 8192 Store buckets
2010/08/11 01:08:36| Max Mem size: 8192 KB
2010/08/11 01:08:36| Max Swap size: 102400 KB
2010/08/11 01:08:36| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/08/11 01:08:36| logfileOpen: opening log /var/log/squid/store.log
2010/08/11 01:08:36| Rebuilding storage in /var/spool/squid (CLEAN)
2010/08/11 01:08:36| Using Least Load store dir selection
2010/08/11 01:08:36| Set Current Directory to /var/spool/squid
2010/08/11 01:08:36| Loaded Icons.
2010/08/11 01:08:36| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
2010/08/11 01:08:36| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2010/08/11 01:08:36| HTCP Disabled.
2010/08/11 01:08:36| WCCP Disabled.
2010/08/11 01:08:36| Ready to serve requests.
2010/08/11 01:08:36| Done reading /var/spool/squid swaplog (0 entries)
2010/08/11 01:08:36| Finished rebuilding storage from disk.
2010/08/11 01:08:36| 0 Entries scanned
2010/08/11 01:08:36| 0 Invalid entries.
2010/08/11 01:08:36| 0 With invalid flags.
2010/08/11 01:08:36| 0 Objects loaded.
2010/08/11 01:08:36| 0 Objects expired.
2010/08/11 01:08:36| 0 Objects cancelled.
2010/08/11 01:08:36| 0 Duplicate URLs purged.
2010/08/11 01:08:36| 0 Swapfile clashes avoided.
2010/08/11 01:08:36| Took 0.3 seconds ( 0.0 objects/sec).
2010/08/11 01:08:36| Beginning Validation Procedure
2010/08/11 01:08:36| Completed Validation Procedure
2010/08/11 01:08:36| Validated 0 Entries
2010/08/11 01:08:36| store_swap_size = 0k
2010/08/11 01:08:37| storeLateRelease: released 0 objects