Problems with Mysqld service
#1
Problems with Mysqld service
Hello guys, today I've an another problems with my panel. Today mysqld crashed with other 59 domains, I don't know what's happened, tha day before yesterday I installed remi to update my php and mysql, no problem, all ok. Today doesn't start service. What can I do before backup all and install new sentora?

@TGates do you know any solutions?
Reply
#2
RE: Problems with Mysqld service
I checked and delete some log file, my 59 domains are started, but my var path Is 100% and I don't know how delete some files, my website are in my home directory and var directory is 9gb
Reply
#3
RE: Problems with Mysqld service
Check which directory in /var is biggest.
Code:
du -m |sort -k1n
For me it's /var/sentora/logs (because I've Notice level logging set in php.ini), if in your case it's error log, just check what is wrong, fix it and you may erase log with echo > path/to/log/file
Reply
#4
RE: Problems with Mysqld service
Correct, the logs can eat up a lot of space.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#5
RE: Problems with Mysqld service
Thanks guys! @Castey @TGates , I erased all log now I have 2,5gb free, can I move it on HOME directory ?because on home I have 300gb of free space. Thanks a lot!
Reply
#6
RE: Problems with Mysqld service
Logs should be in /var. Better option than moving them to home is use logrotate to rotate logs by specified time or size. BTW logrotate would be good addon in sentora.

If you using lvm on server and have free space on disk, you can simply extend /var partition.
Reply
#7
RE: Problems with Mysqld service
(11-28-2015, 08:17 PM)Castey Wrote: Logs should be in /var. Better option than moving them to home is use logrotate to rotate logs by specified time or size. BTW logrotate would be good addon in sentora.

If you using lvm on server and have free space on disk, you can simply extend /var partition.

@Castey I don't think I'm using lvm, I made a screen in Terminal, Sorry if it's in Italian language, My SSD is setted on Raid 1, because if i choose other raid type SSD was divided.


Attached Files Thumbnail(s)
           
Reply
#8
RE: Problems with Mysqld service
To change logs directory just change Log Directory setting in Sentora Config in panel. If daemon doesn't change log directory for existing domains, just edit file:
Code:
/etc/sentora/configs/apache/httpd-vhosts.conf
and restart apache.
Reply
#9
RE: Problems with Mysqld service
(11-29-2015, 02:07 AM)Castey Wrote: To change logs directory just change Log Directory setting in Sentora Config in panel. If daemon doesn't change log directory for existing domains, just edit  file:
Code:
/etc/sentora/configs/apache/httpd-vhosts.conf
and restart apache.

Perfect! All ok! but one problem, I don't know why free space 0? website run good, and home directory is setted exactly


Attached Files Thumbnail(s)
       
Reply
#10
RE: Problems with Mysqld service
That gets updated at midnight when the daemon does its daily run Wink
Unless you select a full daemon run Wink
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
SSL install breaks apache service EGOSKY123 1 5 ,543 10-28-2020, 12:12 AM
Last Post: iraqiboy90
Problems After PHP7 upgrade bloods 3 9 ,382 12-03-2019, 10:36 AM
Last Post: Jettaman
Apache Service Not Found hthiers 1 5 ,736 04-03-2019, 11:44 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)