Start asterisk with "asterisk -vvvvvvvvv" and see where it is bombing out. You could also check your Asterisk logs
Usually, some module is not loading or whatever, so you can either figure out why or add noload=module in modules.conf. If it is not a module, it will be pretty clear what it is when starting Asterisk with the above command, then once fixed, safe_asterisk is a good way to start Asterisk. Thanks, Steve Totaro On Fri, Nov 14, 2008 at 8:57 AM, Khaled Chehab <[EMAIL PROTECTED]> wrote: > Dear All > > I tried to stop asterisk and start it with debugging ,kindly heck the > results > > Already I modified asterisk.conf > > astrundir => /var/run/asterisk > > > > [EMAIL PROTECTED] ~]# safe_asterisk > > [EMAIL PROTECTED] ~]# Asterisk ended with exit status 0 > > Asterisk shutdown normally. > > > > [EMAIL PROTECTED] ~]# asterisk -vvvvgc > > Asterisk 1.4.22, Copyright (C) 1999 - 2008 Digium, Inc. and others. > > Created by Mark Spencer <[EMAIL PROTECTED]> > > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for > details. > > This is free software, with components licensed under the GNU General > Public > > License version 2 and other licenses; you are welcome to redistribute it > under > > certain conditions. Type 'core show license' for details. > > ========================================================================= > > == Parsing '/etc/asterisk/asterisk.conf': Found > > == Parsing '/etc/asterisk/extconfig.conf': Parsing > /etc/asterisk/extconfig.conf > > Found > > Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or > directory > > > > > > Please advice. > > > > > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Godson Gera > *Sent:* Friday, November 14, 2008 3:34 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] asterisk/E1 > > > > > > On Fri, Nov 14, 2008 at 6:29 PM, Khaled Chehab <[EMAIL PROTECTED]> > wrote: > > > > Dear All > > I installed a Digium card TE405P with zaptel and its running successfully > with no alarms, but asterisk is not running . > > Any one have a cure or advice > > > > 03:09.0 Communication controller: Digium, Inc. Wildcard TE405P quad-span > T1/E1/J1 card 5.0V (rev 02) > > Nov 14 07:56:58 localhost kernel: wct4xxp: Clearing yellow alarm on span 2 > > Nov 14 07:56:58 localhost kernel: wct4xxp: Clearing yellow alarm on span 1 > > Nov 14 07:56:58 localhost kernel: Zaptel: Master changed to TE4/0/1 > > > > > > [EMAIL PROTECTED] ~]# asterisk -rvvvvc > > Asterisk 1.4.22, Copyright (C) 1999 - 2008 Digium, Inc. and others. > > Created by Mark Spencer <[EMAIL PROTECTED]> > > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for > details. > > This is free software, with components licensed under the GNU General > Public > > License version 2 and other licenses; you are welcome to redistribute it > under > > certain conditions. Type 'core show license' for details. > > ========================================================================= > > == Parsing '/etc/asterisk/asterisk.conf': Found > > == Parsing '/etc/asterisk/extconfig.conf': Parsing > /etc/asterisk/extconfig.conf > > Found > > Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl > exist?) > > It says asterisk is not running, try running the following command > 'asterisk -vvvvgc' and see what happens. Also you need to use '-r' option > only to connect to an asterisk instance that is already running not to start > asterisk. > > > Godson Gera > http://godson.in > > > ------------------------------ > ********************************************* > > No employee or agent is authorized to conclude any binding agreement on > behalf of Xplorium with another party by e-mail without express written > confirmation by an officer of Xplorium. Any views expressed by an individual > in this electronic message do not necessarily reflect views of Xplorium or > its subsidiaries and associates. > > > This electronic message and its attachments are solely addressed to the > addressee(s), and contain confidential information protected from disclosure > belonging to Xplorium. > > > If you are not the intended addressee of this electronic message and its > attachments, kindly delete it immediately from your system and notify the > sender by electronic mail. You must not copy this message or attachment or > disclose its content to any other person. > > > Xplorium does not guarantee the integrity of this electronic message and any > of its attachments, or that they are free from computer viruses or other > defects.. > ********************************************* > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Thanks, Steve Totaro +18887771888 (Toll Free) +12409381212 (Cell) +12024369784 (Skype)
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
