Current time: 12-23-2024, 11:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
Cannot open the ispcp.conf config file!
Author Message
xlodx Offline


Posts: 4
Joined: Jun 2010
Reputation: 0
Post: #1
Rolleyes Cannot open the ispcp.conf config file!
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 !
(This post was last modified: 06-20-2010 11:16 PM by xlodx.)
06-20-2010 11:16 PM
Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #2
RE: Cannot open the ispcp.conf config file!
(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
06-21-2010 01:16 AM
Find all posts by this user Quote this message in a reply
xlodx Offline


Posts: 4
Joined: Jun 2010
Reputation: 0
Post: #3
RE: Cannot open the ispcp.conf config file!
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 ?
(This post was last modified: 06-21-2010 08:05 AM by xlodx.)
06-21-2010 08:03 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Cannot open the ispcp.conf config file!
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
06-21-2010 04:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xlodx Offline


Posts: 4
Joined: Jun 2010
Reputation: 0
Post: #5
RE: Cannot open the ispcp.conf config file!
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> 
(This post was last modified: 06-23-2010 07:45 AM by xlodx.)
06-22-2010 07:13 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Cannot open the ispcp.conf config file!
You use mod_php5 and not fastcgi oder mod_fcgid ?

Greez BeNe
06-22-2010 04:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xlodx Offline


Posts: 4
Joined: Jun 2010
Reputation: 0
Post: #7
RE: Cannot open the ispcp.conf config file!
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
06-23-2010 07:10 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Cannot open the ispcp.conf config file!
so there is a php.ini in /var/www/fcgi/master/php5/

check the settings...

/J
06-23-2010 07:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)