Page 1 of 1

A power failure disaster

PostPosted: Tue Jun 21, 2011 1:40 pm
by tarundas
After a power failure I got this

Code: Select all
[root@go ~]# screen -list
There are screens on:
        2667.asterisk   (Detached)
        2662.astshell20110621122236     (Detached)
2 Sockets in /var/run/screen/S-root.

[root@go ~]#


agents are getting no dialback ring on softphones at the time of login.

What could be done in this situation ?

Thanks

GoAutoDial CE 2.0 from goautodial-ce-2.0-final.iso | Vicidial 2.2.1-237 Build 100510-2015| Asterisk 1.4.27.1-vici | Dahdi 2.3 | VtigerCRM 5.1.0 | Sangoma 3.5.14| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation ! I have read the High Res Managers manual.

PostPosted: Tue Jun 21, 2011 3:55 pm
by cristian
Manually launch the perl scripts that are failing with --debug or --debug-X to find the error.

Ensure mysql is running.

PostPosted: Tue Jun 21, 2011 8:29 pm
by williamconley
usually:

Code: Select all
mysqlcheck --auto-repair asterisk -p
the -p is only necessary if your mysql root user has a password

PostPosted: Tue Jun 21, 2011 8:36 pm
by cristian
Or if you're cool like me:

Code: Select all
mysqlcheck -u root --auto-repair --check --all-databases -p

PostPosted: Tue Jun 21, 2011 11:15 pm
by tarundas
Thank you friends ...
I tried ...but without any luck this time :(
still only two screens are on

PostPosted: Wed Jun 22, 2011 3:29 am
by cristian
Is mysql running?

Code: Select all
 
ps aux | grep sql -i

Post the output of that command. If it is running, do the debug as I suggested. That will tell us EXACTLY what is happening.

If this is a crisis (production system) you might want to have me remotely fix this. Should take 15 minutes.