Satellite: Encountering '500 Error - Internal Server Error' after setting up pam authentication

Solution Verified - Updated -

Issue

  • Setup pam authentication with kerberos as per local satellite documentation, eg https://satellite.example.com/rhn/help/satellite/en-US/s1-maintenance-pam-auth.jsp
  • When I try to login to the Satellite WebUI I encounter a "500 Error - Internal Server Error".
  • /var/log/messages shows tomcat producing core dumps
Aug 29 11:29:31 satellite IBM Java[3650]: JVMDUMP032I JVM requested System dump using "/usr/share/tomcat6/core.20120829.112931.3650.0001.dmp" in response to an event
Aug 29 11:29:32 satellite kernel: java[18321]: segfault at 0 ip 00007f2dfaa65f24 sp 00007f2ddc8cf8a0 error 6 in libj9prt24.so[7f2dfaa57000+30000]
Aug 29 11:29:38 satellite IBM Java[3650]: JVMDUMP032I JVM requested Java dump using "/tmp/javacore.20120829.112931.3650.0002.txt" in response to an event
Aug 29 11:29:38 satellite IBM Java[3650]: JVMDUMP032I JVM requested Snap dump using "/usr/share/tomcat6/Snap.20120829.112931.3650.0003.trc" in response to an event

/var/log/tomcat6/catalina.out shows the jvm encountering a double free error condition:

*** glibc detected *** /usr/lib/jvm/java/bin/java: double free or corruption (out): 0x00007f6c8c84d410 ***
======= Backtrace: =========
/lib64/libc.so.6[0x39bf675916]
/lib64/libc.so.6[0x39bf678443]
/lib64/security/pam_krb5.so(+0xa30e)[0x7f6c9df7a30e]
/lib64/security/pam_krb5.so(+0xafa5)[0x7f6c9df7afa5]
/lib64/security/pam_krb5.so(pam_sm_authenticate+0x2af)[0x7f6c9df741df]
/lib64/libpam.so.0[0x342d202cee]
/lib64/libpam.so.0(pam_authenticate+0x40)[0x342d202600]
/usr/lib/libjpam.so(Java_net_sf_jpam_Pam_authenticate+0x17a)[0x7f6d301fc1f6]
/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1.x86_64/jre/lib/amd64/default/libj9vm24.so(+0x2a2a3)[0x7f6d4e7462a3]

Environment

  • RHN Satellite 5.4.1 on RHEL6
  • pam authentication

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In