Dne Ne 13. dubna 2014 14:58:22, Per Jessen napsal(a):
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: Okay, but what does it say after a failed automatic mysql start-up? That ought to be the interesting one.
The same: # systemctl enable mysql.service mysql.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig mysql on The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). # 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; 22h 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. V. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/