我刚在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启动起来~~~~~
by law7890 - Oracle - 2006-03-10 16:52:34 阅读(1328) 回复(9)
我使用的是linux6.2+oraclei8.1.6每次在启动linux后要手动启动oracle数据库服务,很麻烦。怎样在启动linux时自动启动oracle??!! 还有如果我要新建一个库应该怎样作呀!!??oracle有没有菜单操作呀(其它一些数据库在服务器端都提供菜单操作如informix的dbaccess)!!!??
好久没来cu了也很久没发帖子了 上次注册的名字忘了只好新注册一个用户 以前发了一个关于apapche和resin整合的帖子 现在在发一个关于oracle的帖子 因为最近在学习java 所以要用到oracle 就在linux下装了一下 我用的是redhatlinuxas4up2 这是个安装脚本gunzip ship.gz cpio idmv-ship.cpio create user group groupadd dba groupadd oinstall useradd -g oinstall -G dba -d /home/oracle -s /bin/bash passwd oracle script_wr...
linux下oracle备份脚本--exp DATAEXPORT文件內容 ############################################################################ oracle_HOME=/u/product/oracle816; export oracle_HOME LD_LIBRARY_PATH=/u/product/oracle816/lib; export LD_LIBRARY_PATH oracle_BASE=/u/product; export oracle_BASE oracle_SID=man; export oracle_SID ORA_NLS33=/u/product/oracle816/ocommon/nls/admin/data; export ORA_NLS33 PATH=$PATH...
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 # ...
SQL>; connect / as sysdba ERROR: ORA-09817: Write to audit file failed. linux Error: 28: No space left on device ORA-09945: Unable to initialize the audit trail file linux Error: 28: No space left on device 请问各位高手怎么解决,谢谢!
按照网上的说法先添加以下脚本: 下面是init/etc/init.d下ora文件脚本 --------------------------- OPT_=$1 case "$OPT_" in start) /bin/echo "$0 : (start)" # # Your service startup command goes here. # su - oracle -c "/opt/oracle/product/9.2.0/bin/lsnrctl start" su - oracle -c "/opt/oracle/product/9.2.0/bin/dbstart" # NOTE: Must exit with zero unless error is severe. exit 0 ;; stop) /bi...
oracle启动 shell脚本 #!/bin/sh cmdname="restart" # get oracle sid information from env by default. oracleSID=${oracle_SID} env_oracleSID=${oracle_SID} function echohelp { echo "******oracled Tool Helper******" echo "Usage:sh oracled [start|stop|restart] SIDs" echo "SIDs : seperated by comma" exit 5 } function startoracle { echo "begin to start oracle ..." lsnrctl start for curSID in...
好不容易在redhat linux9装了一个oracle 9i r2.0.4 现在就是在shell脚本里面写了如下脚本 # !bin/sh su - oracle -C "LSNRCTL STATUS" | tee *.txt #此语句运行成功并有显示 su - oracle -C "sqlplus -s /nolog" << ! connect /as sysdba select count(*) from v$process; #我需要执行一系列类似此句的select命令 exit ! 执行后系统报错: select count(*) from v * ERROR at line 1: ORA-00942...