oracle服务器登陆命令

使用oracle用户

[root@localhost ~]# su - oracle 

查看监听与启动

[oracle@localhost ~]$ lsnrctl status
[oracle@localhost ~]$ lsnrctl start

dba身份登陆orcale

[oracle@localhost ~]$ sqlplus /nolog

SQL> connect sys/ as sysdba
SQL> startup
SQL> shutdown immediate


问题1:

bash: sqlplus: command not found

[root@localhost ~]# ln -s $ORACLE_HOME/bin/sqlplus /usr/bin

问题2:启动失败

SQL> startup pfile='/opt/orcale/...'



 






 

你可能感兴趣的:(oracle)