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


[systemd-devel] start database mysql.

2016-08-18 Thread 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
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
Aug 17 22:25:13 sbgtlhnbd2 systemd[1]: Failed to start SYSV: MySQL database 
server..
Aug 17 22:25:13 sbgtlhnbd2 systemd[1]: Unit mysqld.service entered failed state.
sbgtlhnbd2etc#journalctl -xn
-- Logs begin at Thu 2016-06-23 07:32:33 COT, end at Wed 2016-08-17 22:25:13 
COT. --
Aug 17 22:18:50 sbgtlhnbd2 sshd[14703]: pam_unix(sshd:session): session opened 
for user root by (uid=0)
Aug 17 22:20:01 sbgtlhnbd2 systemd[1]: Starting Session 11217 of user root.
-- Subject: Unit session-11217.scope has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-11217.scope has begun starting up.
Aug 17 22:20:02 sbgtlhnbd2 systemd[1]: Started Session 11217 of user root.
-- Subject: Unit session-11217.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-11217.scope has finished starting up.
--
-- The start-up result is done.
Aug 17 22:20:02 sbgtlhnbd2 CROND[15186]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Aug 17 22:25:10 sbgtlhnbd2 systemd[1]: Starting SYSV: MySQL database server
-- Subject: Unit mysqld.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun starting up.
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
Aug 17 22:25:13 sbgtlhnbd2 systemd[1]: Failed to start SYSV: MySQL database 
server..
-- Subject: Unit mysqld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has failed.
--
-- The result is failed.
Aug 17 22:25:13 sbgtlhnbd2 systemd[1]: Unit mysqld.service entered failed state.


regards,


Alfredog


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel