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...