All Entries Tagged With: "apache"
Apache not starting
APACHE NOT STARTING While working on our clients’ servers , here at InstaCarma , we have come across this issue where the Apache webserver does not want to Start/Restart. So, I thought of jotting down some possible reasons for this and the solution for the same. Apache is the most common webserver used at present. [...]
Shared memory error
Issue: Here are the logs from from the log file when apache stopped working. ################################## [Tue Apr 28 05:01:30 2009] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run? [Tue Apr 28 05:01:30 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Tue Apr 28 05:01:30 2009] [notice] FastCGI: process manager initialized (pid [...]
Apache error :Segment No Space left on device
Issue : While starting apache Error : Segment No space left on device. Fix : Check if there’s any disk space issue on server using “df -h” Fix that worked in this case : Empty /usr/local/apache/logs/error_log (It was 360 MB)
Apache prompting for password twice for protected folders
Issue : Why does Apache ask for my password twice before serving a file? Fix : If the hostname under which you are accessing the server is different than the hostname specified in the ServerName directive, then depending on the setting of the UseCanonicalName directive, Apache will redirect you to a new hostname when constructing [...]
Apache restarting every 10 minutes
Issue : You must have seen on many servers that apache gets restarted every 10 minutes. This is because cpanellogd is supposed to send a SIGUSR1 (graceful restart) to apache every 10 minutes to rotate logs (if enabled) and handle stats. Fix : This can be modified by editing the file /usr/local/cpanel/cpanellogd to do this [...]
Phusion Passenger (a.k.a Mod_Rails)
Have you ever come across a term called Mod_rails or passenger while visiting a ruby on rails site ? What is mod_rails ? Mod_rails is an Apache module that enables the Ruby on Rails application to work with Apache for delivering high performance. Various tests have proven that passenger apps are faster,reliable and robust when [...]

1800 810 6547