# 'service asterisk start' fails to start asterisk

**URL:** <https://community.asterisk.org/t/service-asterisk-start-fails-to-start-asterisk/43108>\
**Category:** Asterisk Support\
**Created:** [June 17, 2013, 4:20pm UTC](https://community.asterisk.org/t/service-asterisk-start-fails-to-start-asterisk/43108 "2013-06-17T16:20:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 17, 2013, 4:20pm UTC](https://community.asterisk.org/t/service-asterisk-start-fails-to-start-asterisk/43108/1 "2013-06-17T16:20:11Z")

</div>

I have a fresh install of Asterisk 1.8 running on CentOS 6.4. I built Asterisk with configure;make;make install;make samples;make config.

When I issue the command ‘service asterisk start’ I am unable to connect to asterisk using ‘asterisk -rvvv’ and am given the following output:

# [root@admin-b ~]# asterisk -rvvv Asterisk 1.8.15-cert2, Copyright © 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer [markster@digium.com](mailto:markster@digium.com) Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found  
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found  
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)  
[root@admin-b ~]#

Interestingly enough, ‘service asterisk status’ tells me asterisk is running. If I run ‘service asterisk stop’ then running ‘service asterisk status’ will report that asterisk is now stopped.

On the other hand, if I run ‘asterisk -cvvvv’ asterisk starts just fine and I am able to connect to it by issuing ‘asterisk -rvvvv’.

Any help/insight is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![navaismo](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/navaismo/32/2481_2.png) [@navaismo](https://community.asterisk.org/u/navaismo)\
**Post date:** [June 17, 2013, 4:23pm UTC](https://community.asterisk.org/t/service-asterisk-start-fails-to-start-asterisk/43108/2 "2013-06-17T16:23:12Z")

</div>

The SELINUX is disabled?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 17, 2013, 4:33pm UTC](https://community.asterisk.org/t/service-asterisk-start-fails-to-start-asterisk/43108/3 "2013-06-17T16:33:22Z")

</div>

SELINUX was enforcing. I’ve disabled it, rebooted and now all is well. Thank you very much navaismo.
