ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Evgenii Terechkov <evg@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Squid отказывается работать без no-query
Date: Tue, 12 Sep 2006 10:59:54 +0800
Message-ID: <m3zmd5dc2d.fsf@evg.krastel.ru> (raw)


Уже спрашивал, только с письмом вроде что-то случилось.

Сталкивался ли кто с подобным поведением сквида? Или я что-то не так делаю?

Есть сквид с одним родителем, прописанным так:

cache_peer      localhost   parent  3124    3130     no-netdb-exchange

Так он почему-то на ровном месте (посде нескольких дней успешной работы)
начал отдавать клиентам страничку ERR_CANNOT_FORWARD (При этом на каждый
запрос приходится и по ICP-запросу).

Если добавить в упомянутую строчку ещё и no-query, то всё начинает
работать. Очень странно, учитывая, что работало и без этой опций.

Опция icp_port в конфиге закомментирована (по умолчанию). Запросы на
localhost:3130 переправляются реальному родителю средствами iptables (на
каждый ERR_CANNOT_FORWARD на удалённую машину приходит ICP-запрос, ответ -
MISS ).

Сквид 2.5.STABLE10-alt3.M24.1, дистрибутив - M24+updates+backports.

P.S.: или всё-таки нужен весь конфиг?

-- 
                                        С уважением, системный
                                        администратор ООО "Крастел",
                                        Терешков Евгений.


                 reply	other threads:[~2006-09-12  2:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zmd5dc2d.fsf@evg.krastel.ru \
    --to=evg@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git