Suexec and /cgi-sys/Count.cgi problems (Freebsd)

hatch

Registered
Apr 30, 2003
4
0
151
I'm running cpanel on FreeBSD 4.9 and i'm having problems getting the counter (cpanel->scripts->counter) working.

Suexec is enabled and when users run cgi scripts from /home/user/www/cgi-bin everything works fine.

But when the try to use the counter all they see is a broken image, (error 500 in the apache error log).

The suexec.log looks like this:

[2004-04-09 14:38:07]: info: (target/actual) uid: (virtuser/virtuser) gid: virtuser/virtuser) cmd: Count.cgi
[2004-04-09 14:38:07]: error: target uid/gid (1103/1105) mismatch with directory (0/0) or program (0/0) or trusted user (0/10)

/usr/local/cpanel/cgi-sys/Count.cgi has the following permissions:
-rwxr-xr-x 1 root wheel 198767 16 Mar 10:51 Count.cgi

This is exactly the same setup that i've successfully used on a redhat machine also running cpanel.

I'm aware that for suexec to work the cgi script must be owned by the user executing the script, but how is this supposed to work with the cgi-sys directory?

Any help would be greatly appreciated.


Best Regards

Kim Andersen
 

iwebserv

Member
May 14, 2004
18
0
151
I am having the same counter problems, but on redhat 9 server. running the latest current version of cpanel 9.3.0
 

wilfried

Active Member
Aug 23, 2003
33
0
156
Same thing here...
Counter images are a broken link...
i am on the latest RELEASE ans rh9....
All counters on all sites are broken
 

Compila

Member
PartnerNOC
May 8, 2003
9
0
151
Hi,

Did anyone get a resolution to this? Be very grateful if someone could post it up here, as we have exactly the same problem, except we are running Redhat.

Thanks for your time.