리눅스 재부팅 후 오라클 계정이 접속 안되는 현상??
안녕하세요
이번에 오라클을 배워보려는 초심자 학생입니다.
다름이 아니오라 리눅스에서 오라클을 설치해보려고
10g를 설치했는데
설치가 완전히 끝나고 나서 system,scott등의 계정으로 접속하여 확인을 했을때는 이상없이 접속이 잘 되었는데
리눅스를 재부팅하고 다시 접속하려 하자 접속이 안되고
Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
이렇게만 계속 나오는 겁니다.
그래서 다시 지웠다 다시 설치했어도
마찬가지였습니다.
검색으로 알아보니 리스너를 다시 시작해줘야 한다고 그래서
lsnrctl start를 실행해서 다시 해보니
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-APR-2009 18:55:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /home/oracle/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 29-APR-2009 18:55:25
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
이렇게 나왔습니다.
system과 다른 계정으로 다시 접속을 시도해봤지만
역시 마찬가지로 접속이 되질 않았습니다.
이틀째 이것때문에 계속 지웠다 깔았다만 반복하였다가
결국 이렇게 도움을 청하게 되었습니다.
무엇이 문제이고
해결방안이 무엇인지 아시는 분이 계시다면 조언을 부탁드립니다.
01034, 00000, "ORACLE not
01034, 00000, "ORACLE not available"
// *Cause: Oracle was not started up. Possible causes include the following:
// - The SGA requires more space than was allocated for it.
// - The operating-system variable pointing to the instance is
// improperly defined.
// *Action: Refer to accompanying messages for possible causes and correct
// the problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// verify that Oracle was linked correctly. See the platform
// specific Oracle documentation.
시작을하세요...^^
감사합니다.
startup이라는것을 안해줘서 그런거였네요...
이제 됩니다..^^
댓글 달기