Start asterisk with "asterisk -vvvvvvvvv" and see where it is bombing out. You could also check your Asterisk logs<br><br>Usually, some module is not loading or whatever, so you can either figure out why or add noload=module in modules.conf.<br>
<br>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.<br><br>Thanks,<br>Steve Totaro<br><br><div class="gmail_quote">
On Fri, Nov 14, 2008 at 8:57 AM, Khaled Chehab <span dir="ltr"><<a href="mailto:Kchehab@xplorium.com">Kchehab@xplorium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Dear All </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I tried to stop asterisk and start it with debugging ,kindly heck
the results</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Already I modified asterisk.conf </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">astrundir => /var/run/asterisk</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">[root@localhost ~]# safe_asterisk</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">[root@localhost ~]# Asterisk ended with exit status 0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Asterisk shutdown normally.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> [root@localhost ~]# asterisk -vvvvgc</span></p><div class="Ih2E3d">
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Asterisk 1.4.22, Copyright (C) 1999 - 2008 Digium, Inc. and
others.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Created by Mark Spencer <<a href="mailto:markster@digium.com" target="_blank">markster@digium.com</a>></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show
warranty' for details.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">This is free software, with components licensed under the GNU
General Public</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">License version 2 and other licenses; you are welcome to
redistribute it under</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">certain conditions. Type 'core show license' for details.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">=========================================================================</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> == Parsing '/etc/asterisk/asterisk.conf': Found</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> == Parsing '/etc/asterisk/extconfig.conf': Parsing
/etc/asterisk/extconfig.conf</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Found</span></p>
</div><p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Unable to open pid file '/var/run/asterisk/asterisk.pid': No
such file or directory</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Please advice.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Godson
Gera<br>
<b>Sent:</b> Friday, November 14, 2008 3:34 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] asterisk/E1</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<p style="margin-bottom: 12pt;"> </p>
<div>
<p>On Fri, Nov 14, 2008 at 6:29 PM, Khaled Chehab <<a href="mailto:Kchehab@xplorium.com" target="_blank">Kchehab@xplorium.com</a>> wrote:</p>
<div>
<div>
<p> </p>
<p>Dear All </p>
<p>I installed a Digium card TE405P with zaptel and its running successfully
with no alarms, but asterisk is not running .</p>
<p>Any one have a cure or advice</p>
<p> </p>
<p>03:09.0 Communication controller: Digium, Inc. Wildcard TE405P quad-span
T1/E1/J1 card 5.0V (rev 02)</p>
<p>Nov 14 07:56:58 localhost kernel: wct4xxp: Clearing yellow alarm on span 2</p>
<p>Nov 14 07:56:58 localhost kernel: wct4xxp: Clearing yellow alarm on span 1</p>
<p>Nov 14 07:56:58 localhost kernel: Zaptel: Master changed to TE4/0/1</p>
<p> </p>
<p> </p>
<p>[root@localhost ~]# asterisk -rvvvvc</p>
<p>Asterisk 1.4.22, Copyright (C) 1999 - 2008 Digium, Inc. and others.</p>
<p>Created by Mark Spencer <<a href="mailto:markster@digium.com" target="_blank">markster@digium.com</a>></p>
<p>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.</p>
<p>This is free software, with components licensed under the GNU General Public</p>
<p>License version 2 and other licenses; you are welcome to redistribute it
under</p>
<p>certain conditions. Type 'core show license' for details.</p>
<p>=========================================================================</p>
<p> == Parsing '/etc/asterisk/asterisk.conf': Found</p>
<p> == Parsing '/etc/asterisk/extconfig.conf': Parsing
/etc/asterisk/extconfig.conf</p>
<p>Found</p>
<p>Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
exist?)</p>
</div>
</div>
</div>
<p style="margin-bottom: 12pt;">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. <br>
<br>
<br>
Godson Gera<br>
<a href="http://godson.in" target="_blank">http://godson.in</a></p>
</div></div></div>
<br><div class="Ih2E3d">
<br>
<hr>
*********************************************<br>
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.<br>
<br>
This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.<br>
<br>
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.<br>
<br>
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..<br>
*********************************************<br>
<br>
</div></div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Steve Totaro <br>
+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br>