URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 91470
[ Назад ]

Исходное сообщение
"Не запускается Squid"

Отправлено minimax_07 , 26-Апр-11 17:06 
Я только начал разбираться со Squid, так что простите чайника.Просто выкладываю мой squid.conf и последние записи в cace.log. Все пути прописаны верно, права на папки и файлы даны на пользователя nobody.

squid.conf

http_port 3128
cache_mem 64 MB
error_directory /usr/local/etc/squid/errors/Russian-koi8-r
dns_nameservers 212.44.130.6
cache_dir ufs /usr/local/squid/cache 5000 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
pid_filename /usr/local/squid/logs/squid.pid
acl user src "/usr/local/etc/squid/users.txt"
http_access allow manager localhost
forwarded_for on
client_db on
log_fqdn on
#httpd_accel_host virtual
#httpd_accel_port
#httpd_accel_with_proxy on
#htpd_accel_uses_host_header on
cache_effective_user nobody
cache_effective_group nogroup
ftp_user 790@kaskad.ru


cache.log

2011/04/26 20:11:05| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:05| Process ID 3347
2011/04/26 20:11:05| With 3392 file descriptors available
2011/04/26 20:11:05| Using kqueue for the IO loop
2011/04/26 20:11:05| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3324 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 4168 KB
Page faults with physical i/o: 0
2011/04/26 20:11:15| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:15| Process ID 3350
2011/04/26 20:11:15| With 3392 file descriptors available
2011/04/26 20:11:15| Using kqueue for the IO loop
2011/04/26 20:11:15| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3268 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3980 KB
Page faults with physical i/o: 0
2011/04/26 20:11:17| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:17| Process ID 3352
2011/04/26 20:11:17| With 3392 file descriptors available
2011/04/26 20:11:17| Using kqueue for the IO loop
2011/04/26 20:11:17| Performing DNS Tests...
2011/04/26 20:11:19| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:19| Process ID 3354
2011/04/26 20:11:19| With 3392 file descriptors available
2011/04/26 20:11:19| Using kqueue for the IO loop
2011/04/26 20:11:19| Performing DNS Tests...
2011/04/26 20:11:19| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:19| Process ID 3356
2011/04/26 20:11:19| With 3392 file descriptors available
2011/04/26 20:11:19| Using kqueue for the IO loop
2011/04/26 20:11:19| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 4516 KB
Page faults with physical i/o: 0
2011/04/26 20:11:36| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:36| Process ID 3358
2011/04/26 20:11:36| With 3392 file descriptors available
2011/04/26 20:11:36| Using kqueue for the IO loop
2011/04/26 20:11:36| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 4284 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.009 user + 0.009 sys
Maximum Resident Size: 3280 KB
Page faults with physical i/o: 0
2011/04/26 20:11:46| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:46| Process ID 3360
2011/04/26 20:11:46| With 3392 file descriptors available
2011/04/26 20:11:46| Using kqueue for the IO loop
2011/04/26 20:11:46| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3356 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.009 user + 0.009 sys
Maximum Resident Size: 3276 KB
Page faults with physical i/o: 0
2011/04/26 20:11:48| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:48| Process ID 3362
2011/04/26 20:11:48| With 3392 file descriptors available
2011/04/26 20:11:48| Using kqueue for the IO loop
2011/04/26 20:11:48| Performing DNS Tests...
2011/04/26 20:11:50| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:50| Process ID 3364
2011/04/26 20:11:50| With 3392 file descriptors available
2011/04/26 20:11:50| Using kqueue for the IO loop
2011/04/26 20:11:50| Performing DNS Tests...
2011/04/26 20:11:50| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:11:50| Process ID 3366
2011/04/26 20:11:50| With 3392 file descriptors available
2011/04/26 20:11:50| Using kqueue for the IO loop
2011/04/26 20:11:50| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3308 KB
Page faults with physical i/o: 0
2011/04/26 20:12:07| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:07| Process ID 3368
2011/04/26 20:12:07| With 3392 file descriptors available
2011/04/26 20:12:07| Using kqueue for the IO loop
2011/04/26 20:12:07| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.009 user + 0.009 sys
Maximum Resident Size: 3276 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3324 KB
Page faults with physical i/o: 0
2011/04/26 20:12:17| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:17| Process ID 3370
2011/04/26 20:12:17| With 3392 file descriptors available
2011/04/26 20:12:17| Using kqueue for the IO loop
2011/04/26 20:12:17| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.006 user + 0.013 sys
Maximum Resident Size: 4120 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3356 KB
Page faults with physical i/o: 0
2011/04/26 20:12:19| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:19| Process ID 3372
2011/04/26 20:12:19| With 3392 file descriptors available
2011/04/26 20:12:19| Using kqueue for the IO loop
2011/04/26 20:12:19| Performing DNS Tests...
2011/04/26 20:12:21| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:21| Process ID 3374
2011/04/26 20:12:21| With 3392 file descriptors available
2011/04/26 20:12:21| Using kqueue for the IO loop
2011/04/26 20:12:21| Performing DNS Tests...
2011/04/26 20:12:21| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:21| Process ID 3376
2011/04/26 20:12:21| With 3392 file descriptors available
2011/04/26 20:12:21| Using kqueue for the IO loop
2011/04/26 20:12:21| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3548 KB
Page faults with physical i/o: 0
2011/04/26 20:12:38| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:38| Process ID 3378
2011/04/26 20:12:38| With 3392 file descriptors available
2011/04/26 20:12:38| Using kqueue for the IO loop
2011/04/26 20:12:38| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3328 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.006 user + 0.013 sys
Maximum Resident Size: 4468 KB
Page faults with physical i/o: 0
2011/04/26 20:12:48| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:48| Process ID 3380
2011/04/26 20:12:48| With 3392 file descriptors available
2011/04/26 20:12:48| Using kqueue for the IO loop
2011/04/26 20:12:48| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.009 user + 0.009 sys
Maximum Resident Size: 3080 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.006 user + 0.012 sys
Maximum Resident Size: 4464 KB
Page faults with physical i/o: 0
2011/04/26 20:12:50| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:50| Process ID 3382
2011/04/26 20:12:50| With 3392 file descriptors available
2011/04/26 20:12:50| Using kqueue for the IO loop
2011/04/26 20:12:50| Performing DNS Tests...
2011/04/26 20:12:52| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:52| Process ID 3384
2011/04/26 20:12:52| With 3392 file descriptors available
2011/04/26 20:12:52| Using kqueue for the IO loop
2011/04/26 20:12:52| Performing DNS Tests...
2011/04/26 20:12:52| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:12:52| Process ID 3386
2011/04/26 20:12:52| With 3392 file descriptors available
2011/04/26 20:12:52| Using kqueue for the IO loop
2011/04/26 20:12:52| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.006 user + 0.013 sys
Maximum Resident Size: 4276 KB
Page faults with physical i/o: 0
2011/04/26 20:13:09| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:13:09| Process ID 3388
2011/04/26 20:13:09| With 3392 file descriptors available
2011/04/26 20:13:09| Using kqueue for the IO loop
2011/04/26 20:13:09| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 4488 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.019 user + 0.000 sys
Maximum Resident Size: 3312 KB
Page faults with physical i/o: 0
2011/04/26 20:13:19| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:13:19| Process ID 3390
2011/04/26 20:13:19| With 3392 file descriptors available
2011/04/26 20:13:19| Using kqueue for the IO loop
2011/04/26 20:13:19| Performing DNS Tests...
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 3436 KB
Page faults with physical i/o: 0
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.019 seconds = 0.000 user + 0.019 sys
Maximum Resident Size: 3312 KB
Page faults with physical i/o: 0
2011/04/26 20:13:21| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:13:21| Process ID 3392
2011/04/26 20:13:21| With 3392 file descriptors available
2011/04/26 20:13:21| Using kqueue for the IO loop
2011/04/26 20:13:21| Performing DNS Tests...
2011/04/26 20:13:23| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:13:23| Process ID 3394
2011/04/26 20:13:23| With 3392 file descriptors available
2011/04/26 20:13:23| Using kqueue for the IO loop
2011/04/26 20:13:23| Performing DNS Tests...
2011/04/26 20:13:23| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
...
2011/04/26 20:18:34| Process ID 3692
2011/04/26 20:18:34| With 3392 file descriptors available
2011/04/26 20:18:34| Using kqueue for the IO loop
2011/04/26 20:18:34| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:34| User-Agent logging is disabled.
2011/04/26 20:18:34| Referer logging is disabled.
2011/04/26 20:18:34| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:34| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.022 seconds = 0.000 user + 0.022 sys
Maximum Resident Size: 4468 KB
Page faults with physical i/o: 0
2011/04/26 20:18:34| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:18:34| Process ID 3699
2011/04/26 20:18:34| With 3392 file descriptors available
2011/04/26 20:18:34| Using kqueue for the IO loop
2011/04/26 20:18:34| Performing DNS Tests...
2011/04/26 20:18:34| Successful DNS name lookup tests...
2011/04/26 20:18:34| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:34| User-Agent logging is disabled.
2011/04/26 20:18:34| Referer logging is disabled.
2011/04/26 20:18:34| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:34| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.012 user + 0.012 sys
Maximum Resident Size: 3192 KB
Page faults with physical i/o: 0
2011/04/26 20:18:37| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:18:37| Process ID 3706
2011/04/26 20:18:37| With 3392 file descriptors available
2011/04/26 20:18:37| Using kqueue for the IO loop
2011/04/26 20:18:37| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:37| User-Agent logging is disabled.
2011/04/26 20:18:37| Referer logging is disabled.
2011/04/26 20:18:37| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:37| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.022 seconds = 0.007 user + 0.015 sys
Maximum Resident Size: 4444 KB
Page faults with physical i/o: 0
2011/04/26 20:18:40| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:18:40| Process ID 3713
2011/04/26 20:18:40| With 3392 file descriptors available
2011/04/26 20:18:40| Using kqueue for the IO loop
2011/04/26 20:18:40| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:40| User-Agent logging is disabled.
2011/04/26 20:18:40| Referer logging is disabled.
2011/04/26 20:18:40| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:40| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.000 user + 0.023 sys
Maximum Resident Size: 4512 KB
Page faults with physical i/o: 0
2011/04/26 20:18:43| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:18:43| Process ID 3720
2011/04/26 20:18:43| With 3392 file descriptors available
2011/04/26 20:18:43| Using kqueue for the IO loop
2011/04/26 20:18:43| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:43| User-Agent logging is disabled.
2011/04/26 20:18:43| Referer logging is disabled.
2011/04/26 20:18:43| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:43| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.008 user + 0.015 sys
Maximum Resident Size: 4512 KB
Page faults with physical i/o: 0
2011/04/26 20:18:46| Starting Squid Cache version 2.6.STABLE16+ICAP for i386-portbld-freebsd7.0...
2011/04/26 20:18:46| Process ID 3727
2011/04/26 20:18:46| With 3392 file descriptors available
2011/04/26 20:18:46| Using kqueue for the IO loop
2011/04/26 20:18:46| helperOpenServers: Starting 5 'dnsserver' processes
2011/04/26 20:18:46| User-Agent logging is disabled.
2011/04/26 20:18:46| Referer logging is disabled.
2011/04/26 20:18:46| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) Permission denied
2011/04/26 20:18:46| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.006 user + 0.017 sys
Maximum Resident Size: 4560 KB
Page faults with physical i/o: 0


Заранее спасибо


Содержание

Сообщения в этом обсуждении
"Не запускается Squid"
Отправлено Golub Mikhail , 26-Апр-11 17:27 
>[оверквотинг удален]
> 2011/04/26 20:18:46| errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT':
> (13) Permission denied
> 2011/04/26 20:18:46| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT':
> (2) No such file or directory
> FATAL: failed to find or read error text file.
> Squid Cache (Version 2.6.STABLE16+ICAP): Terminated abnormally.
> CPU Usage: 0.023 seconds = 0.006 user + 0.017 sys
> Maximum Resident Size: 4560 KB
> Page faults with physical i/o: 0
> Заранее спасибо

С резолвингом на хосте, где запускаете сквид, все в порядке?


errorTryLoadText: '/usr/local/etc/squid/errors/Russian-koi8 ... - путь правильный.
А пользователь, от которого запускаете сквид, имеет права на чтение по указанному пути?

И зачем сквид такой старый?
Лучше уж 3-й - там по icap много улучшений.


"Не запускается Squid"
Отправлено minimax_07 , 26-Апр-11 17:35 
да я как-то не запаривался насчет версии...
я чайник... подскажите, пожалуйста как прооверить резольвинг.
и почему обращение идет к этой папке, хотя в конфиге указан другой путь?
с правами вроде все в норме

"Не запускается Squid"
Отправлено ford1813 , 26-Апр-11 20:49 
> да я как-то не запаривался насчет версии...
> я чайник... подскажите, пожалуйста как прооверить резольвинг.
> и почему обращение идет к этой папке, хотя в конфиге указан другой
> путь?
> с правами вроде все в норме

nslookup не?

К какой другой папке?
У вас или прав , или папки нет.


"Не запускается Squid"
Отправлено minimax_07 , 27-Апр-11 10:08 

> nslookup не?
> К какой другой папке?
> У вас или прав , или папки нет.

c resolve все в норме, проверил.
Я имею ввиду, что в конфиге указан путь /usr/local/etc/squid/errors/Russian-koi8-r, права на чтение которого я дал пользователю nobody от имени которого скуид запускается, а обращение идет еще и к папке /usr/local/squid/etc/errors , которую я создал и скопировал в нее всю папку /usr/local/etc/squid/errors/. Всеравно при запуске пишет, что /usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT': (13) permission denied, a /usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) no such file or directory, хотя она существует!!!



"Не запускается Squid"
Отправлено PavelR , 27-Апр-11 10:10 
>[оверквотинг удален]
>> К какой другой папке?
>> У вас или прав , или папки нет.
> c resolve все в норме, проверил.
> Я имею ввиду, что в конфиге указан путь /usr/local/etc/squid/errors/Russian-koi8-r, права
> на чтение которого я дал пользователю nobody от имени которого скуид
> запускается, а обращение идет еще и к папке /usr/local/squid/etc/errors , которую
> я создал и скопировал в нее всю папку /usr/local/etc/squid/errors/. Всеравно при
> запуске пишет, что /usr/local/etc/squid/errors/Russian-koi8-r/ERR_READ_TIMEOUT':
> (13) permission denied, a /usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) no such
> file or directory, хотя она существует!!!

надо проверять права доступа на все элементы пути. по сути, начиная с /


"Не запускается Squid"
Отправлено minimax_07 , 27-Апр-11 10:29 
Спасибо огромное, все тупые вопросы снимаю. Squid is already running! )))) Пользователя nobody на squid и переназначил на него права на чтение всех необходимых папок. Еще раз спасибо.

"Не запускается Squid"
Отправлено minimax_07 , 27-Апр-11 17:37 
Сквид успешно стартовал, но возникла проблема с доступом в нет через прокси. Схема такая: на машине, где установлен сквид 2 сетевухи - одна внешняя, пусть 10.0.195.250, ддугой интерфейс внутренний - 192.168.0.1, которая подключена в коммутатор вместе с пользователем (192.168.0.1).Маршрутизация поднята.В настройках браузера указываю прокси в ручную - 192.168.0.1:3128.В качестве списков доступа указан файл users.txt, права на чтение которого имеет squid. В нем просто перечислены разрешенный адреса (192.168.0.2/32). Но при попытке с рабочей станции пользователя подключиться к интернету в браузере появляется сообщение Во время доставки URL: http://www.yandex.ru/

Произошла следующая ошибка:

    Доступ запрещен.

    Настройка контроля доступа не даёт возможности выполнить Ваш запрос в настоящее время. Пожалуйста, свяжитесь с Вашим поставщиком услуг Интернет, если Вы считаете это неправильным.


Generated Wed, 27 Apr 2011 19:36:24 GMT by minimax07.mail.ru (squid/2.6.STABLE16+ICAP) .

Пробовал оставлять только внешний интерфейс с соответствующей заменой адресов, подключив все 3 шланга (пользователь, интернет, прокси) через один коммутатор, убирал вообще все списки - не помогает, результат тот же самый. Подскажите, пожалуйста, где я накосячил на этот раз. Спасибо.


"Не запускается Squid"
Отправлено minimax_07 , 27-Апр-11 17:47 
Ну и соответственно в конфиге сквида прописано
acl users src "/usr/local/etc/squid/users.txt"
http_access allow users
http_access deny all