I have:<br>
<br>
[root@pbx ~]# chkconfig --list | grep mysql<br>
mysqld
0:off 1:off 2:off
3:on 4:off 5:off 6:off<br>
[root@pbx ~]# chkconfig --list | grep asterisk<br>
asterisk 0:off
1:off 2:on 3:on
4:on 5:on 6:off<br>
<br>What would you suggest I do?<br>
<br>
<br><div><span class="gmail_quote">On 11/21/05, <b class="gmail_sendername">Matt Riddell</b> <<a href="mailto:matt.riddell@sineapps.com">matt.riddell@sineapps.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Eric Bishop wrote:<br>> Hi All,<br>><br>> I am running Asterisk (1.0.9.) on CentOS 4 with CDR recording being<br>> output to MySQL. However whenever the system boots up after a reboot I<br>> am needing to manually restart Asterisk because MySQL is after Asterisk
<br>> in the service startup sequence and I get<br>><br>> ERROR[3367]: Failed to connect to mysql database cdr on localhost.<br>><br>> Anyone know of a simple and elegant way to fix this?<br>><br>> I'd prefer not to have to hack either MySQL or Asterisk init scripts
<br><br>If it's running using services, you could set MySQL to start on level 2 and<br>Asterisk on level 3.<br><br>chkconfig --list<br><br>--<br>Cheers,<br><br>Matt Riddell<br>_______________________________________________
<br><br><a href="http://www.sineapps.com/news.php">http://www.sineapps.com/news.php</a> (Daily Asterisk News - html)<br><a href="http://freevoip.gedameurope.com">http://freevoip.gedameurope.com</a> (Free Asterisk Voip Community)
<br><a href="http://www.sineapps.com/rssfeed.php">http://www.sineapps.com/rssfeed.php</a> (Daily Asterisk News - rss)<br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>