Sentora Support Forums

Full Version: Problems with Mysqld service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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?
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
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
Correct, the logs can eat up a lot of space.
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!
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.
(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.
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.
(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
That gets updated at midnight when the daemon does its daily run Wink
Unless you select a full daemon run Wink
Pages: 1 2