OCIEnvNlsCreate 失败,返回代码为 -1,但错误消息文本不可用。
2009-09-20 02:10
“System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本 ”
的处理方法应该相似,没具体试过。
给oracle/ora92的目录加上network service用户的权限就可以了。
方法:右击ora92,选择属性,点击“安全”选卡,点击添加按钮,点击“高级”,“立即查找”
在用户列表中点击“network service”,确定即可。
......
OCIEnvNlsCreate 失败,返回代码为 -1,但错误消息文本不可用。
2009-09-20 02:10
“System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本 ”
的处理方法应该相似,没具体试过。
给oracle/ora92的目录加上network service用户的权限就可以了。
方法:右击ora92,选择属性,点击“安全”选卡,点击添加按钮,点击“高级”,“立即查找”
在用户列表中点击“network service”,确定即可。
......
脚本文件 backup.sh
#!/bin/sh
a=`date "+%y_%m%d_%H%M"`
echo $a
/home/oracle/10g/bin/exp username@password@//192.168.0.126/SID owner=username FILE=/opt/beifen/126_username_$a.dmp
备份的文件格式如:126_username_09_0920_2300.dmp
编写完shell脚本之后,要对其赋予可执行权限及其用户所属:
# chmod 755 backup.sh
# chown oracle backup.sh
同时,要确保备份的文件目录归属于oracle用户:
# chown –R oracle.oinstall /op/beifen
然后对其自动运行进行设置:
# crontab –e
00 23 * * 0,1,2,3,4,5,6 su - oracle -c "/home/oracle/shell/backup.sh &"
(设置为每天晚上11点准时自动备份)
设置完成之后,重新启动cron
# /etc/init/cron stop
# /etc/init/cron start ......
脚本文件 backup.sh
#!/bin/sh
a=`date "+%y_%m%d_%H%M"`
echo $a
/home/oracle/10g/bin/exp username@password@//192.168.0.126/SID owner=username FILE=/opt/beifen/126_username_$a.dmp
备份的文件格式如:126_username_09_0920_2300.dmp
编写完shell脚本之后,要对其赋予可执行权限及其用户所属:
# chmod 755 backup.sh
# chown oracle backup.sh
同时,要确保备份的文件目录归属于oracle用户:
# chown –R oracle.oinstall /op/beifen
然后对其自动运行进行设置:
# crontab –e
00 23 * * 0,1,2,3,4,5,6 su - oracle -c "/home/oracle/shell/backup.sh &"
(设置为每天晚上11点准时自动备份)
设置完成之后,重新启动cron
# /etc/init/cron stop
# /etc/init/cron start ......
Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
一安装需求
1.swap 分区不低于2G
2.selinux 状态disable
3.物理内存不低于512M
系统组件
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Legacy Software Support
System Tools
X Window System
二安装过程
1.软件下载
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
2.解包
unzip 10201_database_linux32.zip
3. host配置
vi /etc/hosts
中的127.0.0.1改成192.168.0.6
vi /etc/sysctl.conf file:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=2621 ......
Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
一安装需求
1.swap 分区不低于2G
2.selinux 状态disable
3.物理内存不低于512M
系统组件
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Legacy Software Support
System Tools
X Window System
二安装过程
1.软件下载
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
2.解包
unzip 10201_database_linux32.zip
3. host配置
vi /etc/hosts
中的127.0.0.1改成192.168.0.6
vi /etc/sysctl.conf file:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=2621 ......
oracle RAC 9.2.0.4升级到9.2.0.8
操作系统平台:Red Hat Enterprise Linux AS release 3
准备工作:
1. Check Tablespace Sizes and Set Parameter Values
2. Check SYSTEM Tablespace Size ensure that there is at least 10 MB of free
space allocated to the SYSTEM tablespace
3. Check XDB Tablespace Size For Oracle RAC installations, ensure that there
is at least 50 MB of free space allocated to the XDB tablespace
4. Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initializati ......
oracle RAC 9.2.0.4升级到9.2.0.8
操作系统平台:Red Hat Enterprise Linux AS release 3
准备工作:
1. Check Tablespace Sizes and Set Parameter Values
2. Check SYSTEM Tablespace Size ensure that there is at least 10 MB of free
space allocated to the SYSTEM tablespace
3. Check XDB Tablespace Size For Oracle RAC installations, ensure that there
is at least 50 MB of free space allocated to the XDB tablespace
4. Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initializati ......