Slava писал(а):andreww писал(а):make-cache error: bad file descriptor
и полный access denied...
у кого-нибудь есть соображения по этому поводу?
Привидите полный текст сообщения об ошибке, логи и конфиг редиректора.
config:
##############################################################
## If you make changes in this file, you must reboot squid ##
## example: squid -k reconfigure ##
##############################################################
##############################################################
## HELP ##
##############################################################
# Globals options:
# ================
#
# error_log filename # Log file for error and startup messages.
# # Comment for turn off
# change_log filename # Log file of change contest.
# # Comment for turn off
#
# make-cache /usr/local/rejik3/make-cache # path to make-cache binary
#
# work_ip IP# Ip adress(network)
# work_ip IP/MASK# or file with ip for
# work_ip f:/path/file# who redirector work
#
# allow_ip IP# Ip adress(network)
# allow_ip IP/MASK# or file with ip for
# allow_ip f:/path/file # who don't change any contest
#
#
# work_id login# login or file with logins
# work_id f:/path/file # for who redirector work
#
# allow_id login# login or file with logins
# allow_id f:/path/file # for who don't change any contest
#
# allow_urls /path/file # file with urls of don't redirect
#
# raw_change <from> <to># Change <from> to <to> in url
# raw_log aff # Not write to log changes from raw_change option
#
##############################################################
#
# Sections options: all parametrs work only for ONE section
# =================
# <NAME> # Header for section
#
# ban_dir dirname # Rules for change in this section
# url
http://host/file # url to replace
## May use: url
http://host/file?var=#URL#&var2=#IP#&i= ... c=#SECTION#
# # #URL# #IP# #IDENT# #METHOD# #SECTION# will be change by redirector
#
# work_ip IP# Ip adress(network)
# work_ip IP/MASK# or file with ip for
# work_ip f:/path/file# who section work
#
# allow_ip IP# Ip adress(network)
# allow_ip IP/MASK# or file with ip for
# allow_ip f:/path/file # who section not work
#
#
# work_id login# login or file with logins
# work_id f:/path/file # for who section work
#
# allow_id login# login or file with logins
# allow_id f:/path/file # for who secion not work
#
# log off# Not write to log changes from this section
# reverse# Reverse result of search in ban dir
#
#############################################################
error_log /usr/local/rejik3/redirector.err
change_log /usr/local/rejik3/redirector.log
make-cache /usr/local/rejik3/make-cache
#allow_urls /usr/local/rejik3/banlists/allow_urls
work_ip 192.168.204.50
<BANNER>
ban_dir /usr/local/rejik3/banlists/banners
url
http://192.168.204.1/1x1.gif
#log off
<PORNO>
ban_dir /usr/local/rejik3/banlists/porno
url
http://192.168.204.1/1x1.gif
#log off
log:
2005-06-08 17:33:22 [34898] Waiting for make-cache finished
2005-06-08 17:33:22 [34898] MAKE-CACHE: ERROR: fcntl return error: Bad file descriptor
2005-06-08 17:33:22 [34897] MAKE-CACHE: ERROR: Can't open file /usr/local/rejik3/banlists/banners/lock.file: Not a directory