Asterisk exit automatically

Thanks David

HERE is the logs before exit

WARNING[11254][C-00001ca8]: app_dial.c:1725 wait_for_answer: Unable to forward frametype: 2
ERROR[3156][C-000006ef]: chan_sip.c:4267 __sip_reliable_xmit:Serious Network Trouble; __sip_xmit returns error for pkt data
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘login’. Asterisk is shutting down.
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘Command’. Asterisk is shutting down.
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘Logoff’. Asterisk is shutting down.
WARNING[8480][C-00001cb2]: channel.c:811 __ast_channel_alloc_ap: Channel allocation failed: Refusing due to active shutdown
WARNING[8480][C-00001cb2]: chan_sip.c:8107 sip_new: Unable to allocate AST channel structure for SIP channel
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘login’. Asterisk is shutting down.
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘Command’. Asterisk is shutting down.
ERROR[11292]: manager.c:6361 process_message: Unable to process manager action ‘Logoff’. Asterisk is shutting down.
WARNING[8480][C-00001cb2]: channel.c:811 __ast_channel_alloc_ap: Channel allocation failed: Refusing due to active shutdown
WARNING[8480][C-00001cb2]: chan_sip.c:8107 sip_new: Unable to allocate AST channel structure for SIP channel.
.
.
.
WARNING[8698]: db.c:344 ast_db_put: Couldn’t bind key to stmt: out of memory

AND THEN EXIT