Post Reply  Post Thread 
gui error
Author Message
Cercetasu
Newbie
*


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #1
gui error

Hello everybody,
i used vhcs for a long time and i wanted to try ispcp. I managed to install it on fedora core 8 but i have a problem.
when i go to ispcp homepage all i get is:

config variable 'APACHE_CUSTOM_SITES_CONFIG_DIR' is missing!
contact your system administrator

where is the problem?
i didn't find anything relevant in the logs.

Please help!

05-09-2008 07:47 PM
Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,609
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
Post: #2
RE: gui error

You have to create a Folder called "ispcp" in "/etc/apache2/".

Example:

Code:
ls -l /etc/apache2/
total 96
-rw-r--r-- 1 root root  2266 Sep  5  2005 README
-rw-r--r-- 1 root root 24803 Jan 20 11:25 apache2.conf
drwxr-xr-x 2 root root  4096 Feb 18 13:17 conf.d
-rw-r--r-- 1 root root   895 Jun 17  2007 envvars
-rw-r--r-- 1 root root   499 Jan 20 11:24 httpd.conf
drwxr-xr-x 2 root root  4096 May  9 09:52 ispcp
-rw-r--r-- 1 root root 12441 Sep  5  2005 magic
drwxr-xr-x 2 root root  8192 May  6 07:54 mods-available
drwxr-xr-x 2 root root  4096 Jan 21 07:45 mods-enabled
drwxr-xr-x 3 root root  4096 Jan 19 16:15 modsecurity_rules
-rw-r--r-- 1 root root    21 Oct 25  2007 ports.conf
drwxr-xr-x 2 root root  4096 May  6 07:55 sites-available
drwxr-xr-x 2 root root  4096 Feb  6 15:52 sites-enabled
drwxr-xr-x 2 root root  4096 Oct 26  2007 ssl


Greez BeNe



In Holiday´s this week :-)
05-09-2008 07:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cercetasu
Newbie
*


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #3
RE: gui error

my apache is installed in /etc/httpd
i changed the pacth in ispcp.conf before installing
i've created a folder ispcp but still not working

this is my apache folder:

[root@ns2 httpd]# ls -l
total 44
drwxr-xr-x 2 root root 4096 2008-05-08 21:11 conf
drwxr-xr-x 2 root root 4096 2008-05-08 23:34 conf.d
drwxr-xr-x 2 root root 4096 2008-05-08 23:13 ispcp
lrwxrwxrwx 1 root root 19 2008-05-08 21:11 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root 29 2008-05-08 21:11 modules -> ../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 13 2008-05-08 21:11 run -> ../../var/run
drwxr-xr-x 2 root root 4096 2008-05-08 23:34 vhosts

i forgot to mention i'm trying to install ispcp-omega rc4

05-09-2008 08:03 PM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,532
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #4
RE: gui error

I think this only means that this shown Variable is missing in ispcp.conf.


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
05-09-2008 08:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cercetasu
Newbie
*


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #5
RE: gui error

gOOvER Wrote:
I think this only means that this shown Variable is missing in ispcp.conf.


i've checked ispcp.conf in the latest daily snapshot and that variable isn't set.

i've changed /etc/ispcp.conf and add restarted the daemon and i got to the login page, but now i can't login. i get:

Duplicate entry 'p8jk8j9vf175h3fgl4bvsfhom4' for key 1

i've changed permissions to 777 on /var/www/ispcp/gui/phptmp still not working

05-09-2008 09:12 PM
Find all posts by this user Quote this message in a reply
sci2tech
Junior Member
****
Dev Team

Posts: 228
Group: Dev Team
Joined: Jan 2007
Status: Offline
Reputation: 9
Post: #6
RE: gui error

Cercetasu Wrote:
Duplicate entry 'p8jk8j9vf175h3fgl4bvsfhom4' for key 1

PHP Code:
truncate table `ispcp`.`login`; 

or wait 30 minutes until session expire in ispcp. Or delete cookies. Romania? Smile

This post was last modified: 05-09-2008 09:30 PM by sci2tech.

05-09-2008 09:29 PM
Find all posts by this user Quote this message in a reply
Cercetasu
Newbie
*


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #7
RE: gui error

it finally worked.
hope there won't be any more problems

thanks for your help
best regards

05-09-2008 09:29 PM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,532
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #8
RE: gui error

Maybe you can write a Ticket. So the Dev's can fix it.


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
05-09-2008 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tseng
Junior Member
*


Posts: 20
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #9
RE: gui error

Im not really sure about this solution, because i use Debian. But shouldn't

Code:
APACHE_CUSTOM_SITES_DIR = /etc/httpd/vhosts

rather be

Code:
APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/vhosts


Maybe it helps. If it does, then I'll open a ticket and post the solution to it.


Tseng

05-10-2008 12:17 AM
Find all posts by this user Quote this message in a reply
jwalcik



Posts: 1
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #10
RE: gui error

I'm seeing this same error (config variable 'APACHE_CUSTOM_SITES_CONFIG_DIR' is missing!) with an installation on RHEL 5. I've tried changing this:

Code:
APACHE_CUSTOM_SITES_DIR = /etc/httpd/vhosts

to this:

Code:
APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/vhosts

But that hasn't changed the behavior at all. I've also tried leaving both defined. After each change I've restarted the ispcp_daemon. My installation was performed following the instructions for CentOS 5 that are published here. If anyone can provide some insight into what might be going on, I'd really appreciate it.

05-14-2008 12:25 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |