Настройка SQUID proxy server

Автор shiko, 12 Августа 2008, 16:40

« предыдущая тема - следующая тема »

0 Пользователей и 1 Гость просматривают эту тему.

Vicpo

не то ......... лог смотрел?

shiko

содержимое лога добавил в предыдущий ответ, см. выше

Vicpo

/usr/local/squidGuard/log вот здесь смотри......... вообще есть такой каталог? если нет создай и попробуй запуск

shiko

/usr/local/squidGuard/log вот здесь смотри......... вообще есть такой каталог? если нет создай и попробуй запускКаталог есть и файл в нем squidGuard.log содержимое его такое:
2008-08-18 15:36:17 [9886] New setting: dbhome: /usr/local/squidGuard/db
2008-08-18 15:36:17 [9886] New setting: logdir: /usr/local/squidGuard/log
2008-08-18 15:36:17 [9886] init iplist /usr/local/squidGuard/db/privilegedsource/ips
другого нет.

Файла squid.conf по пути /var/log нету есть файл messages
      Все логи squid'а находятся /var/log/squd/ , но и там нет squid.log

Vicpo

/usr/local/squidGuard/ в этом каталоге создай каталог log

или измени в squidGuard.conf строку
logdir /usr/local/squidGuard/log
на
logdir /usr/local/squidGuard/

shiko

он уже есть, мне еще создать???

СТРАННО НО У МЕНЯ В ДИРЕКТОРИИ /usr/local/squidGuard ПОЯВИЛИСЬ КАКИЕТО непонятные файлы типа:
core. 10592 штук 40 , что это?

Vicpo

вывод ls -la /usr/local/squidGuard/

shiko

[root@stp1 squidGuard]# ls -la /usr/local/squidGuard/
итого 35944
drwxr-xr-x  4 squid root   12288 2008-08-20 16:57 ./
drwxr-xr-x 13 root  root    4096 2008-08-12 22:44 ../
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10592
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10593
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10594
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10596
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10597
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10598
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10600
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10601
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10602
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10603
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10604
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10605
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10606
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10607
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10608
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10609
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10610
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10611
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10612
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10613
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10614
-rw-------  1 squid squid 339968 2008-08-20 16:56 core.10615
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10616
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10617
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10618
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10619
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10620
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10622
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10623
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10624
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10625
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10626
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10627
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10628
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10629
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10630
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10631
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10632
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10633
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10634
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10635
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10636
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10637
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10638
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10639
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10640
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10641
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10642
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10643
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10644
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10650
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10651
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10652
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10653
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10654
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10655
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10656
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10657
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10659
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10660
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10661
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10662
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10663
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10664
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10665
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10666
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10667
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10668
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10669
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10670
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10671
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10672
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10673
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10674
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10675
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10676
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10677
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10678
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10679
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10680
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10681
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10682
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10683
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10684
-rw-------  1 squid squid 339968 2008-08-20 16:56 core.10685
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10686
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10687
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10688
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10690
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10691
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10692
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10693
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10694
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10695
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10696
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10697
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10698
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10699
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10700
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10701
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10707
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10708
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10709
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10710
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10711
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10712
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10713
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10714
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10715
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10716
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10717
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10718
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10719
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10720
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10721
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10722
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10723
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10725
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10726
-rw-------  1 squid squid 339968 2008-08-20 16:56 core.10727
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10728
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10729
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10730
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10731
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10732
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10734
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10735
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10736
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10737
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10738
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10739
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10740
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10741
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10742
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10743
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10744
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10746
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10747
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10748
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10749
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10750
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10752
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10753
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10754
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10755
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10756
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10757
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10758
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10759
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10760
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10766
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10767
-rw-------  1 squid squid 344064 2008-08-20 16:56 core.10768
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10769
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10770
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10771
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10772
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10773
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10774
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10775
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10776
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10777
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10778
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10779
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10780
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10781
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10782
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10783
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10784
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10785
-rw-------  1 squid squid 339968 2008-08-20 16:56 core.10786
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10787
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10788
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10789
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10790
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10791
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10792
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10793
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10794
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10795
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10797
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10798
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10799
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10800
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10801
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10802
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10803
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10804
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10805
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10806
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10807
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10808
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10809
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10810
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10811
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10812
-rw-------  1 squid squid 331776 2008-08-20 16:56 core.10813
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10814
-rw-------  1 squid squid 335872 2008-08-20 16:56 core.10817
-rw-------  1 squid squid 339968 2008-08-20 16:56 core.10818
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10825
-rw-------  1 squid squid 339968 2008-08-20 16:57 core.10826
-rw-------  1 squid squid 339968 2008-08-20 16:57 core.10827
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10828
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10829
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10830
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10831
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10832
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10833
-rw-------  1 squid squid 339968 2008-08-20 16:57 core.10834
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10835
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10836
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10837
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10838
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10839
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10840
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10841
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10842
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10843
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10844
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10845
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10846
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10847
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10848
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10849
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10850
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10851
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10852
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10853
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10854
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10855
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10856
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10857
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10858
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10859
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10860
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10861
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10862
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10863
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10864
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10865
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10866
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10867
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10868
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10869
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10870
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10871
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10872
-rw-------  1 squid squid 335872 2008-08-20 16:57 core.10874
-rw-------  1 squid squid 331776 2008-08-20 16:57 core.10876
drwxrwxrwx 84 squid squid   4096 2008-08-16 17:40 db/
drwxr-xr-x  2 squid root    4096 2008-08-18 15:36 log/
-rw-r--r--  1 squid squid   2926 2008-08-20 14:21 squidGuard.conf
[root@stp1 squidGuard]#                                             

Vicpo

chmod 777 /usr/local/squidGuard/log

или просто chown squid:squid /usr/local/squidGuard/log

если следовать логике у тебя редирект рушиться из-за не возможности записи в лог файл
поэтому меняй права и проверяй

shiko

Результат отрицательный, после перезагрузки всеравно дает сбой и в инет не пускает

Vicpo

вот если ты все правильно сделал насчет прав то должны появиться лог файлы в каталоге /usr/local/squidGuard/log проверяй

shiko

Права вроде поменялись, вот:
-rw-------  1 squid squid 335872 2008-08-20 17:39 core.11680
-rw-------  1 squid squid 331776 2008-08-20 17:39 core.11681
-rw-------  1 squid squid 331776 2008-08-20 17:39 core.11682
-rw-------  1 squid squid 331776 2008-08-20 17:39 core.11683
-rw-------  1 squid squid 335872 2008-08-20 17:39 core.11684
-rw-------  1 squid squid 335872 2008-08-20 17:39 core.11685
drwxrwxrwx 84 squid squid   4096 2008-08-16 17:40 db/
drwxrwxrwx  2 squid squid   4096 2008-08-18 15:36 log/
-rw-r--r--  1 squid squid   2926 2008-08-20 14:21 squidGuard.conf
а в логе squidGuard.log всеравно нет изменений
2008-08-18 15:36:17 [9886] New setting: dbhome: /usr/local/squidGuard/db
2008-08-18 15:36:17 [9886] New setting: logdir: /usr/local/squidGuard/log
2008-08-18 15:36:17 [9886] init iplist /usr/local/squidGuard/db/privilegedsource/ips
И ЧТО ЭТО ЗА ФАЙЛЫ У МЕНЯ ПОЯВИЛИСЬ "CORE" РАНЬШЕ НЕ БЫЛО???

Vicpo

коре это дампы
вывод дай ls /usr/local/squidGuard/log

shiko

[root@stp1 squidGuard]# ls /usr/local/squidGuard/log
squidGuard.log
[root@stp1 squidGuard]#

может вам поможет содержимое файла /var/log/messages

Vicpo

вывод cat /usr/local/squidGuard/log/squidGuard.log
ну и messages покажи на момент старта сквида

shiko

[root@stp1 shiko]# cat /usr/local/squidGuard/log/squidGuard.log
2008-08-18 15:36:17 [9886] New setting: dbhome: /usr/local/squidGuard/db
2008-08-18 15:36:17 [9886] New setting: logdir: /usr/local/squidGuard/log
2008-08-18 15:36:17 [9886] init iplist /usr/local/squidGuard/db/privilegedsource/ips

Aug 20 18:52:24 dal1 squid[8016]: Squid Parent: child process 8018 started
Aug 20 18:52:24 dal1 (squid): The url_rewriter helpers are crashing too rapidly, need help!
Aug 20 18:52:24 dal1 squid[8016]: Squid Parent: child process 8018 exited due to signal 6
Aug 20 18:52:27 dal1 squid[8016]: Squid Parent: child process 8079 started
Aug 20 18:52:28 dal1 (squid): The url_rewriter helpers are crashing too rapidly, need help!
Aug 20 18:52:28 dal1 squid[8016]: Squid Parent: child process 8079 exited due to signal 6
Aug 20 18:52:31 dal1 squid[8016]: Squid Parent: child process 8139 started
Aug 20 18:52:32 dal1 (squid): The url_rewriter helpers are crashing too rapidly, need help!
Aug 20 18:52:32 dal1 squid[8016]: Squid Parent: child process 8139 exited due to signal 6
Aug 20 18:52:35 dal1 squid[8016]: Squid Parent: child process 8199 started
Aug 20 18:52:36 dal1 (squid): The url_rewriter helpers are crashing too rapidly, need help!
Aug 20 18:52:36 dal1 squid[8016]: Squid Parent: child process 8199 exited due to signal 6
Aug 20 18:52:39 dal1 squid[8016]: Squid Parent: child process 8259 started
Aug 20 18:52:39 dal1 (squid): The url_rewriter helpers are crashing too rapidly, need help!
Aug 20 18:52:39 dal1 squid[8016]: Squid Parent: child process 8259 exited due to signal 6
Aug 20 18:52:39 dal1 squid[8016]: Exiting due to repeated, frequent failures

Vicpo

The url_rewriter helpers are crashing too rapidly, need help!  многократное падение редиректора требуется помощь......
покажи cat /var/log/squid/error.log
попробуй ещё выполнить chmod 777 /usr/local/squidGuard/log/squidGuard.log
мне становится очень интересно почему он не пишет в лог это скорее всего и является причиной падения редиректора

shiko

покажи cat /var/log/squid/error.logНемогу его там нет, у squid' a нет этого файла я смотрел в других директориях
сhmod не помог

Vicpo

squiGuard.conf#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

#готовим  диапазоны времени (нерабочее время)
time workhours {
        weekly s 08:30-20:00
        weekly m 08:30-20:00
        weekly t 08:30-20:00
        weekly w 08:30-20:00
        weekly h 08:30-20:00
        weekly f 08:30-20:00
        weekly a 08:30-20:00


#
# REWRITE RULES:
#
rewrite mp3 {
    s@.*.mp3$@http://127.0.0.1/my.mp3@r
    s@.*.avi$@http://127.0.0.1/my.avi@r
    s@.*.mpg$@http://127.0.0.1/my.mpg@r
    s@.*.mpeg$@http://127.0.0.1/my.mpeg@r
    s@.*.exe$@http://127.0.0.1/my.exe@r
    s@.*.rar$@http://127.0.0.1/my.rar@r
    s@.*.zip$@http://127.0.0.1/my.zip@r
    log /var/log/squid/mp3.log
    }

#rew dmz {
# s@://admin/@://admin.foo.bar.de/@i
# s@://foo.bar.de/@://www.foo.bar.de/@i
#}

#
# SOURCE ADDRESSES:
# Им можно почти все
src privilegedsource {
iplist privilegedsource/ips
# user root foo bar
# within workhours
}

# Группа заблокированных пользователей
src bannedsource {
iplist bannedsource/ips
}

src lansource {
iplist lansource/lan
}

#
# DESTINATION CLASSES:
# Подключение баз

dest ads {
        domainlist      ads/domains
urllist         ads/urls
expressionlist  ads/expressions
}

dest phishing {
        domainlist      phishing/domains
urllist         phishing/urls
}

dest porn {
        domainlist      porn/domains
urllist         porn/urls
expressionlist  porn/expressions
}

dest warez {
        domainlist      warez/domains
urllist         warez/urls
}

dest spyware {
        domainlist      spyware/domains
}

dest sexuality {
        domainlist      sexuality/domains
urllist         sexualiyt/urls
}

dest hacking {
        domainlist      hacking/domains
urllist         hacking/urls
}

dest audio-video {
        domainlist      audio-video/domains
urllist         audio-video/urls
}

dest games {
        domainlist      games/domains
urllist         games/urls
}

dest onlinegames {
        domainlist      onlinegames/domains
urllist         onlinegames/urls     
}

dest chat {
        domainlist      chat/domains
urllist         chat/urls
}

dest adult {
domainlist adult/domains
urllist adult/urls
# redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}


acl {
privilegedsource {
pass all


}

bannedsource {
pass none

log /usr/local/squidGuard/log/ban.log
}

lansource {
pass  !porn !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising all

rewrite mp3
}


default {
pass none

log /usr/local/squidGuard/log/deny.log

}
}
попробуй поставить этот конфиг  ничего в нем не меняя

shiko

пропустил в инет машину, но почему то при перезагрузке squid' a дол сбой
Останавливается squid:                                          [ СБОЙ ]
Запускается squid:                                              [  OK  ]


Перезаписался и заработал лог файл squidGuard.log
2008-08-20 19:00:31 [8652] init iplist /usr/local/squidGuard/db/privilegedsource/ips
2008-08-20 19:00:31 [8653] init iplist /usr/local/squidGuard/db/privilegedsource/ips
2008-08-20 19:00:32 [8650] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:00:32 [8650] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:00:32 [8650] init iplist /usr/local/squidGuard/db/privilegedsource/ips
2008-08-20 19:43:05 [9414] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9414] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9414] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9414] going into emergency mode
2008-08-20 19:43:05 [9413] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9413] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9413] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9413] going into emergency mode
2008-08-20 19:43:05 [9415] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9415] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9415] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9415] going into emergency mode
2008-08-20 19:43:05 [9418] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9418] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9418] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9418] going into emergency mode
2008-08-20 19:43:05 [9420] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9420] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9420] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9420] going into emergency mode
2008-08-20 19:43:05 [9419] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9419] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9419] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9419] going into emergency mode
2008-08-20 19:43:05 [9422] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:05 [9422] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:05 [9422] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:05 [9422] going into emergency mode
2008-08-20 19:43:06 [9425] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9425] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9425] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9425] going into emergency mode
2008-08-20 19:43:06 [9423] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9423] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9423] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9423] going into emergency mode
2008-08-20 19:43:06 [9417] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9417] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9417] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9417] going into emergency mode
2008-08-20 19:43:06 [9421] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9421] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9421] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9421] going into emergency mode
2008-08-20 19:43:06 [9426] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9426] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9428] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9426] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9426] going into emergency mode
2008-08-20 19:43:05 [9416] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9416] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9416] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9416] going into emergency mode
2008-08-20 19:43:06 [9424] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9424] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9424] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9427] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9424] going into emergency mode
2008-08-20 19:43:06 [9427] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9428] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9427] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9428] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9427] going into emergency mode
2008-08-20 19:43:06 [9428] going into emergency mode
2008-08-20 19:43:06 [9429] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9429] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9429] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9429] going into emergency mode
2008-08-20 19:43:06 [9433] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9433] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9433] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9433] going into emergency mode
2008-08-20 19:43:06 [9434] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9434] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9434] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9434] going into emergency mode
2008-08-20 19:43:06 [9436] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9436] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9436] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9436] going into emergency mode
2008-08-20 19:43:06 [9438] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9438] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9438] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9438] going into emergency mode
2008-08-20 19:43:06 [9437] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9437] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9437] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9437] going into emergency mode
2008-08-20 19:43:06 [9430] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9430] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9430] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9430] going into emergency mode
2008-08-20 19:43:06 [9435] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9435] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9435] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9435] going into emergency mode
2008-08-20 19:43:06 [9439] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9439] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9439] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9439] going into emergency mode
2008-08-20 19:43:06 [9440] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9440] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9440] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9440] going into emergency mode
2008-08-20 19:43:06 [9442] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9442] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9442] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9442] going into emergency mode
2008-08-20 19:43:06 [9441] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9441] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9441] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9441] going into emergency mode
2008-08-20 19:43:06 [9446] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9446] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9443] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9446] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9443] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9446] going into emergency mode
2008-08-20 19:43:06 [9443] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9443] going into emergency mode
2008-08-20 19:43:06 [9445] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9445] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9445] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9445] going into emergency mode
2008-08-20 19:43:06 [9444] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9444] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9444] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9444] going into emergency mode
2008-08-20 19:43:06 [9447] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9447] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9447] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9447] going into emergency mode
2008-08-20 19:43:06 [9448] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9448] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9448] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9448] going into emergency mode
2008-08-20 19:43:06 [9431] New setting: dbhome: /usr/local/squidGuard/db
2008-08-20 19:43:06 [9431] New setting: logdir: /usr/local/squidGuard/log
2008-08-20 19:43:06 [9431] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-20 19:43:06 [9431] going into emergency mode
2008-08-20 19:43:06 [9449] New setting: dbhome: /usr/local/squidGuard/db

Прошу вас пожалуйста прокомментируйте данную ситуацию, поскольку я пока плохо понимаю в чем собственно было дело, а главное почему при завершении работы squid дает сбой и что за ошибка синтаксиса (syntax error in configfile /usr/local/squidGuard/squidGuard.conf line) скорей всего в 27 строке? Всеравно продолжает пропускать комп, который нужно банить.