本帖最后由 shizhi2829 于 2012-12-16 18:24 编辑 按着视频一步步操作的,可是他们用netca配置完之后然后ps -ef 都会看到监听listener启动了,可是我的就是没有,用命令lsnrctl start报错,哪位牛人帮帮小弟啊 我的.bash_profile文件配置如下: 我安装的时候只安装了软件还没有用dbca安装数据库,安装完毕后直接netca,之后就ps -ef 然后也没见有listener那个进程,用lsnrctl start查时候就报错了,什么情况啊是我哪里配置错...
我刚在FEDORA 上装了oracle9.2 ,刚开始很正常的,添加oracle用户,建新表等操作都可以的. 但,当我重启linux 后,问题就出来了. $ lsnrctl start error while loading shared libraries: libclntsh.so: cannot open shared object file: No such file or directory $ sqlplus /nolog error while loading shared libraries: libclntsh.so: cannot open shared object file: No such file or directory 都无法把oracle启动起来~~~~~
我使用的是linux6.2+oraclei8.1.6每次在启动linux后要手动启动oracle数据库服务,很麻烦。怎样在启动linux时自动启动oracle??!! 还有如果我要新建一个库应该怎样作呀!!??oracle有没有菜单操作呀(其它一些数据库在服务器端都提供菜单操作如informix的dbaccess)!!!??
linux下系统开机oracle自启动
以root身份登录:
$su - root
1、linux下oracle自带的dbstart和dbshut没反应:
修改oracle系统配置文件/etc/oratab文件: #vi /etc/oratab
/etc/oratab 格式为: SID:oracle_HOME:AUTO
把AUTO域设置为Y(大写),我的为:
oradb:/opt/u01/app/oracle/product/9.2.0.4:Y
&n...
首先我启动了监听程序[code] LSNRCTL for linux: Version 11.2.0.1.0 - Production on 01-DEC-2011 05:06:48 Copyright (c) 1991, 2009, oracle. All rights reserved. Starting /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for linux: Version 11.2.0.1.0 - Production System parameter file is /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora Log...
请教linux下oarcle的问题,现象是这样的 启动的时候抱错: Database mounted. ORA-01113: file 2 needs media recovery ORA-01110: data file 2: '/app/oracle/oradata/ARL/undotbs01.dbf' 上网一搜,执行了 SQL> alter database datafile '/app/oracle/oradata/ARL/undotbs01.dbf' offline drop; Database altered. SQL> alter database open; alter database open * ERROR at line 1: ORA-01113: file 5 needs media recovery...
首先在/etc/rc.d/init.d/目录下配置oracle的服务文件。 touch oracle10g chmod a+x oracle10g 然后编辑此oracle10g文件。内容如下。 # !/bin/bash # whoami # root # chkconfig: 345 51 49 # description: starts the oracle dabase deamons # ORA_HOME=/opt/oracle ORA_OWNER=oracle case "$1" in 'start') echo -n "Starting oracle10g: " su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart" & su - $ORA_OWNER -c "$ORA_HOME/bin/ls...
1、 修改oracle系统配置文件/etc/oratab /etc/oratab 格式为: SID:oracle_HOME:AUTO 把AUTO域设置为Y(大写),只有这样,oracle 自带的dbstart和dbshut才能够发挥作用。我的为: ora9i:/home/oracle/ora/products/9.2.0:Y 2、 编写服务脚本: 如下 #!/bin/bash # #################FUNCTION############# # # Auto Start oracle and listener # AutoStop oracle and listener # ...
linux下系统开机oracle自启动 以root身份登录: $su - root 1、linux下oracle自带的dbstart和dbshut没反应: 修改oracle系统配置文件/etc/oratab文件: #vi /etc/oratab /etc/oratab 格式为: SID:oracle_HOME:AUTO 把AUTO域设置为Y(大写),我的为: oradb:/opt/u01/app/oracle/product/9.2.0.4:Y 只有这样,oracle 自带的dbstart和dbshut才能够发挥作用。 2、修改/etc/rc.d/rc.local配置文件 在/etc/rc.d/rc...