问题描述:生产库停机加内存和CPU,重启完服务器,启动数据库报错。
ORA-09925: Unable to create audit trail file Linux-x86_64 Error 2:No such file or directory Additional information: 9925 ORA-01075:you are currently logged on
1.首先查看资源是否受限,本次是做停机加资源的操作,资源添加正常,数据库启动报错。环境是centos7.7的单机11g。
--查看磁盘空间
--查看文件个数
df -i 正常
--查看内存和cpu状态正常
2.导入实例名查看本机的实例都有哪些
cat /etc/oratab
export sid 和查看oratab只有一个实例
3.查看到实例的pmon进程还在,但是sqlplus进去提示audit trail file 创建失败,尝试kill掉这个进程,然后重新启动
4.kill掉实例进程
5.重新startup,kill掉pmon需要等一会,oracle相关进程才消失
ORA-00844:Parameter not taking MEMORY_TARGET into account ORA-00851:SGA_MAX_SIZE 5150605312 cannot be set to more than MEMORY_TARGET 4932501504.
6.查看pfile文件,新生成pfile文件
7.注释memory参数
memory max target
memory target