HTTPD stop running
Hi,
After trying to upgrade to httpd 2.2.3-83, my system stop running and I am getting the following. Code:
# /etc/rc.d/init.d/httpd start I edited the httpd.conf and I commented these lines and it worked but I am getting errors on the server. Code:
[root@localhost superale]# uname -a can someone help me to solve this problem ? |
Quote:
|
Quote:
I have a funny feeling I know what error message they are getting....... You probably need to grep out the "MmapFile" and the "CacheFile" directives in the server conf and try again |
Quote:
|
Quote:
Quote:
Quote:
You probably need to think a little about that.... |
Quote:
Quote:
Code:
# /etc/rc.d/init.d/httpd start Now, I tried to solve this issue just commenting the line 196 on httpd.conf and the server started worked but does weird acting when I use php or mysql, is NOT exactly an errors. I found out that is because the server not cache. I have lost the files "mod_file_cache.so" and "mod_mem_cache.so" I just want to get some solution from people here that really know, how can I fix this issue, trying to replace the httpd version that I have or finding the files that I lost. |
Quote:
Code:
# /etc/rc.d/init.d/httpd start |
This is my uname -a
Code:
Linux localhost.localdomain 2.6.18-371.8.1.el5 #1 SMP Thu Apr 24 18:23:07 EDT 2014 i686 athlon i386 GNU/Linux #yum whatprovides mod_cache.so and I having this error Code:
# yum whatprovides mod_cache.so |
Fix yum
OR Build the module from source OR Locate your missing module OR Locate the module directives in your server conf file From the link I supplied you Quote:
Code:
grep -in mmapfile /path/to/server/conf/file/on/your/system/*.conf > roadmap Quote:
Code:
grep -in cachefile /path/to/server/conf/file/on/your/system/*.conf >> roadmap Go to the line in your server conf file listed next to each entry Check to see if it's a mod_cache_file directive. If it is, comment it out. Keep in mind the file entrys may be a list so it might not be enough to just comment out the line with the module directive on it. You'll have to get all the files as well. Save the conf file. Restart the server Look at the error log. BTW, I think when Yancek was asking you to post any errors, he meant from the server log. Some possible locations of that log are Slackware/RHEL / Red Hat / CentOS / Fedora Linux Apache error file location - /var/log/httpd/error_log Debian / Ubuntu Linux Apache error log file location - /var/log/apache2/error.log FreeBSD Apache error log file location - /var/log/httpd-error.log Which path do you want to follow ? |
I fix errors in order they appear, in too many cases the first error is causing all others. I'd fix the syntax error on line 196 first.
|
Quote:
Did you find anything useful? No? I did, (not actually "found" it, I knew it was there, I've RTFM'd, many, many times) I already knew there were probably mmap and cache directives in the server.conf that no longer referenced a working module. I knew lines the apached can't parse generate errors (in the error.log) and generally abhorrent behavior on the part of the server, but they don't (often) stop a demon from spawning. Missing modules do, however. I was trying to help you learn that. edit: I'm not at all angry at you alejandroye, if I was I'd stop responding. I could've been nicer though and for that, I apologize, but you need to realize, if you're really going to administer a web server, you need to learn how to fix problems like this. That's why I pointed you to that particular manual page. I'd hoped you'd realize what every web admin already knows. Most problems can be solved by reading the manual. Problems like this come up all the time. It's what web admins do for a living. If you don't want to learn to administer the server, why don't you host it? It's free on the internet and then you wont have these issues. |
All times are GMT -5. The time now is 10:23 AM. |