![]() ![]() ![]() # it under the terms of the GNU General Public License, version 2.0, this is how it originally should look like: # This program is free software you can redistribute it and/or modify this file must be modified by other libraries that you installed. The issue is with the "/etc/mysql/my.cnf". T07:14:22.967678Z 0 Can't start server: can't create PID file: Permission deniedĥ, Restart the mysqld # service mysqld restart The log says that there isn't a file or directory /var/run/mysqld/mysqld.pidĢ, Create the directory /var/run/mysqld mkdir -p /var/run/mysqld/ģ, Start the mysqld again service mysqld start, but still fail, check the log again /var/log/mysqld.log T07:14:22.967667Z 0 /usr/sbin/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 13 - Permission denied) T07:06:53.374614Z 0 Can't start server: can't create PID file: No such file or directory ![]() T07:06:53.374603Z 0 /usr/sbin/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2 - No such file or directory) I met this problem today, and fix it with bellowed steps.ġ, Check the log file /var/log/mysqld.log tail -f /var/log/mysqld.log # Disabling symbolic-links is recommended to prevent assorted security risks # Adjust sizes as needed, experiment to find the optimal values. # The server defaults are faster for transactions and fast SELECTs. # Remove leading # to set options mainly useful for reporting servers. # changes to the binary log between backups. # Remove leading # to turn on a very important data integrity option: logging Start at 70% of total RAM for a dedicated server, else 10%. # Remove leading # and set to the amount of RAM for the most important data My.cnf file # For advice on how to change settings please see What I have tried until now: mysqld_safe -defaults-file=/etc/my.cf Process: 9925 ExecStart=/etc/rc.d/init.d/mysqld start (code=exited, status=1/FAILURE)įeb 18 20:59:16 systemd: Starting SYSV: MySQL database server.įeb 18 20:59:17 mysqld: MySQL Daemon failed to start.įeb 18 20:59:17 mysqld: Starting mysqld: įeb 18 20:59:17 systemd: rvice: control process exited, code=exited status=1įeb 18 20:59:17 systemd: Failed to start SYSV: MySQL database server.įeb 18 20:59:17 systemd: Unit rvice entered failed state.įeb 18 20:59:17 systemd: rvice failed. rvice - SYSV: MySQL database server.Īctive: failed (Result: exit-code) since Sat 20:59:17 IST 36s ago.See "systemctl status rvice" and "journalctl -xe" for details. Starting mysqld (via systemctl): Job for rvice failed because the control process exited with an error code. Console says mysql]# service mysqld start ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |