[CentOS] Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted

Sat Jul 2 13:49:08 UTC 2011
Rob Kampen <rkampen at kampensonline.com>

Kaushal Shriyan wrote:
> On Fri, Jul 1, 2011 at 11:21 PM, Kaushal Shriyan
> <kaushalshriyan at gmail.com> wrote:
>> On Fri, Jul 1, 2011 at 12:38 PM, Nicolas Thierry-Mieg
>> <Nicolas.Thierry-Mieg at imag.fr> wrote:
>>> Kaushal Shriyan wrote:
>>>> Hi
>>>>
>>>> Please help me understand about the below issue ?
>>>>
>>>> [root at asterisk1 ~]# /etc/init.d/asterisk restart
>>>> Stopping safe_asterisk:                                    [  OK  ]
>>>> Shutting down asterisk:                                    [  OK  ]
>>>> Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open
>>>> files: cannot modify limit: Operation not permitted
>>> the message is pretty clear...
>>> man ulimit
>>> looks like that script is non-root when it tries to change the open
>>> files ulimit, and tries to change it beyond the hard limit. So, fails.
>>> Or if it's not non-root it could be selinux interfering (?).
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>> Hi
>>
>> I have disabled SElinux, still no luck. Let me know if you need more
>> information.
>>
>> Regards
>>
>> Kaushal
>>
> 
> Hi Again,
> 
> Can someone please reply on my earlier post to this mailing list
> 
> Regards
> 
> Kaushal
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
Have you tried the asterisk mailing lists - your initial question was 
answered. Is this an initial install or has something that was working, 
stopped working.
If initial install - you need to go to where the asterisk expertise 
exists - the asterisk forums.
If it used to work and now doesn't = look at what you changed - back up 
and check again.
HTH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkampen.vcf
Type: text/x-vcard
Size: 348 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20110702/899cedc2/attachment-0005.vcf>