Home  >  Article  >  Database  >  Linux系统查看Oracle服务是否启动

Linux系统查看Oracle服务是否启动

WBOY
WBOYOriginal
2016-06-07 16:51:352472browse

Linux系统在Oracle用户下可以用ps -ef|grep ora查看,是否有Oracle的进程,如果有,大多数情况说明启动了,为了更进一步验证,可以登录一下,或查

Linux系统在Oracle用户下可以用ps -ef|grep ora查看,是否有Oracle的进程,如果有,大多数情况说明启动了,为了更进一步验证,可以登录一下,或查看alert日志

如果没启动,就可以在Oracle用户下执行以下命令

单机有两种:1和2

1、sqlplus sys/passwd as sysdba,
startup
2、sqlplus /nolog
conn / as sysdba
startup

查看监听的方法
lsnrctl stat
启动监听
lsnrctl start 

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn