LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2017, 06:58 AM   #1
haseem saeed
Member
 
Registered: Jan 2017
Posts: 31

Rep: Reputation: Disabled
cant configure squid guard


hi,
i am trying to run squidGuard on my virtual machine which is centos 6.5 .i have configured the conf files .now when i am starting the squid service i am getting this :
[root@www /]# /etc/init.d/squid restart
Stopping squid: [FAILED]
Starting squid: [FAILED]
2017/02/16 11:50:39| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2017/02/16 11:50:39| Processing: acl manager proto cache_object
2017/02/16 11:50:39| Processing: acl localhost src 127.0.0.1/32 ::1
2017/02/16 11:50:39| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2017/02/16 11:50:39| Processing: acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
2017/02/16 11:50:39| Processing: acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
2017/02/16 11:50:39| Processing: acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
2017/02/16 11:50:39| Processing: acl localnet src fc00::/7 # RFC 4193 local private network range
2017/02/16 11:50:39| Processing: acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
2017/02/16 11:50:39| Processing: acl SSL_ports port 443
2017/02/16 11:50:39| Processing: acl Safe_ports port 80 # http
2017/02/16 11:50:39| Processing: acl Safe_ports port 21 # ftp
2017/02/16 11:50:39| Processing: acl Safe_ports port 443 # https
2017/02/16 11:50:39| Processing: acl Safe_ports port 70 # gopher
2017/02/16 11:50:39| Processing: acl Safe_ports port 210 # wais
2017/02/16 11:50:39| Processing: acl Safe_ports port 1025-65535 # unregistered ports
2017/02/16 11:50:39| Processing: acl Safe_ports port 280 # http-mgmt
2017/02/16 11:50:39| Processing: acl Safe_ports port 488 # gss-http
2017/02/16 11:50:39| Processing: acl Safe_ports port 591 # filemaker
2017/02/16 11:50:39| Processing: acl Safe_ports port 777 # multiling http
2017/02/16 11:50:39| Processing: acl CONNECT method CONNECT
2017/02/16 11:50:39| Processing: http_access allow manager localhost
2017/02/16 11:50:39| Processing: http_access deny manager
2017/02/16 11:50:39| Processing: http_access deny !Safe_ports
2017/02/16 11:50:39| Processing: http_access deny CONNECT !SSL_ports
2017/02/16 11:50:39| Processing: http_access allow localnet
2017/02/16 11:50:39| Processing: http_access allow localhost
2017/02/16 11:50:39| Processing: http_access deny all
2017/02/16 11:50:39| Processing: http_port 10.0.0.196:3128
2017/02/16 11:50:39| Processing: http myip src 10.0.0.196
2017/02/16 11:50:39| cache_cf.cc(381) parseOneConfigFile: squid.conf:63 unrecognized: 'http'
2017/02/16 11:50:39| Processing: http_access allow myip
2017/02/16 11:50:39| aclParseAclList: ACL name 'myip' not found.
FATAL: Bungled squid.conf line 64: http_access allow myip
Squid Cache (Version 3.1.23): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 23136 KB
Page faults with physical i/o: 0

thanks.
 
Old 02-16-2017, 09:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,337

Rep: Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036Reputation: 6036
Quote:
Originally Posted by haseem saeed View Post
hi,
i am trying to run squidGuard on my virtual machine which is centos 6.5 .i have configured the conf files .now when i am starting the squid service i am getting this :
Code:
FATAL: Bungled squid.conf line 64: http_access allow myip
Please use CODE tags when posting configs/logs...makes them much easier to read. And I'm not sure what you're having problems with, or why you think squidguard is the issue.

The error message you posted (bolded above), is VERY clear, and is even telling you what LINE in the config file the error is on. You've got a syntax error/problem on Line 64 in squid.conf. Fix it.
 
1 members found this post helpful.
  


Reply

Tags
centos6, squidguard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid guard expression shan_nathan Linux - Server 1 10-23-2009 10:18 AM
Squid Guard Log shan_nathan Linux - Server 0 06-07-2008 09:34 AM
Squid Guard pkraus109 Linux - Server 0 05-04-2008 10:56 AM
Squid Guard c0mpy Linux - Software 1 11-08-2005 02:30 AM
Squid Guard chokinghazard Linux - Newbie 0 02-09-2005 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration