sixavayo

Registered
Jun 9, 2021
1
0
0
Gordon
cPanel Access Level
Website Owner
Hello,

I try to change tmp folder of mariadb because I found out that files .MAD are are constantly being created inside tmp folder and despite the fact that I increased the tmp folder from the beginning of the installation of cpanel to 15GB are filling the space with results operational problems of cpanel.

The tutorials I found on the internet are to create in /home directory a folder for example called mysqltmp to chown mysql:mysql and chmod 1777. Then add parameter to my.cnf like tmpdir=/home/mysqltmp. But after restart mariadb is not starting and exiting with error.

Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Am I doing something wrong?

Regards ;)
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
286
51
103
Houston
cPanel Access Level
Root Administrator
Hello sixavayo! I agree with HostNoc in that we may need the output of journalctl -xe for more information. I would also suggest checking for any lingering processes and killing them safely before restarting the service once more.

Could you provide the output of journal -xe output here so that we may take a closer look?
 
Thread starter Similar threads Forum Replies Date
K Databases 1
J Databases 1
G Databases 1
Masimo Databases 6
A Databases 2