Здравствуйте, уважаемые форумчане! Проблема следующая. Делаю интернет-шлюз для домашней сети. Для управления трафиком, обрезания баннеров и прочих полезных штук поставил Squid 2.7. Написал конфиг
http_port 192.168.0.3:3128
cache_mem 128 MB
cache_dir ufs /var/spool/squid 1024 16 256
maximum_object_size 4096 KB
cache_effective_user squid
cache_effective_group squid
acl LocalNet src 192.168.0.0/24
acl Nout src 192.168.0.2
acl Komp src 192.168.0.5
acl all src 0.0.0.0/0
acl allowed_ports port 53 80 8080 20 21 22 25 443 110 989 6881 1900 32800-32900 20010-20020
http_access allow LocalNet
http_access allow Nout
http_access allow MoyKomp
http_access deny !allowed_ports
http_access deny all
delay_pools 2
delay_class 1 1
delay_parameters 1 512000/512000
delay_access 1 allow Nout
delay_access 1 deny all
delay_class 2 1
delay_parameters 2 1412000/1412000
delay_access 2 allow MoyKomp
delay_access 2 deny all
Создал пользователя и группу с именами squid, присвоил им права на запись в директорию кэша. Запустил с ключом -z. Никаких сообщений об ошибках не было. Но в списках активных процессов squid сначала появляется, затем, почти сразу же исчезает. Соответственно, клиентские браузеры не подключаются к серверу и инет не получают.
Вот cache.log
2013/04/13 07:04:27| Starting Squid Cache version 2.7.STABLE9 for i386-debian-linux-gnu...
2013/04/13 07:04:27| Process ID 2596
2013/04/13 07:04:27| With 1024 file descriptors available
2013/04/13 07:04:27| Using epoll for the IO loop
2013/04/13 07:04:27| DNS Socket created at 0.0.0.0, port 55796, FD 7
2013/04/13 07:04:27| Adding nameserver 87.103.236.9 from /etc/resolv.conf
2013/04/13 07:04:27| Adding nameserver 87.103.236.10 from /etc/resolv.conf
2013/04/13 07:04:27| Adding nameserver 8.8.8.8 from /etc/resolv.conf
2013/04/13 07:04:27| User-Agent logging is disabled.
2013/04/13 07:04:27| Referer logging is disabled.
2013/04/13 07:04:27| logfileOpen: opening log /var/log/squid/access.log
2013/04/13 07:04:27| Unlinkd pipe opened on FD 12
2013/04/13 07:04:27| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
2013/04/13 07:04:27| Target number of buckets: 425
2013/04/13 07:04:27| Using 8192 Store buckets
2013/04/13 07:04:27| Max Mem size: 8192 KB
2013/04/13 07:04:27| Max Swap size: 102400 KB
2013/04/13 07:04:27| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/13 07:04:27| logfileOpen: opening log /var/log/squid/store.log
2013/04/13 07:04:27| Rebuilding storage in /var/spool/squid (DIRTY)
2013/04/13 07:04:27| Using Least Load store dir selection
2013/04/13 07:04:27| Set Current Directory to /var/spool/squid
2013/04/13 07:04:27| Loaded Icons.
2013/04/13 07:04:28| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
2013/04/13 07:04:28| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2013/04/13 07:04:28| HTCP Disabled.
2013/04/13 07:04:28| WCCP Disabled.
2013/04/13 07:04:28| Ready to serve requests.
2013/04/13 07:04:28| Done scanning /var/spool/squid (0 entries)
2013/04/13 07:04:28| Finished rebuilding storage from disk.
2013/04/13 07:04:28| 0 Entries scanned
2013/04/13 07:04:28| 0 Invalid entries
2013/04/13 07:04:28| 0 With invalid flags.
2013/04/13 07:04:28| 0 Objects loaded.
2013/04/13 07:04:28| 0 Objects expired.
2013/04/13 07:04:28| 0 Objects cancelled.
2013/04/13 07:04:28| 0 Duplicate URLs purged.
2013/04/13 07:04:28| 0 Swapfile clashes avoided.
2013/04/13 07:04:28| Took 0.3 seconds ( 0.0 objects/sec).
2013/04/13 07:04:28| Beginning Validation Procedure
2013/04/13 07:04:28| Completed Validation Procedure
2013/04/13 07:04:28| Validated 0 Entries
2013/04/13 07:04:28| store_swap_size = 0k
2013/04/13 07:04:28| storeLateRelease: released 0 objects
2013/04/12 21:45:53| Preparing for shutdown after 0 requests
2013/04/12 21:45:53| Waiting 30 seconds for active connections to finish
2013/04/12 21:45:53| FD 13 Closing HTTP connection
2013/04/12 21:45:53| Shutting down...
2013/04/12 21:45:53| FD 14 Closing ICP connection
2013/04/12 21:45:53| Closing unlinkd pipe on FD 12
2013/04/12 21:45:53| storeDirWriteCleanLogs: Starting...
2013/04/12 21:45:53| Finished. Wrote 0 entries.
2013/04/12 21:45:53| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.056 seconds = 0.028 user + 0.028 sys
Maximum Resident Size: 18784 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2112 KB
Ordinary blocks: 2038 KB 3 blks
Не могу никак понять, почему сквид останавливается. Прошу помощи!