After installing asterisk on Fedora Core 14 according to Get Started document, the service can be started successfully.
# service asterisk start
# service asterisk status
asterisk (pid 25897) is running...
# ps aux | grep asterisk
root 26125 0.0 0.0 5136 552 pts/0 S 12:02 0:00 /bin/sh /usr/sbin/safe_asterisk
root 26127 116 0.7 36244 15568 ? Rl 12:02 0:03 /usr/sbin/asterisk -f -vvvg -c
root 26169 0.0 0.0 4416 712 pts/0 S+ 12:02 0:00 grep --color=auto asterisk
# asterisk -r
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <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.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
After stop the asterisk, and start it by safe_asterisk, it works
# safe_asterisk
# ps aux | grep asterisk
root 26001 0.0 0.0 5084 552 pts/0 S 11:59 0:00 /bin/sh /usr/sbin/safe_asterisk
root 26003 2.5 0.7 37768 15600 pts/0 Sl 11:59 0:00 /usr/sbin/asterisk -f -vvvg -c
root 26045 0.0 0.0 4416 708 pts/0 S+ 11:59 0:00 grep --color=auto asterisk
# asterisk -r
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <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.
=========================================================================
Connected to Asterisk 1.8.7.0 currently running on server1 (pid = 26003)
Verbosity is at least 3
server1*CLI>
We need to start asterisk on system boot. How to solve this problem?
Thanks for help.
Dave
