Categories
Technology

Endeca Baseline Indexing Issue – Perl Script Error

Baseline Indexing Issue – Perl script error

Sometimes Endeca Baseline or Partial indexing might fail while executing any utility scripts, with “Perl” script error, as follows
Can't locate strict.pmin @INC (@INC contains: /tmp/original_perl_build_dir/lib/5.8.3/x86_64-linux /tmp/original_perl_build_dir/lib/5.8.3 /tmp/original_perl_build_dir/lib/site_perl/5.8.3/x86_64-linux /tmp/original_perl_build_dir/lib/site_perl/5.8.3 /tmp/original_perl_build_dir/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1. 

Perl Script Error

To fix this error, we need to source the PERL..
follow the below steps:
  1. Check if the PlatformServices are running in Endeca Server  (eg- using ps -ef | grep java )
  2. naviage to /opt/endeca/PlatformServices/11.2.0/tools/server/bin
  3. Execute ./shutdown.sh
  4. navigate to /opt/endeca/PlatformServices/workspace/setup
  5. Execute the following command – source installer_sh.ini
  6. navigate back to /opt/endeca/PlatformServices/11.2.0/tools/server/bin
  7. Execute ./startup.sh
  8. Execute the indexing again, either from back-end or using dyn/admin page.
In my server:
ENDECA_CONF=/opt/endeca/PlatformServices/workspace

Refer: