This article is a collection of troubleshooting tips for Unix application/process scheduler/web server issues I've encountered.
Application Server
Issue
dlopen in libpqscompat failed for 'libjvm.so':
Resolution
Append $PS_HOME/jre1.6.0/lib/amd64/server or appropriate to your $LD_LIBRARY_PATH environment variable.
Issue
tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
Resolution
Generally indicates that the IPC resource settings are not sufficient. This involves modifying the system control settings under /etc/sysctl.conf in particular things like the following (although there might be others and this is just an example):
sysctl.conf
kernel.sem 250 32000 100 128
kernel.msgmni = 8192
kernel.msgmax = 1048576
kernel.msgmnb = 1048576
This needs to be changed as the root user and reloaded using sysctl -p.
Issue
LIBTUX_CAT:681: ERROR: Failure to create message queue
LIBTUX_CAT:248: ERROR: System init function failed, Uunixerr = : msgget: No such file or directory
ERROR: Process PSRENSRV at server.domain failed with /T tperrno (TPEOS - operating system error)
Resolution
This occurred after changing the /etc/sysctl.conf but not reloading it with sysctl -p and attempting to start an application server domain. Make sure you reload first!
Process Scheduler
Issue
$PS_HOME/bin/<DBTYPE>/bin/sqr: error while loading shared libraries:
libsqrbtunicode.so: cannot open shared object file: No such file or directory.
Resolution
The process scheduler cannot find the libsqrbtunicode.so file which lives under $PS_HOME/bin/<DBTYPE>/bin. To fix, append to LD_LIBRARY_PATH in the file psprcsrv.env under the /appserv/prcs/<domain>/ folder. Note this file doesn't seem to like environment variables so you might have to hard code the path.
Issue
PSRUN: error while loading shared libraries:
libcobrts64.so: cannot open shared object file: No such file or directory
Resolution
Similar to the SQR error, you need to append to LD_LIBRARY_PATH in the file psprcsrv.env under the /appserv/prcs/<domain>/ folder. This time add the $COBDIR/lib location (base directory of your Microfocus server installation). Note don't use environment variables, hardcode the location of $COBDIR in this file.
