Friday, 26 March 2010

A reminder to myself - SEL

As an aide-memoire to myself, as most of my blog postings are, I hit this exception today: -

"JVMJ9VM011W Unable to load j9jit23"
"JVMJ9VM011W Unable to load jclscar_23: cannot restore segment prot after reloc: Permission denied"

etc.

when running Java-based WebSphere commands such as versionInfo.sh and WPVersionInfo.sh, even though WebSphere Portal 6.1.5 had installed and started without problems ( this being on a 64-bit instance of Red Hat Enterprise Linux 5.1 ).

which led me to this semi-related Technote: -

Impact 5.1 is not starting on any Security-enhanced Linux (SELinux) system

which helped resolve the problem - in my case, I chose to "tell" my current user's shell to ignore SELinux, via the command: -

setenforce 0

but I could have as easily disabled it by setting "SELINUX=disabled" in the /etc/selinux/config and then rebooting.

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...