灌溉梦想,记录脚步

crs_stop 错误一列

grid 与 oracle 版本为11.2.0.4,为两节点RAC,在通过crs_stop -all命令关闭oracle服务时出现下面问题:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[oracle@rac01 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.DATA.dg    ora....up.type OFFLINE   OFFLINE               
ora.FRA.dg     ora....up.type OFFLINE   OFFLINE               
ora....ER.lsnr ora....er.type OFFLINE   OFFLINE               
ora....N1.lsnr ora....er.type OFFLINE   OFFLINE               
ora.OCR.dg     ora....up.type OFFLINE   OFFLINE               
ora.asm        ora.asm.type   OFFLINE   ONLINE    rac02       
ora.cvu        ora.cvu.type   OFFLINE   OFFLINE               
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type OFFLINE   OFFLINE               
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE               
ora.ons        ora.ons.type   OFFLINE   OFFLINE               
ora.rac.db     ora....se.type OFFLINE   OFFLINE               
ora....SM1.asm application    OFFLINE   ONLINE    rac01       
ora....01.lsnr application    OFFLINE   OFFLINE               
ora.rac01.gsd  application    OFFLINE   OFFLINE               
ora.rac01.ons  application    OFFLINE   OFFLINE               
ora.rac01.vip  ora....t1.type OFFLINE   OFFLINE               
ora....SM2.asm application    OFFLINE   ONLINE    rac02       
ora....02.lsnr application    OFFLINE   OFFLINE               
ora.rac02.gsd  application    OFFLINE   OFFLINE               
ora.rac02.ons  application    OFFLINE   OFFLINE               
ora.rac02.vip  ora....t1.type OFFLINE   OFFLINE               
ora....ry.acfs ora....fs.type OFFLINE   OFFLINE               
ora.scan1.vip  ora....ip.type OFFLINE   OFFLINE

继续阅读 »

Windows 7采用固态硬盘SSD系统优化大全

现在越来越多电脑采用固态硬盘SSD,希望能加快电脑的存取速度、减轻重量及节省电力的损耗,只要您依照以下的方法进行系统调整,就能让固态硬盘SSD的寿命延长并快速提昇电脑的开机及执行软件的速度。经笔者实际调整测试后只要30秒就能开机完成。

1.硬盘改为AHCI 模式,提高硬盘的使用效能,如果安装作业系统前没有将BIOS的硬盘模式改为AHCI模式的话,请在 Windows 7 修改注册表,再重新开机进入 BIOS 改为 AHCI模式。
操作:输入指令 regedit执行注册表编辑程式,寻找[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci]将 start 预设值3改为0,重新开机进入BIOS改为 AHCI 模式 。

2.停止dirty shutdown event 的频繁写入记录 TimeStampInterval
操作:输入指令 regedit执行注册表编辑程式,寻找[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]将TimeStampInterval 预设值 1 改为 0

3.关闭自动清除硬盘中分页档桉的内容
操作:输入指令 regedit执行注册表编辑程式,寻找[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management]将ClearPageFileAtShutdown的值改成0
继续阅读 »

Oracle Database 12C 体验

oracle版本:12.1.0.1.0
redhat版本:RedHat EL5.6 x64

安装过程分以下四个步骤

一,安装准备
二,下载安装
三,过程详解
四,常见错误

一,安装准备
1,创建oracle用户
继续阅读 »

开放硬件平台

最近开始对开发板关注起来,罗列一下

1、Raspberry Pi
中文名:树莓派
基本配置:700MHz处理器,带有GPU,512MB内存,双USB口,一个100M网络接口,HDMI接口。
特性特点:基于linux的卡片大小的微电脑,可播放高清视频,有USB、网络、HDMI接口。
参考价格:280人民币 (红色为国内生产,较便宜,绿色版为英国生产)
购买地址:http://detail.tmall.com/item.htm?spm=a230r.1.14.3.R7cDm7&id=17337394004
官方网站:http://www.raspberrypi.org/
中文社区:http://www.eeboard.com/bbs/forum-43-1.html

2、Cubieboard
基本配置:1GHz处理器,带有GPU,1GB内存,双USB口,一个100M网络接口,HDMI接口,SATA接口。
特性特点:基于linux的卡片大小的微电脑,可播放高清视频,比Raspberry Pi多个sata硬盘接口。
参考价格:350人民币
购买地址:http://item.taobao.com/item.htm?spm=a230r.1.14.90.W4aJR2&id=22173848049
官方网站:http://cubieboard.org/
继续阅读 »

ORA-00445错误一则

数据库在运行中突然出现如下错误,导致服务不可用。
ORA-00445: background process “m000” did not start after 120 seconds
ORA-32701: Possible hangs up to hang ID=0 detected
DIA0 terminating blocker (ospid: 14288486 sid: 4370 ser#: 7549) of hang with ID = 129
requested by master DIA0 process on instance 1
Hang Resolution Reason: Automatic hang resolution was performed to free a
critical database process.
by terminating session sid: 4370 ospid: 14288486
DIA0 successfully terminated session sid:4370 ospid:14288486 with status 31.
ORA-00445: background process “J000” did not start after 120 seconds
ORA-00445: background process “W005” did not start after 120 seconds
ORA-00445: background process “J000” did not start after 120 seconds
ERROR: Unable to normalize symbol name for the following short stack (at offset 311):
继续阅读 »

module-init-tools与kmod冲突问题

环境:redhat 5.6 x64

在安装一个软件包时出现如下提示:

1
2
3
4
[root@tape setup]# rpm -Uvh kmod-mhvtl-1.3-1.el5.elrepo.x86_64.rpm 
warning: kmod-mhvtl-1.3-1.el5.elrepo.x86_64.rpm: Header V4 DSA signature: NOKEY
error: Failed dependencies:
        module-init-tools = 3.3-0.pre3.1.60.el5 conflicts with kmod-mhvtl-1.3-1.el5

经过搜索,原因是新的module管理方式kmod替代了原来软件module-init-tools的功能,在安装的时候造成冲突。

有方法说卸载module-init-tools可以解决问题,但是卸载时会提示将依赖其的很多系统软件包一并卸载,估计不行。

之后通过如下方式解决:
继续阅读 »

SSH响应缓慢问题

在linux系统(Redhat 5.6)上,配置DNS后,通过ssh工具登录时,密码框往往反映很慢。

感觉一定是在登录时,系统上的sshd进程进行解析等待导致,Google后证实了这一点。

通过修改 /etc/ssh/sshd_config 可解决,添加如下:

UseLogin no

之后通过 service sshd restart 重启sshd进程即可。