In message <8b1ff73c-7c72-40d0-9e27-9d19e237a...@email.arizona.edu>, "Johnson, 
Bruce E - (bjohnson)" writes:
>I'm setting up a new server to replace one that is currently running
>fine (I am changing the database for my app from oracle to Postgres
>and need to test this before doing the switchover.)
>
>I've looked at the apache settings on both systems, file
>permissions, etc and they look the same, but httpd fails at startup
>with the following error:
>
>
>[Thu Oct 26 16:11:46.962322 2023] [perl:error] [pid 96852:tid 96852]
>Can't locate /home/allwebfiles/perl/startup.pl:
>/home/allwebfiles/perl/startup.pl: Permission denied at (eval 2)
>line 1.\n
>[Thu Oct 26 16:11:46.962564 2023] [perl:error] [pid 96852:tid 96852]
>Can't load Perl file: /home/allwebfiles/perl/startup.pl for server
>dhbroomscheduling4.pharmacy.arizona.edu<http://dhbroomscheduling4.pharmacy.arizona.edu>:0,
>exiting..
>
>The file permissions are correct
>
> ls -l /home/allwebfiles/perl/startup.pl
>-rwxr-xr-x. 1 webworker apache 515 Oct 26 16:11
>/home/allwebfiles/perl/startup.pl
>
>The contents of startup.pl seem to be correct (the only change was
>the dbd line in the DBI startup.)

Two tests come to mind that might help you debug:
# apachectl configtest
# su - webworker
$ perl -c /home/allwebfiles/perl/startup.pl

John
groenv...@acm.org

Reply via email to