perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron Clark <came...@fuzzydice.com>
Subject Re: Installing from scratch Apache + mod_perl + Apache::ASP (+maybe others) on unix
Date Tue, 26 Feb 2002 22:09:12 GMT
Hey there (Joshua),

	I noticed your mention of building a linux box and doing a scratch install 
of apache/mod_perl/Apache::ASP. I'm in the middle of just that and I'm 
having some issues....

	I'm using a virgin install of RedHat on a VA linux server. I uninstalled 
the RPMed Apache that was loaded with the OS. I got the apache.1.3.22 
sources and the mod_perl 1.26 sources and built apache with mod_perl...by 
all accounts that seems to be working. I ran a couple of tests as listed on 
the mod_perl project site to verify that the mod_perl build of apache was 
running (checking the logs, telnetting to it, etc). That all seems to be fine.

	Then I did the compile/install of Apache::ASP as listed on your site

 > perl Makefile.PL
 > make
 > make test
 > make install

and that seems to go through OK.

	It is, however, after this that I get confused. Keep in mind I'm a newbie 
to this. This is my first non-RPM install of Apache or its modules. Am I 
correct in understanding that all I need to do to make Apache::ASP work is 
copy the contents of ./site/eg to my server doc root 
(/usr/local/apache/htdocs) and add the following to httpd.conf and restart 
httpd?

<Directory / >
Options FollowSymLinks
AllowOverride All
</Directory>

	Do I also add

<Files ~ (\.asp)>
        SetHandler  perl-script
        PerlModule  Apache::ASP
        PerlHandler Apache::ASP
        PerlSetVar  Global .
        PerlSetVar  StateDir /tmp/asp
      </Files>

at this point?

So I tried that and restart the daemon and the ASP pages I have either show 
garbled output or return a 500 internal server error... Here's what my log 
states. Its beginning to look like a permissions thing but I don't know 
where to take it from here:

[Wed Feb 27 03:28:39 2002] [notice] Apache/1.3.22 (Unix) mod_perl/1.26 
configured -- resuming normal operations
[Wed Feb 27 03:28:39 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/local/apache/bin/suexec)
[Wed Feb 27 03:28:39 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Feb 27 03:28:43 2002] [error] [asp] [30044] [error] can't create group 
dir /tmp/asp/server: Permission denied, /usr/lib/perl5/site_perl/5.6
.0/Apache/ASP.pm line 5063
[Wed Feb 27 03:28:43 2002] [error] can't open file 
/tmp/asp/server/internal.lock: Permission denied at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync
.pm line 234.
         MLDBM::Sync::Lock('MLDBM::Sync=HASH(0x850a2cc)', 1) called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 226
         MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x850a2cc)') called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 77
         MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x850a2cc)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5242
         Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x8501384)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm li
ne 4975
         Apache::ASP::State::new('Apache::ASP=HASH(0x84a1744)', 
'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5229
         Apache::ASP::State::TIEHASH('Apache::ASP::State', 
'Apache::ASP=HASH(0x84a1744)', 'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
4551
         Apache::ASP::Application::new('Apache::ASP=HASH(0x84a1744)') 
called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 562
         Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x84b1c50)') called 
at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 148
         Apache::ASP::handler('Apache=SCALAR(0x84b1c50)') called at 
/dev/null line 0
         require 0 called at /dev/null line 0

[Wed Feb 27 03:28:45 2002] [error] [asp] [30044] [error] can't create group 
dir /tmp/asp/server: Permission denied, 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5063
[Wed Feb 27 03:28:45 2002] [error] can't open file 
/tmp/asp/server/internal.lock: Permission denied at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 234.
         MLDBM::Sync::Lock('MLDBM::Sync=HASH(0x850a314)', 1) called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 226
         MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x850a314)', 
'MLDBM::Sync=HASH(0x850a314)') called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 77
         MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x850a314)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5242
         Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x8503524)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 4975
         Apache::ASP::State::new('Apache::ASP=HASH(0x8508248)', 
'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5229
         Apache::ASP::State::TIEHASH('Apache::ASP::State', 
'Apache::ASP=HASH(0x8508248)', 'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
4551
         Apache::ASP::Application::new('Apache::ASP=HASH(0x8508248)') 
called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 562
         Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x84ac4dc)') called 
at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 148
         Apache::ASP::handler('Apache=SCALAR(0x84ac4dc)') called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 234
         require 0 called at /usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm 
line 234

[Wed Feb 27 03:28:57 2002] [error] [asp] [30045] [error] can't create group 
dir /tmp/asp/server: Permission denied, 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5063
[Wed Feb 27 03:28:57 2002] [error] can't open file 
/tmp/asp/server/internal.lock: Permission denied at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 234.
         MLDBM::Sync::Lock('MLDBM::Sync=HASH(0x81ba300)', 1) called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 226
         MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x81ba300)') called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 77
         MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x81ba300)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5242
         Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x8329338)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 4975
         Apache::ASP::State::new('Apache::ASP=HASH(0x849ee64)', 
'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 5229
         Apache::ASP::State::TIEHASH('Apache::ASP::State', 
'Apache::ASP=HASH(0x849ee64)', 'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
4551
         Apache::ASP::Application::new('Apache::ASP=HASH(0x849ee64)') 
called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 562
         Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x84ac4dc)') called 
at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 148
         Apache::ASP::handler('Apache=SCALAR(0x84ac4dc)') called at 
/dev/null line 0
         require 0 called at /dev/null line 0


  Any input is greatly appreciated. Thanks!

-Cameron


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message