Plesk

Plesk and/or websites are down after removing /var/log/ directory

Symptoms

Cause

Missing log directories prevent services to start correctly.

Resolution

  1. Connect to the server via SSH.

  2. Try to start the corresponding services:

    # service httpd start
    # service sw-cp-server start
    # service sw-engine start
    # service nginx start

  3. Depend on which service is failed to start, create the corresponding missing folder in the /var/log/ directory manually:

    # mkdir -p /var/log/httpd
    # mkdir -p /var/log/sw-cp-server
    # mkdir -p /var/log/nginx
    # mkdir -p /var/log/plesk-php73-fpm
    # mkdir -p /var/log/plesk-php71-fpm

  4. Start the corresponding services one more time:

    # service httpd start
    # service sw-cp-server start
    # service sw-engine start
    # service nginx start

Exit mobile version