ispCP - Board - Support
[Solved] [plesk -> ispcp] Error: PRODUCT_ROOT_D - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Migration (/forum-35.html)
+--- Thread: [Solved] [plesk -> ispcp] Error: PRODUCT_ROOT_D (/thread-5523.html)



[Solved] [plesk -> ispcp] Error: PRODUCT_ROOT_D - vurte - 01-24-2009 07:03 PM

I installed ispCP Omega (nightly buil 2009-01-21) on 64bit ubuntu 8.04 (befor there was a preinstalled plesk on my root server, which I wanted to get rid of .....)

when I wanted to open the admin login page,
I got the Error 500!

and suexec: Error: PRODUCT_ROOT_D not defined
in default-error.log.

tail -f /var/log/apache2/users/default-error.log:

Quote:[Fri Jan 23 23:39:53 2009] [notice] caught SIGWINCH, shutting down gracefully
[Fri Jan 23 23:40:03 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Jan 23 23:40:03 2009] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations

[Fri Jan 23 23:40:31 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec: Error: PRODUCT_ROOT_D not defined

System error 2: No such file or directory
suexec: Error: PRODUCT_ROOT_D not defined

System error 2: No such file or directory
[Fri Jan 23 23:40:31 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Fri Jan 23 23:40:31 2009] [error] [client 88.245.148.195] Premature end of script headers: index.php
[Fri Jan 23 23:40:34 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(18455) exit(communication error), terminated by calling exit(), return code: 1

I googled and saw that plesk is using this environment value,
but don't know where suexe is requesting it and how to avoid this error.


RE: [plesk -> ispcp] Error: PRODUCT_ROOT_D - vurte - 01-25-2009 09:28 AM

I fixed it:

sudo apt-get remove apache2.2-common
sudo apt-get install --reinstall $(cat ./docs/Ubuntu/ubuntu-packages-hardy)
sudo ln -s /usr/lib/apache2/suexec.distrib /usr/lib/apache2/suexec

hope this will help others in the same situation ...

haluk


RE: [plesk -> ispcp] Error: PRODUCT_ROOT_D - rbtux - 01-25-2009 10:07 AM

thanks for information...

marked as solved and closed