• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-speech-rec] Asterisk 1.4.x fails to start automati

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
cursor at telecomabmex.co
Guest





PostPosted: Fri Mar 23, 2007 6:56 pm    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

Since I installed the Lumenvox speech engine on a Fedora 4 machine
Asterisk will not start using the regular init.d/asterisk process. I
get the following error:

/usr/sbin/safe_asterisk: line 42: 3990 Aborted (core
dumped) ${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY}
</dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Automatically restarting Asterisk.

The strange thing is that if I start asterisk by hand (asterisk
-vvvvvcg) or run the safe_asterisk command everything will work ok.
Only when asterisk tries to start with "service asterisk start" do I get
that error.

Anyone had this experience?

--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
vrocha13 at mxcomm.com
Guest





PostPosted: Fri Mar 23, 2007 7:37 pm    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

Lo has tratado con un version de red hat ES ?
Creo que tienes algunos problemas de compatibilidad con la version del
kernel utilizado, si mal no recuerdo.

Por mi experiencia, dependiendo de la versión de Linux, Asterisk y Lumenvox,
todo dependera del build que tengas para que lo puedas inicializar como un
servicios o si te ves forzado a ralizarlo manualmente cada vez que boteas la
maquina.

Saludos,

Victor H. Rocha
www.mxcomm.com
www.seglink.com




-----Original Message-----
From: asterisk-speech-rec-bounces@lists.digium.com
[mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Carlos
Chavez
Sent: Friday, March 23, 2007 11:29 AM
To: asterisk-speech-rec@lists.digium.com
Subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start
automatically...

Since I installed the Lumenvox speech engine on a Fedora 4 machine
Asterisk will not start using the regular init.d/asterisk process. I
get the following error:

/usr/sbin/safe_asterisk: line 42: 3990 Aborted (core
dumped) ${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY}
</dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Automatically restarting Asterisk.

The strange thing is that if I start asterisk by hand (asterisk
-vvvvvcg) or run the safe_asterisk command everything will work ok.
Only when asterisk tries to start with "service asterisk start" do I get
that error.

Anyone had this experience?

--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
jsmith at sokol-associate
Guest





PostPosted: Sat Mar 24, 2007 2:15 am    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

On 3/23/07, Carlos Chavez <cursor@telecomabmex.com> wrote:
Quote:
The strange thing is that if I start asterisk by hand (asterisk
-vvvvvcg) or run the safe_asterisk command everything will work ok.
Only when asterisk tries to start with "service asterisk start" do I get
that error.

Anyone had this experience?

This is due to the fact that LumenVox needs the environment variables
set in order to load. Those environment variables are not set in the
initscript, so it fails to load. If you start Asterisk manually, the
environment variables have been set in your .bash_profile (or
equivalent file -- I can't remember exactly where they are placed).

-Jared
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
cursor at telecomabmex.co
Guest





PostPosted: Mon Mar 26, 2007 6:46 pm    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

On Fri, 2007-03-23 at 22:08 -0400, Jared Smith wrote:
Quote:
On 3/23/07, Carlos Chavez <cursor@telecomabmex.com> wrote:
> The strange thing is that if I start asterisk by hand (asterisk
> -vvvvvcg) or run the safe_asterisk command everything will work ok.
> Only when asterisk tries to start with "service asterisk start" do I get
> that error.
>
> Anyone had this experience?

This is due to the fact that LumenVox needs the environment variables
set in order to load. Those environment variables are not set in the
initscript, so it fails to load. If you start Asterisk manually, the
environment variables have been set in your .bash_profile (or
equivalent file -- I can't remember exactly where they are placed).

So are there any modifications I can make to the /etc/init.d/asterisk

file so it will set the environment and not fail? In a country where
power can fail at any time I need to make sure my server restarts
automatically every time.

--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
jsmith at sokol-associate
Guest





PostPosted: Mon Mar 26, 2007 7:46 pm    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

On 3/26/07, Carlos Chavez <cursor@telecomabmex.com> wrote:
Quote:
So are there any modifications I can make to the /etc/init.d/asterisk
file so it will set the environment and not fail? In a country where
power can fail at any time I need to make sure my server restarts
automatically every time.

Absolutely! It's as simple as modifying /usr/bin/safe_asterisk or
/etc/init.d/asterisk to set the environment variables for you.

-Jared
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
cursor at telecomabmex.co
Guest





PostPosted: Mon Mar 26, 2007 9:15 pm    Post subject: [asterisk-speech-rec] Asterisk 1.4.x fails to start automati

On Mon, 2007-03-26 at 15:46 -0400, Jared Smith wrote:
Quote:
On 3/26/07, Carlos Chavez <cursor@telecomabmex.com> wrote:
> So are there any modifications I can make to the /etc/init.d/asterisk
> file so it will set the environment and not fail? In a country where
> power can fail at any time I need to make sure my server restarts
> automatically every time.

Absolutely! It's as simple as modifying /usr/bin/safe_asterisk or
/etc/init.d/asterisk to set the environment variables for you.

Ok, great. Where can I find the variables that need to be set?



--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™