I followed the link:
http://www.cyberciti.biz/tips/linux-...uid-howto.html till the end and followed it line by line.
But I am stuck when I restart the squid:
Code:
[root@pe ~]# service squid restart
Stopping squid: [FAILED]
Starting squid: [FAILED]
[root@pe ~]#
My logs are :
File: access.log
Code:
[root@pe ~]# tail -f /var/log/squid/access.log
1228475770.977 30 10.14.2.254 TCP_DENIED/403 1352 GET http://google.com/ - NONE/- text/html
1228475771.110 2 10.14.2.254 TCP_DENIED/403 1374 GET http://google.com/favicon.ico - NONE/- text/html
1228475774.095 1 10.14.2.254 TCP_DENIED/403 1374 GET http://google.com/favicon.ico - NONE/- text/html
1228475781.008 0 10.14.2.254 TCP_DENIED/403 1358 GET http://10.14.236.169/ - NONE/- text/html
1228475781.159 0 10.14.2.254 TCP_DENIED/403 1380 GET http://10.14.236.169/favicon.ico - NONE/- text/html
1228475784.065 1 10.14.2.254 TCP_DENIED/403 1380 GET http://10.14.236.169/favicon.ico - NONE/- text/html
1228475789.493 6 10.14.2.254 TCP_DENIED/403 1370 GET http://10.14.236.169:10000/ - NONE/- text/html
1228475789.564 2 10.14.2.254 TCP_DENIED/403 1392 GET http://10.14.236.169:10000/favicon.ico - NONE/- text/html
1228475792.584 0 10.14.2.254 TCP_DENIED/403 1392 GET http://10.14.236.169:10000/favicon.ico - NONE/- text/html
File : squid.log
Code:
[root@pe ~]# tail -f /var/log/squid/
access.log cache.log squid.out store.log
[root@pe ~]# tail -f /var/log/squid/squid.out
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
2009/02/18 15:03:45| ACL name 'localhost' not defined!
FATAL: Bungled squid.conf line 59: http_access allow localhost
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
2009/02/18 15:03:52| ACL name 'localhost' not defined!
FATAL: Bungled squid.conf line 59: http_access allow localhost
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
2009/02/18 15:03:52| ACL name 'localhost' not defined!
FATAL: Bungled squid.conf line 59: http_access allow localhost
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.