problem reload asterisk time

sebacba

New Member
Joined
May 15, 2008
Messages
5
Reaction score
0
hi my problem is my server is pbx inflash 1,3 asterisk 1.4.42 the reload asterisk delay 30 seconds .unregisters all trunk and all extencion four 30 seconds and registre again plis helpme that problem may be happening

work done to try to solve
update script
update fixes

upgrade asterisk vercion 1.4.22 a 14.42

no bugs no problem reboot
memori perfect 305 used disck 10% internet conection
10 mbps dedicated
pc dual core 4 g ram

trank you four helpme
 
I'm sorry but I want to clarify what you are saying there:

You are saying that your system becomes unresponsive for 30 seconds and then re-responds?

Your system is:
PiaF: 1.3
Asterisk: 1.4.42

You have thus far:
update-script
update-fixes

Let me know if that is all correct, and also I have another question:
When this happens can you ssh into the system and can you check the system via the browser (PiaF working during that time)?
 
is correct, the soft vercion of the reload time is 30 seconds

an I observer in asterisk info unregisters trunks for 30 seconds and return to registrartse

the system works, the problem is the delay in the registration after a reload
 
From the Linux command prompt type:

ps -ax

See if there is safe-asterisk running and only one asterisk. If there are more than one asterisk running, kill the process using

kill -9 <pid> where <pid> looks like a number like 34621

You may have to kill safe-asterisk also.
 
-

plis not expert in linux plis helpme comand linux four

ps-ax is not comand accept in root server ssh
 
At the risk of giving too many tools to you...

Code:
ps -A|grep safe-asterisk

will give you the process, as well as

Code:
ps -A|grep asterisk

will list out your asterisk processes. Can you post the results of those two commands here?
 
respond

reslult

3160 ? 00:00:00 safe_asterisk
3166 ? 00:06:10 asterisk
 
so to kill off the "asterisk-safe" you would do:

Code:
kill -9 3160

I honestly have no idea what that would do, so I AM NOT recommending it, only stating how it is done.

Maybe you could teach us both blanchae?

Remember NEVER run a command without knowing what it does and the repercussions of it. I will not take responsibility for you hosing your system.
 
safe_asterisk is a watchdog script that runs in the background. In case, asterisk dies, safe_asterisk will restart asterisk. Sometimes things get out of whack and if you do an "amportal stop", safe_asterisk thinks that asterisk has died and restarts it. You restart asterisk and now have multiple copies of asterisk running - then you get unusual things happening. I'm not sure why safe_asterisk is used - never could get a response from the Digium forums.
 
Thanks for that explanation blanchae, sounds like something to look at but he only has one instance of both running.
 

Members online

No members online now.

Forum statistics

Threads
26,686
Messages
174,406
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top