日期:2014-05-16  浏览次数:20701 次

linux常用命令5
1.gunzip解压时,报File too large
解决方法:
打开/etc/security/limits文件,修改相应的文件大小约束值:
default:
        fsize = -1
        core = 4194304
        cpu = -1
       data = 4194304
        rss = 4194304
        stack = 2097152
        nofiles = -1
2.安装oracle时,ORA-21561: OID generation failed
解决方法:/etc/hosts加上主机名称 hostname
3.AIX 操作系统rcp 的时候报错:rshd: 0826-813 Permission is denied.
解决方法:在用户家目录下新增.rhosts文件  把"+"写进去
4.IBM机型启动SSHD服务时,在开启SSHD服务时报错,sshd re-exec requires execution with anabsolute path
用绝对路径启动,也报错如下:
Could not loadhost key: /etc/ssh/ssh_host_key
Could not loadhost key: /etc/ssh/ssh_host_rsa_key
Could not loadhost key: /etc/ssh/ssh_host_dsa_key
Disablingprotocol version 1. Could not load host key
Disablingprotocol version 2. Could not load host key
sshd: nohostkeys available — exiting
解决方法:
#ssh-keygen -tdsa -f /etc/ssh/ssh_host_dsa_key
#ssh-keygen -trsa -f /etc/ssh/ssh_host_rsa_key
#/usr/sbin/sshd