Although this gets around the pid file problem, it doesn’t get around the port 
problem, you can still only run one rxapi process per computer.  For example 
you can’t run both 32bit and 64bit rxapi concurrently on the same box, even if 
your have different pid files.  You can’t run ooRexx V4.2 and V5.0 concurrently 
on the same computer.

Moving the PID file will only allow one user to run ooRexx in a shared 
environment.


> On Jul 5, 2016, at 10:39 AM, Michael Lueck <mlu...@lueckdatasystems.com> 
> wrote:
> 
> Greetings Chip,
> 
> Chip Davis wrote:
>> Would you care to describe your magic incantation?
> 
> 
> 
> Most of the documentation is in that RFE...
> 
> 
> "#542 Support non-root interpreter installation and execution on Unix-like 
> systems"
> https://sourceforge.net/p/oorexx/feature-requests/542/
> 
> 
> Specifically changing on of the ooRexx source files:
> 
> rexxapi\server\platform\unix\APIService.cpp
> 
> // For testing purposes comment out the following line to force RXAPI to
> // run as a foreground process.
> #undef RUN_AS_DAEMON
> 
> #ifdef RUN_AS_DAEMON
> #define OOREXX_PIDFILE "/var/run/ooRexx.pid"
> bool run_as_daemon = true;
> #else
> #define OOREXX_PIDFILE 
> "/kunden/homepages/35/d157794216/htdocs/opt/oorexx/var/run/ooRexx.pid"
> bool run_as_daemon = true;
> #endif
> 
> 
> Then building and installing from the patched source.
> 
> My organization standard was to in my home directory build an opt/ directory, 
> then package names as the next level... and to consider that directory as the 
> virtual root. Thus .../var/run/ right where
> ooRexx wanted to place its PID file in the first place.
> 
> I am thankful,
> 
> --
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
> 
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to