Решил вот обновить дистрибутив с системой с Ubuntu 10.04 LTS на 12.04 LTS.
При установке на 12.04 traffpro (система биллинга) не запускается вместе с системой, хотя доступ к веб админке есть. В /var/log/boot.log сыпется вот что:
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
/dev/mapper/traffpro--gw-root: clean, 74479/3850896 files, 643569/15403008 blocks
/dev/sda1: clean, 228/124496 files, 42574/248832 blocks
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Starting AppArmor profiles [ OK ]
* Starting domain name service... bind9 [ OK ]
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Aug 22 15:07:44 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
* Starting web server apache2 [ OK ]
mysqlshow: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Error connect database --host=localhost --user=root --password=WfUfyer87 --database traffpro
mysqlshow: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Error connect database --host=localhost --user=root --password=WfUfyer87 --database traffpro
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service S99mysql start
initctl: Unknown job: S99mysql
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start S99mysql
mysqlshow: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.socк' (2)
Error connect database --host=localhost --user=root --password=WfUfyer87 --database traffpro
Я так понял, что traffpro запускается раньше чем mysql и не может соединиться с базой. Как можно задать так, чтобы mysql стартовал первым, а остальные демоны за ним?
Ubuntu 12.04