Enviado em 25/02/2018 - 18:56h
Galera, tudo bem com voces? Então, eu estou quase ficando careca com esse problema hehe.-- Logs begin at Sat 2017-10-28 20:40:43 -02, end at Sun 2018-02-25 18:51:36 -03. -- fev 25 18:51:36 fedora systemd[1]: Failed to start The PHP FastCGI Process Manager. -- Subject: A unidade php-fpm.service falhou -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A unidade php-fpm.service falhou. -- -- O resultado é failed. fev 25 18:51:36 fedora systemd[1]: php-fpm.service: Unit entered failed state. fev 25 18:51:36 fedora systemd[1]: php-fpm.service: Failed with result 'exit-code'. fev 25 18:51:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=php-fpm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' fev 25 18:51:36 fedora systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE fev 25 18:51:36 fedora systemd[1]: httpd.service: Killing process 7199 (httpd) with signal SIGKILL. fev 25 18:51:36 fedora systemd[1]: Failed to start The Apache HTTP Server. -- Subject: A unidade httpd.service falhou -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A unidade httpd.service falhou. -- -- O resultado é failed. fev 25 18:51:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' fev 25 18:51:36 fedora systemd[1]: httpd.service: Unit entered failed state. fev 25 18:51:36 fedora systemd[1]: httpd.service: Failed with result 'exit-code'.
-- Logs begin at Sat 2017-10-28 20:40:43 -02, end at Sun 2018-02-25 18:52:53 -03. -- fev 25 18:52:53 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 fev 25 18:52:53 fedora systemd[1]: Failed to start MySQL Server. -- Subject: A unidade mysqld.service falhou -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A unidade mysqld.service falhou. -- -- O resultado é failed. fev 25 18:52:53 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' fev 25 18:52:53 fedora systemd[1]: mysqld.service: Unit entered failed state. fev 25 18:52:53 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. fev 25 18:52:53 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. fev 25 18:52:53 fedora systemd[1]: Stopped MySQL Server. -- Subject: A unidade mysqld.service concluiu o desligamento -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A unidade mysqld.service concluiu o desligamento. fev 25 18:52:53 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' fev 25 18:52:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' fev 25 18:52:53 fedora systemd[1]: Starting MySQL Server... -- Subject: Unidade mysqld.service sendo iniciado -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A unidade mysqld.service está sendo iniciada.
Enviado em 12/03/2018 - 04:37h
Usando comando: systemctl status mysqld● mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled) Active: activating (start-pre) since Mon 2018-03-12 04:34:32 -03; 2s ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 3943 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=1/FAILURE) Cntrl PID: 3972 (mysqld_pre_syst) Tasks: 2 (limit: 4915) CGroup: /system.slice/mysqld.service └─control ├─3972 /bin/bash /usr/bin/mysqld_pre_systemd └─3991 /usr/bin/python3 -Es /usr/sbin/semanage fcontext -a -e /var/lib/mysql /var/lib/mysql-keyring mar 12 04:34:32 fedora systemd[1]: Starting MySQL Server... mar 12 04:34:37 fedora mysqld[3994]: Unable to determine if daemon is running: No such file or directory mar 12 04:34:37 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 12 04:34:37 fedora systemd[1]: Failed to start MySQL Server. mar 12 04:34:37 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 12 04:34:37 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 12 04:34:37 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 12 04:34:37 fedora systemd[1]: Stopped MySQL Server. mar 12 04:34:37 fedora systemd[1]: Starting MySQL Server...
Enviado em 17/03/2018 - 19:19h
service mysqld start
Redirecting to /bin/systemctl start mysqld.service Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
Enviado em 18/03/2018 - 19:21h
Para iniciar serviços no Boot no Systemd:systemctl enable SERVIÇO
systemctl is-enabled SERVIÇO
Enviado em 18/03/2018 - 21:03h
Ola,Enviado em 21/03/2018 - 03:25h
Enviado em 21/03/2018 - 07:23h
O status que o systemctl fornece sobre a inicialização de algum serviço é bem limitado. Só serve mesmo pra saber se está funcionando ou não, e no caso de não estar funcionando ele não descreve bem a causa.Enviado em 21/03/2018 - 15:58h
systemctl start httpd.service e depois o systemctl start mysqld.service
root@fedora:[gabriel]# journalctl -f -- Logs begin at Sat 2017-10-28 20:40:43 -02. -- mar 21 15:50:36 fedora su[1835]: pam_unix(su:session): session opened for user root by (uid=1000) mar 21 15:50:37 fedora audit[1835]: USER_START pid=1835 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_xauth acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/0 res=success' mar 21 15:50:52 fedora audit[2042]: USER_AUTH pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora audit[2042]: USER_ACCT pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora su[2042]: (to root) gabriel on pts/1 mar 21 15:50:52 fedora audit[2042]: CRED_ACQ pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora su[2042]: pam_systemd(su:session): Cannot create session: Already running in a session mar 21 15:50:52 fedora su[2042]: pam_unix(su:session): session opened for user root by (uid=1000) mar 21 15:50:52 fedora audit[2042]: USER_START pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_xauth acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:51:06 fedora dbus-daemon[1236]: [session uid=1000 pid=1236] Activating service name='org.gnome.ChromeGnomeShell' requested by ':1.71' (uid=1000 pid=2082 comm="/usr/bin/python3 /usr/bin/chrome-gnome-shell chrom") mar 21 15:51:06 fedora dbus-daemon[1236]: [session uid=1000 pid=1236] Successfully activated service 'org.gnome.ChromeGnomeShell' mar 21 15:51:11 fedora systemd[1]: Starting The Apache HTTP Server... mar 21 15:51:11 fedora systemd[1]: Starting The PHP FastCGI Process Manager... mar 21 15:51:11 fedora httpd[2124]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message mar 21 15:51:11 fedora php-fpm[2125]: [21-Mar-2018 15:51:11] ERROR: unable to bind listening socket for address '/run/php-fpm/www.sock': No such file or directory (2) mar 21 15:51:11 fedora php-fpm[2125]: [21-Mar-2018 15:51:11] ERROR: FPM initialization failed mar 21 15:51:11 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=php-fpm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:51:11 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Main process exited, code=exited, status=78/n/a mar 21 15:51:11 fedora systemd[1]: Failed to start The PHP FastCGI Process Manager. mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Unit entered failed state. mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Failed with result 'exit-code'. mar 21 15:51:11 fedora systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE mar 21 15:51:11 fedora systemd[1]: httpd.service: Killing process 2126 (httpd) with signal SIGKILL. mar 21 15:51:11 fedora systemd[1]: Failed to start The Apache HTTP Server. mar 21 15:51:11 fedora systemd[1]: httpd.service: Unit entered failed state. mar 21 15:51:11 fedora systemd[1]: httpd.service: Failed with result 'exit-code'. mar 21 15:53:06 fedora systemd[1]: Starting MySQL Server... mar 21 15:53:59 fedora mysqld[2288]: Unable to determine if daemon is running: No such file or directory mar 21 15:53:59 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:53:59 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:53:59 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:53:59 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:53:59 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:53:59 fedora systemd[1]: Stopped MySQL Server. mar 21 15:53:59 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:04 fedora mysqld[2350]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:04 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:04 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:04 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:04 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:04 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:04 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:04 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:09 fedora mysqld[2405]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:09 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:09 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:09 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:09 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:09 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:09 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:09 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:09 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:09 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:09 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:15 fedora mysqld[2455]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:15 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:15 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:15 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:15 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:15 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:15 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:15 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:15 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:15 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:15 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:20 fedora mysqld[2508]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:20 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:20 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:20 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:20 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:20 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:21 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:21 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:21 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:21 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:21 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:25 fedora mysqld[2558]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:25 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:25 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:25 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:25 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:25 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:25 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:25 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:25 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:25 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:25 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:29 fedora mysqld[2608]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:29 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:29 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:29 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:29 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:29 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:30 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:30 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:30 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:30 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:30 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:36 fedora mysqld[2658]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:36 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:36 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:36 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:36 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:36 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:36 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:36 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:36 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:41 fedora mysqld[2726]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:41 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:41 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:41 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:41 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:41 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:41 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Enviado em 21/03/2018 - 16:03h
systemctl start httpd.service e depois o systemctl start mysqld.service
root@fedora:[gabriel]# journalctl -f -- Logs begin at Sat 2017-10-28 20:40:43 -02. -- mar 21 15:50:36 fedora su[1835]: pam_unix(su:session): session opened for user root by (uid=1000) mar 21 15:50:37 fedora audit[1835]: USER_START pid=1835 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_xauth acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/0 res=success' mar 21 15:50:52 fedora audit[2042]: USER_AUTH pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora audit[2042]: USER_ACCT pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora su[2042]: (to root) gabriel on pts/1 mar 21 15:50:52 fedora audit[2042]: CRED_ACQ pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:52 fedora su[2042]: pam_systemd(su:session): Cannot create session: Already running in a session mar 21 15:50:52 fedora su[2042]: pam_unix(su:session): session opened for user root by (uid=1000) mar 21 15:50:52 fedora audit[2042]: USER_START pid=2042 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_xauth acct="root" exe="/usr/bin/su" hostname=fedora addr=? terminal=pts/1 res=success' mar 21 15:50:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:51:06 fedora dbus-daemon[1236]: [session uid=1000 pid=1236] Activating service name='org.gnome.ChromeGnomeShell' requested by ':1.71' (uid=1000 pid=2082 comm="/usr/bin/python3 /usr/bin/chrome-gnome-shell chrom") mar 21 15:51:06 fedora dbus-daemon[1236]: [session uid=1000 pid=1236] Successfully activated service 'org.gnome.ChromeGnomeShell' mar 21 15:51:11 fedora systemd[1]: Starting The Apache HTTP Server... mar 21 15:51:11 fedora systemd[1]: Starting The PHP FastCGI Process Manager... mar 21 15:51:11 fedora httpd[2124]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message mar 21 15:51:11 fedora php-fpm[2125]: [21-Mar-2018 15:51:11] ERROR: unable to bind listening socket for address '/run/php-fpm/www.sock': No such file or directory (2) mar 21 15:51:11 fedora php-fpm[2125]: [21-Mar-2018 15:51:11] ERROR: FPM initialization failed mar 21 15:51:11 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=php-fpm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:51:11 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Main process exited, code=exited, status=78/n/a mar 21 15:51:11 fedora systemd[1]: Failed to start The PHP FastCGI Process Manager. mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Unit entered failed state. mar 21 15:51:11 fedora systemd[1]: php-fpm.service: Failed with result 'exit-code'. mar 21 15:51:11 fedora systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE mar 21 15:51:11 fedora systemd[1]: httpd.service: Killing process 2126 (httpd) with signal SIGKILL. mar 21 15:51:11 fedora systemd[1]: Failed to start The Apache HTTP Server. mar 21 15:51:11 fedora systemd[1]: httpd.service: Unit entered failed state. mar 21 15:51:11 fedora systemd[1]: httpd.service: Failed with result 'exit-code'. mar 21 15:53:06 fedora systemd[1]: Starting MySQL Server... mar 21 15:53:59 fedora mysqld[2288]: Unable to determine if daemon is running: No such file or directory mar 21 15:53:59 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:53:59 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:53:59 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:53:59 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:53:59 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:53:59 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:53:59 fedora systemd[1]: Stopped MySQL Server. mar 21 15:53:59 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:04 fedora mysqld[2350]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:04 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:04 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:04 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:04 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:04 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:04 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:04 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:04 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:09 fedora mysqld[2405]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:09 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:09 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:09 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:09 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:09 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:09 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:09 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:09 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:09 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:09 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:15 fedora mysqld[2455]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:15 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:15 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:15 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:15 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:15 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:15 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:15 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:15 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:15 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:15 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:20 fedora mysqld[2508]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:20 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:20 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:20 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:20 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:20 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:21 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:21 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:21 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:21 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:21 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:25 fedora mysqld[2558]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:25 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:25 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:25 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:25 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:25 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:25 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:25 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:25 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:25 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:25 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:29 fedora mysqld[2608]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:29 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:29 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:29 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:29 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:29 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:30 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:30 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:30 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:30 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:30 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:36 fedora mysqld[2658]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:36 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:36 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:36 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:36 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:36 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:36 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:36 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:36 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:36 fedora systemd[1]: Starting MySQL Server... mar 21 15:54:41 fedora mysqld[2726]: Unable to determine if daemon is running: No such file or directory mar 21 15:54:41 fedora systemd[1]: mysqld.service: Control process exited, code=exited status=1 mar 21 15:54:41 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' mar 21 15:54:41 fedora systemd[1]: Failed to start MySQL Server. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Unit entered failed state. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'. mar 21 15:54:41 fedora systemd[1]: mysqld.service: Service hold-off time over, scheduling restart. mar 21 15:54:41 fedora systemd[1]: Stopped MySQL Server. mar 21 15:54:41 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' mar 21 15:54:41 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
root@fedora:[gabriel]# ls -l /var/run lrwxrwxrwx. 1 root root 6 jul 5 2017 /var/run -> ../run root@fedora:[gabriel]#
Enviado em 21/03/2018 - 16:43h
Descobri o motivo mas ainda não consegui resolver...vejam:root@fedora:[gabriel]# ls -l /var/run lrwxrwxrwx. 1 root root 6 jul 5 2017 /var/run -> ../run root@fedora:[gabriel]# ls -ld /run drwxr-xrwx 27 root root 940 mar 22 01:24 /run root@fedora:[gabriel]#
Enviado em 22/03/2018 - 07:26h
https://blog.hqcodeshop.fi/archives/93-Handling-varrun-with-systemd.htmlEnviado em 22/03/2018 - 08:19h
tux-gpt - Assistente de IA para o Terminal
Instalação e configuração do Chrony
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
O Que Fazer Após Instalar Ubuntu 25.04
Copiar Layout do Teclado para aplicar em outra Distribuição (4)
Alguém poderia me ajudar a escolher peças pra montar um desktop? (32)