Login  Register

Re: Apache exiting with 152

Posted by ErmanArslansOracleBlog on May 17, 2023; 7:32am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Apache-exiting-with-152-tp11857p11889.html

Okay.. It seems child tread(s) can not be started. we need to see what they are doing. We may have issues while  opening files required for Apache to run (missing, privileges), creating or updating (log/pid) files (privileges, size of log file hitting 2GB limit) and Memory issues.

1))))

You need to run the strace with "-ff" option.

 -ff makes that each child process started is logged in separate log file where the <PID> is added to the file name.

-ff
       --follow-forks --output-separately
              Combine the effects of --follow-forks and
              --output-separately options.  This is incompatible with
              -c, since no per-process counts are kept.

              One might want to consider using strace-log-merge(1) to
              obtain a combined strace log view.

An example: strace -o startapache.trc -ff -t  $INST_TOP/ora/10.1.3/Apache/Apache/bin/apachectl startssl -f $INST_TOP/ora/10.1.3/Apache/Apache/conf/httpd.conf &

But you have to modify the command according to your env (which is EBS & you use adapcctl.sh to start the apache.. Just don't specify httpd.conf and anything else, just use -ff and -o and give a trace file name to it)


2))))
*And you said "We are unable to start apache in second node".. So just check if there is anything wrong with the second node config.. I mean in terms of Shared Filesystem I/O..  Ensure you are OK/aligned with the Shared Apps Filesystem config of EBS 12.2 (if non shared then check the non-shared multi node config of EBS 12.2..) .. There may be a contention between nodes while reaching some files required by Apache/OHS.. But! again, child thread(s) is failing and we can't see what is their problem unless you specify -ff option to strace.