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

Исходное сообщение
"SQUID 2.5 STABLE 4 - NCSA_AUTH не пашет-((("

Отправлено RAA , 01-Дек-03 14:05 
Очередная непонятка с ncsa_auth,что с ним происходит?
SQUID 2.5 STABLE 4

+++++++squid.conf+++++++++++++++++++++++++

# NETWORK OPTIONS

http_port 3128

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE

cache_mem 100 MB
                
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
            
cache_dir ufs /squid/var/cache 5120 16 256
cache_access_log /squid/var/logs/access.log
cache_log /squid/var/logs/cache.log
cache_store_log /squid/var/logs/store.log
pid_filename /squid/var/logs/squid.pid
debug_options ALL,1 33,2
              
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS

auth_param basic program /my_drive/squid/ncsa_auth /my_drive/squid/passwd
auth_param basic children 5
auth_param basic realm Proxy-Server RDU
auth_param basic credentialsttl 2 hours

# OPTIONS FOR TUNING THE CACHE
refresh_pattern ^ftp:         &n... 1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
                
# ACCESS CONTROLS

acl all src 0.0.0.0/0.0.0.0
acl main proxy_auth REQUIRED
http_access allow main
http_access deny all
icp_access deny all

# ADMINISTRATIVE PARAMETERS

cache_mgr mail@mail.ru
cache_effective_user nobody
cache_effective_group nobody
visible_hostname ZONA.ru

# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)

coredump_dir /squid/var/cache

+++++cache.log+++++++++++++++++++++++++++++++

2003/12/01 14:48:09| Starting Squid Cache version 2.5.STABLE4 for i386-unknown-freebsd4.8.
2003/12/01 14:48:09| Process ID 19729
2003/12/01 14:48:09| With 3712 file descriptors available
2003/12/01 14:48:09| Performing DNS Tests...
2003/12/01 14:48:09| Successful DNS name lookup tests...
2003/12/01 14:48:09| DNS Socket created at 0.0.0.0, port 2540, FD 4
2003/12/01 14:48:09| Adding nameserver 192.168.77.1 from /etc/resolv.conf
2003/12/01 14:48:09| helperOpenServers: Starting 5 'ncsa_auth' processes
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| ipcCreate: Failed to create child FD.
2003/12/01 14:48:09| WARNING: Cannot run '/my_drive/squid/ncsa_auth' process.
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| ipcCreate: Failed to create child FD.
2003/12/01 14:48:09| WARNING: Cannot run '/my_drive/squid/ncsa_auth' process.
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| ipcCreate: Failed to create child FD.
2003/12/01 14:48:09| WARNING: Cannot run '/my_drive/squid/ncsa_auth' process.
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign r
2003/12/01 14:48:09| ipcCreate: Failed to create child FD.
2003/12/01 14:48:09| WARNING: Cannot run '/my_drive/squid/ncsa_auth' process.

+++++++ПРАВА+++++++++++++++++++++++++
total 78
34 -rwxrwxrwx  1 nobody  nobody  34024 Nov 27 12:09 htpasswd
42 -rwxrwxrwx  1 nobody  nobody  41112 Nov 27 12:09 ncsa_auth
2 -rwxrwxrwx  1 nobody  nobody     53 Dec  1 01:42 passwd
+++++++++++++++++++++++++++++++++++++

Народ плз подскажите. что это может быть....?????


Содержание

Сообщения в этом обсуждении
"SQUID 2.5 STABLE 4 - NCSA_AUTH не пашет-((("
Отправлено ipmanyak , 01-Дек-03 15:01 

>2003/12/01 14:48:09| commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.37
у тебя  трабл с локальный интерфейсом  127.0.0.1  - типа его нет ! - подымай


"SQUID 2.5 STABLE 4 - NCSA_AUTH не пашет-((("
Отправлено RAA , 01-Дек-03 19:14 
Пасибо за помощь!
Заработало...но ещё конечно же есть вопросы по поводу правил ipfw!
Но это уже другая тема!