List, The past few days the asterisk service on my server has crashed several times. I have had it running for months and have made no changes to it. When it crashes, I am unable to make calls or gain access to the CLI. The service has been stopped. If I try to start it again (service asterisk start), it will start and run for a few seconds then crash again. After a reboot, it will run successfully for several hours before doing it again. Here is a ps aux of the services while the server is crashed. Does anyone see any service that would have a conflict with the asterisk service? FYI, the only cron I have running is a reboot scheduled once a week. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 3096 656 ? S 17:39 0:00 init [3] root 2 0.0 0.0 0 0 ? S 17:39 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN 17:39 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S 17:39 0:00 [migration/1] root 5 0.0 0.0 0 0 ? SN 17:39 0:00 [ksoftirqd/1] root 6 0.0 0.0 0 0 ? S 17:39 0:00 [migration/2] root 7 0.0 0.0 0 0 ? SN 17:39 0:00 [ksoftirqd/2] root 8 0.0 0.0 0 0 ? S 17:39 0:00 [migration/3] root 9 0.0 0.0 0 0 ? SN 17:39 0:00 [ksoftirqd/3] root 10 0.0 0.0 0 0 ? S< 17:39 0:00 [events/0] root 11 0.0 0.0 0 0 ? S< 17:39 0:00 [events/1] root 12 0.0 0.0 0 0 ? S< 17:39 0:00 [events/2] root 13 0.0 0.0 0 0 ? S< 17:39 0:00 [events/3] root 14 0.0 0.0 0 0 ? S< 17:39 0:00 [khelper] root 15 0.0 0.0 0 0 ? S< 17:39 0:00 [kacpid] root 47 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/0] root 48 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/1] root 49 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/2] root 50 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/3] root 60 0.0 0.0 0 0 ? S 17:39 0:00 [pdflush] root 61 0.0 0.0 0 0 ? S 17:39 0:00 [pdflush] root 63 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/0] root 64 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/1] root 65 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/2] root 66 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/3] root 51 0.0 0.0 0 0 ? S 17:39 0:00 [khubd] root 62 0.0 0.0 0 0 ? S 17:39 0:00 [kswapd0] root 139 0.0 0.0 0 0 ? S 17:39 0:00 [kseriod] root 204 0.0 0.0 0 0 ? S 17:39 0:00 [scsi_eh_0] root 205 0.0 0.0 0 0 ? S 17:39 0:00 [aacraid] root 217 0.0 0.0 0 0 ? S< 17:39 0:00 [kmirrord] root 218 0.0 0.0 0 0 ? S< 17:39 0:00 [kmir_mon] root 226 0.0 0.0 0 0 ? S 17:39 0:00 [kjournald] root 1092 0.0 0.0 2312 556 ? S<s 17:39 0:00 udevd root 1125 0.0 0.0 0 0 ? S 17:39 0:00 [shpchpd_event] root 1377 0.0 0.0 0 0 ? S< 17:39 0:00 [kauditd] root 1424 0.0 0.0 0 0 ? S 17:39 0:00 [kjournald] root 1962 0.0 0.0 2612 668 ? Ss 17:40 0:00 syslogd -m 0 root 1966 0.0 0.0 3532 532 ? Ss 17:40 0:00 klogd -x root 1976 0.0 0.0 2128 540 ? Ss 17:40 0:00 irqbalance rpc 1993 0.0 0.0 3432 644 ? Ss 17:40 0:00 portmap root 2012 0.0 0.0 1800 912 ? Ss 17:40 0:00 rpc.statd root 2038 0.0 0.0 5156 1140 ? Ss 17:40 0:00 rpc.idmapd root 2115 0.0 0.0 2092 648 ? Ss 17:40 0:00 /usr/sbin/acpid root 2124 0.0 0.1 8264 2188 ? Ss 17:40 0:00 cupsd root 2165 0.0 0.0 5120 1724 ? Ss 17:40 0:00 /usr/sbin/sshd root 2188 0.0 0.0 3152 896 ? Ss 17:40 0:00 xinetd -stayalive root 2295 0.0 0.1 9300 3084 ? Ss 17:40 0:00 sendmail: accepti smmsp 2303 0.0 0.1 7252 2668 ? Ss 17:40 0:00 sendmail: Queue r root 2316 0.0 0.0 2984 620 ? Ss 17:40 0:00 gpm -m /dev/input root 2329 0.0 0.0 5412 1176 ? Ss 17:40 0:00 crond xfs 2355 0.0 0.0 3392 1540 ? Ss 17:40 0:00 xfs -droppriv -da root 2373 0.0 0.0 3700 788 ? Ss 17:40 0:00 /usr/sbin/atd dbus 2382 0.0 0.0 3660 1300 ? Ss 17:40 0:00 dbus-daemon-1 --s root 2391 0.0 0.2 8456 5620 ? Ss 17:40 0:00 hald root 2471 0.0 0.2 16544 6000 ? Ss 17:40 0:00 /usr/sbin/httpd - root 2483 0.0 0.0 4700 1068 ? S 17:40 0:00 /usr/sbin/vsftpd root 2555 0.0 0.0 4544 1304 ? S 17:40 0:00 /bin/sh /usr/bin/ asterisk 2575 0.0 0.2 16544 6124 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2578 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2579 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2581 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2583 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2585 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2586 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - asterisk 2588 0.0 0.2 16544 6128 ? S 17:40 0:00 /usr/sbin/httpd - mysql 2600 0.0 0.9 125808 19424 ? Sl 17:40 0:00 /usr/libexec/mysq root 2697 0.0 0.0 1856 508 tty1 Ss+ 17:40 0:00 /sbin/mingetty tt root 2698 0.0 0.0 2600 508 tty2 Ss+ 17:40 0:00 /sbin/mingetty tt root 2699 0.0 0.0 1856 508 tty3 Ss+ 17:40 0:00 /sbin/mingetty tt root 2700 0.0 0.0 3184 508 tty4 Ss+ 17:40 0:00 /sbin/mingetty tt root 2701 0.0 0.0 2352 516 tty5 Ss+ 17:40 0:00 /sbin/mingetty tt root 2702 0.0 0.0 2488 508 tty6 Ss+ 17:40 0:00 /sbin/mingetty tt root 3754 0.0 0.1 6984 2244 ? Ss 17:56 0:00 sshd: bpiper [pri bpiper 3768 0.0 0.1 6984 2320 ? S 17:56 0:00 sshd: bpiper@pts/ bpiper 3769 0.0 0.0 4560 1456 pts/1 Ss 17:56 0:00 -bash root 3795 0.0 0.0 5696 1240 pts/1 S 17:56 0:00 su root 3796 0.0 0.0 4608 1464 pts/1 S+ 17:56 0:00 bash root 12046 0.0 0.1 7440 2248 ? Ss 21:30 0:00 sshd: bpiper [pri bpiper 12048 0.0 0.1 7440 2316 ? S 21:31 0:00 sshd: bpiper@pts/ bpiper 12049 0.0 0.0 5976 1456 pts/0 Ss 21:31 0:00 -bash root 12075 0.0 0.0 4664 1236 pts/0 S 21:31 0:00 su root 12076 0.0 0.0 5392 1460 pts/0 S 21:31 0:00 bash root 12095 0.0 0.0 2976 824 pts/0 R+ 21:31 0:00 ps aux [root@asterisk bpiper]# asterisk -r Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) [root@asterisk bpiper]# -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060418/14f45880/attachment.htm
Hi Billy Try using safe_asterisk and see . safe_asterisk be useful if you fear asterisk may crash. --Giridhar Bandi On 4/19/06, billy@kersting.com <billy@kersting.com> wrote:> > List, > > > > The past few days the asterisk service on my server has crashed several > times. I have had it running for months and have made no changes to it. > > > > When it crashes, I am unable to make calls or gain access to the CLI. The > service has been stopped. If I try to start it again (service asterisk > start), it will start and run for a few seconds then crash again. After a > reboot, it will run successfully for several hours before doing it again. > > > > Here is a ps aux of the services while the server is crashed. Does anyone > see any service that would have a conflict with the asterisk service? > > FYI, the only cron I have running is a reboot scheduled once a week. > > > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > > root 1 0.0 0.0 3096 656 ? S 17:39 0:00 init [3] > > root 2 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/0] > > root 3 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/0] > > root 4 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/1] > > root 5 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/1] > > root 6 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/2] > > root 7 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/2] > > root 8 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/3] > > root 9 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/3] > > root 10 0.0 0.0 0 0 ? S< 17:39 0:00 [events/0] > > root 11 0.0 0.0 0 0 ? S< 17:39 0:00 [events/1] > > root 12 0.0 0.0 0 0 ? S< 17:39 0:00 [events/2] > > root 13 0.0 0.0 0 0 ? S< 17:39 0:00 [events/3] > > root 14 0.0 0.0 0 0 ? S< 17:39 0:00 [khelper] > > root 15 0.0 0.0 0 0 ? S< 17:39 0:00 [kacpid] > > root 47 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/0] > > root 48 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/1] > > root 49 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/2] > > root 50 0.0 0.0 0 0 ? S< 17:39 0:00 [kblockd/3] > > root 60 0.0 0.0 0 0 ? S 17:39 0:00 [pdflush] > > root 61 0.0 0.0 0 0 ? S 17:39 0:00 [pdflush] > > root 63 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/0] > > root 64 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/1] > > root 65 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/2] > > root 66 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/3] > > root 51 0.0 0.0 0 0 ? S 17:39 0:00 [khubd] > > root 62 0.0 0.0 0 0 ? S 17:39 0:00 [kswapd0] > > root 139 0.0 0.0 0 0 ? S 17:39 0:00 [kseriod] > > root 204 0.0 0.0 0 0 ? S 17:39 0:00 [scsi_eh_0] > > root 205 0.0 0.0 0 0 ? S 17:39 0:00 [aacraid] > > root 217 0.0 0.0 0 0 ? S< 17:39 0:00 [kmirrord] > > root 218 0.0 0.0 0 0 ? S< 17:39 0:00 [kmir_mon] > > root 226 0.0 0.0 0 0 ? S 17:39 0:00 [kjournald] > > root 1092 0.0 0.0 2312 556 ? S<s 17:39 0:00 udevd > > root 1125 0.0 0.0 0 0 ? S 17:39 0:00 > [shpchpd_event] > > root 1377 0.0 0.0 0 0 ? S< 17:39 0:00 [kauditd] > > root 1424 0.0 0.0 0 0 ? S 17:39 0:00 [kjournald] > > root 1962 0.0 0.0 2612 668 ? Ss 17:40 0:00 syslogd -m > 0 > > root 1966 0.0 0.0 3532 532 ? Ss 17:40 0:00 klogd -x > > root 1976 0.0 0.0 2128 540 ? Ss 17:40 0:00 irqbalance > > rpc 1993 0.0 0.0 3432 644 ? Ss 17:40 0:00 portmap > > root 2012 0.0 0.0 1800 912 ? Ss 17:40 0:00 rpc.statd > > root 2038 0.0 0.0 5156 1140 ? Ss 17:40 0:00 rpc.idmapd > > root 2115 0.0 0.0 2092 648 ? Ss 17:40 0:00 > /usr/sbin/acpid > > root 2124 0.0 0.1 8264 2188 ? Ss 17:40 0:00 cupsd > > root 2165 0.0 0.0 5120 1724 ? Ss 17:40 0:00 > /usr/sbin/sshd > > root 2188 0.0 0.0 3152 896 ? Ss 17:40 0:00 xinetd > -stayalive > > root 2295 0.0 0.1 9300 3084 ? Ss 17:40 0:00 sendmail: > accepti > > smmsp 2303 0.0 0.1 7252 2668 ? Ss 17:40 0:00 sendmail: > Queue r > > root 2316 0.0 0.0 2984 620 ? Ss 17:40 0:00 gpm -m > /dev/input > > root 2329 0.0 0.0 5412 1176 ? Ss 17:40 0:00 crond > > xfs 2355 0.0 0.0 3392 1540 ? Ss 17:40 0:00 xfs > -droppriv -da > > root 2373 0.0 0.0 3700 788 ? Ss 17:40 0:00 > /usr/sbin/atd > > dbus 2382 0.0 0.0 3660 1300 ? Ss 17:40 0:00 > dbus-daemon-1 --s > > root 2391 0.0 0.2 8456 5620 ? Ss 17:40 0:00 hald > > root 2471 0.0 0.2 16544 6000 ? Ss 17:40 0:00 > /usr/sbin/httpd - > > root 2483 0.0 0.0 4700 1068 ? S 17:40 0:00 > /usr/sbin/vsftpd > > root 2555 0.0 0.0 4544 1304 ? S 17:40 0:00 /bin/sh > /usr/bin/ > > asterisk 2575 0.0 0.2 16544 6124 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2578 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2579 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2581 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2583 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2585 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2586 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2588 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > mysql 2600 0.0 0.9 125808 19424 ? Sl 17:40 0:00 > /usr/libexec/mysq > > root 2697 0.0 0.0 1856 508 tty1 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2698 0.0 0.0 2600 508 tty2 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2699 0.0 0.0 1856 508 tty3 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2700 0.0 0.0 3184 508 tty4 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2701 0.0 0.0 2352 516 tty5 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2702 0.0 0.0 2488 508 tty6 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 3754 0.0 0.1 6984 2244 ? Ss 17:56 0:00 sshd: > bpiper [pri > > bpiper 3768 0.0 0.1 6984 2320 ? S 17:56 0:00 sshd: > bpiper@pts/ > > bpiper 3769 0.0 0.0 4560 1456 pts/1 Ss 17:56 0:00 -bash > > root 3795 0.0 0.0 5696 1240 pts/1 S 17:56 0:00 su > > root 3796 0.0 0.0 4608 1464 pts/1 S+ 17:56 0:00 bash > > root 12046 0.0 0.1 7440 2248 ? Ss 21:30 0:00 sshd: > bpiper [pri > > bpiper 12048 0.0 0.1 7440 2316 ? S 21:31 0:00 sshd: > bpiper@pts/ > > bpiper 12049 0.0 0.0 5976 1456 pts/0 Ss 21:31 0:00 -bash > > root 12075 0.0 0.0 4664 1236 pts/0 S 21:31 0:00 su > > root 12076 0.0 0.0 5392 1460 pts/0 S 21:31 0:00 bash > > root 12095 0.0 0.0 2976 824 pts/0 R+ 21:31 0:00 ps aux > > [root@asterisk bpiper]# asterisk -r > > Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl > exist?) > > [root@asterisk bpiper]# > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060419/f130608e/attachment.htm
Enter the 'dmesg' command. It displays a log of kernel messages etc... and may show up a problem. On Wed, 2006-04-19 at 03:03, billy@kersting.com wrote:> List, > > > > The past few days the asterisk service on my server has crashed > several times. I have had it running for months and have made no > changes to it. > > > > When it crashes, I am unable to make calls or gain access to the CLI. > The service has been stopped. If I try to start it again (service > asterisk start), it will start and run for a few seconds then crash > again. After a reboot, it will run successfully for several hours > before doing it again. > > > > Here is a ps aux of the services while the server is crashed. Does > anyone see any service that would have a conflict with the asterisk > service? > > FYI, the only cron I have running is a reboot scheduled once a week. > > > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > > root 1 0.0 0.0 3096 656 ? S 17:39 0:00 init > [3] > > root 2 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/0] > > root 3 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/0] > > root 4 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/1] > > root 5 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/1] > > root 6 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/2] > > root 7 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/2] > > root 8 0.0 0.0 0 0 ? S 17:39 0:00 > [migration/3] > > root 9 0.0 0.0 0 0 ? SN 17:39 0:00 > [ksoftirqd/3] > > root 10 0.0 0.0 0 0 ? S< 17:39 0:00 > [events/0] > > root 11 0.0 0.0 0 0 ? S< 17:39 0:00 > [events/1] > > root 12 0.0 0.0 0 0 ? S< 17:39 0:00 > [events/2] > > root 13 0.0 0.0 0 0 ? S< 17:39 0:00 > [events/3] > > root 14 0.0 0.0 0 0 ? S< 17:39 0:00 > [khelper] > > root 15 0.0 0.0 0 0 ? S< 17:39 0:00 > [kacpid] > > root 47 0.0 0.0 0 0 ? S< 17:39 0:00 > [kblockd/0] > > root 48 0.0 0.0 0 0 ? S< 17:39 0:00 > [kblockd/1] > > root 49 0.0 0.0 0 0 ? S< 17:39 0:00 > [kblockd/2] > > root 50 0.0 0.0 0 0 ? S< 17:39 0:00 > [kblockd/3] > > root 60 0.0 0.0 0 0 ? S 17:39 0:00 > [pdflush] > > root 61 0.0 0.0 0 0 ? S 17:39 0:00 > [pdflush] > > root 63 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/0] > > root 64 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/1] > > root 65 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/2] > > root 66 0.0 0.0 0 0 ? S< 17:39 0:00 [aio/3] > > root 51 0.0 0.0 0 0 ? S 17:39 0:00 [khubd] > > root 62 0.0 0.0 0 0 ? S 17:39 0:00 > [kswapd0] > > root 139 0.0 0.0 0 0 ? S 17:39 0:00 > [kseriod] > > root 204 0.0 0.0 0 0 ? S 17:39 0:00 > [scsi_eh_0] > > root 205 0.0 0.0 0 0 ? S 17:39 0:00 > [aacraid] > > root 217 0.0 0.0 0 0 ? S< 17:39 0:00 > [kmirrord] > > root 218 0.0 0.0 0 0 ? S< 17:39 0:00 > [kmir_mon] > > root 226 0.0 0.0 0 0 ? S 17:39 0:00 > [kjournald] > > root 1092 0.0 0.0 2312 556 ? S<s 17:39 0:00 udevd > > root 1125 0.0 0.0 0 0 ? S 17:39 0:00 > [shpchpd_event] > > root 1377 0.0 0.0 0 0 ? S< 17:39 0:00 > [kauditd] > > root 1424 0.0 0.0 0 0 ? S 17:39 0:00 > [kjournald] > > root 1962 0.0 0.0 2612 668 ? Ss 17:40 0:00 syslogd > -m 0 > > root 1966 0.0 0.0 3532 532 ? Ss 17:40 0:00 klogd > -x > > root 1976 0.0 0.0 2128 540 ? Ss 17:40 0:00 > irqbalance > > rpc 1993 0.0 0.0 3432 644 ? Ss 17:40 0:00 portmap > > root 2012 0.0 0.0 1800 912 ? Ss 17:40 0:00 > rpc.statd > > root 2038 0.0 0.0 5156 1140 ? Ss 17:40 0:00 > rpc.idmapd > > root 2115 0.0 0.0 2092 648 ? Ss 17:40 0:00 > /usr/sbin/acpid > > root 2124 0.0 0.1 8264 2188 ? Ss 17:40 0:00 cupsd > > root 2165 0.0 0.0 5120 1724 ? Ss 17:40 0:00 > /usr/sbin/sshd > > root 2188 0.0 0.0 3152 896 ? Ss 17:40 0:00 xinetd > -stayalive > > root 2295 0.0 0.1 9300 3084 ? Ss 17:40 0:00 > sendmail: accepti > > smmsp 2303 0.0 0.1 7252 2668 ? Ss 17:40 0:00 > sendmail: Queue r > > root 2316 0.0 0.0 2984 620 ? Ss 17:40 0:00 gpm -m > /dev/input > > root 2329 0.0 0.0 5412 1176 ? Ss 17:40 0:00 crond > > xfs 2355 0.0 0.0 3392 1540 ? Ss 17:40 0:00 xfs > -droppriv -da > > root 2373 0.0 0.0 3700 788 ? Ss 17:40 0:00 > /usr/sbin/atd > > dbus 2382 0.0 0.0 3660 1300 ? Ss 17:40 0:00 > dbus-daemon-1 --s > > root 2391 0.0 0.2 8456 5620 ? Ss 17:40 0:00 hald > > root 2471 0.0 0.2 16544 6000 ? Ss 17:40 0:00 > /usr/sbin/httpd - > > root 2483 0.0 0.0 4700 1068 ? S 17:40 0:00 > /usr/sbin/vsftpd > > root 2555 0.0 0.0 4544 1304 ? S 17:40 0:00 /bin/sh > /usr/bin/ > > asterisk 2575 0.0 0.2 16544 6124 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2578 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2579 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2581 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2583 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2585 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2586 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > asterisk 2588 0.0 0.2 16544 6128 ? S 17:40 0:00 > /usr/sbin/httpd - > > mysql 2600 0.0 0.9 125808 19424 ? Sl 17:40 0:00 > /usr/libexec/mysq > > root 2697 0.0 0.0 1856 508 tty1 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2698 0.0 0.0 2600 508 tty2 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2699 0.0 0.0 1856 508 tty3 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2700 0.0 0.0 3184 508 tty4 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2701 0.0 0.0 2352 516 tty5 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 2702 0.0 0.0 2488 508 tty6 Ss+ 17:40 0:00 > /sbin/mingetty tt > > root 3754 0.0 0.1 6984 2244 ? Ss 17:56 0:00 sshd: > bpiper [pri > > bpiper 3768 0.0 0.1 6984 2320 ? S 17:56 0:00 sshd: > bpiper@pts/ > > bpiper 3769 0.0 0.0 4560 1456 pts/1 Ss 17:56 0:00 -bash > > root 3795 0.0 0.0 5696 1240 pts/1 S 17:56 0:00 su > > root 3796 0.0 0.0 4608 1464 pts/1 S+ 17:56 0:00 bash > > root 12046 0.0 0.1 7440 2248 ? Ss 21:30 0:00 sshd: > bpiper [pri > > bpiper 12048 0.0 0.1 7440 2316 ? S 21:31 0:00 sshd: > bpiper@pts/ > > bpiper 12049 0.0 0.0 5976 1456 pts/0 Ss 21:31 0:00 -bash > > root 12075 0.0 0.0 4664 1236 pts/0 S 21:31 0:00 su > > root 12076 0.0 0.0 5392 1460 pts/0 S 21:31 0:00 bash > > root 12095 0.0 0.0 2976 824 pts/0 R+ 21:31 0:00 ps aux > > [root@asterisk bpiper]# asterisk -r > > Unable to connect to remote asterisk (does > /var/run/asterisk/asterisk.ctl exist?) > > [root@asterisk bpiper]# > > > > > > ______________________________________________________________________ > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
dump the core i believe -----Original Message----- From: William Piper [mailto:billy@kersting.com] Sent: Wed 4/19/2006 8:52 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Cc: Subject: RE: [Asterisk-Users] Asterisk service crashes What does asterisk -g do? I?m not finding anything on google. Thanks, William _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Josu? Conti Sent: Wednesday, April 19, 2006 7:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk service crashes Try asterisk -g Regards Josu? 2006/4/19, Gareth Blades <list-asterisk@linguaphone.co.uk>: Enter the 'dmesg' command. It displays a log of kernel messages etc... and may show up a problem. On Wed, 2006-04-19 at 03:03, billy@kersting.com wrote: > List, > > > > The past few days the asterisk service on my server has crashed > several times. I have had it running for months and have made no > changes to it. > > > > When it crashes, I am unable to make calls or gain access to the CLI. > The service has been stopped. If I try to start it again (service > asterisk start), it will start and run for a few seconds then crash > again. After a reboot, it will run successfully for several hours > before doing it again. > > > > Here is a ps aux of the services while the server is crashed. Does > anyone see any service that would have a conflict with the asterisk > service? > > FYI, the only cron I have running is a reboot scheduled once a week. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 7094 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060419/40a18240/attachment.bin
-c dumps the core? useful in cases of asterisk crashing. -----Original Message----- From: Josu? Conti [mailto:josueconti@gmail.com] Sent: Wed 4/19/2006 9:19 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Asterisk service crashes Hello William. asterisk - g, makes with that you it initiates daemon of asterisk and it is in background. Does not forget in the CLI it to activate the command set verbose X (1-15) to monitor the events in asterisk. I wait to have helped. Greatings 2006/4/19, Steve Totaro <stotaro@asteriskhelpdesk.com>: dump the core i believe -----Original Message----- From: William Piper [mailto: billy@kersting.com <mailto:billy@kersting.com> ] Sent: Wed 4/19/2006 8:52 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Cc: Subject: RE: [Asterisk-Users] Asterisk service crashes What does asterisk -g do? I'm not finding anything on google. Thanks, William _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Josu? Conti Sent: Wednesday, April 19, 2006 7:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk service crashes Try asterisk -g Regards Josu? 2006/4/19, Gareth Blades <list-asterisk@linguaphone.co.uk>: Enter the 'dmesg' command. It displays a log of kernel messages etc... and may show up a problem. On Wed, 2006-04-19 at 03:03, billy@kersting.com wrote: > List, > > > > The past few days the asterisk service on my server has crashed > several times. I have had it running for months and have made no > changes to it. > > > > When it crashes, I am unable to make calls or gain access to the CLI. > The service has been stopped. If I try to start it again (service > asterisk start), it will start and run for a few seconds then crash > again. After a reboot, it will run successfully for several hours > before doing it again. > > > > Here is a ps aux of the services while the server is crashed. Does > anyone see any service that would have a conflict with the asterisk > service? > > FYI, the only cron I have running is a reboot scheduled once a week. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 8654 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060419/9783d83d/attachment.bin
> Here is a ps aux of the services while the server is crashed. Does > anyone see any service that would have a conflict with the asterisk service?Hmmmm, maybe just me, but I personally wouldn't run anything but asterisk on my server, yet alone adding....... cups server font server http server ftp server database server email server Just my 2 cents.
The service just crashed again. This time I ran asterisk ?cvvvvvvv. It looks like ?ogg_vorbis? is where the problem is. Here are the last few lines from the dump: [app_system.so] => (Generic System() application) == Registered application 'TrySystem' == Registered application 'System' [app_nbscat.so] => (Silly NBS Stream Application) == Registered application 'NBScat' [app_md5.so] => (MD5 checksum applications) == Registered application 'MD5Check' == Registered application 'MD5' [app_macro.so] => (Extension Macros) == Registered application 'MacroExit' == Registered application 'MacroIf' == Registered application 'Macro' [format_ogg_vorbis.so] => (OGG/Vorbis audio) == Registered file format ogg_vorbis, extension(s) ogg Segmentation fault Does anyone have experience with this or know how to fix it? The only thing that seems to work is rebooting the server. Thanks, William ________________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Josu? Conti Sent: Wednesday, April 19, 2006 7:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk service crashes Try asterisk -g Regards Josu? 2006/4/19, Gareth Blades <list-asterisk@linguaphone.co.uk>: Enter the 'dmesg' command. It displays a log of kernel messages etc... and may show up a problem. On Wed, 2006-04-19 at 03:03, billy@kersting.com wrote:> List, > > The past few days the asterisk service on my server has crashed > several times. I have had it running for months and have made no > changes to it. > > When it crashes, I am unable to make calls or gain access to the CLI. > The service has been stopped. If I try to start it again (service > asterisk start), it will start and run for a few seconds then crash > again. After a reboot, it will run successfully for several hours > before doing it again. > > Here is a ps aux of the services while the server is crashed. Does > anyone see any service that would have a conflict with the asterisk > service? > FYI, the only cron I have running is a reboot scheduled once a week.