- Article Type: General
- Product: Primo
- Product Version: Jul-15
- PDS returns 500 Internal Server Error after the authorization process
- PDS version is 2.1.4
- Apache error log contains a line with the error message:
Undefined subroutine &IOZ311_file::io_z311_file called at /exlibris/primo/p4_1/pds/program/Relocate.pm line 65.
This error will occur because Relocate.pm is not including the IOZ311_file Perl module.
1. Logon to each PDS server
2. Run the following commands:
** Note that the SED command is two lines and must not have any spaces following the backslashes
cp -p Relocate.pm Relocate.pm.`date +"%Y%m%d"`
sed -e '/use PDSUtil;/i\\
use IOZ311_file;' Relocate.pm.`date +"%Y%m%d"` > Relocate.pm
touch PDStouchfile PDSUtils.pm
See Also Aleph 22 - error in apache related to PDS (2.1.4): Undefined subroutine &IOZ311_file
Error may also be intermittent.
Fixed in PDS 2.1.5.