HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

sqlplus (Oracle XE) doesn't start on CentOS 7

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
centosdoesnstartoraclesqlplus

Problem

I followed the steps of this document: https://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL121, but sqlplus doesn't start. Even if I used the command: "sqlplus /nolog".
The other services start: APEX, Main page on: 127.0.0.1:8080, and It can connect with SYSTEM user in the page. However, sqlplus still doesn't start.
I executed the command: /etc/init.d/oracle-xe start, and shows a message with "OK".

When I check the status of the oracle-xe service, it shows: active (exited).

-
What does it mean "exited"? Why not "running"?

-
How can I execute sqlplus?

Solution

This version of Oracle XE is based on 11g2 edition, which is not compatible with CentOS 7.

In fact, it isn't even 100% compatible with CentOS 6, however it will run there without problems, after you install a number of RPM packages not installed/required by Oracle installer (especially libaio both 32/64-bit).

These are formal OS requirements for XE 11g2:

  • Oracle Linux, Red Hat Enterprise Linux, or CentOS - versions 4.7+ or 5.2+



  • SUSE Linux Enterprise Server - versions 10 SP2 or 11

Context

StackExchange Database Administrators Q#105334, answer score: 2

Revisions (0)

No revisions yet.