通过sqlplus启动正常.
但是通过dbstart启动不了.
日志提示: error :
ora-01031 : insufficient privileges
./dbstart : Database instance "sss(实例名)" warm started.
有熟悉问题的朋友们请帮忙. 谢谢!!!
但是通过dbstart启动不了.
日志提示: error :
ora-01031 : insufficient privileges
./dbstart : Database instance "sss(实例名)" warm started.
有熟悉问题的朋友们请帮忙. 谢谢!!!
解决方案 »
- 请用2种不同的sql写法,统计出所有部门下的员工人数,若某部门下不存在员工,则统计显示为0.显示结果为: 部门编号、员工人数
- 存储过程中select...into / execute immediate ... into 赋值总是空
- 新手求教: 触发器
- 日期查询的优化
- c#如果动态创建oracle数据库、表
- 求一个2个数据库表的查询方法
- oracle里存储过程怎么调用存储过程,有out返回参数?
- 如何同时连接两台机器上相同SID的数据库
- 征求oracle的sql语句中一个数字字符串求值函数例如字符串‘136138978254’求的各个数字相加的和,谢谢了
- 请斑竹和专家高手们帮忙
- 什么工具能满足我的要求?
- 数据库的事物设置
oracle10g dbstart不能启动的问题
lsnrctl start 可以正常启动
dbstart 启动不了 抛错如下: [oracle@lc ~]$ dbstart
Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
Processing Database instance "lc": log file /orac/product/10.2.0/startup.log
经过查询,和咨询,发现是dbstart脚本有点问题,在这里写出来,希望能帮到大家。
[root@lc ~]# vi /opt/oracle/product/10.2.0/bin/dbstart
77 # Set this to bring up Oracle Net Listener
78 #ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle
79 if [ ! $ORACLE_HOME_LISTNER ] ; then
80 echo "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener" 把ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle注释掉然后修改/home/oracle/.bash_profile
添加export ORACLE_HOME_LISTNER=$ORACLE_HOME一句
生效变量:
[root@lc ~]# source /home/oracle/.bash_profile
然后再lsnrctl start
dbstart 就可以了。
其实要启动数据库,就是一下这些语句(必须切换到oracle用户:su - oracle):
sqlplus "/as sysdba"
sql>startup -- (这里的startup 包含startup nomount;alter database mount;alter database open;)
sql>exit
你先试着做,如果在sqlplus "/as sysdba"命令执行时就出现错误:insufficient privileges
那么可能是sqlnet.ora 里的这一行:SQLNET.AUTHENTICATION_SERVICES=(NONE)
没有注释掉
sqlplus / as sysdba;
startup;
这才是正常的使用办法
如果是在本机启动,重要重建密码文件。
命令行执行:D:\>orapwd file=d:\oracle\ora92\DATABASE\PWDtest.ORA password=SYS entries=10另外,一定要用sys用户登录。
connect / as sysdba ,
接着再启动。