从命令行重启Oracle监听器

请Infra的同事重启Oracle主进程之后,从客户端一直没能连接得上去。
于是我就纳闷了。我想:是否Oracle服务器上的监听器没有启动成功。

通过 PUTTY 远程登录 Linux 服务器,

su - oracle

从 root 用户 转为 oracle 用户。

以system用户登入sqlplus,然后执行命令

startup


被告知服务主程序已经启动。

lsnrctl start


重启监听器之后,从客户端顺利地连接上Oracle服务器了。

参考文章:[url]http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/network004.htm[/url]

关键字: Oracle listener start

Starting and Shutting Down the Listener

The Oracle listener is set up to start automatically whenever your server machine is restarted. However, when your system encounters unforeseen circumstances, or when you have manually stopped the listener, you can restart it at the command line. To do so, use the following:

lsnrctl start

You can use Enterprise Manager to stop the listener. To do so, navigate to the Listener: listener_name page by clicking Listener on the Home page. To shut down the listener, click Stop.

You can also stop it at the command line using the following:

lsnrctl stop
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值