× 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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.