Kaushal Shriyan
2011-Jul-01 05:42 UTC
[CentOS] Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
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 [ OK ] (reverse-i-search)`d': /etc/init.d/asterisk restart [root at asterisk1 ~]# rpm -qa | grep asterisk asterisk-sounds-core-en-gsm-1.4.21-1_centos5 asterisk18-1.8.4.4-1_centos5 asterisk18-core-1.8.4.4-1_centos5 asterisk18-doc-1.8.4.4-1_centos5 asterisk18-dahdi-1.8.4.4-1_centos5 asterisk18-configs-1.8.4.4-1_centos5 asterisk18-voicemail-1.8.4.4-1_centos5 [root at asterisk1 ~]# uname -a Linux asterisk1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux [root at asterisk1 ~]# cat /proc/version Linux version 2.6.18-238.el5 (mockbuild at builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan 13 15:51:15 EST 2011 [root at asterisk1 ~]# cat /etc/redhat-release CentOS release 5.6 (Final) [root at asterisk1 ~]# Regards Kaushal
Nicolas Thierry-Mieg
2011-Jul-01 07:08 UTC
[CentOS] Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
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 permittedthe 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 (?).
Seemingly Similar Threads
- Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
- A200 card problem
- problem with safe_asterisk
- Use safe_asterisk manually, you get colors in CLI. Crontab it, you don't.
- ASTSBINDIR not being picked up by safe_asterisk