ASAR中间件linux环境直销后台服务启动时报[10255]Plugin[t2] init ...ERROR:T2,setrlimit FAILED! T2:safelevel=[none] don

按如下步骤进行:
1.) 以超级用户(root)帐号登录,修改系统参数数配置(/etc/sysctl.conf)。在文件sysctl.conf中增加或者修改如下内容:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 40960
kernel.sem = 800 32000 400 800
kernel.msgmni=4096
kernel.msgmax=65536
kernel.msgmnb=84000
fs.file-max = 655360
net.ipv4.ip_local_port_range = 1024 65000
修改后运行sysctl -p 命令使得内核改变立即生效。
2.) 切换到root用户,运行vi /etc/security/limits.conf,增加或者修改如下配置:
* soft nproc 2047
* hard nproc 16384
* soft nofile 8096
* hard nofile 65536
修改完毕以后,需重新登录,以便生效。
3.) 切换到安装用户,比如dsasar用户,运行如下命令,清空原有的信号量:
ipcs -s|grep `whoami`|awk -v user=`whoami` '{system("ipcrm -s" $2);printf("remove %s for %s\n",$2,user)}'
 

你可能感兴趣的:(linux,服务器,运维)