Asterisk stop / time
Posted: Thu Sep 27, 2018 3:46 pm
Hello everyone
I have the following problem, I just happened to be working normally suddenly disconnected all the agents and could not connect, when we review we see that the score in the report menu is red indicating that it is with another time we enter see it but the time was correct, but asterisk was not started, something strange because before it was working well and at the time of starting it only indicated (does /var/run/asterisk.ctl exist?) even stranger, what we had to do was to restart the server and when everything started was normal but I do not know what the error was, at the time of the failure, the time was checked, everything was reset, the service was restarting everything well.
It only happened to one of the servers which is also web server
In the logs I find this: / var / log / messages
2018-09-27T09:45:04.973822-05:00 pbx1 vsftpd[11614]: pam_unix(vsftpd:auth): check pass; user unknown
2018-09-27T09:45:04.974102-05:00 pbx1 vsftpd[11614]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=anonymous rhost=::ffff:192.168.1.62
2018-09-27T09:45:06.253656-05:00 pbx1 CRON[11403]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:06.663999-05:00 pbx1 vsftpd[11614]: [anonymous] FAIL LOGIN: Client "::ffff:192.168.1.62"
2018-09-27T09:45:06.845752-05:00 pbx1 CRON[11406]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:06.892990-05:00 pbx1 CRON[11402]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:15.269672-05:00 pbx1 CRON[11405]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:31.082237-05:00 pbx1 kernel: [15230.241983] ../mm/pgtable-generic.c:33: bad pmd ffff88040dbd4458(80000000c98008e7)
2018-09-27T09:45:31.082294-05:00 pbx1 kernel: [15230.242075] asterisk[11731]: segfault at 0 ip 00000000004f05f5 sp 00007f2c8874c650 error 4 in asterisk[400000+233000]
2018-09-27T09:45:33.920471-05:00 pbx1 kernel: [15233.080026] BUG: Bad rss-counter state mm:ffff88040d834800 idx:1 val:512
2018-09-27T09:45:33.920486-05:00 pbx1 kernel: [15233.080029] BUG: non-zero nr_ptes on freeing mm: 1
2018-09-27T09:45:45.846984-05:00 pbx1 CRON[11404]: pam_unix(crond:session): session closed for user root
2018-09-27T09:46:01.178281-05:00 pbx1 systemd-coredump[12410]: Process 1698 (asterisk) of user 0 dumped core.
2018-09-27T09:46:01.852897-05:00 pbx1 cron[12639]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853237-05:00 pbx1 cron[12641]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853475-05:00 pbx1 cron[12643]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853704-05:00 pbx1 cron[12642]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853932-05:00 pbx1 cron[12640]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.873047-05:00 pbx1 systemd[1]: Started Session 1288 of user root.
/var/log/asterisk/messages
[Sep 27 09:45:31] VERBOSE[12370] manager.c: [Sep 27 09:45:31] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] app_amd.c: [Sep 27 09:45:31] -- AMD: Channel [SIP/carrier2-00006110]. Word detected. iWordsCount:4
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] app_amd.c: [Sep 27 09:45:31] -- AMD: Channel [SIP/carrier2-00006110]. ANSWERING MACHINE: iWordsCount:4
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] pbx.c: [Sep 27 09:45:31] -- Executing [8369@default:4] AGI("SIP/carrier2-00006110", "VD_amd.agi,8369") in new stack
And here is where asterisk stops because there are no more logs until it starts again but from there nothing weird
VERSION: 2.14-678a
BUILD: 180613-0943
2 pbx servers one of them has the web server
1 server dedicated to the database
Installation with vicibox_v8.x86_64-8.0.1
Thanks for the support
I have the following problem, I just happened to be working normally suddenly disconnected all the agents and could not connect, when we review we see that the score in the report menu is red indicating that it is with another time we enter see it but the time was correct, but asterisk was not started, something strange because before it was working well and at the time of starting it only indicated (does /var/run/asterisk.ctl exist?) even stranger, what we had to do was to restart the server and when everything started was normal but I do not know what the error was, at the time of the failure, the time was checked, everything was reset, the service was restarting everything well.
It only happened to one of the servers which is also web server
In the logs I find this: / var / log / messages
2018-09-27T09:45:04.973822-05:00 pbx1 vsftpd[11614]: pam_unix(vsftpd:auth): check pass; user unknown
2018-09-27T09:45:04.974102-05:00 pbx1 vsftpd[11614]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=anonymous rhost=::ffff:192.168.1.62
2018-09-27T09:45:06.253656-05:00 pbx1 CRON[11403]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:06.663999-05:00 pbx1 vsftpd[11614]: [anonymous] FAIL LOGIN: Client "::ffff:192.168.1.62"
2018-09-27T09:45:06.845752-05:00 pbx1 CRON[11406]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:06.892990-05:00 pbx1 CRON[11402]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:15.269672-05:00 pbx1 CRON[11405]: pam_unix(crond:session): session closed for user root
2018-09-27T09:45:31.082237-05:00 pbx1 kernel: [15230.241983] ../mm/pgtable-generic.c:33: bad pmd ffff88040dbd4458(80000000c98008e7)
2018-09-27T09:45:31.082294-05:00 pbx1 kernel: [15230.242075] asterisk[11731]: segfault at 0 ip 00000000004f05f5 sp 00007f2c8874c650 error 4 in asterisk[400000+233000]
2018-09-27T09:45:33.920471-05:00 pbx1 kernel: [15233.080026] BUG: Bad rss-counter state mm:ffff88040d834800 idx:1 val:512
2018-09-27T09:45:33.920486-05:00 pbx1 kernel: [15233.080029] BUG: non-zero nr_ptes on freeing mm: 1
2018-09-27T09:45:45.846984-05:00 pbx1 CRON[11404]: pam_unix(crond:session): session closed for user root
2018-09-27T09:46:01.178281-05:00 pbx1 systemd-coredump[12410]: Process 1698 (asterisk) of user 0 dumped core.
2018-09-27T09:46:01.852897-05:00 pbx1 cron[12639]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853237-05:00 pbx1 cron[12641]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853475-05:00 pbx1 cron[12643]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853704-05:00 pbx1 cron[12642]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.853932-05:00 pbx1 cron[12640]: pam_unix(crond:session): session opened for user root by (uid=0)
2018-09-27T09:46:01.873047-05:00 pbx1 systemd[1]: Started Session 1288 of user root.
/var/log/asterisk/messages
[Sep 27 09:45:31] VERBOSE[12370] manager.c: [Sep 27 09:45:31] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] app_amd.c: [Sep 27 09:45:31] -- AMD: Channel [SIP/carrier2-00006110]. Word detected. iWordsCount:4
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] app_amd.c: [Sep 27 09:45:31] -- AMD: Channel [SIP/carrier2-00006110]. ANSWERING MACHINE: iWordsCount:4
[Sep 27 09:45:31] VERBOSE[12343][C-00006920] pbx.c: [Sep 27 09:45:31] -- Executing [8369@default:4] AGI("SIP/carrier2-00006110", "VD_amd.agi,8369") in new stack
And here is where asterisk stops because there are no more logs until it starts again but from there nothing weird
VERSION: 2.14-678a
BUILD: 180613-0943
2 pbx servers one of them has the web server
1 server dedicated to the database
Installation with vicibox_v8.x86_64-8.0.1
Thanks for the support