Error Oracle di Linux Ubuntu

Posted: May 3, 2010 in Linux, Oracle

Sedikit tips & triks siapa tau berguna di kemudian hari, setelah kemarin database Oracle XE yang saya install
sudah berjalan tapi setelah di restart rupanya terjadi error lagi ketika saya mencoba untuk login ke database
lewat console yg error nya seperti ini.

ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory
segment
Linux Error: 13: Permission denied

setelah cari di google di dapat referensi pemecahannya seperti ini
$ cd $ORACLE_HOME/bin
$ chmod 6751 oracle


tapi masih bingung kok ga bisa juga ya :(
rupanya file tersebut terletak di
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
nah dari situ silahkan rubah file oracle seperti contoh di bawah ini dengan user root
$sudo chmod 6751 oracle

bandy@bandy:~$ /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus

SQL*Plus: Release 10.2.0.1.0 – Production on Thu Apr 29 09:52:09 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: system
Enter password:

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 – Production

SQL> show user
USER is “SYSTEM”
SQL>

nah akhirnya bisa juga :)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s