ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    httpd dead but pid file exists

    IT Discussion
    apache rhel 5.11
    8
    85
    6.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Have you tried some of the things that we suggested? Like started Apache without the workload to make sure Apache itself is okay?

      wirestyle22W 1 Reply Last reply Reply Quote 0
      • wirestyle22W
        wirestyle22 @scottalanmiller
        last edited by

        @scottalanmiller said in httpd dead but pid file exists:

        Apache without the workload

        Not sure how I would achieve this. I must have missed this comment

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @wirestyle22
          last edited by

          @wirestyle22 said in httpd dead but pid file exists:

          @scottalanmiller said in httpd dead but pid file exists:

          Apache without the workload

          Not sure how I would achieve this. I must have missed this comment

          You remove the conf file that points to whatever application you are trying to host.

          wirestyle22W 1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22 @scottalanmiller
            last edited by

            @scottalanmiller said in httpd dead but pid file exists:

            @wirestyle22 said in httpd dead but pid file exists:

            @scottalanmiller said in httpd dead but pid file exists:

            Apache without the workload

            Not sure how I would achieve this. I must have missed this comment

            You remove the conf file that points to whatever application you are trying to host.

            Right I'm having trouble locating it. Been looking for awhile. I'm going to try to talk to one of the developers tomorrow when they are here

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              It is apache. It has known config locations that cannot just be changed.

              /etc/httpd/conf/httpd.conf for starters.

              Even back in RHEL 4 (yes this is still a live server I just made the screenshot from).
              79cf7c09-f4be-4911-950f-1fb6784800bc-image.png

              wirestyle22W 1 Reply Last reply Reply Quote 2
              • wirestyle22W
                wirestyle22 @JaredBusch
                last edited by

                @JaredBusch Wouldn't this be apache related, but actually php?

                oci8.so is what I'm trying to comment out somewhere

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @wirestyle22
                  last edited by

                  @wirestyle22 said in httpd dead but pid file exists:

                  @scottalanmiller said in httpd dead but pid file exists:

                  @wirestyle22 said in httpd dead but pid file exists:

                  @scottalanmiller said in httpd dead but pid file exists:

                  Apache without the workload

                  Not sure how I would achieve this. I must have missed this comment

                  You remove the conf file that points to whatever application you are trying to host.

                  Right I'm having trouble locating it. Been looking for awhile. I'm going to try to talk to one of the developers tomorrow when they are here

                  Jared provided the location. /etc/httpd/ has all the Apache config files.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @wirestyle22
                    last edited by

                    @wirestyle22 said in httpd dead but pid file exists:

                    @JaredBusch Wouldn't this be apache related, but actually php?

                    oci8.so is what I'm trying to comment out somewhere

                    No, it is not. That's a C library. Start with what we are talking about... disabling the workload. Ignore the shared libraries, I think you are getting stuck in the weeds. Yes, the errors might be related to that, but likely you have a bigger problem.

                    1 Reply Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite
                      last edited by

                      Everytime I search for oci8, the results say something about PHP and Oracle.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Yeah, looks like the Oracle DB client is installed.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          backup the file

                          sudo cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
                          

                          the pop it in vi/nano and look for not default things.

                          also rename anything in /etc/httpd/conf.d

                          sudo mv /etc/httpd/conf.d/wtf.conf /etc/httpd/conf.d/wtf.conf.bak
                          

                          then restart apache

                          sudo service stop httpd
                          sudo service start httpd
                          

                          In fact, I would rename anything in conf.d first, and restart.

                          wirestyle22W StrongBadS 2 Replies Last reply Reply Quote 3
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Assuming that doesn't work, then you can do the same with the php.ini

                            1 Reply Last reply Reply Quote 1
                            • wirestyle22W
                              wirestyle22 @JaredBusch
                              last edited by

                              @JaredBusch said in httpd dead but pid file exists:

                              backup the file

                              sudo cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
                              

                              the pop it in vi/nano and look for not default things.

                              also rename anything in /etc/httpd/conf.d

                              sudo mv /etc/httpd/conf.d/wtf.conf /etc/httpd/conf.d/wtf.conf.bak
                              

                              then restart apache

                              sudo service stop httpd
                              sudo service start httpd
                              

                              In fact, I would rename anything in conf.d first, and restart.

                              I put in a change request for this. Thanks

                              1 Reply Last reply Reply Quote 0
                              • StrongBadS
                                StrongBad @JaredBusch
                                last edited by

                                @JaredBusch said in httpd dead but pid file exists:

                                In fact, I would rename anything in conf.d first, and restart.

                                You could do something like this...

                                mv conf.d conf.d.orig
                                mkdir conf.d

                                That way you have an empty folder, but can replace it with the old one in a snap all at once.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 3
                                • 4
                                • 5
                                • 5 / 5
                                • First post
                                  Last post