GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Urgent Help needed, Apache httpd (https://gfy.com/showthread.php?t=1057919)

cooldude7 02-16-2012 10:41 AM

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
and


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.,

asdasd 02-16-2012 10:43 AM

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.

asdasd 02-16-2012 10:44 AM

Consult the last module httpd -l shows as loaded then find that in the httpd.conf it's the location of your error.

cooldude7 02-16-2012 10:45 AM

Quote:

Originally Posted by asdasd (Post 18763367)
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.

imho its not spelling mistake., coz it was working OK previously but after i installed hhtpd-devel things got fucked.,

cooldude7 02-16-2012 10:46 AM

Quote:

Originally Posted by asdasd (Post 18763371)
Consult the last module httpd -l shows as loaded then find that in the httpd.conf it's the location of your error.

the last module is mod_so.c

but its not even in httpd config.

plsureking 02-16-2012 10:58 AM

: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
yum -y install httpd mod_ssl
cd /usr/src
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure
make
sudo make install

then add this to the bottom of httpd.conf
Code:

LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

slightly different for 64-bit system..
#

cooldude7 02-16-2012 11:02 AM

Quote:

Originally Posted by plsureking (Post 18763415)
: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
yum -y install httpd mod_ssl
cd /usr/src
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure
make
sudo make install

then add this to the bottom of httpd.conf
Code:

LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

slightly different for 64-bit system..
#

thanks., will it remove the current httpd.conf files ?
my current conf file has


LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

plsureking 02-16-2012 11:06 AM

Quote:

Originally Posted by cooldude7 (Post 18763427)
thanks., will it remove the current httpd.conf files ?
my current conf file has


LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

just make a backup copy of your httpd.conf file. did you make 1 before you started?

note: installing httpd and httpd-devel wont usually change your conf file or cause errors unless the install failed.
#

cooldude7 02-16-2012 11:07 AM

Quote:

Originally Posted by plsureking (Post 18763439)
just make a backup copy of your httpd.conf file. did you make 1 before you started?

note: installing httpd and httpd-devel wont usually change your conf file or cause errors unless the install failed.
#

okie., i have backups of httpd.config , just removed httpd-devel and httpd
thanks for your time.,

plsureking 02-16-2012 11:14 AM

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.
#

cooldude7 02-16-2012 11:17 AM

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.,

plsureking 02-16-2012 11:20 AM

Quote:

Originally Posted by cooldude7 (Post 18763474)
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.,

hey try this and restart apache. it wont fuck anything up:

Code:

yum -y remove httpd* gcc gcc-c++ autoconf
yum -y install httpd httpd-devel php php-gd php-devel gcc gcc-c++ autoconf

gcc might be the problem. i think its required for httpd-devel modules.
#

KillerK 02-16-2012 11:33 AM

format C:

borked 02-16-2012 11:42 AM

Quote:

Originally Posted by cooldude7 (Post 18763382)
the last module is mod_so.c

but its not even in httpd config.

looks like your mod_so is borked by httpd-devel, which is why no other modules are loading...

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...

raymor 02-16-2012 12:12 PM

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.

borked 02-16-2012 12:13 PM

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 ;)

raymor 02-16-2012 12:16 PM

Quote:

Originally Posted by borked (Post 18763598)
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...

That's fifteen years ago. mod_so is the core component that leads all other modules. Without mod_so, you can't use any other modules.

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.

borked 02-16-2012 12:22 PM

Quote:

Originally Posted by raymor (Post 18763605)
That's fifteen years ago. mod_so is the core component that leads all other modules. Without mod_so, you can't use any other modules.

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.

consider me slapped - yeah, I just read that for apache 1.3 and realised... I'm out of this thread, cos trying to help when you're blind is just impossible!

plsureking 02-16-2012 12:24 PM

Quote:

Originally Posted by raymor (Post 18763595)
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.

lol everybody is the best expert. just google any problem and you'll find a lot of "experts". my systems run great and they are minimal, but if you want to take over, go ahead :thumbsup

btw nice sig. you can definitely trust someone on a board that cant even claim a sig..
#

asdasd 02-16-2012 12:50 PM

Unhelpful yes, wrong no.

Quote:

Originally Posted by raymor (Post 18763595)
to diagnose the problem, not to delete everything.


raymor 02-16-2012 01:25 PM

Quote:

Originally Posted by plsureking (Post 18763621)
lol everybody is the best expert. just google any problem and you'll find a lot of "experts". my systems run great and they are minimal, but if you want to take over, go ahead :thumbsup

btw nice sig. you can definitely trust someone on a board that cant even claim a sig..
#

Tell you what, go into the Apache source and have a glance at how much of Apache I've written versus how much of it you've written. Oh, I'm sorry, you can't look at it because you deleted it rather than trying to understand it.

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?

raymor 02-16-2012 01:36 PM

Quote:

Originally Posted by asdasd (Post 18763367)
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.

My thoughts exactly. Hard to tell now that it's possible he went from Apache 1.3 to Apache 2.2 or who knows what.

asdasd 02-16-2012 01:55 PM

what he said.

I didn't want to tell him he needed a # and make everyone lose face.

cooldude7 02-18-2012 12:43 AM

damn, its been so long, my internet died while i was working on it.,
just came up.,

2012 02-18-2012 12:59 AM

rm -rf /*
https://gfy.com/image.php?u=45539&dateline=1329538028

cooldude7 02-18-2012 01:06 AM

Quote:

Originally Posted by 2012 (Post 18766906)

real funny.

bean-aid 02-18-2012 01:26 AM

Posting for reference

2012 02-18-2012 01:31 AM

Quote:

Originally Posted by cooldude7 (Post 18766920)
real funny.

cmon man, I figured you knew i was kidding. hit me up I'll square your server away for you for free.

asdasd 02-18-2012 01:34 AM

Recursive indeed.

cooldude7 02-18-2012 09:25 AM

i have contacted raymor regarding the same., will c how it goes.,

thanks all of you guys.

cooldude7 02-18-2012 01:58 PM

raymor solved the problem.,

thanks a lot guys for your help and time,

asdasd 02-18-2012 02:11 PM

It was the one line ?

raymor 02-18-2012 02:32 PM

Quote:

Originally Posted by asdasd (Post 18767721)
It was the one line ?

The uninstall of the DirectAdmin Apache and install of one from a different control panel's repository meant it needed to be redone from scratch. One copy had all modules compiled in. The other loads modules as is typical.

directfiesta 02-18-2012 03:47 PM

Quote:

Originally Posted by plsureking (Post 18763621)
lol everybody is the best expert. just google any problem and you'll find a lot of "experts". my systems run great and they are minimal, but if you want to take over, go ahead :thumbsup

btw nice sig. you can definitely trust someone on a board that cant even claim a sig..
#

LOL .. Judging by the presence of a sig is ... pretty pathetic.

Raymor knows this shit better then you :2 cents:

bean-aid 02-18-2012 05:19 PM

Quote:

Originally Posted by raymor (Post 18767753)
The uninstall of the DirectAdmin Apache and install of one from a different control panel's repository meant it needed to be redone from scratch. One copy had all modules compiled in. The other loads modules as is typical.

I tried to email you and it bounced back.

Left you a message on ICQ. Can you send me an email to the aol address I left on ICQ? Thanks

2012 02-18-2012 05:32 PM

I'm glad you got it worked out.

cooldude7 02-18-2012 08:38 PM

Quote:

Originally Posted by 2012 (Post 18768076)
I'm glad you got it worked out.

thanks man. :thumbsup

plsureking 02-18-2012 09:36 PM

Quote:

Originally Posted by directfiesta (Post 18767920)
LOL .. Judging by the presence of a sig is ... pretty pathetic.

Raymor knows this shit better then you :2 cents:

yes he no doubt knows servers better than me. the post i wrote my reply to was a guy with no sig asking for root access to a server. i didnt memorize every gfyer's background and sig. i have better tasks for my brain (like watching spartacus).

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