我正在尝试安装 Lotus Domino 的试用版(来自这个官方下载页面) 在 Centos 机器上。
我正在跟进此说明页面安装 Lotus Domino。但是当我尝试启动服务器时,出现了以下错误:
# /opt/ibm/domino/bin/server -q myhost.net
/opt/ibm/domino/bin/server: line 317: cd: /root: Permission denied
Error - can't open /proc/sys/fs/file-max.
errno: 13
Permission denied
Error - can't open /proc/sys/net/ipv4/tcp_fin_timeout.
errno: 13
Permission denied
Error - can't open /proc/sys/net/ipv4/tcp_max_syn_backlog.
errno: 13
Permission denied
Error - can't open /proc/sys/net/ipv4/tcp_tw_reuse.
errno: 13
Permission denied
Error - can't open /proc/sys/net/ipv4/ip_local_port_range.
errno: 13
Permission denied
我不知道如何解决它。有什么想法吗?
这是我的 Centos 配置,仅供参考:
# cat /proc/version
Linux version 2.6.32-042stab102.9 (root@kbuild-rh6-x64) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Dec 19 20:34:40 MSK 2014
# uname -r
2.6.32-042stab102.9
# cat /etc/*elease*
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
cpe:/o:centos:linux:6:GA
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 10G 4.8G 5.3G 48% /
...
# /sbin/sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
error: permission denied on key 'kernel.sysrq'
error: permission denied on key 'kernel.core_uses_pid'
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
还需要其他信息吗?
答案1
这是权限/所有权问题。必须将“bindsock”和“tunelrnl”文件的 chmod 设置为“4555”。此外,我不太确定这是否重要,但 bindsock 应该在“bin”组中,而 tunekrnl 应该在“daemon”组中。
确保设置所有权,然后设置文件权限。