查看监听listener的命令 lsnrctl status
关闭监听 lsnrctl stop
启动监听 lsnrctl start
注册监听 alter system register (需要连接数据库SYS@wubin01>alter system register; 手工注册)
报错:could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initcapaas.ora'
解决办法:
[oracle@localhost oracle]$ find /u01 -name pfile
/u01/app/admin/orcl/pfile
[oracle@localhost oracle]$ cd /u01/app/admin/orcl/pfile
[oracle@localhost pfile]$ ls
init.ora.5252012131333
[oracle@localhost pfile]$ cp init.ora.5252012131333 /u01/app/oracle/dbs/initliusuping.ora
即找到另外一个ora文件,然后把它复制到/u01/app/oracle/dbs下面,并重命名为initliusuping.ora