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!
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
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
I think this only means that this shown Variable is missing in ispcp.conf.
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
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?

it finally worked.
hope there won't be any more problems
thanks for your help
best regards
Maybe you can write a Ticket. So the Dev's can fix it.
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
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.