#1  
Old 26th January 2007, 14:31
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default interesting BUG!

Today one of my clients managed to delete his log folder via FTP. Anyone could do this being administrator of his site.
And of course, Apache was refusing to start.

Isn't this a very weak part of this panel. Anyone could render the whole hosting environment UNUSEABLE!
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2007, 14:40
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,042
Thanks: 269
Thanked 154 Times in 133 Posts
Default

are you talking about the (in my case) /var/www/web54/log/2007/01/web.log file?

If so, I've just tested it (deleted the file), and restarted apache2 with no problem!
Reply With Quote
  #3  
Old 26th January 2007, 14:45
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

I'm talking about the deletion of the whole /var/www/webXX/log folder.

To be more specific: Apache complains about /var/www/web20/log/error.log
And when I created it all went OK

Last edited by smartcall; 26th January 2007 at 14:48.
Reply With Quote
  #4  
Old 27th January 2007, 15:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

There's a .no_delete file in each folder that cannot be deleted by a normal user, and as long as this file exists the folder cannot be deleted.

Did you somehow delete the .no_delete file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th January 2007, 16:03
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

Yes indeed there is such file there now. This folder does not brlong to me. And I never deleted anything there.
But believe me, the folder was deleted and I'm the only person with shell access and I'm root, and the whole folder was missing yesterday.
Looks like cronjob recreated all subfolders in it.
And what about the error.log? If it is missing, would Apache create it?

I'm confused, but that's facts
Reply With Quote
  #6  
Old 27th January 2007, 16:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
 
Default

Apache creates missing logfiles itself, as long as the folder exists.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistics admin Bug???? AlexanderTheGr General 11 2nd September 2008 02:01
Some bug in subdomain redirect (forward) MvincM Installation/Configuration 2 31st October 2006 11:16
small bug in ISPconfig 2.2.6 edge General 1 23rd August 2006 12:18
Bug in named.master.conf for centos mxc Developers' Forum 1 15th July 2006 15:14
Services doesn't work - a bug? tom Installation/Configuration 2 9th April 2006 14:10


All times are GMT +2. The time now is 02:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.