LINUX.ORG.RU
решено ФорумAdmin

Squid + Rejik = Не запускается.


0

0

Добрый день. Есть прокси-сервер с настроенным Squid'ом (авторизация через AD), который в принципе работает: пускает пользователей в интернет. Но если прописать в «squid.conf» следующее: «redirect_program /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf» Команда «service squid status» даёт такой результат: squid (pid 23447) is running... squid: ERROR: Could not send signal 0 to process 23483: (3) No such process Как и написано выше процесса 23483 не существует. При этом не работает сам прокси-сервер: доступ в интернет заблокирован (Прокси-сервер не доступен). Если же закоментировать строку «redirect_program ...», то все работает, снова есть интернет. Вывод команды «service squid status»: squid (pid 23447) is running... Без ошибок.

Содержание squid.conf: # created by SAMS _sams_ 2013-8-20 13:24:55 # Аутефикация

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp --domain=EXAMPLE.LOCAL auth_param ntlm children 10 auth_param ntlm keep_alive off auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic --domain=EXAMPLE.LOCAL auth_param basic children 15 auth_param basic realm Example auth_param basic credentialsttl 2 hour auth_param basic casesensitive off acl auth proxy_auth REQUIRED

# Сети acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl vse src all acl m src 1.2.3.4

# Порты acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT

# Доступы http_access allow manager localhost http_access allow m http_access allow auth http_access allow auth m http_access allow localhost http_access deny CONNECT !SSL_ports http_access deny !Safe_ports http_access deny manager http_access deny all icp_access allow m icp_access deny all # Squid normally listens to port 3128 http_port 3128 visible_hostname 1.2.3.4

# We recommend you to use at least the following line. hierarchy_stoplist cgi-bin ? emulate_httpd_log off

#Кэш cache_dir ufs /var/spool/squid 4096 16 256 coredump_dir /var/spool/squid

# Add any of your own refresh_pattern entries above these. refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320

redirect_program /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf



Последнее исправление: Sankafe (всего исправлений: 1)

Ответ на: комментарий от uspen

Огромное спасибо.

Все нервы вымотал этот сквид, а все оказалось очень просто) Большое спасибо.

Sankafe
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.