oracle连接报错:Listener does not currently know of service requested in connect descriptor

今天早上上测试环境,发现oracle又停了,真的很莫名其妙,客户端连接报错:Listener does not currently know of service requested in connect descriptor;首先肯定是上服务器看oracle的状态,没有运行,然后启动:lsnrctl start,启动成功,继续连接,还是失败,还是那个报错,无语。然后管理员登录:sqlplus / as sysdba;startup nomount;alter database mount;alter database open。连接成功!

你可能感兴趣的:(#,Oracle日常报错)