SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?
Feb 4, 2010Any one have an idea How to clear apache cache without restarting apache server.
View 5 RepliesAny one have an idea How to clear apache cache without restarting apache server.
View 5 RepliesI'm getting a weird situation where even though I updated an image in a folder for a website in apache, it's still showing the old image. And yes, I checked it in multiple browsers and on diff. computers. (Apache is in a virtualbox OS)
Here's what I've done:
1. Checked it in firefox on the host, cleared cache, reloaded
2. Restarted apache
3. Checked it in konqueror for first time, still showing old version
4. Checked it in the actual file folder and it's correct there
5. Checked it for first time on virtual machine's OS in its firefox, and it shows the wrong/old image
I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.
View 1 Replies View Relatedi've had my dedicated server for about 16 months now and my log files are huge and I host a few small sites but one of them is quite large and can get a log file (access.log and error.log) of 1-2gb a month so over a year can take up almost 30gb just for that site so I clean them out regularly but I'm wanting a more automated way to do thisi've been thinking of using the find command using something like this but it isn't workingCode:find /var/www -name "*.log" -type f -size +10M -exec echo > {} /;
View 13 Replies View RelatedI was running a web server using apache, somehow it started not working properly. So I wanted to uninstall Apache. At first, I wrote "./apachectl stop" to stop the running apache server. After that i wrote "rm -rf /usr/local/apache2" to delete the folders. So far, it seemed normal. But when I wrote //localhost on firefox, the page which was appearing when apache server was running again appeared. So, I restarted my machine, and after that opened localhost again. But the page was still there. I don't know what caused this, but it is obvious that that server is immortal. Also, I found another path for apache server but I am not quite sure. It is /srv/www/htdocs/ that directory consisted that appearing page. I am not sure if i delete this folder, too. By the way, I guess I broke my internet connection while configuring Apache web server. I just wrote "# telnet localhost 80" in the terminal. And after that I changed the port which apache server listens to in httpd.conf. Does anyone know how to terminate this apache' session? Also could somebody tell me how can i fix my internet connection?
View 2 Replies View Relatedi know it's a very simple command to restart apache via ssh.
View 13 Replies View Relatedafter restarting Apache site is down?
View 1 Replies View RelatedI have just compiled apache with the following command code...
View 4 Replies View RelatedI am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
Is there a crap cleaner for use with Suse Linux 11.3, does anyone know?
Can't find one listed.
I've got an old SuSE box that is a SVN server using apache for ldap authentication. The suers are not able to log on for some reason so I am trying to find out where this box is pointed to authenticate. I do not know SuSE or ldap well enough to know where to look to find out this info.
View 10 Replies View RelatedI am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.
However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?
i am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.
I am not clear with certain sections of apache I saw a default virtual host file. as follows
[code]...
What does Directory / here represents is it same as document root or different. The following section where /var/www is included in Directory Index
[code]...
I am not clear as why by default ScriptAlias is present in the default vhost is it necessary to keep in other Virtual Hosts. Similarly /doc/ what is this referring to in following section
[code]...
I have a dedicated server and I am having email issues etc (seemingly) because the /var directory is 97% full
I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).
I have a 'Matrix' control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.
I have Putty Access to root but do not know much about command line access.
I found a few threads but the information is not clear to me as there seems to be an assumption of (basic?) knowledge I don't yet have.
My linux support guru that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.
I have only a very basic understanding of command line but really need to get this sorted ASAP.
Is it possible and SAFE to delete files via FTP from the /var/cache/apt/archives?
is there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies View RelatedWe are trying to define an appliance based on Suse for an application server and Web server Apache, so we would like to know configuration best practices for network and security, is there any paper/doc about best practices?
View 3 Replies View RelatedI am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies View Relatedlet me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.
View 3 Replies View RelatedMy external storage failed and 1 file system related was damaged. When booting OS, it stops on fsck with the damaged file system. Thus the OS will never be up and running, no matter how long I wait. My question is, how to skip the fsck on the damaged file system? Since OS can not be booted up, I have no chance to change /etc/fstab. I just want to boot up the OS and remove the damaged file system manually.
View 1 Replies View RelatedI have one desktop (AMD Athlon 1.14 GHz, nVIDIA nFORCE2 chipset, 1GB RAM, nVIDIA Gigabytes graphic acelerator/duel monitor card, M-Audio Audiophile 2496 PCI sound card) and an Acer Extensa 4620 laptop (Intel Core2 DUO, Intel 965 chipset). I started with Debian Lenny 5.0.3 i386 for both the systems. Since I found it a little hard for a beginner like me to make things work on Debian and also since I did not get 64bit version, I switched over to OpenSUSE 11.2. At present I am duel booting my desktop with OpenSUSE 11.2 i586 and MS Windows XP Pro/SP2 and my laptop runs only OpenSUSE 11.2 x86_64.
I want to know which is the best NTP server to use. Also I would like to know how I can configure my KDE desktop to look and behave like Mac OS or MS windows XP. Are help files available for KDE?
I have implimented SugarCRM on a SUSE 10 box . Every thing goes ok but in the SugarCRM ,it's saying :
Quote:
Error: Could not connect to the Sugar Server. check your Proxy Settings value in the System Settings admin panel. Last attempted connection @ 10/11/2010 06:37pm and unable to setup email inside that. But the system is neither have proxy setting and internet runs fine outside SugarCRM. IN RHEL,CentOS all run ok but not in SUSE ?
Need to install Novell SUSE Linux version 11 from Different computer DVD ROM over Network.
View 1 Replies View RelatedI did a clean install of OpenSuse 11.3 a couple of weekends back. Everything is working great except the SSH server.Once I installed ssh, it appears to accept my connection, allows me to log in, and then freezes Putty, not allowing me to type anything into the terminal.If I wait several minutes, I'll get a message saying that the connection was closed. After that, the server won't accept connections.Sometimes it'll start accepting connections again, but after a while, the connection will close on its own. Other times, I will be unable to get a connection until I restart the server.If you guys needs any more information, please let me know. What could be causing this odd behavior?
View 3 Replies View RelatedA friend has a website. the site has been moved to another server. I am inside of a private network.
Problem: when trying to reach his website, my browser keeps connecting to the old server which is on another continent
Windows machines have no problem with this. They connect to the new server without issues.
NOW what is hard to understand: even the PING utility is pinging the old server.
I tried these and none works:
- computer restart
- Clear private data in Iceweasel (has ntg to do with PING, but tried...)
- installed nscd and restarted the service
- modified /etc/resolv.conf to point to another nameserver than modified it back
At the same computer, if I reboot and load Windows, the browser has no problem connecting to the new server.
I can't find how to clear ABRT cache (other than to forcibly 'rm -rf /var/cache/abrt/'). How does one clear out the pile (which has grown to 1.2 GB here)?
View 3 Replies View RelatedI've been advised to "clear the java cache", and to do so under Windows, one would open the java control panel. Of course, I'm using OpenJDK, and not Java's java.
Can anyone tell me how I would clear the java cache?
I am useing open suse 11.2 dual boot with windows server 2008. Could anybody give some suggestion do I need to upgrade to open suse 11.3. And How I can deal with that and keep my windows.
View 5 Replies View RelatedI just noticed that my hard drive is filling up with unnecessary files. what is the command to clean it up?
I've had to do this in Mandriva a while ago on my other pc. I'm running opensuse 11.2 KDE 64 bit