Tag: log directory

  • How to recover deleted Apache Log

    Scenario: The server is running Apache and by mistake one of the log files gets deleted. How, we can recover it? Currently, Apache server is working perfectly: Login/Switch to as root user: Move to the httpd in log directory: cd /var/log/httpd Delete the log file: rm -f access_log So the log file has been deleted,now […]