Oracle-XEの管理者パスワード

Cent-OSv5.6でOracleXE11gr2をインストール。

# rpm -ivh Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm⏎
Preparing...                ########################################### [100%]
   1:oracle-xe              ########################################### [100%]
Executing post-install steps...

You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

# /etc/init.d/oracle-xe configure⏎

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express 
Edition.  The following questions will determine whether the database should 
be starting upon system boot, the ports it will use, and the passwords that 
will be used for database accounts.  Press <Enter> to accept the defaults. 
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:⏎

Specify a port that will be used for the database listener [1521]:⏎

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of 
different passwords for each database account.  This can be done after 
initial configuration:(管理者パスワード)⏎
Confirm the password:(管理者パスワード)⏎

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:⏎

Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

成功した模様。
sqlplusを実行する。

#sqlplus system⏎
SQL*Plus: Release 11.2.0.2.0 Production on Sat Jan 16 14:09:27 2016

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

Enter password: (管理者パスワード)⏎
ERROR:
ORA-01017: invalid username/password; logon denied

インストール時に入力したはずの管理者パスワードを受け付けてくれない…。
実はOracleの管理者パスワードとCentOSログインユーザーの管理者パスワードを同じにしている。
これが怪しいかも…。
試してみよう。
oracle-xeをアンインストールする。

#rpm -e oracle-xe

もう一度インストールする。

# rpm -ivh Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm⏎
Preparing...                ########################################### [100%]
   1:oracle-xe              ########################################### [100%]
以下同様。
・
・
・

initial configuration:(CentOSログインユーザーとは異なるパスワードにする)⏎
Confirm the password:(CentOSログインユーザーとは異なるパスワードにする)⏎
以下同様。
・
・
・

Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

再チャレンジ。

# sqlplus system

SQL*Plus: Release 11.2.0.2.0 Production on Sat Jan 16 18:28:55 2016

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

Enter password: 

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

SQL> 

成功!

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です