[freeside] signup.cgi problems (says 'not running as freeside user')
ivan at 420.am
Tue Apr 13 18:23:09 PDT 2004
I don't believe OpenBSD has suidperl (like most other freenix) or secure
setuid scripts (like Solaris). You could try "wrapsuid" from the Perl
distribution (or something similar) or compile Perl yourself and include
On Tue, Apr 13, 2004 at 08:11:11PM -0500, imp at justneworleans.com wrote:
> I'm having a problem getting signup.cgi to run on my public webserver (as
> opposed to the freeside backend server). My browser reports a '500 internal
> server error' when I try to access the file; the Apache error log shows the
> following relevant information:
> [Tue Apr 13 19:31:38 2004] [error] [client 22.214.171.124] script not found or
> unable to stat: /cgi-bin/setup.cgi
> Use of uninitialized value in numeric ne (!=) at
> /usr/local/libdata/perl5/site_perl/FS/SignupClient.pm line 26.
> not running as freeside user
> Compilation failed in require at /cgi-bin/signup.cgi line 31.
> BEGIN failed--compilation aborted at /cgi-bin/signup.cgi line 31.
> [Tue Apr 13 19:32:06 2004] [error] [client 126.96.36.199] Premature end of
> script headers: /cgi-bin/signup.cgi
> I'm using: OpenBSD 3.4 (patch branch), Perl rev 5.0 version 8 subversion 0,
> Freeside 1.4.1 (stable, fresh off the download site), all the requisite perl
> modules pulled off CPAN & showing no symptoms of malfunction.
> I've folowed the instructions at http://www.sisd.com/freeside/docs/signup.html
> to a tee.
> The permissions for signup.cgi are as follows:
> -r-sr-xr-x 1 freeside freeside 20702 Apr 11 14:29 signup.cgi
> Apache runs as user 'www'.
> When invoked from the command line as user 'freeside', it produces the
> to stdout:
> "my" variable $prefix masks earlier declaration in same scope at ./signup.cgi
> line 490.
> connect: Socket operation on non-socket at
> /usr/local/libdata/perl5/site_perl/FS/SignupClient.pm line 109.
> These two responses together are all the output I've managed to get out of the
> script so far. Needless to say I haven't got it to the point where I can see
> how it interacts with my Freeside backend.
> Is there something I'm missing, & if so, what could it be?
> Thanks, everyone.
> Fast reliable Internet with all the bells & whistles. First two months for the price of one. Just New Orleans.com! http://www.justneworleans.com
More information about the freeside-users