Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. Show all posts

Monday 28 February 2022

Oracle Error Solution : EXP-00008: ORACLE error 1455 encountered

 How to I complete my export without the EXP-0008 Oracle error 1455?

Answer:  This is likely a bug. See Bug # bug #4270321.

Also, see MOSC note 351233.1, issue in 9.2.0.4.0 fixed in 10.2.0.

Try adding this to get around the bug:

    constraints=n indexes=n statistics=none

solution :-


Try adding below parameter to resolved this issue.

constraints=n indexes=n statistics=none

[oracle@sonu EXPIMP]$ exp system/password owner=DEV file=DEV.dmp log=DEV.log constraints=n indexes=n statistics=none


issue resolved.



Saturday 8 January 2022

Oracle Error Solution : ORA-65096: invalid common user or role name

Pada kesempatan ini penulis ingin berbagi ilmu mengenai solusi ketika mendapatkan error ORA-65096: invalid common user or role name.

Adapaun solusinya mohon ketikan script di bawah ini pada user system atau sys pada oracle user :

 connect system/passwor as sysdba

alter session set "_ORACLE_SCRIPT"=true;


Demikian postingan berbagi ilmu kali ini semoga bermanfaat 


Source : http://www.dba-oracle.com/t_ora_65096_create_user_12c_without_c_prefix.htm

Monday 28 January 2019

Cara menangani error ORA-28001: THE PASSWORD HAS EXPIRED

Berikut cara menangani ORA-28001: THE PASSWORD HAS EXPIRED


1. Konek ke oracle database sebagai sysdba
C:\Users\Siry>sqlplus / as sysdba
2. Jalankan query berikut set password life time ke unlimitied.
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered.
3. Set password untuk locked password
SQL> ALTER USER user_name IDENTIFIED BY password;
User altered.
4. Unlock akun user
SQL> ALTER USER user_name ACCOUNT UNLOCK;
User altered.
5. memastikan user tidak terlock lagi
SQL> SELECT USERNAME,ACCOUNT_STATUS FROM DBA_USERS;
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
HR                             OPEN
ANONYMOUS                      OPEN
APEX_040000                    LOCKED
FLOWS_FILES                    LOCKED
XDB                            EXPIRED & LOCKED
CTXSYS                         EXPIRED & LOCKED
MDSYS                          EXPIRED & LOCKED
SYSTEM                         OPEN
SYS                            OPEN
user_name                      OPEN
SIRY                           OPEN

USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
APEX_PUBLIC_USER               LOCKED
XS$NULL                        EXPIRED & LOCKED
OUTLN                          EXPIRED & LOCKED

15 rows selected.
Demikian langkah-langkah untuk menangani error ORA-28001: THE PASSWORD HAS EXPIRED pada oracle database.

Sumber : https://hecpv.wordpress.com/2014/10/16/how-to-solve-ora-28001-the-password-has-expired/

Saturday 21 January 2017

Solusi Error Oracle Database ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

The ORA-01589 error mengindikasikan bahwa anda belum menyelesaikan recovery dan anda perlu untuk recover yang belum selesai dan kemudian reset logs sebelum akan open database.

Berikut ini adalah script penangannya :

C:\>rman target /   

RMAN> recover database;   

<....... output omitted .......> 

archive log thread 1 sequence 2 is already on disk as file C:\oracle\product\10.2.0\oradata\test\redo01.log 
archive log 
filename=C:\oracle\oradata\test\redo01.log thread=1 sequence=2 

media recovery complete, elapsed time: 00:00:01
 
Finished recover at 19-AUG-09  



Sekarang telah menjalankan recovery dengan baik,  kita jalankan script resetlog dan kemudian open database database:

shut immediate;
startup mount:
alter databse open resetlogs;
Next, we can open the database:

 alter database open;


Source : http://www.dba-oracle.com/t_ora_01589_must_use_resetlogs.htm

Sunday 12 April 2015

Koneksi Databas Link tanpa tns oracle

Sebagai seorang programmer mungkin anda pernah bingung ingin menghubungkan antar database pada oracle dblink namun harus mengkonfigurasi tns.ora dulu, nach disini ada satu cara yang dapat dilakukan untuk mengkoneksikannya dengan mudah.

Berikut ini source codenya :

1 create database link testlink_db2
2 connect to system identified by oracle
3 using
4 '(DESCRIPTION=
5 (ADDRESS=
6 (PROTOCOL=TCP)
7 (HOST=localhost)
8 (PORT=1521))
9 (CONNECT_DATA=
10 (SID=orcl)))'
11 /

demikian postingan dari saya mudah-mudahan bermanfaat bagi para pembaca.