Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Monday, October 12, 2015

Oracle 10.2.0.1 in RHEL 5.4 64bit libXp.so.6: cannot open shared object file

Error while installing Oracle 10.2.0.1 in RHEL 5.4 64bit libxp.so.6: cannot open shared object file

while issuing

$ ./runInstaller


Error 500--Internal Server Error
java.lang.UnsatisfiedLinkError: /home/hpsindia/bea/jrockit81sp6_142_10/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Ljava.lang.String; )V(Native Method)
at java.lang.ClassLoader.loadLibrary0(Ljava.lang.Class;Ljava.io.File; )Z(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Ljava.lang.Class;Ljava.lang.String;Z)V(Unknown Source)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(Ljava.lang.String; )V(Unknown Source)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
at java.awt.Toolkit.(Toolkit.java:1458)
at java.awt.Color.(Color.java:250)
at net.sf.jasperreports.engine.xml.JRXmlConstants.getColor(JRXmlConstants.java:1251)
at net.sf.jasperreports.engine.xml.JRElementFactory.createObject(JRElementFactory.java:138)
at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
at org.apache.commons.digester.Digester.startElement(Digester.java:1361)
at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java :221)
at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:618)


SOLUTION: Install the required rpm's

# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
# rpm -ivh libXp-1.0.0-8.1.el5.x86_64.rpm
# rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
# rpm -ivh libXp-devel-1.0.0-8.1.el5.x86_64.rpm

Saturday, January 17, 2015

RPM commands

Installing new rpm package
# rpm -ihv package file name [Enter] 

Updating rpm package
# rpm -Uhv package file name [Enter] 

Installing rpm Package without dependencies
# rpm -ivh --nodeps package file name [Enter]

Uninstalling particular rpm package
# rpm -e package name [Enter] 

Remove an rpm package without dependencies
# rpm -ev --nodeps package name [Enter]

To check rpm particular package
# rpm -q application name [Enter]

Displays rpm package list
# rpm -qa [Enter] 

Check dependencies of rpm Package before Installing
# rpm -qpR package name [Enter]

Detailed view of the package info
# rpm -qi package name [Enter] 

Display list of packages that are installed in the appropriate package
# rpm -ql package name [Enter] 

Display of package names that contain the appropriate file
# rpm -qf file name [Enter] 

Display of the file that the package is dependent
# rpm -qR package name [Enter] 

Monday, January 5, 2015

Disable The Iptables Firewall in CentOS/RHEL

Check the Status of The Iptables Firewall
Check the Status of The Iptables IPv4 Firewall
Run the following command to check the status of the iptables IPv4 firewall :
# service iptables status

Check the Status of The Iptables IPv6 Firewall
Run the following command to check the status of the iptables IPv6 firewall :
# service iptables status

Disable The Iptables Firewall
Use the following commands to stop the Iptables Firewall and remove it from autostart.

Disable The Iptables IPv4 Firewall
Run the following commands to stop the iptables firewall for IPv4 :
# service iptables save
# service iptables stop
# chkconfig iptables off

Disable The Iptables IPv6 Firewall
Run the following commands to stop the iptables firewall for IPv6 :
# service iptables save
# service iptables stop
# chkconfig iptables off

Enable The Iptables Firewall
Use the following commands to start the Iptables Firewall and add it to autostart.

Enable The Iptables IPv4 Firewall
Run the following commands to start the iptables firewall for IPv4 :
# service iptables start
# chkconfig iptables on

Enable The Iptables IPv6 Firewall
Run the following commands to start the iptables firewall for IPv6 :
# service iptables start
# chkconfig iptables on