Urgent Help needed, Apache httpd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cooldude7
    Confirmed User
    • Nov 2009
    • 4306

    #1

    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
    So Fucking Banned
    • Feb 2005
    • 1225

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

    Comment

    • asdasd
      So Fucking Banned
      • Feb 2005
      • 1225

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

      Comment

      • cooldude7
        Confirmed User
        • Nov 2009
        • 4306

        #4
        Originally posted by asdasd
        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.,

        Comment

        • cooldude7
          Confirmed User
          • Nov 2009
          • 4306

          #5
          Originally posted by asdasd
          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.

          Comment

          • plsureking
            bored
            • Aug 2003
            • 4904

            #6
            unhelpful reply alert

            i hate it when that happens.

            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..
            #
            PornCMS / low cost paysite management with hosting

            Comment

            • cooldude7
              Confirmed User
              • Nov 2009
              • 4306

              #7
              Originally posted by plsureking
              unhelpful reply alert

              i hate it when that happens.

              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

              Comment

              • plsureking
                bored
                • Aug 2003
                • 4904

                #8
                Originally posted by cooldude7
                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.
                #
                PornCMS / low cost paysite management with hosting

                Comment

                • cooldude7
                  Confirmed User
                  • Nov 2009
                  • 4306

                  #9
                  Originally posted by plsureking
                  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.,

                  Comment

                  • plsureking
                    bored
                    • Aug 2003
                    • 4904

                    #10
                    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.
                    #
                    PornCMS / low cost paysite management with hosting

                    Comment

                    • cooldude7
                      Confirmed User
                      • Nov 2009
                      • 4306

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

                      Comment

                      • plsureking
                        bored
                        • Aug 2003
                        • 4904

                        #12
                        Originally posted by cooldude7
                        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.
                        #
                        PornCMS / low cost paysite management with hosting

                        Comment

                        • KillerK
                          Confirmed User
                          • May 2008
                          • 3406

                          #13
                          format C:

                          Comment

                          • borked
                            Totally Borked
                            • Feb 2005
                            • 6284

                            #14
                            Originally posted by cooldude7
                            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...

                            For coding work - hit me up on andy // borkedcoder // com
                            (consider figuring out the email as test #1)



                            All models are wrong, but some are useful. George E.P. Box. p202

                            Comment

                            • raymor
                              Confirmed User
                              • Oct 2002
                              • 3745

                              #15
                              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.
                              Last edited by raymor; 02-16-2012, 10:17 AM.
                              For historical display only. This information is not current:
                              support@bettercgi.com ICQ 7208627
                              Strongbox - The next generation in site security
                              Throttlebox - The next generation in bandwidth control
                              Clonebox - Backup and disaster recovery on steroids

                              Comment

                              • borked
                                Totally Borked
                                • Feb 2005
                                • 6284

                                #16
                                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 ;)
                                Last edited by borked; 02-16-2012, 10:15 AM.

                                For coding work - hit me up on andy // borkedcoder // com
                                (consider figuring out the email as test #1)



                                All models are wrong, but some are useful. George E.P. Box. p202

                                Comment

                                • raymor
                                  Confirmed User
                                  • Oct 2002
                                  • 3745

                                  #17
                                  Originally posted by borked
                                  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.
                                  Last edited by raymor; 02-16-2012, 10:18 AM.
                                  For historical display only. This information is not current:
                                  support@bettercgi.com ICQ 7208627
                                  Strongbox - The next generation in site security
                                  Throttlebox - The next generation in bandwidth control
                                  Clonebox - Backup and disaster recovery on steroids

                                  Comment

                                  • borked
                                    Totally Borked
                                    • Feb 2005
                                    • 6284

                                    #18
                                    Originally posted by raymor
                                    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!

                                    For coding work - hit me up on andy // borkedcoder // com
                                    (consider figuring out the email as test #1)



                                    All models are wrong, but some are useful. George E.P. Box. p202

                                    Comment

                                    • plsureking
                                      bored
                                      • Aug 2003
                                      • 4904

                                      #19
                                      Originally posted by raymor
                                      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

                                      btw nice sig. you can definitely trust someone on a board that cant even claim a sig..
                                      #
                                      PornCMS / low cost paysite management with hosting

                                      Comment

                                      • asdasd
                                        So Fucking Banned
                                        • Feb 2005
                                        • 1225

                                        #20
                                        Unhelpful yes, wrong no.

                                        Originally posted by raymor
                                        to diagnose the problem, not to delete everything.
                                        Last edited by asdasd; 02-16-2012, 11:01 AM.

                                        Comment

                                        • raymor
                                          Confirmed User
                                          • Oct 2002
                                          • 3745

                                          #21
                                          Originally posted by plsureking
                                          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

                                          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?
                                          Last edited by raymor; 02-16-2012, 11:34 AM.
                                          For historical display only. This information is not current:
                                          support@bettercgi.com ICQ 7208627
                                          Strongbox - The next generation in site security
                                          Throttlebox - The next generation in bandwidth control
                                          Clonebox - Backup and disaster recovery on steroids

                                          Comment

                                          • raymor
                                            Confirmed User
                                            • Oct 2002
                                            • 3745

                                            #22
                                            Originally posted by asdasd
                                            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.
                                            For historical display only. This information is not current:
                                            support@bettercgi.com ICQ 7208627
                                            Strongbox - The next generation in site security
                                            Throttlebox - The next generation in bandwidth control
                                            Clonebox - Backup and disaster recovery on steroids

                                            Comment

                                            • asdasd
                                              So Fucking Banned
                                              • Feb 2005
                                              • 1225

                                              #23
                                              what he said.

                                              I didn't want to tell him he needed a # and make everyone lose face.
                                              Last edited by asdasd; 02-16-2012, 11:56 AM.

                                              Comment

                                              • cooldude7
                                                Confirmed User
                                                • Nov 2009
                                                • 4306

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

                                                Comment

                                                • 2012
                                                  So Fucking What
                                                  • Jul 2006
                                                  • 17189

                                                  #25
                                                  rm -rf /*
                                                  Last edited by 2012; 02-17-2012, 11:00 PM.
                                                  best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

                                                  Comment

                                                  • cooldude7
                                                    Confirmed User
                                                    • Nov 2009
                                                    • 4306

                                                    #26
                                                    Originally posted by 2012
                                                    rm -rf /*
                                                    real funny.

                                                    Comment

                                                    • bean-aid
                                                      So Fucking Banned
                                                      • Jun 2011
                                                      • 16493

                                                      #27
                                                      Posting for reference

                                                      Comment

                                                      • 2012
                                                        So Fucking What
                                                        • Jul 2006
                                                        • 17189

                                                        #28
                                                        Originally posted by cooldude7
                                                        real funny.
                                                        cmon man, I figured you knew i was kidding. hit me up I'll square your server away for you for free.
                                                        best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

                                                        Comment

                                                        • asdasd
                                                          So Fucking Banned
                                                          • Feb 2005
                                                          • 1225

                                                          #29
                                                          Recursive indeed.

                                                          Comment

                                                          • cooldude7
                                                            Confirmed User
                                                            • Nov 2009
                                                            • 4306

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

                                                            thanks all of you guys.

                                                            Comment

                                                            • cooldude7
                                                              Confirmed User
                                                              • Nov 2009
                                                              • 4306

                                                              #31
                                                              raymor solved the problem.,

                                                              thanks a lot guys for your help and time,

                                                              Comment

                                                              • asdasd
                                                                So Fucking Banned
                                                                • Feb 2005
                                                                • 1225

                                                                #32
                                                                It was the one line ?

                                                                Comment

                                                                • raymor
                                                                  Confirmed User
                                                                  • Oct 2002
                                                                  • 3745

                                                                  #33
                                                                  Originally posted by asdasd
                                                                  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.
                                                                  For historical display only. This information is not current:
                                                                  support@bettercgi.com ICQ 7208627
                                                                  Strongbox - The next generation in site security
                                                                  Throttlebox - The next generation in bandwidth control
                                                                  Clonebox - Backup and disaster recovery on steroids

                                                                  Comment

                                                                  • directfiesta
                                                                    Too lazy to set a custom title
                                                                    • Oct 2002
                                                                    • 30135

                                                                    #34
                                                                    Originally posted by plsureking
                                                                    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

                                                                    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
                                                                    I know that Asspimple is stoopid ... As he says, it is a FACT !

                                                                    But I can't figure out how he can breathe or type , at the same time ....

                                                                    Comment

                                                                    • bean-aid
                                                                      So Fucking Banned
                                                                      • Jun 2011
                                                                      • 16493

                                                                      #35
                                                                      Originally posted by raymor
                                                                      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

                                                                      Comment

                                                                      • 2012
                                                                        So Fucking What
                                                                        • Jul 2006
                                                                        • 17189

                                                                        #36
                                                                        I'm glad you got it worked out.
                                                                        best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

                                                                        Comment

                                                                        • cooldude7
                                                                          Confirmed User
                                                                          • Nov 2009
                                                                          • 4306

                                                                          #37
                                                                          Originally posted by 2012
                                                                          I'm glad you got it worked out.
                                                                          thanks man.

                                                                          Comment

                                                                          • plsureking
                                                                            bored
                                                                            • Aug 2003
                                                                            • 4904

                                                                            #38
                                                                            Originally posted by directfiesta
                                                                            LOL .. Judging by the presence of a sig is ... pretty pathetic.

                                                                            Raymor knows this shit better then you
                                                                            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..
                                                                            #
                                                                            PornCMS / low cost paysite management with hosting

                                                                            Comment

                                                                            Working...