[CentOS] can not login to server (use ssh)

Banyan He

banyan at rootong.com
Sat Mar 2 02:53:32 UTC 2013


you can use the command ulimit to make the change first and change the 
file as well effecting permanently.

------------
Banyan He
Blog: http://www.rootong.com
Email: banyan at rootong.com

On 2/28/2013 3:45 AM, mcclnx mcc wrote:
> very possible this problem cause by /etc/security/limits.conf.
>
> the entry are:
>
> oracle          soft    nproc          2047
> oracle          hard    nproc          16384
>
> ps -ef|grep oracle|wc -l is 2000.  Very close to 2047.
>
> Can I increase number to 3000 or more?
>
> If I increase number on limits.conf, do I need reboot to make it affect?
>
> Thanks.
>
> --- 13/2/27 (三),Les Mikesell <lesmikesell at gmail.com> 寫道:
>
>> 寄件者: Les Mikesell <lesmikesell at gmail.com>
>> 主旨: Re: [CentOS] can not login to server (use ssh)
>> 收件者: "CentOS mailing list" <centos at centos.org>
>> 日期: 2013年2月27日,三,下午2:39
>> On Wed, Feb 27, 2013 at 1:36 PM,
>> mcclnx mcc <mcclnx at yahoo.com.tw>
>> wrote:
>>> we have CENTOS 5.6 on DELL server.  I tried to use
>> ssh login to server and failed:
>>> ssh oracle at ora10
>>> oracle at ora10's password:
>>> Read from remote host ora10: Connection reset by peer
>>> Connection to ora10 closed.
>>>
>>> I have not problem login as "root" or other users.
>>>
>>> Is it possible too many processes run by "oracle" and
>> don't allow me login.
>>> I check server current have 2000 oracle processes
>> running.
>>> $ ps -ef|grep oracle|wc -l
>>> 2000
>>>
>>> anyone know how to fix this issue?
>> Does that user have a working shell?   Do you
>> want it to?
>>
>> -- 
>>     Les Mikesell
>>      lesmikesell at gmail.com
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list