Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using username "zander".
- Authenticating with public key "imported-openssh-key"
- Passphrase for key "imported-openssh-key":
- Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-93-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- 1 package can be updated.
- 0 updates are security updates.
- Last login: Wed Sep 6 11:00:34 2017 from 192.168.1.65
- [13:13]<~ @ > $ sudo service mysql start
- [sudo] password for zander:
- Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
- [13:14]<~ @ > $ systemctl status mysql.service
- ● mysql.service - MySQL Community Server
- Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
- Active: activating (start-post) (Result: exit-code) since Wed 2017-09-06 13:14:10 CDT; 14s ago
- Process: 1770 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
- Process: 1762 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
- Main PID: 1770 (code=exited, status=1/FAILURE); : 1771 (mysql-systemd-s)
- Tasks: 2
- Memory: 328.0K
- CPU: 306ms
- CGroup: /system.slice/mysql.service
- └─control
- ├─1771 /bin/bash /usr/share/mysql/mysql-systemd-start post
- └─1816 sleep 1
- Sep 06 13:14:10 web-server systemd[1]: Starting MySQL Community Server...
- Sep 06 13:14:10 web-server systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
- [13:14]<~ @ > $ journalctl -xe
- Sep 06 13:13:46 web-server systemd[1562]: Reached target Default.
- -- Subject: Unit UNIT has finished start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit UNIT has finished starting up.
- --
- -- The start-up result is done.
- Sep 06 13:13:46 web-server systemd[1562]: Startup finished in 15ms.
- -- Subject: System start-up is now complete
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- All system services necessary queued for starting at boot have been
- -- successfully started. Note that this does not mean that the machine is
- -- now idle as services might still be busy with completing start-up.
- --
- -- Kernel start-up required KERNEL_USEC microseconds.
- --
- -- Initial RAM disk start-up required INITRD_USEC microseconds.
- --
- -- Userspace start-up required 15542 microseconds.
- Sep 06 13:13:46 web-server systemd[1]: Started User Manager for UID 1000.
- -- Subject: Unit user@1000.service has finished start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit user@1000.service has finished starting up.
- --
- -- The start-up result is done.
- Sep 06 13:13:46 web-server sshd[1519]: User child is on pid 1660
- Sep 06 13:13:46 web-server sshd[1660]: Starting session: shell on pts/0 for zander from 192.168.1.65 port 58535 id 0
- Sep 06 13:13:47 web-server kernel: [UFW BLOCK] IN=enp5s5 OUT= MAC=84:16:f9:00:72:00:90:3e:ab:ef:e7:30:08:00 SRC=38.127.167.25 DST=192.168.1.183 LEN=71 TOS=0x00 PREC=0x00 TTL=49 ID=32092 DF PROTO=TCP SPT=443 DPT=56954 WINDOW=11 RES=0x00 A
- Sep 06 13:13:48 web-server kernel: [UFW BLOCK] IN=enp5s5 OUT= MAC=01:00:5e:00:00:01:90:3e:ab:ef:e7:30:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
- Sep 06 13:13:48 web-server kernel: [UFW BLOCK] IN=enp5s5 OUT= MAC=01:00:5e:00:00:01:90:3e:ab:ef:e7:30:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
- Sep 06 13:14:07 web-server sudo[1707]: zander : TTY=pts/0 ; PWD=/mnt/HDDB/home/zander ; USER=root ; COMMAND=/usr/sbin/service mysql start
- Sep 06 13:14:07 web-server sudo[1707]: pam_unix(sudo:session): session opened for user root by zander(uid=0)
- Sep 06 13:14:09 web-server systemd[1]: Failed to start MySQL Community Server.
- -- Subject: Unit mysql.service has failed
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has failed.
- --
- -- The result is failed.
- Sep 06 13:14:09 web-server systemd[1]: mysql.service: Unit entered failed state.
- Sep 06 13:14:09 web-server systemd[1]: mysql.service: Failed with result 'exit-code'.
- Sep 06 13:14:09 web-server sudo[1707]: pam_unix(sudo:session): session closed for user root
- Sep 06 13:14:10 web-server systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
- Sep 06 13:14:10 web-server systemd[1]: Stopped MySQL Community Server.
- -- Subject: Unit mysql.service has finished shutting down
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has finished shutting down.
- Sep 06 13:14:10 web-server systemd[1]: Starting MySQL Community Server...
- -- Subject: Unit mysql.service has begun start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has begun starting up.
- Sep 06 13:14:10 web-server systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
- lines 1947-2008/2008 (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement