![]() |
Urgent Help needed, Apache httpd
i was trying to install flv streaming module for apache and while trying that i installed httpd-devel along with httpd again., i guess and now when i am trying to start httpd its giving me error.,
Code:
Invalid command 'AddHandler', perhaps misspelled or defined by a module not included in the server configuration Code:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration when i do httpd -l there was lots of modules previously , but it now shows 3-4 modules., if you can revert my system back then ill be thankful and even i will pay you., thanks for your time., |
It's being cut off from loading further at a spelling mistake in the config. Likely in the modules section that you were fucking with.
|
Consult the last module httpd -l shows as loaded then find that in the httpd.conf it's the location of your error.
|
Quote:
|
Quote:
but its not even in httpd config. |
:warning unhelpful reply alert :warning
:1orglaugh:1orglaugh i hate it when that happens. :1orglaugh:1orglaugh ok, now helpful reply: yum uninstall httpd and httpd-devel and do it again. you should have a proccess written down on how to recover/restore a system before you start playing with it. apache streaming is easy. Code:
yum -y install httpd-devel Code:
LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so # |
Quote:
my current conf file has LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4 |
Quote:
note: installing httpd and httpd-devel wont usually change your conf file or cause errors unless the install failed. # |
Quote:
thanks for your time., |
ya post if u got it fixed.
i've gotten myself in the shit many times trying new configurations. the thing you always have to remember with any tech if you cant quick fix it, is to start from the beginning. if its a pc repair, start at the motherboard and work your way up. if its a server config, yum remove everything down to the base system and start reinstalling. i have bash files to install complete systems for PornCMS - apache, perl modules, ffmpeg, and cms engine/site installs. i spent many hours and weeks writing each one but they are crucial. i set up 5 new servers in an afternoon last week. and if i start getting errors, i just rerun the appropriate script to reinstall things. # |
now httpd start with default config but when i replace it with old config file i get the same errors.,
imho the errors are because the missing shitloads of modules., i gotta sort and find what modules are needed., |
Quote:
Code:
yum -y remove httpd* gcc gcc-c++ autoconf # |
format C:
|
Quote:
locate mod_so.c on your system and look at its modification time. If it corresponds to when you install httpd-devel, there's your problem.... replace that with a good one and all will be fine. hit me up on email if you want me to look - requires a privileged account (sudo or root) to do... |
There is some bad advice in this thread that is just making more and more work for you. We can probably recognize and fix the original problem in minutes. Email us or ICQ 7208627 or call 979-530-1300.
As for all the new problems caused by removing things that shouldn't have been removed and otherwise trying to "fix" things without diagnosing the problem first, that might take another few minutes. The first step to fixing a problem is to diagnose the problem, not to delete everything. |
in fact mod_so.c is likely your issue:
http://httpd.apache.org/docs/1.3/mod/mod_so.html Status: Base (Windows); Experimental (Unix) I haven't even got that on my system, so you definitely got that sucka from http-devel yum install... and plus, fwiw, I would never yum -y anything - I like to see what yum is going to add/remove so I can opt out... with -y, you're giving yum a wild card to trash your system ;) |
Quote:
Borked, you know a lot about a lot of things, so you have credibility. That makes it particularly dangerous when you post about something you're clueless about because people are accustomed to trusting your advice. |
Quote:
|
Quote:
btw nice sig. you can definitely trust someone on a board that cant even claim a sig.. # |
Unhelpful yes, wrong no.
Quote:
|
Quote:
I know that Ralf Engelschall and Nick Kew know Apache better than I do, because they wrote more of it than I did. I've also spoken to each of them enough to know that I shuld trust their judgement. If I needed to know about mutexes in Apache, I'd ask Ben Noordhuis or just look at his code. Do YOU know how to recognize when someone knows the topic better than you do, or do you actually believe yourself to know more about my code than I do? |
Quote:
|
what he said.
I didn't want to tell him he needed a # and make everyone lose face. |
damn, its been so long, my internet died while i was working on it.,
just came up., |
|
Quote:
|
Posting for reference
|
Quote:
|
Recursive indeed.
|
i have contacted raymor regarding the same., will c how it goes.,
thanks all of you guys. |
raymor solved the problem.,
thanks a lot guys for your help and time, |
It was the one line ?
|
Quote:
|
Quote:
Raymor knows this shit better then you :2 cents: |
Quote:
Left you a message on ICQ. Can you send me an email to the aol address I left on ICQ? Thanks |
I'm glad you got it worked out.
|
Quote:
|
Quote:
once Raymor posted his sig it was a different story and i knew who he was. dont take my comments out of context and you wont misunderstand them. good job on the solution gentlemen. one more problem on one more day.. :thumbsup # |
All times are GMT -7. The time now is 10:05 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123