don't allow delete /web folder

Discussion in 'General' started by Salvis, Jun 5, 2006.

  1. Salvis

    Salvis New Member

    Hello!

    Every time when client try to delete "web" folder in his FTP account apache stop working. :mad:
    How i can prevent deletion of "web" folder?

    Thanks!
     
  2. till

    till Super Moderator

    Which apache stops working? The apache on port 80 or port 81?
     
  3. Salvis

    Salvis New Member

    apache on port 80
     
  4. falko

    falko Super Moderator

    Is there anything related to this in Apache's error log?
     
  5. Salvis

    Salvis New Member

    Code:
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: wrong ELF class: ELFCLASS32
    [Mon Jun 05 14:49:21 2006] [notice] SIGHUP received.  Attempting to restart
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: wrong ELF class: ELFCLASS32
    Warning: DocumentRoot [/home/www/web132/web] does not exist
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    [Mon Jun 05 15:24:50 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Jun 05 15:24:51 2006] [notice] Digest: generating secret for digest authentication ...
    [Mon Jun 05 15:24:51 2006] [notice] Digest: done
    [Mon Jun 05 15:24:51 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Mon Jun 05 15:24:51 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
    [Mon Jun 05 15:24:56 2006] [error] an unknown filter was not added: PHP
    [Mon Jun 05 15:24:56 2006] [error] an unknown filter was not added: PHP
    [Mon Jun 05 15:25:10 2006] [error] an unknown filter was not added: PHP
    
     
  6. falko

    falko Super Moderator

    Please set
    Code:
    $go_info["server"]["apache2_php"] = 'addtype';
    in /home/admispconfig/ispconfig/lib/config.inc.php.

    You should also check your Ioncube Loader installation. Is it possible you installed the 32bit version on a 64bit system?
     
  7. Salvis

    Salvis New Member

    I think, no. Anyway, how can i check that?
     
  8. till

    till Super Moderator

    I dont know if there is a check, maybe ask the poeple from Ioncube.

    But for me this error really looks like you have installed the 32BIT version:

    If you are on a 64Bit system you can try to reinstall the 64Bit version of the Ioncube loader.
     
  9. Salvis

    Salvis New Member

    Ok, but how to deal with
    Code:
    Warning: DocumentRoot [/home/www/web132/web] does not exist
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    (2)No such file or directory: httpd: could not open error log file /home/www/web132/log/error.log.
    Unable to open logs
    Errors shows because client deleted this folder (log and web (?)) to save space. How can i set to not allow client delete folders like log and web ?
     
    Last edited: Jun 6, 2006
  10. till

    till Super Moderator

    Does your client has root permissions or did yhou change the permissions of the log folder and the files inside?
    ISPConfig creates a hidden file ".no_delete" inside the log folder that is owned by root which shall prevent that the webadmin user is able to delete this directory.
     
  11. falko

    falko Super Moderator

    What's the output of
    Code:
    uname -m
    ?
     
  12. Salvis

    Salvis New Member

    No, i not changed anything.

    Thanks
     
  13. falko

    falko Super Moderator

    Ok, you have a 64bit system, and you installed the Ioncube loader for 32bit systems...
     

Share This Page