Re: [systemd-devel] start database mysql.

2016-08-19 Thread Lennart Poettering
On Thu, 18.08.16 14:48, Alfredo Garzon (lgarz...@hotmail.com) wrote:

> hi, we have a problem, we install  rpm of mysql5.7.9, at the beginning start 
> database   please, someone give some idea to correct this: the messages is:
> 
> bgtlhnbd2etc#systemctl start mysqld
> Job for mysqld.service failed. See 'systemctl status mysqld.service' and 
> 'journalctl -xn' for details.
> sbgtlhnbd2etc#systemctl status mysqld.service
> mysqld.service - SYSV: MySQL database server.
>Loaded: loaded (/etc/rc.d/init.d/mysqld)
>Active: failed (Result: exit-code) since Wed 2016-08-17 22:25:13 COT; 17s 
> ago
>   Process: 16562 ExecStart=/etc/rc.d/init.d/mysqld start (code=exited, 
> status=1/FAILURE)
> 
> Aug 17 22:25:10 sbgtlhnbd2 systemd[1]: Starting SYSV: MySQL database 
> server
> Aug 17 22:25:13 sbgtlhnbd2 mysqld[16562]: MySQL Daemon failed to start.
> Aug 17 22:25:13 sbgtlhnbd2 mysqld[16562]: Starting mysqld:  [FAILED]
> Aug 17 22:25:13 sbgtlhnbd2 systemd[1]: mysqld.service: control process 
> exited, code=exited status=1

mysqld's start job failed with exit code 1. This is not a systemd
problem really, but some issue with mysql. Please check mysql's logs
in order to figure out what might have gone wrong.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] start database mysql.

2016-08-18 Thread Reindl Harald



Am 18.08.2016 um 16:48 schrieb Alfredo Garzon:

hi, we have a problem, we install  rpm of mysql5.7.9, at the beginning
start database   please, someone give some idea to correct this: the
messages is:

bgtlhnbd2etc#systemctl start mysqld
Job for mysqld.service failed. See 'systemctl status mysqld.service' and
'journalctl -xn' for details.
sbgtlhnbd2etc#systemctl status mysqld.service
mysqld.service - SYSV: MySQL database server.
   Loaded: loaded (/etc/rc.d/init.d/mysqld)
   Active: failed (Result: exit-code) since Wed 2016-08-17 22:25:13 COT;
17s ago
  Process: 16562 ExecStart=/etc/rc.d/init.d/mysqld start (code=exited,
status=1/FAILURE)

Aug 17 22:25:10 sbgtlhnbd2 systemd[1]: Starting SYSV: MySQL database
server


* this is *not* a systemd-problem
* it's even not a systemd-unit
* look in your mysql server log





signature.asc
Description: OpenPGP digital signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel