Skip to main content


Showing posts from January, 2013 problem when installing oracle

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-22_10-21-26AM. Please wait ...[oracle@orcltest database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-01-22_10-21-26AM/jdk/jre/lib/amd64/xawt/ cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0( at java.lang.ClassLoader.loadLibrary( at java.lang.Runtime.load0(

This may be encountered when installing oracle database on a redhat linux server. That's because libXp package was not installed on the RHEL5/6 system. Just install the libXp packege.

SOLR4 how to abort running dataimport command

First you can get current dataimport status with the following url in a multicore environment: http://<solr4_server_ip>:<port_number>/solr/<core_name>/dataimport?command=status
Probably you may have seen the following result: <str name="importResponse">A command is still running...</str>
Then this command can be aborted with the following url: http://<solr4_server_ip>:<port_number>/solr/<core_name>/dataimport?command=abort

bash script include config file

With source command static variables may be included from the main bash script like:
source /etc/script.config

And content of config file may like:
app_list=('app1' 'app2' 'app3')