by franklinsj » Wed Jun 12, 2013 1:22 pm
Hi. Thanks for the reply again. Since this does not happen very frequently it is a little difficult to debug but on the realtime screen the just show as Incall I which should be ok,
I also ran screen -list on each server and this is what DB, Web and Archive server showed No Sockets found in /var/run/screens/S-root. which if I am not mistaken might be causing a lot of issues.
Then i did the same on each asterisk server and they showed something like this
1658.ASTfastlog (Detached)
1655.ASTVDremote (Detached)
1652.ASTVDauto (Detached)
1649.ASTlisten (Detached)
1646.ASTsend (Detached)
1643.ASTupdate (Detached)
1558.asterisk (Detached)
1553.astshell20130612040345 (Detached)
8 Sockets in /var/run/screens/S-root.
DB, Web and Archive server's crontab is empty besides a line that i put there for nightly reboot but asterisk server's crontab has
### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
### remove old vicidial logs and asterisk logs more than 2 days old
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +4 -print | xargs rm -f
### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3
#0 1 * * * /usr/share/astguiclient/AST_CRON_audio_4_ftp2.pl --ftp-server=server.ip --ftp-login=user --ftp-pass=pass --ftp-dir$
### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl
### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
### remove old recordings more than 7 days old, and delete originals after 1 day
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
24 1 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +1 -print | xargs rm -f
### Reboot nightly to manage asterisk issues and memory leaks - uncomment if issues arise
00 4 * * * /sbin/reboot
### remove text to speech file more than 4 days old
#20 0 * * * /usr/bin/find /var/lib/asterisk/sounds/tts/ -maxdepth 2 -type f -mtime +4 -print | xargs rm -f
Should I put the same crontab on the DB server or would it still be missing anything? and what should I put on the Web and Archive server's crontab? Should I also activate keep alive 5 and 7 in one of the asterisk servers even though this is supposed to be active in the DB server too?
Thanks
VICIBOX ISO 4.0.3 64bit | VERSION: 2.6-396a | BUILD: 130402-2322 | Asterisk 1.4.44-vici | MULTISERVER | No Digium/Sangoma Hardware | No Extra Software After Installation | DB Server Supermicro X8DT3 Intel Xeon L5638