[url]http://curran.blog.51cto.com/2788306/784499[/url]
[url]http://blog.youkuaiyun.com/a314131070/article/details/8020301[/url]
DB2默认安装 /opt/ibm/db2/V10.1目录下,添加/etc/hosts 当前主机名
一些问题:
1.cannot restore segment prot after reloc: Permission denied
设置SELINUX=disabled完后,执行setenforce 0设置状态将启作用
[code="java"]
# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
#SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disabled
[/code]
2. db2stop: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
libaio没有或者不是最新的
[url]http://blog.youkuaiyun.com/a314131070/article/details/8020301[/url]
DB2默认安装 /opt/ibm/db2/V10.1目录下,添加/etc/hosts 当前主机名
一些问题:
1.cannot restore segment prot after reloc: Permission denied
设置SELINUX=disabled完后,执行setenforce 0设置状态将启作用
[code="java"]
# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
#SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disabled
[/code]
2. db2stop: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
libaio没有或者不是最新的