Hi,

I use last version peruser. On servers without chroot, I don't have any
problems with peruser, but where I use chroot, Apache dies with following
errors:

[Mon Jan 14 16:14:19 2008] [alert] (2)No such file or directory: chdir:
unable to change to directory: rtwww/.w_qpard_72c3b936
[Mon Jan 14 16:14:20 2008] [alert] Child 6391 returned a Fatal error...
Apache is exiting!

or

[Sat Dec 29 19:35:44 2007] [alert] (2)No such file or directory: chdir:
unable to change to directory:
/home/vi/home/virtwww/.w_abessinova-com-ua_6cce3a3e
[Sat Dec 29 19:35:45 2007] [alert] Child 3447 returned a Fatal error...
Apache is exiting!

more

[Sat Dec 29 19:44:18 2007] [alert] (2)No such file or directory: chdir:
unable to change to directory:
/home/vi/home/virtwww/.w_dmt13124-com-ua_d016273c
[Sat Dec 29 19:44:19 2007] [alert] Child 16232 returned a Fatal error...
Apache is exiting!

As it is seen from the log, peruser tries to use broken path
(rtwww/.w_qpard_72c3b936). Do you know why?

My virtualhost section:

<VirtualHost *>
<IfModule fcgid_module>
FCGIWrapper /home/virtwww/w_server-u1_35b69374/.fast-php/fast-php .php
</IfModule>
<IfModule peruser.c>
Processor w_server-u1_35b69374 virtwww /home/virtwww/.w_server-u1_35b69374
ServerEnvironment w_server-u1_35b69374 virtwww
/home/virtwww/.w_server-u1_35b69374
</IfModule>
DocumentRoot /home/virtwww/w_server-u1_35b69374/http
SetEnv PHPRC /home/virtwww/w_server-u1_35b69374/.php/
<IfModule php5_module>
php_admin_value disable_functions
exec,passthru,system,proc_close,proc_open,shell_exec,popen,pcntl_exec,pcntl_
fork
</IfModule>
ServerName www.server-u1.
ServerAlias server-u1.
ServerAlias www.server-u1.
AddHandler server-parsed .htm
AddHandler server-parsed .html
AddHandler server-parsed .shtm
AddHandler server-parsed .shtml
SuexecUserGroup w_server-u1_35b69374 virtwww
</VirtualHost>

fcgid_module isn't used!

--
BRGDS. Alexey Vlasov.

_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to