• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question PleskDBException error, Huge error log file

fd_paz

Basic Pleskian
Hi all,
I have a problem with my Plesk cloud server. The server fails to start.
I receive error: "ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)"

I find an error_log file of 24GB inside the directory of one of my sites ( /var/www/vhosts/domain.ltd/statistics/logs/_.domain.ltd ) and the disk is full 100%.
I'm not very good with ssh, could I remove the error_log file using Winscp, without damaging the system.

Thank you very much
far
 
I removed the log file (24gb) and I rebooted the server, but when I do # df -hl, I receive:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-lv_root
77G 75G 0 100% /
tmpfs 2.9G 0 2.9G 0% /dev/shm
/dev/sda1 477M 131M 321M 29% /boot

Could someone help me solve this problem please?
Thanks
 
Hi fprm67,

pls. consider to check for "huge folders", by for example with:

du --max-depth=1 / | sort -n -r
( you are always able to change the location "/" to reduce the search to a specific folder. Consider to start with "/" and continue with the next search with the highest listed folder from your first search, for example )


 
Back
Top