Asterisk not starting after reboot

ddavidson
Posts: 233
Member Since:
2007-12-17

I have a customer that I installed TB PRO SE a few weeks ago. He rebooted his TB server today and called me in a panic because he could not make or receive any calls and hud would not connect.

So after remoting to his system I tried to go to asterisk -r and it said can not find remote server or something to that effect. So not knowing really what was going on I just typed in "service asterisk start" and asterisk and hud started right away.

I tried rebooting the server 3 more times before I just typed in service asterisk start and it never would start up. What would cause asterisk not to start up on system startup?

--

Derek

FtOCC Tech Certified
ddsvi@yahoo.com



Mike Joyce
Posts: 424
Member Since:
2007-03-07
There are a number of things

There are a number of things that can cause this problem. Most of them are related to an incomplete or failed activation.

Check /etc/rc.local for the line that starts asterisk on boot:

> /etc/init.d/asterisk start

Thanks,
Mike

--

Mike Joyce



ddavidson
Posts: 233
Member Since:
2007-12-17
This is what I have in my

This is what I have in my rc.local

On another note, the activation completed ok (as far as I could tel), but it did give me a sync error, which I called support and got the server synced up.

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

# Load modules and start asterisk
/etc/init.d/asterisk start

/usr/local/apache/bin/apachectl restartssl
/var/adm/bin/check_voicemail.pl
/usr/local/sbin/atftpd --daemon --group nobody --logfile /var/log/tftp.log

/usr/sbin/ntpdate tick.ucla.edu > /dev/null 2>&1

--

Derek

FtOCC Tech Certified
ddsvi@yahoo.com



ddavidson
Posts: 233
Member Since:
2007-12-17
Hey Mike,I had them restart

Hey Mike,

I had them restart the server again tonight and asterisk did not start again. Is there any way you can check to make sure that the activation has completed fully?

Or if not do you have any more pointers on what to look for with this issue?

Server ID is 119687

Thanks
Derek

--

Derek

FtOCC Tech Certified
ddsvi@yahoo.com



ian.marsh
Posts: 14
Member Since:
2008-04-10
Mike, I'm encountering the

Mike,

I'm encountering the same issue on Server 113624 after the 2.0 update.

Ian



callinectes
Posts: 209
Member Since:
2007-05-12
I am experiencing similar

I am experiencing similar problems on 117396 today - along with other issues - i created a separate thread.

Please help and thanks in advance!
Kevin



kerryg
Posts: 6793
Member Since:
2006-05-31
Engineering is looking into

Engineering is looking into these issues.

--

Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786



Mike Joyce
Posts: 424
Member Since:
2007-03-07
There is a known issue with

There is a known issue with the startup procedure that will be fixed shortly. If your system is not starting asterisk properly you can forcably start asterisk using the following command:

> /etc/init.d/asterisk start

OR

> service asterisk start

Thanks,
Mike Joyce

--

Mike Joyce



aaronh
Posts: 1
Member Since:
2008-05-19
We are experiencing a similar issue...

...after transferring our configuration from a 2.2 trixbox (VM) to a new 2.6 trixbox(physical) we too are required to manually start asterisk.



rbescalicas
Posts: 10
Member Since:
2009-03-21
# Cannot create a new extension because Asterisk is not running.

Good Day Everybody...

SERVER: 142806

I got this message " Cannot create a new extension because Asterisk is not running." Before i was able to add extension on my first trixboxpro se installation since i installed it on Vmware and suddenly corrupted and force to install new one and use same account to log in.

Here is my /etc/rc.local file

touch /var/lock/subsys/local

# Load modules and start asterisk
/etc/init.d/asterisk start

/usr/local/apache/bin/apachectl restartssl
/var/adm/bin/check_voicemail.pl
/usr/local/sbin/atftpd --daemon --group nobody --logfile /var/log/tftp.log

/usr/sbin/ntpdate tick.ucla.edu > /dev/null 2>&1

[root@trixbox142806 ~]# /etc/init.d/asterisk start
PBXtra Core already running.
asterisk (pid 3660) is running...
[root@trixbox142806 ~]#

RbEscalicas



Schwood
Posts: 478
Member Since:
2006-06-23
I can take a look for you,

I can take a look for you, but the server doesn't appear to be online.

Thanks,

--

Chris Sherwood
FtOCC Admin and Tech Certified
Fonality Sales Engineer



jono
Posts: 8
Member Since:
2008-01-08
Same problem

I have a system with the same symptoms, but service asterisk start and /etc/init.d/asterisk start are not working.
If I run /etc/init.d/asterisk start twice i get
asterisk dead but pid file exists

I'm also getting incorrect file ownership on the voicemail files as Matt posts about in the below thread.

http://trixbox.org/forums/trixbox-pro/trixbox-pro-help/problems-a...



Schwood
Posts: 478
Member Since:
2006-06-23
Jono, Per my instructions in

Jono,

Per my instructions in PM, I have sync'd your files from the back end...please reset the server after hours to see if it is now fixed.

Thanks,

--

Chris Sherwood
FtOCC Admin and Tech Certified
Fonality Sales Engineer



wrc1045
Posts: 199
Member Since:
2008-04-20
Chris Sherwood

We have the same issues with 120078

have to restart manually. also serveral other quirky issues.

like call record from the HUD disconnects the call. We would also like to upgrade the unit if we can. Its a TB appliance. is it possible for you to look up the build and see what's available to upgrade the hardware?

thanks and please do not bring the system down between 7am and 9am EST



Schwood
Posts: 478
Member Since:
2006-06-23
wrc - your best bet is to

wrc - your best bet is to call Fonality Support and open up a ticket for these issues. They can help you get everything fixed and upgraded.

Thanks,

--

Chris Sherwood
FtOCC Admin and Tech Certified
Fonality Sales Engineer



deniwilliam
Posts: 1
Member Since:
2009-11-02
hi to all, i to havethe same

hi to all, i to havethe same problem Cannot create a new extension because Asterisk is not running.please i need a solution.
thanks to all
thegolden



SkykingOH
Posts: 9680
Member Since:
2007-12-17
Quote: Cannot create a new
Quote:
Cannot create a new extension because Asterisk is not running

Start Asterisk, if it won't start look at the logs and figure out why it is not starting.

To start Asterisk 'amportal start'

Typically Asterisk won't start because of misconfigured Zaptel/DAHDI drivers or you tried to install an Asterisk module and it was not correctly built.

You did not give us much to go on.

I suggest you read the sticky thread "we are not dentists"

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.