Glad the .htaccess at least made the main sample page work, but it
appears at the very least that you (or rather the user the server is
running as) don't have permission to create/write to /tmp/asp.  Maybe it
exists and isn't writable by the apache process?

BTW, don't forget to reply to all, so the rest of the list can
particpate too.

-- Jim

-----Original Message-----
From: Cameron Clark [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 26, 2002 10:32 PM
To: Jim Helm
Subject: RE: Installing from scratch Apache + mod_perl + Apache::ASP
(+maybe others) on unix


Ok, I specifically copied the .htaccess file from /eg to the site doc
root 
and now it brings up the example page, but most don't execute

here's what happens when I restart the server and execute a single ASP 
program on that example page:

[Wed Feb 27 12:14:32 2002] [notice] caught SIGTERM, shutting down [Wed
Feb 27 12:14:39 2002] [notice] Apache/1.3.22 (Unix) mod_perl/1.26 
configured -- resuming normal operations
[Wed Feb 27 12:14:39 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/local/apache/bin/suexec)
[Wed Feb 27 12:14:39 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem) [Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug] RUN
ASP (v2.31) 
for /usr/local/apache/htdocs/source.asp
[Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug] call srand()
post fork [Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug]
GlobalASA package 
Apache::ASP::Demo
[Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug] global.asa was
not 
cached for 
_usr_local_apache_htdocs___global_asaxbb9175c238d1c4683f1529d060e92a9b
[Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug] compiling 
global.asa Apache::ASP::Demo 
_usr_local_apache_htdocs___global_asaxbb9175c238d1c4683f1529d060e
92a9b exists 1 - asp: Apache::ASP=HASH(0x84a3a58); compiled: 
HASH(0x84ac34c); exists: 1; id: 
_usr_local_apache_htdocs___global_asaxbb9175c238d1c4683f1529d060e92a
9b; package: Apache::ASP::Demo;  - --- - exists: 0; mtime: 0; [Wed Feb
27 12:14:53 2002] [error] [asp] [30421] [debug] global.asa 
routines - Application_OnEnd: 1; Application_OnStart: 1; Script_OnEnd:
1; 
Script_OnFlush: 1;
Script_OnStart: 1; Session_OnEnd: 1; Session_OnStart: 1;
[Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [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 12:14:53 2002] [error] [asp] [30421] [debug] creating dbm
for 
file /tmp/asp/server/internal, db SDBM_File, serializer: Data::Dumper
[Wed Feb 27 12:14:53 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(0x8510830)', 1) called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 226
         MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x8510830)') called at 
/usr/lib/perl5/site_perl/5.6.0/MLDBM/Sync.pm line 77
         MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x8510830)', 
'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm
line 5242
         Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x85094fc)',

'application') called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm
line 4975
         Apache::ASP::State::new('Apache::ASP=HASH(0x84a3a58)', 
'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(0x84a3a58)', 'application', 'server') called at 
/usr/lib/perl5/site_perl/5.6.0/Apache
/ASP.pm line 4551
         Apache::ASP::Application::new('Apache::ASP=HASH(0x84a3a58)') 
called at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 562
         Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x84b1ca0)')
called 
at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 148
         Apache::ASP::handler('Apache=SCALAR(0x84b1ca0)') called at 
/dev/null line 0
         require 0 called at /dev/null line 0

[Wed Feb 27 12:14:53 2002] [error] [asp] [30421] [debug] destroying - 
GlobalASA: Apache::ASP::GlobalASA=HASH(0x845e4c0); Internal: 
Apache::ASP::State=HASH(0x833c
fd0); Request: Apache::ASP::Request=HASH(0x8401690); Response: 
Apache::ASP::Response=HASH(0x8509784); Server: 
Apache::ASP::Server=HASH(0x850964c); app_state: 1;
basename: source.asp; compile_checksum:
bb9175c238d1c4683f1529d060e92a9b; 
compile_includes: 1; dbg: 3; debugs_output: ARRAY(0x84ac274); 
errors_output: ARRAY(0x85
0ddf0); errs: 1; filename: /usr/local/apache/htdocs/source.asp; global: 
/usr/local/apache/htdocs//.; global_package: Apache::ASP::Demo; id: 
__ASP__usr_local_apac
he_htdocs_source_aspxbb9175c238d1c4683f1529d060e92a9b; init_packages: 
ARRAY(0x8509544); inode_names: ; no_cache: ; no_session: ; no_state: ; 
package: Apache::ASP
::Demo; r: Apache=SCALAR(0x84b1ca0); stat_inc: ; stat_inc_match: ; 
stat_scripts: 1; state_db: ; state_dir: /tmp/asp; state_manager: 10; 
state_serialize: ; state_
serializer: ; subid: 
Apache::ASP::Demo::__ASP__usr_local_apache_htdocs_source_aspxbb9175c238d
1c4683f1529d060e92a9b; 
unique_packages: ; use_strict: 1; win32: 0; x
slt: ;










At 09:54 PM 2/26/2002 -0800, you wrote:
>When you copied the contents, did you get the .* files as well?  If you

>didn't, that's most likely your problem...  The examples need the 
>.htaccess file (and maybe others) to function correctly.
>
>--Jim
>
>-----Original Message-----
>From: Cameron Clark [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 26, 2002 2:09 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Installing from scratch Apache + mod_perl + Apache::ASP 
>(+maybe others) on unix
>
>
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to