1.ORA-27154:
ORACLE启动数据库报错
su
echo "110
cat /proc/sys/kernel/sem
110
2.RHEL5.2 iptables防火墙设置:
1. 查看现有配置
Chain INPUT (policy ACCEPT)
target
RH-Firewall-1-INPUT
ACCEPT
Chain FORWARD (policy ACCEPT)
target
RH-Firewall-1-INPUT
Chain OUTPUT (policy ACCEPT)
target
Chain RH-Firewall-1-INPUT (2 references)
target
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
ACCEPT
REJECT
[root@RHEL ~]# iptables -F
[root@RHEL ~]# iptables -X
[root@RHEL ~]# /etc/rc.d/init.d/iptables save
Saving firewall rules to /etc/sysconfig/iptables:
[root@RHEL ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target
Chain FORWARD (policy ACCEPT)
target
Chain OUTPUT (policy ACCEPT)
target
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 1158 -j ACCEPT
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 23 -j ACCEPT
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 1521 -j ACCEPT
[root@RHEL ~]# /etc/rc.d/init.d/iptables save
Saving firewall rules to /etc/sysconfig/iptables:
[root@RHEL ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target
ACCEPT
ACCEPT
ACCEPT
Chain FORWARD (policy ACCEPT)
target
Chain OUTPUT (policy ACCEPT)
target
[root@RHEL ~]# service iptables restart
Flushing firewall rules:
Setting chains to policy ACCEPT: nat filter
Unloading iptables modules:
Applying iptables firewall rules:
Loading additional iptables modules: ip_conntrack_netbios_n[
3.安装oracle无法使用命令/usr/bin/xdpyinfo自动检查显示器颜色
1.在root下执行
#xdpyinfo 记录下name of display:后的字符串,如 127.0.0.1:1.0
2. #xhost +
返回信息为: access control disabled,clients can connect from any host
3.切换到Oracle用户: www.2cto.com
#su - oracle
4.在Oracle用户下执行命令:
export DISPLAY=:1.0
5.在Oracle下执行xdpyinfo命令,如果能正常显示,说明设置成功