Не запускается squid

Аватар пользователя oren87

Доброго времени суток всем. Установил squid v.3.1.1? но не могу его запустить.

[root@krychko ~]# /usr/local/squid/sbin/squid -z
2011/04/29 10:59:47| Creating Swap Directories
[root@krychko ~]# /usr/local/squid/sbin/squid
[root@krychko ~]# squid -k check
squid: ERROR: No running copy

В чем может быть дело, установка прошла без ошибок, ставил как обычно ./configure, make, make install

Аватар пользователя oren87

Re: не запускается squid

проссмотрев лог файл обнаружил, что в моей системе отсутсвует файл squid.pid создал его в ручную, перезапустил прокси, в логах выдало:

2011/04/29 15:53:54| Starting Squid Cache version 3.1.1 for i686-pc-linux-gnu...
2011/04/29 15:53:54| Process ID 2855
2011/04/29 15:53:54| With 1024 file descriptors available
2011/04/29 15:53:54| Initializing IP Cache...
2011/04/29 15:53:54| DNS Socket created at [::], FD 8
2011/04/29 15:53:54| Adding domain serverorenb from /etc/resolv.conf
2011/04/29 15:53:54| Adding nameserver 10.56.1.1 from /etc/resolv.conf
2011/04/29 15:53:54| Unlinkd pipe opened on FD 13
2011/04/29 15:53:54| Store logging disabled
2011/04/29 15:53:54| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2011/04/29 15:53:54| Target number of buckets: 1008
2011/04/29 15:53:54| Using 8192 Store buckets
2011/04/29 15:53:54| Max Mem size: 262144 KB
2011/04/29 15:53:54| Max Swap size: 0 KB
2011/04/29 15:53:54| Using Least Load store dir selection
2011/04/29 15:53:54| chdir: /usr/local/squid/var/cache: (2) No such file or directory
2011/04/29 15:53:54| Current Directory is /
2011/04/29 15:53:54| Loaded Icons.
2011/04/29 15:53:54| commBind: Cannot bind socket FD 14 to [::]:8080: (98) Address already in use
2011/04/29 15:53:54| commBind: Cannot bind socket FD 15 to 0.0.0.0:8080: (98) Address already in use
2011/04/29 15:53:54| storeDirWriteCleanLogs: Starting...
2011/04/29 15:53:54| Finished. Wrote 0 entries.
2011/04/29 15:53:54| Took 0.00 seconds ( 0.00 entries/sec).
FATAL: Cannot open HTTP Port
Squid Cache (Version 3.1.1): Terminated abnormally.
CPU Usage: 0.044 seconds = 0.017 user + 0.027 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2664 KB
Ordinary blocks: 2650 KB 5 blks
Small blocks: 0 KB 1 blks
Holding blocks: 1336 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 13 KB
Total in use: 3986 KB 150%
Total free: 13 KB 1%

Каковы могут быть причины посоветуйте что нибудь пожалуйсто.

RSS-материал