Service oracle start出错(oracle unrecognized service)解决方法

 

service oracle start出错,oracle 启动不了,解决oracle : unrecognized service错误的方法如下:

[hitony ~]# service oracle start
oracle : unrecognized service
[hitony ~]# service oraclere start
oracle : unrecognized service

[hitony ~]# rpm -q oracle查询发现oracle已经正常安装
oracle -5.1.52-jason.1

[hitony ~]# /etc/rc.d/init.d/oracle start 直接启动没问题
Starting oracle: [ OK ]


[hitony ~]# ls /etc/rc.d/init.d/oracle -l
-rwxr-xr-x 1 root root 5509 Dec 18 02:31 /etc/rc.d/init.d/oracle

[hitony ~]# chkconfig oracle on 设置oracle开机启动

[hitony ~]# chmod 755 /etc/rc.d/init.d/oracle 修改oracle执行权限

[hitony ~]# service oracle start 搞定
Starting oracle: [ OK ]
[hitony ~]# service oracle start
Starting oracle: [ OK ]
[hitony ~]# service oracle status
oracle (pid 9487) is running...

posted @ 2018-05-31 14:24  路西的早晨  阅读(273)  评论(0编辑  收藏  举报