Vojtěch Zeisek wrote:
Dne Ne 13. dubna 2014 14:22:10, Per Jessen napsal(a):
Vojtěch Zeisek wrote:
Dne Ne 13. dubna 2014 13:26:35, Per Jessen napsal(a):
Vojtěch Zeisek wrote:
Dne Ne 13. dubna 2014 11:01:46, Per Jessen napsal(a):
Vojtěch Zeisek wrote: No output from "systemctl status mysql.service" at all?? On a successful start, this is mine:
# systemctl status mysql.service mysql.service - LSB: Start the MySQL database server Loaded: loaded (/etc/init.d/mysql) Active: active (running) since Thu, 2014-04-10 09:37:27 CEST; 3 days ago Process: 17719 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/mysql.service 17801 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock --datadir=/srv/mysql 18192 /usr/sbin/mysqld --basedir=/usr --datadir=/srv/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/mysqld.log --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql....
Apr 10 09:37:22 adenauer systemd[1]: Starting LSB: Start the MySQL database server... Apr 10 09:37:27 adenauer mysql[17719]: Starting service MySQL ..done Apr 10 09:37:27 adenauer systemd[1]: Started LSB: Start the MySQL database serve
OK, nothing interesting. ;-) # systemctl status mysql.service mysql.service - LSB: Start the MySQL database server Loaded: loaded (/etc/init.d/mysql) Active: active (running) since So 2014-04-12 16:42:01 CEST; 21h ago CGroup: /system.slice/mysql.service ├─4740 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql -- pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock -- datadir=/var/lib/mysql └─5112 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql -- plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log- error=/var/lib/mysql/botany.err --pid-file=/var/run/mysql/mysqld.pid -- socket=/var/run/mysql/mysql.sock
dub 12 16:42:01 botany mysql[4429]: Starting service MySQL ..done dub 12 16:42:01 botany systemd[1]: Started LSB: Start the MySQL database server.
Okay, but what does it say after a failed automatic mysql start-up? That ought to be the interesting one.
Is mysql enabled in sysvinit? "chkconfg mysql" ? If not, enable it. Maybe "systemctl enable mysql" did not in fact enable it, even if it said so.
# chkconfig mysql mysql on
Okay. -- Per Jessen, Zürich (16.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org