HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   don't allow delete /web folder (http://www.howtoforge.com/forums/showthread.php?t=4710)

Salvis 5th June 2006 15:04

don't allow delete /web folder
 
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!

till 5th June 2006 16:01

Which apache stops working? The apache on port 80 or port 81?

Salvis 5th June 2006 16:05

apache on port 80

falko 5th June 2006 18:45

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

Salvis 5th June 2006 19:45

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


falko 6th June 2006 12:23

Please set
Code:

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

Quote:

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
You should also check your Ioncube Loader installation. Is it possible you installed the 32bit version on a 64bit system?

Salvis 6th June 2006 18:18

Quote:

Originally Posted by falko
You should also check your Ioncube Loader installation. Is it possible you installed the 32bit version on a 64bit system?

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

till 6th June 2006 22:04

Quote:

Originally Posted by Salvis
I think, no. Anyway, how can i check that?

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:

Quote:

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
If you are on a 64Bit system you can try to reinstall the 64Bit version of the Ioncube loader.

Salvis 6th June 2006 23:23

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 ?

till 7th June 2006 10:48

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.


All times are GMT +2. The time now is 07:04.

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