<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Не стартует squid]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=15383&amp;type=atom" />
	<updated>2013-12-07T05:48:46Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=15383</id>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=380338#p380338" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>2013/12/07 09:40:02| Starting Squid Cache version 3.1.10 for i386-redhat-linux-gnu...
2013/12/07 09:40:02| Process ID 2972
2013/12/07 09:40:02| With 1024 file descriptors available
2013/12/07 09:40:02| Initializing IP Cache...
2013/12/07 09:40:02| DNS Socket created at [::], FD 7
2013/12/07 09:40:02| DNS Socket created at 0.0.0.0, FD 8
2013/12/07 09:40:02| Adding domain host.domain.ru from /etc/resolv.conf
2013/12/07 09:40:02| Adding nameserver 10.50.0.100 from /etc/resolv.conf
2013/12/07 09:40:02| helperOpenServers: Starting 5/5 &#039;squid_kerb_auth&#039; processes
2013/12/07 09:40:02| helperOpenServers: Starting 5/5 &#039;squid_ldap_group&#039; processes
2013/12/07 09:40:02| User-Agent logging is disabled.
2013/12/07 09:40:02| Referer logging is disabled.
2013/12/07 09:40:02| Unlinkd pipe opened on FD 33
2013/12/07 09:40:02| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/12/07 09:40:02| Store logging disabled
2013/12/07 09:40:02| Swap maxSize 10240000 + 262144 KB, estimated 807857 objects
2013/12/07 09:40:02| Target number of buckets: 40392
2013/12/07 09:40:02| Using 65536 Store buckets
2013/12/07 09:40:02| Max Mem  size: 262144 KB
2013/12/07 09:40:02| Max Swap size: 10240000 KB
2013/12/07 09:40:02| Version 1 of swap file with LFS support detected...
2013/12/07 09:40:02| Rebuilding storage in /var/log/squid/cache/ (CLEAN)
2013/12/07 09:40:02| Using Least Load store dir selection
2013/12/07 09:40:02| Set Current Directory to /var/log/squid/cache/
2013/12/07 09:40:02| Loaded Icons.
2013/12/07 09:40:02| Accepting  HTTP connections at 10.50.0.3:3128, FD 36.
2013/12/07 09:40:02| HTCP Disabled.
2013/12/07 09:40:02| Squid plugin modules loaded: 0
2013/12/07 09:40:02| Adaptation support is off.
2013/12/07 09:40:02| Ready to serve requests.
2013/12/07 09:40:02| Done reading /var/log/squid/cache/ swaplog (922 entries)
2013/12/07 09:40:02| Finished rebuilding storage from disk.
2013/12/07 09:40:02|       922 Entries scanned
2013/12/07 09:40:02|         0 Invalid entries.
2013/12/07 09:40:02|         0 With invalid flags.
2013/12/07 09:40:02|       922 Objects loaded.
2013/12/07 09:40:02|         0 Objects expired.
2013/12/07 09:40:02|         0 Objects cancelled.
2013/12/07 09:40:02|         0 Duplicate URLs purged.
2013/12/07 09:40:02|         0 Swapfile clashes avoided.
2013/12/07 09:40:02|   Took 0.02 seconds (42702.98 objects/sec).
2013/12/07 09:40:02| Beginning Validation Procedure
2013/12/07 09:40:02|   Completed Validation Procedure
2013/12/07 09:40:02|   Validated 1869 Entries
2013/12/07 09:40:02|   store_swap_size = 28492
2013/12/07 09:40:03| storeLateRelease: released 0 objects

попытка зайти на сайт
2013/12/07 09:40:50| authenticateNegotiateHandleReply: Error validating user via Negotiate. Error returned &#039;BH gss_acquire_cred() failed: Unspecified GSS failure.  Minor code may provide more information. &#039;
2013/12/07 09:40:50| squid_kerb_auth: INFO: User not authenticated



а вот через sh /etc/init.d/squid start

2013/12/07 09:45:50| Starting Squid Cache version 3.1.10 for i386-redhat-linux-gnu...
2013/12/07 09:45:50| Process ID 3067
2013/12/07 09:45:50| With 1024 file descriptors available
2013/12/07 09:45:50| Initializing IP Cache...
2013/12/07 09:45:50| DNS Socket created at [::], FD 7
2013/12/07 09:45:50| DNS Socket created at 0.0.0.0, FD 8
2013/12/07 09:45:50| Adding domain [b]host.domain.ru[/b] from /etc/resolv.conf
2013/12/07 09:45:50| Adding nameserver 10.50.0.100 from /etc/resolv.conf
2013/12/07 09:45:50| helperOpenServers: Starting 5/5 &#039;squid_kerb_auth&#039; processes
2013/12/07 09:45:50| helperOpenServers: Starting 5/5 &#039;squid_ldap_group&#039; processes
2013/12/07 09:45:50| User-Agent logging is disabled.
2013/12/07 09:45:50| Referer logging is disabled.
2013/12/07 09:45:50| Unlinkd pipe opened on FD 33
2013/12/07 09:45:50| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/12/07 09:45:50| Store logging disabled
2013/12/07 09:45:50| Swap maxSize 10240000 + 262144 KB, estimated 807857 objects
2013/12/07 09:45:50| Target number of buckets: 40392
2013/12/07 09:45:50| Using 65536 Store buckets
2013/12/07 09:45:50| Max Mem  size: 262144 KB
2013/12/07 09:45:50| Max Swap size: 10240000 KB
2013/12/07 09:45:50| Version 1 of swap file with LFS support detected...
2013/12/07 09:45:50| Rebuilding storage in /var/log/squid/cache/ (CLEAN)
2013/12/07 09:45:50| Using Least Load store dir selection
2013/12/07 09:45:50| Set Current Directory to /var/log/squid/cache/
2013/12/07 09:45:50| Loaded Icons.
2013/12/07 09:45:50| Accepting  HTTP connections at 10.50.0.3:3128, FD 36.
2013/12/07 09:45:50| HTCP Disabled.
2013/12/07 09:45:50| Squid plugin modules loaded: 0
2013/12/07 09:45:50| Adaptation support is off.
2013/12/07 09:45:50| Ready to serve requests.
2013/12/07 09:45:50| Done reading /var/log/squid/cache/ swaplog (922 entries)
2013/12/07 09:45:50| Finished rebuilding storage from disk.
2013/12/07 09:45:50|       922 Entries scanned
2013/12/07 09:45:50|         0 Invalid entries.
2013/12/07 09:45:50|         0 With invalid flags.
2013/12/07 09:45:50|       922 Objects loaded.
2013/12/07 09:45:50|         0 Objects expired.
2013/12/07 09:45:50|         0 Objects cancelled.
2013/12/07 09:45:50|         0 Duplicate URLs purged.
2013/12/07 09:45:50|         0 Swapfile clashes avoided.
2013/12/07 09:45:50|   Took 0.02 seconds (42794.15 objects/sec).
2013/12/07 09:45:50| Beginning Validation Procedure
2013/12/07 09:45:50|   Completed Validation Procedure
2013/12/07 09:45:50|   Validated 1869 Entries
2013/12/07 09:45:50|   store_swap_size = 28492</code></pre></div><p>А вот я на сайт успешно вошел:<br /></p><div class="codebox"><pre><code>2013/12/07 09:45:50| squid_kerb_auth: INFO: User prasolov@host.DOMAIN.RU authenticated
Connected OK
group filter &#039;(&amp;(objectclass=user)(sAMAccountName=prasolov)(memberof=CN=inet_access_all,CN=Users,DC=host,DC=domain,DC=ru))&#039;, searchbase &#039;dc=host,dc=domain,dc=ru&#039;
2013/12/07 09:45:51| storeLateRelease: released 0 objects</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mediaboy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32723</uri>
			</author>
			<updated>2013-12-07T05:48:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=380338#p380338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=380226#p380226" />
			<content type="html"><![CDATA[<p>А покажите но лог старта сквида после команды service squid start</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2013-12-06T11:33:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=380226#p380226</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=380219#p380219" />
			<content type="html"><![CDATA[<p>Да какие только не делал.....<br />все без толку...<br />на данный момент вообще рекурсивно root:squid 777 сделал</p><p>на папку /var/log/squid/*<br />на папку /etc/squid/*<br />/etc/krb5.conf</p><p>может еще куда?</p>]]></content>
			<author>
				<name><![CDATA[mediaboy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32723</uri>
			</author>
			<updated>2013-12-06T10:46:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=380219#p380219</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=380193#p380193" />
			<content type="html"><![CDATA[<p>А какие у вас права на директории что относятса к сквиду и к дмректории с кешем особенно???<br />Может керберос тоже должен создать pid файл для работы. В первом варианте он не может его создать, а во втором создаёт.От какого пользователя у вас должен работать кальмар?</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2013-12-06T07:14:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=380193#p380193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=380190#p380190" />
			<content type="html"><![CDATA[<p>Добрый день товарищи и у меня беда, чую в простой заковырке, но не пойму где...</p><p>налил сквида на центосе 5.8<br />прикрутил его к АД, лдапом и керберосом.<br />Заработало, но есть косяк.</p><p>если я запускаю как положено service squid start (/etc/init.d/squid start), то он запускается и не работает авторизация керберос.</p><p>В скрипте старта сквида надо было дописать вот такие строки: <br /><strong>KRB5_KTNAME=/etc/squid/proxy3.head.narcred.ru.keytab<br />export KRB5_KTNAME</strong></p><p><strong>KRB5RCACHETYPE=none<br />export KRB5RCACHETYPE<br /></strong></p><p>если я запускаю вот так:<br />sh /etc/init.d/squid start<br />все зашибись работает....</p><p>заметил, что pid файл создается&nbsp; в первом случае от squid:squid<br />а во втором случае root:squid</p><p>куда копать...<br />где-то права не те, но как найти...</p>]]></content>
			<author>
				<name><![CDATA[mediaboy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32723</uri>
			</author>
			<updated>2013-12-06T07:08:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=380190#p380190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=300069#p300069" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Noob пишет:</cite><blockquote><p>Checking configuration files for slapd&nbsp; &nbsp; &nbsp;warning</p></blockquote></div><p>Ну наскоко мне извесно это&nbsp; об том что есть какието предуприждение какие относятса к конфигу LDAP, может из за этого не стартует LDAP, а без него не будет нормально работать кальмар. У вас же в кальмар должен пользователей брать из LDAP, верно??<br />Смотрите логи LDAP или системы на что оно там ругаетса.</p><p>Смотря на ваше прежние посты могу сказать не спешыте, когда что то делаете в линуксе, его перегружать, а то смотрю с вашыми перегрузками уже проблемы с ФС начались.</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2012-09-26T04:51:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=300069#p300069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=300061#p300061" />
			<content type="html"><![CDATA[<p>спасибо большое, конечно, но за 2 недели столько перечитано в инете про линукс и ошибки всякие, что голова кругом идет и уже ничего не соображаю, полнейшая каша в голове.<br />вопрос такой, может ли быть проблема в этом: </p><p>Checking configuration files for slapd&nbsp; &nbsp; &nbsp;warning </p><p>при загрузке пишет.</p>]]></content>
			<author>
				<name><![CDATA[Noob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25699</uri>
			</author>
			<updated>2012-09-26T04:02:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=300061#p300061</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299984#p299984" />
			<content type="html"><![CDATA[<p>читаем: <a href="http://linuxforum.ru/viewtopic.php?id=2274">Прежде, чем спрашивать</a></p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-09-25T11:43:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299984#p299984</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299966#p299966" />
			<content type="html"><![CDATA[<p>все равно не пашет..</p><p>что означает многоточие?<br />когда загружается starting squid: ...&nbsp; &nbsp;[ok]</p><p>т.е. он как-то неправильно работает?</p>]]></content>
			<author>
				<name><![CDATA[Noob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25699</uri>
			</author>
			<updated>2012-09-25T09:31:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299966#p299966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299963#p299963" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Noob пишет:</cite><blockquote><p>Checking filesystems<br />/contains a file system with errors, check forced.<br />/:<br />Inodes that were part of a corrupted orphan linked list found.<br />/:unexpected inconsistency; run fsck manually<br />(i.e., without -a or -p options)<br />failed<br />an error occurred during the file system check.<br />dropping you to a shell; the system will reboot<br />when you leave the shell.<br />give root password for maintenance<br />(or type control-d to continue):</p></blockquote></div><p>и чего? переводить надо?</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-09-25T08:49:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299963#p299963</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299960#p299960" />
			<content type="html"><![CDATA[<p>kill -9 `pgrep squid`</p><p>2) squid -z<br />creating swap directories</p><p>3) /etc/init.d/squid start<br />starting squid ok</p><br /><p>перезагрузил и вот что пишет щас</p><p>Checking filesystems<br />/contains a file system with errors, check forced.<br />/:<br />Inodes that were part of a corrupted orphan linked list found.<br />/:unexpected inconsistency; run fsck manually<br />(i.e., without -a or -p options)<br />failed<br />an error occurred during the file system check.<br />dropping you to a shell; the system will reboot<br />when you leave the shell.<br />give root password for maintenance<br />(or type control-d to continue):</p>]]></content>
			<author>
				<name><![CDATA[Noob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25699</uri>
			</author>
			<updated>2012-09-25T08:24:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299960#p299960</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299952#p299952" />
			<content type="html"><![CDATA[<p>1) kill -9 `pgrep squid`<br />2) squid -z<br />3) /etc/init.d/squid start</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-09-25T07:43:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299952#p299952</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299949#p299949" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p>издеваетесь?</p></blockquote></div><p>нисколько....<br />пробовал все подряд лишь бы заработало<br />/etc/init.d/squid stop<br />stopping squid: .................................................<br />потом <br />squid -z<br />squid is already running! Process ID 4347</p><p>потом:<br />/etc/init.d/squid start<br />squid start failed</p><p>не представляю чего ему надо...</p>]]></content>
			<author>
				<name><![CDATA[Noob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25699</uri>
			</author>
			<updated>2012-09-25T07:20:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299949#p299949</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299806#p299806" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Noob пишет:</cite><blockquote><p>пишу:<br />ps aux | grep squid<br />reboot</p></blockquote></div><p>+<br /></p><div class="quotebox"><cite>Noob пишет:</cite><blockquote><p>squid -z<br />squid is already running! Process ID 4077</p></blockquote></div><p>издеваетесь? </p><p>/etc/init.d/squid stop<br />потом <br />squid -z<br />потом:<br />/etc/init.d/squid start</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-09-24T09:08:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299806#p299806</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не стартует squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=299790#p299790" />
			<content type="html"><![CDATA[<p><strong>yum install mc</strong></p><p><a href="http://download.clarkconnect.com/community/5.0/repodata/repomd.xml:">http://download.clarkconnect.com/commun … epomd.xml:</a> [Errno 14] HTTP Error 404:not found<br />trying othe mirror.<br />error: cannot retrive repository metadata (repomd.xml) for repository: base-os.<br />please verify its path and try again</p><p><strong>закоментировал 643, он написал </strong><br />squid is stopped<br />ACL name &#039;webconfig_lan&#039; not defined!<br />FATAL: Bungled squid.conf line 644: http_access allow webconfig_lan<br />Squid Cache (Version 2.6.STABLE21): Terminated abnormally.</p><p><strong>ее тоже закоментировал. <br />reboot<br />и все он стартанул при загрузке правда с многоточием.</strong></p><p><strong>пишу squid -z<br />выдает следующее:</strong><br />Squid is already running! Process ID 4082</p><p><strong>пишу:</strong><br />ps aux | grep squid<br />reboot</p><p>the system is going down for reboot now!</p><p><strong>squid -z</strong><br />squid is already running! ProcessID 2729</p><p>service squid start<br />squid start failed<br />chkconfig --level 35 squid on<br />/etc/init.d/squid status<br />squid (pid 4075) is running...</p><p>squid -z<br />squid is already running! Process ID 4077</p>]]></content>
			<author>
				<name><![CDATA[Noob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25699</uri>
			</author>
			<updated>2012-09-24T08:08:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=299790#p299790</id>
		</entry>
</feed>
