I have:

[EMAIL PROTECTED] ~]# chkconfig --list | grep mysql
mysqld          0:off   1:off   2:off   3:on    4:off   5:off   6:off
[EMAIL PROTECTED] ~]# chkconfig --list | grep asterisk
asterisk        0:off   1:off   2:on    3:on    4:on    5:on    6:off

What would you suggest I do?


On 11/21/05, Matt Riddell <[EMAIL PROTECTED]> wrote:
Eric Bishop wrote:
> Hi All,
>
> I am running Asterisk (1.0.9.) on CentOS 4 with CDR recording being
> output to MySQL. However whenever the system boots up after a reboot I
> am needing to manually restart Asterisk because MySQL is after Asterisk
> in the service startup sequence and I get
>
> ERROR[3367]: Failed to connect to mysql database cdr on localhost.
>
> Anyone know of a simple and elegant way to fix this?
>
> I'd prefer not to have to hack either MySQL or Asterisk init scripts

If it's running using services, you could set MySQL to start on level 2 and
Asterisk on level 3.

chkconfig --list

--
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

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

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to