Asterisk dead but subsys locked

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,

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

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

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.

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

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