ispCP - Board - Support
[solved]Permission Error on fresh Install - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [solved]Permission Error on fresh Install (/thread-6967.html)



[solved]Permission Error on fresh Install - sunghost - 06-16-2009 12:18 AM

Hello,
i want to test ispCP on my fresh installed debian lenny. When i want to login at the webfrontend i got the following error:
Quote: Warning: session_start() [function.session-start]: open(/var/www/ispcp/gui/phptmp/sess_MjIV7sZeMIw-0r-bD4Yd4pUP0d5, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27
Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 775 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160
Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 775 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160
Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 775 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160
All i found while searching of that was perhaps a problem with fcgid, but it doesnt helps me. i had done these:
Quote:#chown www-data:www-data /var/www/ispcp/gui/phptmp
#chmod 1777 /var/www/ispcp/gui/phptmp
# var/www/ispcp/engine/setup/set-gui-permissions.sh
# perl ./ispcp-setup
can anyone help?

thx


RE: Permission Error on fresh Install - freinhard - 06-16-2009 01:17 AM

please post the output of
Code:
ls -lah /var/www/ispcp/gui/



RE: Permission Error on fresh Install - sunghost - 06-16-2009 01:23 AM

(06-16-2009 01:17 AM)freinhard Wrote:  please post the output of
Code:
ls -lah /var/www/ispcp/gui/

Code:
dr-xr-xr-x  2 vu2000 www-data 4,0K 15. Jun 12:18 admin
dr-xr-xr-x  2 vu2000 www-data 4,0K 15. Jun 12:18 client
dr-xr-xr-x  3 vu2000 www-data 4,0K 15. Jun 12:18 domain_default_page
dr-xr-xr-x  3 vu2000 www-data 4,0K 15. Jun 12:18 errordocs
-r--r--r--  1 vu2000 www-data 1,9K 15. Jun 12:18 favicon.ico
-r--r--r--  1 vu2000 www-data 1009 15. Jun 12:18 imagecode.php
dr-xr-xr-x  4 vu2000 www-data 4,0K 15. Jun 12:18 include
-r--r--r--  1 vu2000 www-data 3,2K 15. Jun 12:18 index.php
-r--r--r--  1 vu2000 www-data 4,5K 15. Jun 12:18 lostpassword.php
dr-xr-xr-x  2 vu2000 www-data 4,0K 15. Jun 12:18 orderpanel
-rw-r--r--  1 vu2000 www-data   18 15. Jun 16:37 phpinfo.php
drwxrwxrwt  2 vu2000 www-data 4,0K 15. Jun 16:38 phptmp
dr-xr-xr-x  2 vu2000 www-data 4,0K 15. Jun 12:18 reseller
-r--r--r--  1 vu2000 www-data   25 15. Jun 12:18 robots.txt
dr-xr-xr-x  4 vu2000 www-data 4,0K 15. Jun 12:18 themes
dr-xr-xr-x  5 vu2000 www-data 4,0K 15. Jun 12:18 tools



RE: Permission Error on fresh Install - sunghost - 06-16-2009 06:10 AM

Hello,
after reboot the system, i had no erros and the login is now possible. at last i installed apache2-suexec, could it be the reason for?
thx for support


RE: Permission Error on fresh Install - BeNe - 06-16-2009 03:34 PM

apache2-suexec is needed with ispCP.

Greez BeNe


RE: Permission Error on fresh Install - sunghost - 06-16-2009 05:43 PM

I thought it cames with the installation. Thx for support.