Apache Crash When User Delete Logs Folder

Bug #1422311 reported by Asrof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Easy Hosting Control Panel for Ubuntu
Confirmed
Medium
ehcpdeveloper

Bug Description

Hello,

OS : "Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic i686)"
EHCP version : "0.36.4.b"

Problem : Apache crashs when user delete folder "/var/www/vhosts/username/userdomain.com/logs/"
- another domain is not accessible
- ip.xxx.xxx/ehcp is also not accessible.
- it happens after restart server.

timestamps :
(1)"user delete folder" -> (2)"when one day system restart" -> (3)"apache crash"

I try this resolution:
(1) restart server - not solve problem
(2) restart apache with this command line "sudo /etc/init.d/apache2 restart"
==> faild to restart apache. (please see attachment)

(3) I create a folder "logs" in "/var/www/vhosts/username/username.domain/logs/" -> restart apache OK -> website goes to normal.

Conclusion :
(1) User should not delete logs folder.
(2) But, user could be accidentally delete logs folder, and as the risk all other user will die.

I hope EHCP team could solve this bugs.

Thank you.

Asrof
Indonesia

Tags: apache crash
Revision history for this message
Asrof (4-meil-b) wrote :
Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I wonder, how user deleted the logs folder ? through ftp ?

Changed in ehcp:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → ehcpdeveloper (ehcpdeveloper)
Revision history for this message
Asrof (4-meil-b) wrote :

Hello,

Yes, user delete through ftp.
I also have tried in my own domain, I delete logs folder through ftp, and problem (apache error) happens again.

Asrof (4-meil-b)
description: updated
description: updated
description: updated
Revision history for this message
Asrof (4-meil-b) wrote :

I have tried in fresh server, it happens again...

Asrof (4-meil-b)
description: updated
description: updated
Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

not fixed yet. we may need a workaround before full solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.