ispCP - Board - Support
Cannot open the ispcp.conf config file! - 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: Cannot open the ispcp.conf config file! (/thread-11019.html)



Cannot open the ispcp.conf config file! - xlodx - 06-20-2010 11:16 PM

Hello !

Im trying to set up ispCP but when i try to access the GUI it tells me :

Code:
Cannot open the ispcp.conf config file!
Please contact your system administrator


But the config file is in /etc/ispcp/ and even if i set the permissions to 775
it still won`t work.

Anny help would be verry appreciated !


RE: Cannot open the ispcp.conf config file! - mr.x - 06-21-2010 01:16 AM

(06-20-2010 11:16 PM)xlodx Wrote:  Hello !

Im trying to set up ispCP but when i try to access the GUI it tells me :

Code:
Cannot open the ispcp.conf config file!
Please contact your system administrator


But the config file is in /etc/ispcp/ and even if i set the permissions to 775
it still won`t work.

Anny help would be verry appreciated !

whos the owner of this file?
/Mr.X


RE: Cannot open the ispcp.conf config file! - xlodx - 06-21-2010 08:03 AM

Thanks for the interest in my problem ;-)


The owner and group is root:root but i also tried www-data (webserver (litespeed)) and vu2000 (iscPC) .

Which one is the default user:group ?


RE: Cannot open the ispcp.conf config file! - joximu - 06-21-2010 04:13 PM

Code:
-rw-r--r--   1 root root    7362  8. Jan 02:04 ispcp.conf

the php settings for the ispcp-gui have to be correct (open_basedir)

open_basedir = "/var/www/ispcp/gui:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/:/tmp/"

something like this

/J


RE: Cannot open the ispcp.conf config file! - xlodx - 06-22-2010 07:13 AM

Thanks for the tip, but I already checked that out, and that did not fix it.

And I already checked out that other Topic with a similar Title. I think
Ive got no safe mode enabled.

PHP Code:
<IfModule mod_php5.c>
        <
Directory /var/www/ispcp/gui>
            
php_admin_flag safe_mode off
            php_admin_value open_basedir 
""/var/www/ispcp/gui:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/:/tmp/"
            php_admin_value session.save_path "
/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "
/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule> 



RE: Cannot open the ispcp.conf config file! - BeNe - 06-22-2010 04:08 PM

You use mod_php5 and not fastcgi oder mod_fcgid ?

Greez BeNe


RE: Cannot open the ispcp.conf config file! - xlodx - 06-23-2010 07:10 AM

Big Grin Of cause I do, sorry for posting wrong config

PHP Code:
<IfModule mod_fcgid.c>
        <
Directory /var/www/ispcp/gui>
            
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options 
+ExecCGI
        
</Directory>
        <
Directory "/var/www/fcgi/master">
            
AllowOverride None
            Options 
+ExecCGI MultiViews -Indexes
            Order allow
,deny
            Allow from all
     
</Directory



RE: Cannot open the ispcp.conf config file! - joximu - 06-23-2010 07:45 AM

so there is a php.ini in /var/www/fcgi/master/php5/

check the settings...

/J