• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Error_log ate all disk space, rotation and delete fails.

swaan

New Pleskian
So an error_log file managed to get so large in a short time that it ate up almost all the disk space. It is 80% of the partition capacity so rotation fails (because it wants to create a copy first and runs out of disk space?). I tried to shut down all services to rm the file but it gets recreated with the rotation every time. I also tried creating a new error_log file (mv, touch) but it too gets overwritten. What now? :)

Running on Ubuntu 16 LTS
 
Last edited:
fixed it:
Code:
truncate -s 0 error_log
then ran the logrotate manually. Hope this procedure is ok?
 
Back
Top