You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "George A. Fitch III" <gf...@allegromicro.com> on 2001/04/02 22:37:30 UTC
ASP Win32 problems
Hi,
I installed mod_perl and Apache::ASP on WinNT, and the sample .htm
files work fine. I can't seem to get the sample .asp files to work, though.
I checked the error log and saw these errors:
[Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] can't create group
dir /tmp/asp_demo: No such file or directory,
G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
[Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] can't create group
dir /tmp/asp_demo/server: No such file or directory,
G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
[Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] Can't tie to file
/tmp/asp_demo/server/internal, 258, No such file or directory !! <--> Make
sure you have the permissions on the <--> directory set correctly, and that
your <--> version of Data::Dumper is up to date. <--> Also, make sure you
have set Global to <--> to a good directory in the config file.,
G:/nusphere/perl/site/lib/Apache/ASP.pm line 4669
[Mon Apr 02 15:52:04 2001] [error] Can't bless non-reference value at
G:/nusphere/perl/site/lib/Apache/ASP.pm line 4887.
Apache::ASP::State::TIEHASH('Apache::ASP::State',
'Apache::ASP=HASH(0x41962ac)', 'internal', 'server', 258) called at
G:/nusphere/perl/site/lib/Apache/ASP.pm line 664
Apache::ASP::new('Apache=SCALAR(0xb1a9f4)') called at
G:/nusphere/perl/site/lib/Apache/ASP.pm line 152
Apache::ASP::handler('Apache=SCALAR(0xb1a9f4)') called at nul line 0
eval {...} called at nul line 0
So, it seems some directory is set to /tmp or /tmp/asp. Does
anyone know where this property is set. I went through the .htaccess
file and set al temp directories to G:/Temp, but it still doesn't work.
Any help would be greatly appreciated,
Gaf
RE: ASP Win32 problems
Posted by "George A. Fitch III" <gf...@allegromicro.com>.
It works fine. I had assigned setting in the
httpd.conf file, but I failed to notice the
.htaccess file in the eg/ directory. So no
matter what I set in httpd.conf, the .htaccess
file overrid everything.
I figured this out when I did a file containing
text search for
PerlSetVar StateDir /tmp/asp_demo
in the entire apache directory upon your
suggestion.
Thanks for the help,
Gaf
> -----Original Message-----
> From: Joshua Chamas [mailto:joshua@chamas.com]
> Sent: Monday, April 02, 2001 4:51 PM
> To: George A. Fitch III
> Cc: modperl@apache.org
> Subject: Re: ASP Win32 problems
>
>
> You probably solved the particular problem below by changing:
>
> PerlSetVar StateDir /tmp/asp_demo
>
> to a real directory on your system. On win32 platforms
> /temp/asp_demo should work pretty well too.
>
> Now that you changed that setting what does your error log
> give you?
>
> --Josh
>
> "George A. Fitch III" wrote:
> >
> > Hi,
> >
> > I installed mod_perl and Apache::ASP on WinNT, and the sample .htm
> > files work fine. I can't seem to get the sample .asp files
> to work, though.
> > I checked the error log and saw these errors:
> >
> > [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error]
> can't create group
> > dir /tmp/asp_demo: No such file or directory,
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
> > [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error]
> can't create group
> > dir /tmp/asp_demo/server: No such file or directory,
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
> > [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error]
> Can't tie to file
> > /tmp/asp_demo/server/internal, 258, No such file or
> directory !! <--> Make
> > sure you have the permissions on the <--> directory set
> correctly, and that
> > your <--> version of Data::Dumper is up to date. <-->
> Also, make sure you
> > have set Global to <--> to a good directory in the config file.,
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 4669
> > [Mon Apr 02 15:52:04 2001] [error] Can't bless
> non-reference value at
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 4887.
> > Apache::ASP::State::TIEHASH('Apache::ASP::State',
> > 'Apache::ASP=HASH(0x41962ac)', 'internal', 'server', 258) called at
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 664
> > Apache::ASP::new('Apache=SCALAR(0xb1a9f4)') called at
> > G:/nusphere/perl/site/lib/Apache/ASP.pm line 152
> > Apache::ASP::handler('Apache=SCALAR(0xb1a9f4)')
> called at nul line 0
> > eval {...} called at nul line 0
> >
> > So, it seems some directory is set to /tmp or /tmp/asp. Does
> > anyone know where this property is set. I went through the .htaccess
> > file and set al temp directories to G:/Temp, but it still
> doesn't work.
> >
> > Any help would be greatly appreciated,
> >
> > Gaf
>
Re: ASP Win32 problems
Posted by Joshua Chamas <jo...@chamas.com>.
You probably solved the particular problem below by changing:
PerlSetVar StateDir /tmp/asp_demo
to a real directory on your system. On win32 platforms
/temp/asp_demo should work pretty well too.
Now that you changed that setting what does your error log
give you?
--Josh
"George A. Fitch III" wrote:
>
> Hi,
>
> I installed mod_perl and Apache::ASP on WinNT, and the sample .htm
> files work fine. I can't seem to get the sample .asp files to work, though.
> I checked the error log and saw these errors:
>
> [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] can't create group
> dir /tmp/asp_demo: No such file or directory,
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
> [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] can't create group
> dir /tmp/asp_demo/server: No such file or directory,
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 4585
> [Mon Apr 02 15:52:04 2001] [error] [asp] [174] [error] Can't tie to file
> /tmp/asp_demo/server/internal, 258, No such file or directory !! <--> Make
> sure you have the permissions on the <--> directory set correctly, and that
> your <--> version of Data::Dumper is up to date. <--> Also, make sure you
> have set Global to <--> to a good directory in the config file.,
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 4669
> [Mon Apr 02 15:52:04 2001] [error] Can't bless non-reference value at
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 4887.
> Apache::ASP::State::TIEHASH('Apache::ASP::State',
> 'Apache::ASP=HASH(0x41962ac)', 'internal', 'server', 258) called at
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 664
> Apache::ASP::new('Apache=SCALAR(0xb1a9f4)') called at
> G:/nusphere/perl/site/lib/Apache/ASP.pm line 152
> Apache::ASP::handler('Apache=SCALAR(0xb1a9f4)') called at nul line 0
> eval {...} called at nul line 0
>
> So, it seems some directory is set to /tmp or /tmp/asp. Does
> anyone know where this property is set. I went through the .htaccess
> file and set al temp directories to G:/Temp, but it still doesn't work.
>
> Any help would be greatly appreciated,
>
> Gaf