Bug 894590
Summary: | MySQL server won't start after install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Walczak <me> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | hhorak, johannbg, lnykryn, metherid, mschmidt, msekleta, notting, plautrba, systemd-maint, tgl, vpavlin |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-06 17:39:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adam Walczak
2013-01-12 14:37:18 UTC
*** Bug 894592 has been marked as a duplicate of this bug. *** (In reply to comment #0) > Failed to issue method call: Unit mysqld.service is masked. That looks like a systemd issue, probably not anything specific to mysql. Reassigning. You masked mysql, so you get an error when you start it, which is the idea of masking... Unmask it and you can start it again. http://0pointer.de/blog/projects/three-levels-of-off.html No I never masked it. W didn't even know about masking until now. Just installed it and tried to run it. Hm ... is there a masking unit file on your system? That is, a symlink to /dev/null in /etc/systemd/system/ as described in the blog entry Lennart links to? I don't see anything related to mysql there: [walec51@walec51-linux ~]$ ls -l /etc/systemd/system/ razem 36 drwxr-xr-x. 2 root root 4096 2012-05-22 basic.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 bluetooth.target.wants lrwxrwxrwx. 1 root root 41 2012-05-22 dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service lrwxrwxrwx. 1 root root 44 2012-05-22 dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service lrwxrwxrwx. 1 root root 46 2012-05-22 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service lrwxrwxrwx. 1 root root 36 2012-06-24 default.target -> /lib/systemd/system/runlevel5.target drwxr-xr-x. 2 root root 4096 2012-05-22 default.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 getty.target.wants drwxr-xr-x. 2 root root 4096 2012-06-24 graphical.target.wants drwxr-xr-x. 2 root root 4096 12-09 02:00 multi-user.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 printer.target.wants drwxr-xr-x. 2 root root 4096 10-30 01:27 sockets.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 sysinit.target.wants lrwxrwxrwx. 1 root root 39 2012-05-22 syslog.service -> /usr/lib/systemd/system/rsyslog.service Please check also /run/systemd/system/ There is nothing there. In summary: [root@walec51-linux walec51]# service mysqld start Redirecting to /bin/systemctl start mysqld.service Failed to issue method call: Unit mysqld.service is masked. [root@walec51-linux walec51]# ls -l /run/systemd/system/ razem 0 [root@walec51-linux walec51]# ls -l /etc/systemd/system/ razem 36 drwxr-xr-x. 2 root root 4096 2012-05-22 basic.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 bluetooth.target.wants lrwxrwxrwx. 1 root root 41 2012-05-22 dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service lrwxrwxrwx. 1 root root 44 2012-05-22 dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service lrwxrwxrwx. 1 root root 46 2012-05-22 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service lrwxrwxrwx. 1 root root 36 2012-06-24 default.target -> /lib/systemd/system/runlevel5.target drwxr-xr-x. 2 root root 4096 2012-05-22 default.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 getty.target.wants drwxr-xr-x. 2 root root 4096 2012-06-24 graphical.target.wants drwxr-xr-x. 2 root root 4096 12-09 02:00 multi-user.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 printer.target.wants drwxr-xr-x. 2 root root 4096 10-30 01:27 sockets.target.wants drwxr-xr-x. 2 root root 4096 2012-05-22 sysinit.target.wants lrwxrwxrwx. 1 root root 39 2012-05-22 syslog.service -> /usr/lib/systemd/system/rsyslog.service If links are the only mechanism responsible for masking then this is a bug in the systems tools. Not my setup which is the installs default one btw. What does "systemctl is-enabled mysqld.service" print? Can you attach the output of "systemctl show mysqld.service" and "systemctl status mysqld.service" please? Could please attach "ls -l /etc/systemd/systemd/*"? (i.e. I'd like to see the contents of the subdirs, too) CLosed due to lack of response. |