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 [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
