×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I am trying to write a CL that will start my node instances using pm2. I'm
starting out using qshell to verify the commands will work.
It works fine using a ssh client, but qshell seems to error out. Here are
the qshell commands I'm running:
QIBM_MULTI_THREADED=Y
PATH=/QOpenSys/QIBM/ProdData/OPS/Node4/bin:$PATH
pm2 start /nodejs/mynodeapp/bin/www --name="myapp"
It is using express and this works fine in the ssh client I'm using. I did
set the path, as shown, to match that of my ssh client. The
QIBM_MULTI_THREADED=Y
was also needed and got me further, but now the node job doesn't start
The pm2 log shows this:
exec(): 0509-036 Cannot load program node because of the following errors:
0509-150 Dependent module
/QOpenSys/opt/freeware/bin/../lib/gcc/powerpc-ibm-aix6.1.0.0/4.8.2/../../../libcrypto.a(libcrypto.so.1.0)
could not be loaded.
0509-152 Member libcrypto.so.1.0 is not found in archive
Seems like a path issue.. or something else. but comparing environment
variables between qshell and ssh client I don't see anything that sticks
out.
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #20 <
https://www.bvstools.com/mailtool.html>: The ability
to specify multiple email routers/relays to make sure emails are sent when
they need to be.
As an Amazon Associate we earn from qualifying purchases.