interesting BUG!

Discussion in 'Installation/Configuration' started by smartcall, Jan 26, 2007.

  1. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    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!
  2. edge

    edge Active Member Moderator

    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!
  3. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    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: Jan 26, 2007
  4. falko

    falko Super Moderator ISPConfig Developer

    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?
  5. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    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:confused:
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Apache creates missing logfiles itself, as long as the folder exists.

Share This Page