* Re: [Sarlug] squid СРОЧНО @ 2008-03-26 8:43 ` linderoxxx 2008-03-26 8:45 ` Конюков Александр 0 siblings, 2 replies; 9+ messages in thread From: linderoxxx @ 2008-03-26 8:43 UTC (permalink / raw) To: Saratov Linux User Group Maillist ребята , СРОЧНО, не могу понять почему не работает web, при этом работает icq и почта... но только на паре клиентов упал почему-то сквид... вернее он работает но при команде /usr/sbin/squid -k reconfigure выдает мне master@local ~ $ sudo /usr/sbin/squid -k reconfigure squid: ERROR: No running copy master@local ~ $ ps aux | grep squid root 6887 0.0 3.5 32708 27288 ? Ss 12:27 0:00 /usr/sbin/squid -DYC squid 6889 0.0 3.7 33232 28656 ? S 12:27 0:00 (squid) -DYC master 7192 0.0 0.0 2652 684 pts/2 S+ 12:41 0:00 grep squid в /var/run/ нету squid.pid traceroute, ping до google.ru с клиентов идет отлично конфиг сквида http_port 10.0.3.1:4000 icp_port 0 udp_incoming_address 10.0.3.1 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_dir ufs /var/cache/squid 2000 30 256 logformat my %ts %>a %<st %ru %Sh %mt access_log /var/log/squid/access.mylog my access_log /var/log/squid/access.log squid pid_filename /var/run/squid.pid auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic casesensitive off refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl litvinov src 10.0.3.103/255.255.255.255 acl zaharov src 10.0.3.70/255.255.255.255 acl buh src 10.0.3.33/255.255.255.255 acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 110 # POP3 acl Safe_ports port 25 # SMTP acl Safe_ports port 53 # DNS acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 30583 # gopher acl Safe_ports port 1025-65535 # unregistered ports acl CONNECT method CONNECT acl LOCAL src 10.0.3.0/24 acl BANNER url_regex -i movie banner games wallpap reklama linkexch click love banpics stars dom2 xxx sex girls boobs telki pussy tits hentai babes porn desctopix oboi erogall damvam begun £us\.yimg\.com [\./]ad[s]?[\./] \.swf$ acl media url_regex -i \.avi$ \.mpg$ \.mpeg$ \.mp3$ \.3gp$ \.mov$ \.wav$ \.wm acl BANNERS url_regex "/etc/squid/banners" acl accepted dstdomain "/etc/squid/accepted" http_access allow accepted http_access allow zaharov all http_access deny BANNERS http_access deny media http_access deny BANNER http_access allow LOCAL http_access deny all http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_reply_access allow all visible_hostname Local Proxy Server forwarded_for off coredump_dir /var/cache/squid ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:43 ` [Sarlug] squid СРОЧНО linderoxxx @ 2008-03-26 8:45 ` Конюков Александр 2008-03-26 8:48 ` linderoxxx 1 sibling, 1 reply; 9+ messages in thread From: Конюков Александр @ 2008-03-26 8:45 UTC (permalink / raw) To: Saratov Linux User Group Maillist linderoxxx пишет: > ребята , СРОЧНО, не могу понять почему не работает web, при этом > работает icq и почта... > но только на паре клиентов > > упал почему-то сквид... вернее он работает > но при команде /usr/sbin/squid -k reconfigure выдает мне для верности: service squid restart servic ДНС_Сервер restart -- scor2k ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:45 ` Конюков Александр @ 2008-03-26 8:48 ` linderoxxx 2008-03-26 8:49 ` Genix ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: linderoxxx @ 2008-03-26 8:48 UTC (permalink / raw) To: Saratov Linux User Group Maillist Конюков Александр wrote: > linderoxxx пишет: >> ребята , СРОЧНО, не могу понять почему не работает web, при этом >> работает icq и почта... >> но только на паре клиентов >> >> упал почему-то сквид... вернее он работает >> но при команде /usr/sbin/squid -k reconfigure выдает мне > > для верности: > service squid restart > servic ДНС_Сервер restart > не просто squid рестарт!! а я его пересобрал перегрузил сервак несколько раз! и при restart squid: ERROR: No running copy ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:48 ` linderoxxx @ 2008-03-26 8:49 ` Genix 2008-03-26 8:52 ` Aleksei Sinitsyn 2008-03-26 8:53 ` Конюков Александр 2 siblings, 0 replies; 9+ messages in thread From: Genix @ 2008-03-26 8:49 UTC (permalink / raw) To: Saratov Linux User Group Maillist linderoxxx пишет: > Конюков Александр wrote: >> linderoxxx пишет: >>> ребята , СРОЧНО, не могу понять почему не работает web, при этом >>> работает icq и почта... >>> но только на паре клиентов >>> >>> упал почему-то сквид... вернее он работает >>> но при команде /usr/sbin/squid -k reconfigure выдает мне >> >> для верности: >> service squid restart >> servic ДНС_Сервер restart >> > не просто squid рестарт!! а я его пересобрал перегрузил сервак > несколько раз! > и при restart > squid: ERROR: No running copy > > запусти из консоли и смотри на что ругается, в том числе и в логах -- У каждого в башке свои тараканы... ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:48 ` linderoxxx 2008-03-26 8:49 ` Genix @ 2008-03-26 8:52 ` Aleksei Sinitsyn 2008-03-26 8:53 ` Конюков Александр 2 siblings, 0 replies; 9+ messages in thread From: Aleksei Sinitsyn @ 2008-03-26 8:52 UTC (permalink / raw) To: Saratov Linux User Group Maillist 26.03.08, linderoxxx<linderoxxx@mail.ru> написал(а): > Конюков Александр wrote: > > linderoxxx пишет: > >> ребята , СРОЧНО, не могу понять почему не работает web, при этом > >> работает icq и почта... > >> но только на паре клиентов > >> > >> упал почему-то сквид... вернее он работает > >> но при команде /usr/sbin/squid -k reconfigure выдает мне > > > > для верности: > > service squid restart > > servic ДНС_Сервер restart > > > > не просто squid рестарт!! а я его пересобрал перегрузил сервак несколько > раз! > и при restart > > squid: ERROR: No running copy > После перезагрузки в процессах висит сквид? А если процесс убить? В логах сообщения об ошибках есть? -- WBR, sinaps. http://saratov.lug.ru JID:sinaps@jabber.org -- Все женщины знают, что ритм как солнце А мы вокруг него как планеты. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:48 ` linderoxxx 2008-03-26 8:49 ` Genix 2008-03-26 8:52 ` Aleksei Sinitsyn @ 2008-03-26 8:53 ` Конюков Александр 2008-03-26 9:01 ` linderoxxx 2 siblings, 1 reply; 9+ messages in thread From: Конюков Александр @ 2008-03-26 8:53 UTC (permalink / raw) To: Saratov Linux User Group Maillist linderoxxx пишет: > не просто squid рестарт!! а я его пересобрал перегрузил сервак несколько > раз! > и при restart > squid: ERROR: No running copy глупый вопрос: место на диске есть? -- scor2k ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Sarlug] squid СРОЧНО 2008-03-26 8:53 ` Конюков Александр @ 2008-03-26 9:01 ` linderoxxx 0 siblings, 0 replies; 9+ messages in thread From: linderoxxx @ 2008-03-26 9:01 UTC (permalink / raw) To: Saratov Linux User Group Maillist Конюков Александр wrote: > linderoxxx пишет: >> не просто squid рестарт!! а я его пересобрал перегрузил сервак >> несколько раз! >> и при restart >> squid: ERROR: No running copy > > глупый вопрос: место на диске есть? > место на диске есть... помню сталкивался уже с такой проблемой... rc-status (gentoo) у меня говорит всё супер - как обычно!!! master@local ~ $ rc-status Runlevel: default sshd [ started ] acpid [ started ] local [ started ] nadsl [ started ] mydns [ started ] mysql [ started ] squid [ started ] vixie-cron [ started ] metalog [ started ] fwsetup [ started ] net.eth0 [ started ] net.eth1 [ started ] svscan [ started ] netmount [ started ] apache2 [ off ] но вот.... master@local ~ $ sudo /etc/init.d/squid stop * Stopping squid ... squid: ERROR: No running copy [ ok ] master@local ~ $ ps aux | grep squid root 6882 0.0 3.5 32708 27292 ? Ss 12:49 0:00 /usr/sbin/squid -DYC squid 6884 0.0 3.7 33228 28652 ? S 12:49 0:00 (squid) -DYC master 7282 0.0 0.0 2648 656 pts/1 R+ 13:03 0:00 grep squid что делать? ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <a2c14a330803260200i4ceb9bfasaf7f140cec9af865@mail.gmail.com>]
* Re: [Sarlug] squid СРОЧНО @ 2008-03-26 9:19 ` linderoxxx 0 siblings, 1 reply; 9+ messages in thread From: linderoxxx @ 2008-03-26 9:19 UTC (permalink / raw) To: Saratov Linux User Group Maillist Eugene Suchkov wrote: > > > On Wed, Mar 26, 2008 at 11:43 AM, linderoxxx <linderoxxx@mail.ru > <mailto:linderoxxx@mail.ru>> wrote: > > ребята , СРОЧНО, не могу понять почему не работает web, при этом > работает icq и почта... > но только на паре клиентов > > > Почта и ICQ, я сильно подозреваю ходят слева от сквида?! > > > упал почему-то сквид... вернее он работает > но при команде /usr/sbin/squid -k reconfigure выдает мне > > master@local ~ $ sudo /usr/sbin/squid -k reconfigure > squid: ERROR: No running copy > > master@local ~ $ ps aux | grep squid > root 6887 0.0 3.5 32708 27288 ? Ss 12:27 0:00 > /usr/sbin/squid -DYC > squid 6889 0.0 3.7 33232 28656 ? S 12:27 0:00 > (squid) > -DYC > master 7192 0.0 0.0 2652 684 pts/2 S+ 12:41 0:00 > grep squid > > в /var/run/ нету squid.pid > > traceroute, ping до google.ru <http://google.ru> с клиентов идет > отлично > > > И они тоже разумеется на сквид никак не завязаны. > > > kill (-9) пристукнуть живых сквидов и поправить init..d/squid. Если он > пересобирался, то наверняка pid оставляет в другом каком-то месте > > > > -- > With best regards > Eugene A. Suchkov > http://cityhawk.ru > ------------------------------------------------------------------------ > > _______________________________________________ > Sarlug mailing list > Sarlug@lists.lug.ru > https://lists.lug.ru/mailman/listinfo/sarlug Убивал все сквиды kill -9 ... и тд запускаю... останавливаю - всё равно остается... в /etc/init.d/squid pid лежит там где и лежал... щаз закину старый /etc/init.d/squid вопрос, я уже думаю... а может я где напортачил вчера... была проблема с зависимостями pam-login, я пересобрал с ключами --nodep и еще каким то но вроде в инете вычитал, что это решение прлблемы.... genix просил rc-status ... for level in ${runlevelidxs} ; do echo "Runlevel: ${HILITE}${level}${NORMAL}" for service in ${runlevels[${arridx}]} ; do if [[ -n ${inactive} && $( in_list "${inactive}" "${service}" ) -eq 1 ]] ; then print_msg "${service}" "${WARN}" 'inactive' elif [[ $(in_list "${started}" "${service}") -eq 1 ]] ; then print_msg "${service}" "${GOOD}" 'started' elif [[ -n ${starting} && $( in_list "${starting}" "${service}" ) -eq 1 ]] ; then print_msg "${service}" "${GOOD}" 'starting' elif [[ -n ${stopping} && $( in_list "${stopping}" "${service}" ) -eq 1 ]] ; then print_msg "${service}" "${BAD}" 'stopping' elif [[ -n ${failed} && $( in_list "${failed}" "${service}" ) -eq 1 ]] ; then print_msg "${service}" "${BAD}" 'failed' elif [[ -n ${broken} && $( in_list "${broken}" "${service}" ) -eq 1 ]] ; then print_msg "${service}" "${BAD}" 'broken' else print_msg "${service}" "${WARN}" ' off' fi done let "arridx += 1" [ -n "${UNUSED}" ] && exit 0 done ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <a2c14a330803260257p2439cbc2v3ba03cb5ef07046f@mail.gmail.com>]
[parent not found: <47dbbe6e0803260358p5aeb4913m3034e0a2f8e86297@mail.gmail.com>]
* Re: [Sarlug] squid СРОЧНО @ 2008-03-26 12:14 ` linderoxxx 0 siblings, 0 replies; 9+ messages in thread From: linderoxxx @ 2008-03-26 12:14 UTC (permalink / raw) To: Saratov Linux User Group Maillist Danila Atmakin wrote: Как раз в чем прикол... squid не может создать /var/run/squid.pid нету там такого файла, даже когда мне rc-status говорит, что всё ок! Знаете я еще вчера SAMS ставил (логи типо смотреть для Сквид...) там был редиректор...но я его снес.. .и вообще SAMS снес... что делать с правами? система gentoo? смотрю backup /etc/init.d/* /etc/squid/* и /usr/sbin/* у меня все также.... вернул обратно root:root для /usr/sbin/squid а это я включил debug_ALL,1 /usr/sbin/squid 2008/03/26 16:06:57| fd_open FD 2 stderr 2008/03/26 16:06:57| leave_suid: PID 10364 called WARNING: Cannot write log file: /var/log/squid/cache.log /var/log/squid/cache.log: Permission denied messages will be sent to 'stderr'. 2008/03/26 16:06:57| WARNING: Closing open FD 2 2008/03/26 16:06:57| Starting Squid Cache version 2.6.STABLE17 for i686-pc-linux-gnu... 2008/03/26 16:06:57| Process ID 10364 2008/03/26 16:06:57| With 1024 file descriptors available 2008/03/26 16:06:57| Using epoll for the IO loop 2008/03/26 16:06:57| Performing DNS Tests... 2008/03/26 16:06:57| Successful DNS name lookup tests... 2008/03/26 16:06:57| DNS Socket created at 10.0.3.1, port 32886, FD 5 2008/03/26 16:06:57| Adding nameserver 88.147.129.15 from /etc/resolv.conf 2008/03/26 16:06:57| Adding nameserver 88.147.129.17 from /etc/resolv.conf 2008/03/26 16:06:57| User-Agent logging is disabled. 2008/03/26 16:06:57| Referer logging is disabled. FATAL: Cannot open '/var/log/squid/access.mylog' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf. Squid Cache (Version 2.6.STABLE17): Terminated abnormally. CPU Usage: 0.336 seconds = 0.296 user + 0.040 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Aborted (core dumped) > > Вопрос в том, где свежесобранный сквид сам предполагает держать > PID-файл. Я сииииильно подозреваю, что где-то в районе > /usr/local/var/run > > > место хранения пида у него жестко в конфиге прописано =/ > > и до кучи: > попробуй сделать > # chmod 777 /var/run/squid.pid > если не поможет верни как было, но покрайней мере это исключит > вероятность того что у сквида недостаточно прав > ------------------------------------------------------------------------ > > _______________________________________________ > Sarlug mailing list > Sarlug@lists.lug.ru > https://lists.lug.ru/mailman/listinfo/sarlug ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-03-26 12:14 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-03-26 8:43 ` [Sarlug] squid СРОЧНО linderoxxx 2008-03-26 8:45 ` Конюков Александр 2008-03-26 8:48 ` linderoxxx 2008-03-26 8:49 ` Genix 2008-03-26 8:52 ` Aleksei Sinitsyn 2008-03-26 8:53 ` Конюков Александр 2008-03-26 9:01 ` linderoxxx 2008-03-26 9:19 ` linderoxxx 2008-03-26 12:14 ` linderoxxx
Saratov Linux User Group This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \ sarlug@lists.lug.ru sarlug@lug.ru public-inbox-index sarlug Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sarlug AGPL code for this site: git clone https://public-inbox.org/public-inbox.git