Reason : ORA-28040: No matching authentication protocol
Oracle DBμ μ μνλ €νλ μμ κ°μ΄ ORA-28040 μλ¬κ° λ°μνμ¬ κ΅¬κΈλ§ν κ²°κ³Ό, μλ²μ ν΄λΌμ΄μΈνΈμ μ€λΌν΄ λ²μ μ΄ λ¬λΌ λ°μνλ λ¬Έμ λΌκ³ νλ€. μμ 리λ μ€λ λ²μ νλνλκ° μ λ§ μ€μνλ€λ κ±Έ λ€μ κΉ¨λ«κ² λλ―.
Oracle 11g λ²μ μ μ¬μ©ν΄μΌ νλλ°, μ€λΌν΄ ννμ΄μ§μμλ 21λ²μ κΉμ§ λμ λ κ±°μκ° 19cμΈκ°? μλ¬΄νΌ λμ΄μ 11g λ²μ μ λ°°ν¬νμ§ μμμ μ μ λ€μ΄ ν¬λΌμ μ¬λ¦°(λ°±μ μ©) νμΌλ‘ λ€μ΄νμλ€.
- oracle-xe-11.2.0-1.0.x86_64.rpm.zip
λ€μ΄λ‘λν νμΌμ μλ²μ λ£κ³ , μμΆμ ν΄μ νμ¬ μ€μΉλ₯Ό μ§ννλ€.
μλ λͺ λ Ήμ μ€ννμ¬ μμΆμ νλ©΄ Disk1μ΄λΌλ ν΄λκ° νλ μμ±λλ€.
$ unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
Disk1 ν΄λμ λ€μ΄κ° μ€μΉλ₯Ό μ§νν΄μ€λ€. μ€μΉ κ°μ΄λμλ alien(λ³ν λꡬ)λ₯Ό μ€μΉνμ¬ rpm νμΌμ deb νμΌλ‘ λ³νν΄μ μ€μΉνλΌκ³ λμ΄μλ κ² κ°μλ°, Disk1 ν΄λ λ΄μ μλ μ€μΉ νμΌμΈ rpm νμΌμ΄ μκΈΈλ μ΄κ±Έλ‘ μ€μΉνλ€.
$ rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
μ€μΉκ° μλ£λλ©΄ μλμ κ°μ λ©μμ§κ° μΆλ ₯λλ€.
μν€λλλ‘... ν΄λΉ λͺ λ Ήμ΄λ₯Ό μ λ ₯ν΄μ£Όλ©΄ 4κ°μ μ 보λ₯Ό μꡬνλ€.
$ /etc/init.d/oracle-xe configure
- HTTP port : ν¬νΈ
- database listener : μ€λΌν΄ ν¬νΈ
- inital configuration : λΉλ°λ²νΈ
- Confirm the password : λΉλ°λ²νΈ νμΈ
- on boot
κ°κ° μ λ ₯ν΄μ€ λ€ μλ μ½λλΈλ λΆλΆλ§ λ°λΌν΄μ£Όλ©΄ μ€λΌν΄ μ€μΉ μλ£!
### μ€λΌν΄ μ€ν
$ /etc/init.d/oracle-xe start
### λ°©νλ²½ κ°λ°©
$ firewall-cmd --permanent --add-port=1521/tcp
$ firewall-cmd --reload
### νκ²½λ³μ μ€μ (건λλ°λ©΄ sqlplus command not found λ°μ)
$ vi /etc/profile
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export PATH=$ORACLE_HOME/bin:$PATH
### μ μ© ν μ¬λΆν
$ source /etc/profile
$ reboot