Current time: 05-04-2024, 08:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
gui error
Author Message
Cercetasu Offline
Junior Member
*

Posts: 10
Joined: May 2008
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 Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
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
05-09-2008 07:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cercetasu Offline
Junior Member
*

Posts: 10
Joined: May 2008
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 Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: gui error
I think this only means that this shown Variable is missing in ispcp.conf.
05-09-2008 08:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cercetasu Offline
Junior Member
*

Posts: 10
Joined: May 2008
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 Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
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
Visit this user's website Find all posts by this user Quote this message in a reply
Cercetasu Offline
Junior Member
*

Posts: 10
Joined: May 2008
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 Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #8
RE: gui error
Maybe you can write a Ticket. So the Dev's can fix it.
05-09-2008 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tseng Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
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 Offline


Posts: 1
Joined: May 2008
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 


Forum Jump:


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