Asterisk dead but subsys locked


#1

Hi Friends,

        I am running asterisk server with "service asterisk start". And i am getting as Starting asterisk:          [OK]. But when i issue a command as service asterisk status, the server showing asterisk dead but subsys locked message. Can any one tell me why this is happening and how to resolve from this problem.

Regards,


#2

Check the logs in /var/log/asterisk to see what’s wrong.


#3

I opened the file it is showing that “logger.c: Unable to create event log: Permission denied”. What should i do now.


#4

You’re probably trying to run Asterisk as a non-root user and the log directory is not owned by the same user, or the user doesn’t have sufficient permissions to the directory. Check directory permissions and/or selinux permissions.


#5

No. I am running as a root directory. But also i am getting the same error.


#6

As a workaround you may try putting event_log=no in /etc/asterisk/logger.conf