Tuesday, August 26, 2014

Oracle XE database configuration failed


Oracle XE 11g (Express edition) installation error in CentOS Linux

Error:

/etc/init.d/oracle-xe configure
Starting Oracle Net Listener...Done
Configuring database...
Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details

Solution:

Your host was not specified in /etc/hosts. You can solve it by command executed under root user:
sudo su
echo "127.0.0.1   "`hostname` >> /etc/hosts



Solve Dependencies:

Install required packages by entering commands:
sudo su
yum install libaio bc flex
rpm -i oracle-xe-11.2.0-1.0.x86_64.rpm

No comments: