开发者

Postgres Error (Getting PLJava set up)

I have been struggling with a problem trying to get PLJava to work on PostgreSQL on RHEL.

Here is what I have (based off of this: PL/Java README)

.cshrc

setenv JAVA_HOME /opt/jdk1.6.0_17/
setenv LD_LIBRARY_PATH ${JAVA_HOME}/jre/lib/i386
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/jre/lib/i386/client
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/jre/lib/i386/native_threads
setenv PG_DATA /var/lib/pgsql/da开发者_如何学JAVAta

log output

DEBUG:  find_in_dynamic_libpath: trying "/usr/lib/pgsql/pljava"
DEBUG:  find_in_dynamic_libpath: trying "/usr/lib/pgsql/pljava.so"
ERROR:  could not load library "/usr/lib/pgsql/pljava.so": libjvm.so: failed to map segment from shared object: Permission denied

Can anyone tell me what this actually means?

libjvm.so: failed to map segment from shared object: Permission denied

I realize this is a pretty specific question, but I am really struggling with this and any ideas would be welcome.


needed to turn off SELinux in RHEL

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜