Asterisk on DNS 323 getting killed on startup

View: New views
3 Messages — Rating Filter:   Alert me  

Asterisk on DNS 323 getting killed on startup

by ninelives_in :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I installed asterisk14 on my 323 and when i try to start it up,it
gives the following message and gets killed.

[Nov 19 02:08:59] NOTICE[11849] cdr.c: CDR simple logging enabled.
[Nov 19 02:08:59] NOTICE[11849] loader.c: 136 modules will be loaded.
[Nov 19 02:09:00] WARNING[11849] chan_iax2.c: Cannot open
'/var/tmp/iaxy.bin-64648663' for writing: No such file or directory
[Nov 19 02:10:55] NOTICE[11890] cdr.c: CDR simple logging enabled.
[Nov 19 02:10:55] NOTICE[11890] loader.c: 136 modules will be loaded.
[Nov 19 02:10:55] WARNING[11890] chan_iax2.c: Cannot open
'/var/tmp/iaxy.bin-1877812905' for writing: No such file or directory
[Nov 19 02:14:06] NOTICE[11930] cdr.c: CDR simple logging enabled.
[Nov 19 02:14:06] NOTICE[11930] loader.c: 136 modules will be loaded.
[Nov 19 02:14:06] WARNING[11930] chan_iax2.c: Cannot open
'/var/tmp/iaxy.bin-237454825' for writing: No such file or directory
[Nov 19 02:14:57] NOTICE[11954] cdr.c: CDR simple logging enabled.
[Nov 19 02:14:57] NOTICE[11954] loader.c: 136 modules will be loaded.
[Nov 19 02:14:57] WARNING[11954] chan_iax2.c: Cannot open
'/var/tmp/iaxy.bin-1357107346' for writing: No such file or directory
[Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: Starting AEL load process.
[Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: AEL load process:
calculated config file name '/opt/etc/asterisk/extensions.ael'.


Any idea why?




Re: Asterisk on DNS 323 getting killed on startup

by CORNELIU DOBAN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How much RAM you have on the 323 ?
From the log I can see that you don't have the /var/tmp directory.
Loading all 136 modules is not a good idea.

In modules.conf set autoload to no and load only the modules you need:

[modules]
autoload=no
;
load=res_adsi.so ; ADSI Resource
load=res_crypto.so ; Cryptographic Digital Signatures
load=res_features.so ; Call Parking Resource
load=res_indications.so ; Indications Configuration
load=chan_iax2.so ; Inter Asterisk eXchange (Ver 2)
load=chan_local.so ; Local Proxy Channel
load=chan_sip.so ; Session Initiation Protocol (SIP)
load=codec_gsm.so ; GSM/PCM16 (signed linear) Codec Translat
load=codec_ulaw.so ; Mu-law Coder/Decoder
load=format_gsm.so ; Raw GSM data
load=format_pcm.so ; Raw uLaw 8khz Audio support (PCM)
load=format_wav.so ; Microsoft WAV format (8000hz Signed Line
load=format_wav_gsm.so ; Microsoft WAV format (Proprietary GSM)
load=res_musiconhold.so ; Music On Hold Resource
load=app_dial.so ; Dialing Application
load=app_macro.so ; Extension Macros
load=app_playback.so ; Sound File Playback Application
load=app_system.so ; Generic System() application
load=app_verbose.so ; Send verbose output
load=app_voicemail.so ; Comedian Mail (Voicemail System)
load=pbx_config.so ; Text Extension Configuration
load=pbx_spool.so ; Outgoing Spool Support
load=func_enum.so ; ENUM Related Functions
load=func_callerid.so ; Caller ID related dialplan function
load=func_cut.so ; Cut out information from a string
load=func_db.so ; Database (astdb) related dialplan functions
load=func_strings.so ; String handling dialplan functions
load=func_timeout.so ; Channel timeout dialplan functions

Good luck,
Corneliu


--- In nslu2-asterisk@..., "ninelives_in"
<ninelives_in@...> wrote:

>
>
> I installed asterisk14 on my 323 and when i try to start it up,it
> gives the following message and gets killed.
>
> [Nov 19 02:08:59] NOTICE[11849] cdr.c: CDR simple logging enabled.
> [Nov 19 02:08:59] NOTICE[11849] loader.c: 136 modules will be loaded.
> [Nov 19 02:09:00] WARNING[11849] chan_iax2.c: Cannot open
> '/var/tmp/iaxy.bin-64648663' for writing: No such file or directory
> [Nov 19 02:10:55] NOTICE[11890] cdr.c: CDR simple logging enabled.
> [Nov 19 02:10:55] NOTICE[11890] loader.c: 136 modules will be loaded.
> [Nov 19 02:10:55] WARNING[11890] chan_iax2.c: Cannot open
> '/var/tmp/iaxy.bin-1877812905' for writing: No such file or directory
> [Nov 19 02:14:06] NOTICE[11930] cdr.c: CDR simple logging enabled.
> [Nov 19 02:14:06] NOTICE[11930] loader.c: 136 modules will be loaded.
> [Nov 19 02:14:06] WARNING[11930] chan_iax2.c: Cannot open
> '/var/tmp/iaxy.bin-237454825' for writing: No such file or directory
> [Nov 19 02:14:57] NOTICE[11954] cdr.c: CDR simple logging enabled.
> [Nov 19 02:14:57] NOTICE[11954] loader.c: 136 modules will be loaded.
> [Nov 19 02:14:57] WARNING[11954] chan_iax2.c: Cannot open
> '/var/tmp/iaxy.bin-1357107346' for writing: No such file or directory
> [Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: Starting AEL load process.
> [Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: AEL load process:
> calculated config file name '/opt/etc/asterisk/extensions.ael'.
>
>
> Any idea why?
>



Re: Asterisk on DNS 323 getting killed on startup

by ninelives_in :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The RAM is 64MB and good portion of it is taken by the RAMDISK. I'm
also thinking its a memory issue. am going to start from scratch and
see if it works.

thanks for you help

--- In nslu2-asterisk@..., "Corneliu Doban"
<corneliu_doban@...> wrote:

>
> How much RAM you have on the 323 ?
> From the log I can see that you don't have the /var/tmp directory.
> Loading all 136 modules is not a good idea.
>
> In modules.conf set autoload to no and load only the modules you need:
>
> [modules]
> autoload=no
> ;
> load=res_adsi.so ; ADSI Resource
> load=res_crypto.so ; Cryptographic Digital Signatures
> load=res_features.so ; Call Parking Resource
> load=res_indications.so ; Indications Configuration
> load=chan_iax2.so ; Inter Asterisk eXchange (Ver 2)
> load=chan_local.so ; Local Proxy Channel
> load=chan_sip.so ; Session Initiation Protocol (SIP)
> load=codec_gsm.so ; GSM/PCM16 (signed linear) Codec Translat
> load=codec_ulaw.so ; Mu-law Coder/Decoder
> load=format_gsm.so ; Raw GSM data
> load=format_pcm.so ; Raw uLaw 8khz Audio support (PCM)
> load=format_wav.so ; Microsoft WAV format (8000hz Signed Line
> load=format_wav_gsm.so ; Microsoft WAV format (Proprietary GSM)
> load=res_musiconhold.so ; Music On Hold Resource
> load=app_dial.so ; Dialing Application
> load=app_macro.so ; Extension Macros
> load=app_playback.so ; Sound File Playback Application
> load=app_system.so ; Generic System() application
> load=app_verbose.so ; Send verbose output
> load=app_voicemail.so ; Comedian Mail (Voicemail System)
> load=pbx_config.so ; Text Extension Configuration
> load=pbx_spool.so ; Outgoing Spool Support
> load=func_enum.so ; ENUM Related Functions
> load=func_callerid.so ; Caller ID related dialplan function
> load=func_cut.so ; Cut out information from a string
> load=func_db.so ; Database (astdb) related dialplan functions
> load=func_strings.so ; String handling dialplan functions
> load=func_timeout.so ; Channel timeout dialplan functions
>
> Good luck,
> Corneliu
>
>
> --- In nslu2-asterisk@..., "ninelives_in"
> <ninelives_in@> wrote:
> >
> >
> > I installed asterisk14 on my 323 and when i try to start it up,it
> > gives the following message and gets killed.
> >
> > [Nov 19 02:08:59] NOTICE[11849] cdr.c: CDR simple logging enabled.
> > [Nov 19 02:08:59] NOTICE[11849] loader.c: 136 modules will be loaded.
> > [Nov 19 02:09:00] WARNING[11849] chan_iax2.c: Cannot open
> > '/var/tmp/iaxy.bin-64648663' for writing: No such file or directory
> > [Nov 19 02:10:55] NOTICE[11890] cdr.c: CDR simple logging enabled.
> > [Nov 19 02:10:55] NOTICE[11890] loader.c: 136 modules will be loaded.
> > [Nov 19 02:10:55] WARNING[11890] chan_iax2.c: Cannot open
> > '/var/tmp/iaxy.bin-1877812905' for writing: No such file or directory
> > [Nov 19 02:14:06] NOTICE[11930] cdr.c: CDR simple logging enabled.
> > [Nov 19 02:14:06] NOTICE[11930] loader.c: 136 modules will be loaded.
> > [Nov 19 02:14:06] WARNING[11930] chan_iax2.c: Cannot open
> > '/var/tmp/iaxy.bin-237454825' for writing: No such file or directory
> > [Nov 19 02:14:57] NOTICE[11954] cdr.c: CDR simple logging enabled.
> > [Nov 19 02:14:57] NOTICE[11954] loader.c: 136 modules will be loaded.
> > [Nov 19 02:14:57] WARNING[11954] chan_iax2.c: Cannot open
> > '/var/tmp/iaxy.bin-1357107346' for writing: No such file or directory
> > [Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: Starting AEL load process.
> > [Nov 19 02:14:58] NOTICE[11954] pbx_ael.c: AEL load process:
> > calculated config file name '/opt/etc/asterisk/extensions.ael'.
> >
> >
> > Any idea why?
> >
>