Posted: 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 --
Posted: 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.
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 --
Posted: 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 --
Posted: 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 --
Posted: 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 --
Posted: 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 --
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