aws

[AWS] EC2 Oracle 계정 연결 시에 발생한 에러

tonirr 2020. 7. 8. 18:00
  • 에러
    • sqlplus / as sysdba
      • SQL> startup
        • ORA-00845: MEMORY_TARGET not supported on this system
      • SQL> conn 계정명/계정비밀번호
        • ORA-00845: MEMORY_TARGET not supported on this system
  • 해결 과정
    • 아래 명령어로 /dev/shm 공간을 늘려주기
      • mount -t tmpfs shmfs -o size=48g,remount /dev/shm 
      • 근본적인 해결은 아닌 것 같음 df -h로 공간이 늘어난 것을 확인하고 다시 해당계정으로 연결하려고 하면 같은 오류가 발생하였음
    • 결국 aws 에서 제공하는 RDS를 사용하기로 함
  • 참고