Yondata
728x90
반응형
SMALL
[oracle] 오라클 기동,중지,셧다운,재시작,리스너확인
Database 2023. 5. 19. 13:05

Oracle 기동 프로세스 #oracle 설치 계정 접속 ex)ora11g [ora11g]$ sqlplus '/as sysdba' #oracle start SQL > startup; SQL > exit #oracle listener 시작 [ora11g]$ lsnrctl start #oracle listener 확인 [ora11g]$ ps -ef | grep lsnr [ora11g]$ lsnrctl status Oracle 중지(shutdown) 프로세스 #oracle 설치 계정 접속 ex)ora11g [ora11g]$ sqlplus '/as sysdba' #immediate는 강제 shutdown SQL > shutdown immediate; SQL > exit #oracle listener 종료 [or..

article thumbnail
[oracle] ORA-28000: the account is locked 오라클 계정 lock 풀기
Database 2023. 3. 14. 11:00

데이터 베이스 접속하니까 ORA-28000: the account is locked 발생 계정이 잠겨있어 시스템 계정으로 풀어 줘야 한다 계정 Locked 정보 확인 SELECT username, account_status, lock_date FROM dba_users; Lock 계정이 LOCKED 라고 되어 있다. (LOCK 사용자 확인) 계정 Unlock 하기 ALTER USER 사용자명 ACCOUNT UNLOCK; 사용자명에 Lock 유저 작성하고 스크립트 돌리면 완료 계정 비밀번호 바꾸기 ALTER user 사용자명 identified by 변경비밀번호 리눅스 환경 1. sys 계정 접속 sqlplus "/as sysdba" 2. LOCK 계정 확인 LOCKED 확인 SELECT username,..

article thumbnail
[Oracle11g] ORA-00020 maximum number of processes (150) exceeded 오류해결 및 재기동
Database 2023. 3. 13. 15:59

데이터베이스 접속 하려니까 listener refused the connection with the following error : ora-12516, tns:listener could not find available handler with matching protocol stack 오류 발생 ORA-00020 maximum number of processes (150) exceeded sys 계정으로 접속하니 오류발생 해결방법 : init.ora 세션갯수 수정 ( 150 -> 500) init.ora 경로 /dbms/oracle11.2.0.1.0/app/ora11g/product/11.2.0/dbhome_1/dbs/init.ora oracle 설치경로 밑에 dbs 경로에 init.ora 존재함 pro..

728x90
반응형
LIST