[Info-vax] PERL Can't locate API module structure in Apache Startup

Rob ratkinson at tbs-ltd.co.uk
Mon Jan 19 07:43:29 EST 2009


In thread 'http://groups.google.com/group/comp.os.vms/browse_frm/
thread/2ad4c4e43e462869' the solutions given to this problem may be
incorrect, although they perhaps work.

$ Set NoOn
$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
Syntax error on line 13 of /apache$common/conf/mod_perl.conf:
Can't locate API module structure `perl_module' in file /apache$root/
000000/modules/mod_perl.exe: function not implemented
  APACHE$WWW   job terminated at 19-JAN-2009 12:26:14.16


The problem appears to be file protection when you install CSWS_PERL
and the Perl module is replaced, the owner is incorrectly set, so the
EXE cannot be read by the Apache server :-


$ dir apache$root:[000000.modules]mod_perl

Directory APACHE$COMMON:[000000.MODULES]

MOD_PERL.EXE;2                      909/912       6-JUN-2006
17:08:46.86  [SYSTEM]              (RWED,RWED,,)
          (IDENTIFIER=APACHE$EXECUTE,ACCESS=READ+EXECUTE)
MOD_PERL.EXE;1                      913/928      27-OCT-2005
10:19:39.00  [AP_HTTPD,APACHE$WWW  (RWED,RWED,,)
          (IDENTIFIER=APACHE$EXECUTE,ACCESS=READ+EXECUTE)

Total of 2 files, 1822/1840 blocks.


To reset the ownership, issue this command :-

$ set sec apache$root:[000000.modules]mod_perl.exe /owner=apache$www


$ dir apache$root:[000000.modules]mod_perl

Directory APACHE$COMMON:[000000.MODULES]

MOD_PERL.EXE;2                      909/912       6-JUN-2006
17:08:46.86  [AP_HTTPD,APACHE$WWW  (RWED,RWED,,)
          (IDENTIFIER=APACHE$EXECUTE,ACCESS=READ+EXECUTE)
MOD_PERL.EXE;1                      913/928      27-OCT-2005
10:19:39.00  [AP_HTTPD,APACHE$WWW  (RWED,RWED,,)
          (IDENTIFIER=APACHE$EXECUTE,ACCESS=READ+EXECUTE)

Total of 2 files, 1822/1840 blocks.





More information about the Info-vax mailing list