Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deleted httpd directory from /var/log

Nithya N August 9, 2018

By mistake I have deleted /var/log/httpd from jira server

 

Could you please let me know what kind of impact it may cause to server ? How to recover it

3 answers

0 votes
Nithya N August 9, 2018

Installed version of jira is 7.6.4 and it's a Linux OS (RHEL)

0 votes
Nithya N August 9, 2018

How to stop and restart apache ? Is it requires any downtime ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2018

Depends on what version you are on, how it is installed, how your operating system expects it to restart, and most importantly, how your administrators want you to do it.

My home network has some Apache servers.  On the main one, "sudo systemctl restart apache" is all I need.  But it varies.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2018

Nothing will stop working, this is not a serious mistake.

To make sure everything works again, stop Apache, recreate the directory (with the right ownership and permissions) and restart Apache.

Your error has removed data that you might need if you want to debug problems that happened before you deleted it, and possibly some reporting.   But if you were not trying to debug or report on the apache logs, then there's no real impact.

Recovering the data is down to when you took the last backup.

Suggest an answer

Log in or Sign up to answer