LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-04-2010, 02:33 PM   #1
s_linux
Member
 
Registered: Jul 2009
Posts: 83

Rep: Reputation: 15
How to clear apache cache


Hi all

Any one have an idea How to clear apache cache without restarting apache server.

Thanks
 
Old 02-04-2010, 02:37 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Meaning what? You're using mod_cache?

What OS / Apache version?
 
Old 02-04-2010, 02:47 PM   #3
s_linux
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 15
The web pages are not displaying correctly as it is in the directories every time we updating the directories with new content. I'm not sure we are using mod_cache. How can we tell that mod_cache is being used?
we have suse 10 and apache 2.2
Thanks
 
Old 02-04-2010, 03:00 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I see what you mean. If you're not sure about mod_cache, then you're probably not using it. You can double check with:

# httpd -M

Actually, unless you have evidence to indicate otherwise, I think what you are describing is a client-side issue. Have your user(s) reload their browser, quit/restart their browser, or clear their browser cache if necessary.
 
Old 02-04-2010, 03:05 PM   #5
s_linux
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 15
With httpd -M command, it says command not found.
Intially we thougt the issue with client side and we cleared temp/cache/restart browser/reboot the system/delete history..but it doesnot help.
Thats the reson I want to see if we can delete cache on apache server if it exists.
It would also be great if can you think of any other thing causing the issue.

thanks
 
Old 02-04-2010, 03:27 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Maybe Suse names the Apache web server binary differently. I am not sure.

Could by any (or none) of:
# httpd -M
# apache -M
# apache22 -M

You need to be logged in as root with his full PATH (e.g.: su -) in order for that to work.

It would be a good idea to familiarize yourself with Suse's Apache 2.2 package, and where it keeps various files. Once you have done that, you should begin troubleshooting by watching Apache's access log. Are client requests going to the places you're expecting? etc.
 
  


Reply



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
how to clear apt-cache coyopil Debian 6 01-29-2014 12:15 AM
Clear cache if not root mark_l Linux - General 15 05-26-2009 02:52 AM
how to clear the cache in linux. rehan999 Linux - Software 1 11-25-2008 02:39 AM
how do you clear the cache? eagletalontim Linux - Newbie 11 01-11-2006 03:05 PM
Clear cache raysr Linux - Newbie 2 03-26-2004 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:31 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
Open Source Consulting | Domain Registration