One cgi test fails w/ CGI open of tmpfile: Permission denied

2000-06-15 Thread Jie Gao

Hi All,

I have had the subject problem just now. And there is no specific
answer about a solution in the archive. The one that got me
out of this problem is:

chmod 1777 /var/tmp



Jie

--
make test output:

 $ TEST -v modules/cgi.t
 modules/cgi.module CGI is installed
 1..5
 ok 1
 ok 2
 ok 3
 ServerError:
 CGI open of tmpfile: Permission denied






One cgi test fails w/ CGI open of tmpfile: Permission denied

2000-05-06 Thread Dan Harkless


Hello.  I just ran the `make test' for mod_perl 1.23 with Apache 1.3.12, and
I got a single failure in modules/cgi.  Here's an individual run with -v:

shell1-root TEST -v modules/cgi.t
modules/cgi.module CGI is installed
1..5
ok 1
ok 2
ok 3
ServerError:
CGI open of tmpfile: Permission denied

dump of %@:
/perl/cgi.pl = CGI open of tmpfile: Permission denied

ok 5
FAILED test 4
Failed 1/5 tests, 80.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-...
modules/cgi.t 51  20.00%  4
Failed 1/1 test scripts, 0.00% okay. 1/5 subtests failed, 80.00% okay.

I checked the archive and this was discussed in January of this year with
the subject "Weird message from make test".  The only suggestions given in
that thread were to check that the permissions were 1777 on all the tmp
directories.  This is the case for me.  I do not have a ~/tmp for the root
account (actually I did, but I deleted it and the test still fails).

Nancy Lin, the original poster in that thread, said that she was running
Apache 1.3.9 on Redhat 6.0.  I'm running different versions of the software
(listed above) on Solaris/SPARC 2.6.  Both of us are running CGI.pm 2.56
(she said the problem went away after downgrading to 2.46).

As she stated, there seems to be a problem with the cgi.t test module, with
CGI.pm, or with the interaction between the two.  Hopefully someone involved
with that area of the code can take a look.

I guess I'll go ahead with my installation and hope everything's okay
despite the failure.

--
Dan Harkless
[EMAIL PROTECTED]



Re: One cgi test fails w/ CGI open of tmpfile: Permission denied

2000-05-06 Thread Dan Harkless


Stas Bekman [EMAIL PROTECTED] writes:
  Hello.  I just ran the `make test' for mod_perl 1.23 with Apache 1.3.12, and
  I got a single failure in modules/cgi.  Here's an individual run with -v:
  
  shell1-root TEST -v modules/cgi.t
  modules/cgi.module CGI is installed
  1..5
  ok 1
  ok 2
  ok 3
  ServerError:
  CGI open of tmpfile: Permission denied
  
  dump of %@:
  /perl/cgi.pl = CGI open of tmpfile: Permission denied
  
  ok 5
  FAILED test 4
  Failed 1/5 tests, 80.00% okay
  Failed Test  Status Wstat Total Fail  Failed  List of failed
  -...
  modules/cgi.t 51  20.00%  4
  Failed 1/1 test scripts, 0.00% okay. 1/5 subtests failed, 80.00% okay.
  
  I checked the archive and this was discussed in January of this year with
  the subject "Weird message from make test".  The only suggestions given in
  that thread were to check that the permissions were 1777 on all the tmp
  directories.  This is the case for me.  I do not have a ~/tmp for the root
  account (actually I did, but I deleted it and the test still fails).
  
  Nancy Lin, the original poster in that thread, said that she was running
  Apache 1.3.9 on Redhat 6.0.  I'm running different versions of the software
  (listed above) on Solaris/SPARC 2.6.  Both of us are running CGI.pm 2.56
  (she said the problem went away after downgrading to 2.46).
  
  As she stated, there seems to be a problem with the cgi.t test module, with
  CGI.pm, or with the interaction between the two.  Hopefully someone involved
  with that area of the code can take a look.
  
  I guess I'll go ahead with my installation and hope everything's okay
  despite the failure.
 
 You have file/directory permissions problem. You should run your server
 under strace/truss to reveal the problem. See the "Help - Install
 mod_perl-1.23" thread from the last few days and learn how to do it. It's
 all there.

Well, I wiped that install before I received your email, so unfortunately
it'd take too much time to recreate it and run truss.

I started over using the instructions in INSTALL.apaci, however (I wish the
INSTALL file would say "Um, you probably want to be using the instructions
in INSTALL.apaci instead of these."), and this time it worked with no
problem.

--
Dan Harkless
[EMAIL PROTECTED]



CGI test fails

2000-01-31 Thread Gil Vidals

Hi,

I installed Apache 1.3.11 and mod_perl 1.21 and received the errors
during the make test phase. I went ahead and installed anyway because
the error doesn't seem to be significant.

I've never had an error occur during the build of a mod_perl enabled
httpd and am wondering how to eliminate this error in the future.

letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
modules/actions.ok
modules/cgi.FAILED test 4
Failed 1/5 tests, 80.00% okay

I'm running RH 5.2 and Perl -V produces 

[root@rome mysql]# perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
osname=linux, osvers=2.0.34, archname=i386-linux
uname='linux porky.redhat.com 2.0.34 #1 thu may 7 10:17:44 edt 1998 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
cc='cc', optimize='-O2', gccversion=2.7.2.3
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=undef, doublesize=undef
alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, so=so
useshrplib=false, libperl=libperl.a
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Locally applied patches:
MAINT_TRIAL_4 - 5.004_05 maintenance trial 4
  Built under linux
  Compiled at Sep 10 1998 02:16:22
  @INC:
/usr/lib/perl5/i386-linux/5.00404
/usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl


Gil
http://www.truepath.com
your Christ-centered web host