Post Reply  Post Thread 
Problem with fast-cgi (ERROR 500)
Author Message
sufijen
Junior Member
*


Posts: 32
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #1
Problem with fast-cgi (ERROR 500)

Hi,

i have a problem with the installation.

My System:
vServer with
Debian Etch,
ispCP Omega RC3

I tried to install the System twice, but nothing has changed. (Installation with Wiki-Debian-Guide)

My logs:
error.log
suexec.log
ispcp.*myhost*.de-error.log (admin panel)

I changed nothing during installation.

I can post everything you need.

03-08-2008 01:49 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #2
RE: Problem with fast-cgi (ERROR 500)

Hi

suexec Wrote:
[2008-03-07 15:14:39]: target uid/gid (2000/2000) mismatch with directory (0/0) or program (2000/2000)


there's the problem...
please check the path owners/groups of /var/www/fcgi/master and /var/www/ispcp/gui

/J


2008-03-16 ispCP RC4 released!!!
03-08-2008 02:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sufijen
Junior Member
*


Posts: 32
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #3
RE: Problem with fast-cgi (ERROR 500)

I can check it, but who has to be the ownder?

/var/www/fcgi/master
Owner: root
Group: root
Rights: drwxr-xr-x

/var/www/ispcp/gui
Owner: vu2000
Group: www-data
Rights: dr-xr-xr-x

What's the problem? Is that wrong?

03-08-2008 02:21 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #4
RE: Problem with fast-cgi (ERROR 500)

Code:
# ls -la /var/www/fcgi/
drwxr-xr-x  6 vu2000 vu2000 4096 2008-02-25 21:24 .
drwxr-xr-x 12 root   root   4096 2008-02-25 22:50 ..
drwxr-xr-x  4 vu2003 vu2003 4096 2008-02-05 16:58 domain1.tld
drwxr-xr-x  4 vu2005 vu2005 4096 2008-02-25 21:24 domain2.tld
drwxr-xr-x  4 vu2000 vu2000 4096 2008-01-27 02:46 master

# ls -la /var/www/fcgi/master/
drwxr-xr-x 4 vu2000 vu2000 4096 2008-01-27 02:46 .
drwxr-xr-x 6 vu2000 vu2000 4096 2008-02-25 21:24 ..
-rw-r--r-- 1 vu2000 vu2000  220 2008-01-27 02:37 .bash_logout
-rw-r--r-- 1 vu2000 vu2000  414 2008-01-27 02:37 .bash_profile
-rw-r--r-- 1 vu2000 vu2000 2227 2008-01-27 02:37 .bashrc
drwxr-xr-x 2 root   root   4096 2008-01-27 02:46 php4
-rwxr-xr-x 1 vu2000 vu2000  195 2008-01-27 02:46 php4-fcgi-starter
drwxr-xr-x 2 root   root   4096 2008-02-25 00:00 php5
-rwxr-xr-x 1 vu2000 vu2000  195 2008-01-27 02:46 php5-fcgi-starter


I don't know why it's not in your installation - normally the setup does it correct.

/J


2008-03-16 ispCP RC4 released!!!
03-08-2008 02:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sufijen
Junior Member
*


Posts: 32
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #5
RE: Problem with fast-cgi (ERROR 500)

Code:
# ls -la /var/www/fcgi/
total 3
drwxr-xr-x 3 vu2000 vu2000 1024 Mar  7 15:14 .
drwxr-xr-x 8 root   root   1024 Mar  7 15:13 ..
drwxr-xr-x 4 root   root   1024 Mar  7 15:14 master

# ls -la /var/www/fcgi/master/
total 6
drwxr-xr-x 4 root   root   1024 Mar  7 15:14 .
drwxr-xr-x 3 vu2000 vu2000 1024 Mar  7 15:14 ..
drwxr-xr-x 2 root   root   1024 Mar  7 15:14 php4
-rwxr-xr-x 1 vu2000 vu2000  195 Mar  7 15:14 php4-fcgi-starter
drwxr-xr-x 2 root   root   1024 Mar  7 15:14 php5
-rwxr-xr-x 1 vu2000 vu2000  195 Mar  7 15:14 php5-fcgi-starter


Is that wrong? I don't think so?!? And what can i do to activate my/the system.

03-08-2008 02:34 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #6
RE: Problem with fast-cgi (ERROR 500)

*the master is wrong....*

I thought you saw that.

chown vu2000:vu2000 /var/www/fcgi/master

and then try again.


2008-03-16 ispCP RC4 released!!!
03-08-2008 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sufijen
Junior Member
*


Posts: 32
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #7
RE: Problem with fast-cgi (ERROR 500)

It works!!!! Thank you very very much.

Now a backup^^ and then i will try it with some php-extensions

03-08-2008 03:06 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 |