squid in fedora 9

Taking care of your Linux box.

squid in fedora 9

Postby alitoday » Mon Jun 08, 2009 4:26 pm

i have configured squid 3.0 .. on fedora 9. it shows this terminal output.

[root@squid ~]# chkconfig squid on
[root@squid ~]# service squid status
squid (pid 4824) is running...
[root@squid ~]# service squid start
2009/06/08 21:18:46| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009/06/08 21:18:46| Initializing https proxy context
Starting squid: [FAILED]
[root@squid ~]# service squid restart
Stopping squid: ................ [ OK ]
2009/06/08 21:19:39| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009/06/08 21:19:39| Initializing https proxy context
Starting squid: . [ OK ]
[root@squid ~]#


where is problem?

i had configured same procedure in rhel4, there it works.
plz tell me how can i configuring squid in fedora 9?
Ali
"Yes we can!"
alitoday
Naik
 
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

Postby lambda » Mon Jun 08, 2009 5:31 pm

i have configured squid 3.0
you need to describe the changes you've made to the configuration files.

where is problem?
squid has log files, probably in /var/log/squid on your system. read the last few lines of cache.log to see what the problem is.

plz tell me how can i configuring squid in fedora 9?
configure it to do what? play cricket?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby ajt74 » Tue Jun 09, 2009 4:19 pm

Squid logs will give you good picture if not start squid in debug mode and see where is the problem.

Next time make sure you give full details in your post about the problem. No fortune teller around to guess what is going on at your end.
"With faith, discipline and selfless devotion to duty, there is nothing worthwhile that you cannot achieve." - -- Muhammad Ali Jinnah
ajt74
Cadet
 
Posts: 13
Joined: Wed Mar 28, 2007 1:39 pm
Location: Christchurch, New Zealand

squid error in detail

Postby alitoday » Wed Jun 10, 2009 3:33 pm

actually i have configured squid on rhel 4 , it works well there. i copied squid.conf file to fedora 9, make some necessary changes.
my file is as:

visible_hostname squid
http_port 8080
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log

acl net src 172.170.100.1-172.170.100.255

http_access allow net

# WELCOME TO SQUID 3.0.STABLE2
# ----------------------------
#
# This is the default Squid configuration file. You may wish
# to look at the Squid home page (http://www.squid-cache.org/)
# for the FAQ and other documentation.

......................... etc .........

when i use restart squid service terminal show this message:

[root@squid ~]# service squid restart
Stopping squid: ................ [ OK ]
2009/06/10 21:24:03| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009/06/10 21:24:03| Initializing https proxy context
Starting squid: . [ OK ]
[root@squid ~]#

and

tail windows shows:

Jun 10 21:24:02 squid squid[3327]: Squid Parent: child process 3329 exited with status 0
Jun 10 21:24:03 squid squid[3371]: Squid Parent: child process 3373 started
------
What is problem there.

Can i use rhel4 squid file in fedora 9. if yes how?
2nd , if you have any sample squid file configured in fedora 9, plz share with me.

regards
Ali

"Yes we can!"
alitoday
Naik
 
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

Postby ajt74 » Sat Jun 13, 2009 3:04 pm

Did you run squid -z before starting the daemon?

Seems no issue with conf files running on separate linux distributions.
"With faith, discipline and selfless devotion to duty, there is nothing worthwhile that you cannot achieve." - -- Muhammad Ali Jinnah
ajt74
Cadet
 
Posts: 13
Joined: Wed Mar 28, 2007 1:39 pm
Location: Christchurch, New Zealand

Postby osama » Mon Jun 15, 2009 10:14 am

What is the error? You didnt post the error u r facing.
osama
Havaldaar
 
Posts: 117
Joined: Fri Aug 22, 2008 9:08 am


Return to “%s” Administration

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron