Unclean shutdown of previous Apache run? *** glibc detected *** realloc(): invalid size: 0x0819e4a8 *** : Issue while restarting HTTP Server

There is a known issue when Oracle Access Manager components such as WebPass, Policy Manager and WebGates are installed on Oracle HTTP Server.

Typically, while installing the WebPass (say) , the httpd.conf of HTTP Server will be pointed out and after the webpass configurations are updated in the httpd.conf, the Http Server should be restarted.

The below error was encountered in Apache error log while restarting HTTP Server

/u01/osinfra/Apache/Apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
*** glibc detected *** realloc(): invalid size: 0x0819e4a8 ***

This is because of the perl module in the Apache server.

Edit the httpd.conf and comment the below line.

LoadModule perl_module libexec/libperl.so

Attempt to start the HTTP Server is succesful.

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment:

11 comments
Rashmi says September 5, 2011

Hi,

After installing WebPass I encountered the same error:

pid file /home/oracle/app/oracle/admin/ohs_inst1/diagnostics/logs/OHS/ohs1/httpd.pid overwritten — Unclean shutdown of previous apache run?

The following line

LoadModule perl_module libexec/libperl.so

is missing from the httpd.conf file.

Do you suggest other solutions to overcome this problem?

Thanks.

Reply
Mahendra says September 6, 2011

Hi Rashmi,

I encountered this error in OHS 10g. I believe you must be using OHS 11g. Can you confirm whether the issue is resolved or not?

Thanks,
Mahendra.

Reply
Rashmi says September 6, 2011

Mahendra,

Thanks for the response. Yes I am using OHS 11g and still facing this issue. It is not yet resolved.

Rashmi

Reply
Mahendra says September 7, 2011

Hi Rashmi,

Can you try commenting out libphp4 line as well as shown below.

#LoadModule php4_module libexec/libphp4

Please let me know the results.

Thanks,
Mahendra.

Reply
Rashmi says September 8, 2011

Mahendra,

That line is not present in my httpd.conf file either.

I am using OAM 10.1.4.3.0 with OHS 11g. I gather from https://forums.oracle.com/forums/thread.jspa?threadID=946594 that there are compatibility issues. Is there a solution to this?

Thanks,
Rashmi

Reply
Mahendra says September 8, 2011

Rashmi,

The forum thread you mentioned is talking about 64-bit to 32-bit compatibility issues. Your issue is different. However, I would like to know your environmental details to suggest solution.

Thanks
Mahendra.

Reply
Rashmi says September 9, 2011

Mahendra,

I am using Oracle Linux 4/5 (64 bit). I am trying to install the OIM components in order to deploy Oracle Fusion Applications. I have successfully installed the following components till now:

Oracle Database 10g
Repository Creation Utility
OHS 11g
WebLogic Server 11g
Identity Manager
SOA
Identity and Access Manager
OID
ODSM
OAM 10g

Then I tried to install WebPass for OHS 11g. That’s when I faced this issue.

Would any other details be required?

Thanks,
Rashmi

Reply
Mahendra says September 9, 2011

Rashmi,

I think it could be due to purely a compatibility issue. Where did you get the gcc libraries for 64-bit environment? What version 32-bit or 64-bit of WebPass are you using?

You can try to copy the gcc libraries directly from the OS and give a shot?

Please paste the complete error you are getting while starting the http server after installing webpass, also the log file content.

Thanks,
Mahendra.

Reply
Rashmi says September 12, 2011

Hi Mahendra,

I did use the gcc libraries that were shipped with the OS.

The WebPass installer is 32 bit however.

The error I’m getting is:

$ ./opmnctl startall
opmnctl startall: starting opmn and all managed processes…
================================================================================
opmn id=vWKSTN159B.exeterblr.com:6702
0 of 1 processes started.

ias-instance id=ohs_inst1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
——————————————————————————–
ias-component/process-type/process-set:
ohs1/OHS/OHS/

Error
–> Process (index=1,uid=273695967,pid=28914)
failed to start a managed process after the maximum retry limit
Log:
/home/oracle/app/oracle/admin/ohs_inst1/diagnostics/logs/OHS/ohs1/console~OHS~1.log

Log file content:

Log file:

11/09/07 06:31:03 Start process ——– /home/oracle/app/oracle/product/fmw/web/ohs/bin/apachectl startssl: execing httpd httpd.worker: Syntax error on line 1047 of /home/oracle/app/oracle/admin/ohs_inst1/config/OHS/ohs1/httpd.conf: Cannot load /home/oracle/app/oracle/product/fmw/oam/webcomponents/identity/oblix/apps/webpass/bin/libwebpassssl.so into server: /home/oracle/app/oracle/product/fmw/oam/webcomponents/identity/oblix/apps/webpass/bin/libwebpassssl.so: wrong ELF class: ELFCLASS32

Thanks,
Rashmi

Reply
Mahendra says September 12, 2011

Rashmi,

I hope you must be using right installer, so would not ask you about that. I am sure that this error it is due to compatibility issues. Since you said you had already tried with OS gcc libs, there are gcc libraries provided by Oracle for 64-bit linux systems, may be you try that.

Hope this helps.

-Mahendra.

Reply
Atul Kumar says September 12, 2011

@ Rashmi,
Are you using SSL for webgate to OAM server communication ? If not comment entry /home/oracle/app/oracle/ product/fmw/oam/webcomponents/ identity/oblix/apps /webpass/bin/libwebpassssl.so

and then start web server

Reply
Add Your Reply