Anyone using LUU have trouble getting certain utils to work?

 4 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
pbelsky
Veteran Member Send Private Message
Posts: 80
Veteran Member
Hi,

We are testing LUU with 9.0.1.5 apps, 9.0.1.7 env, on Server 2003 R2 64-bit. Overall, it is working pretty well. No trouble so far with canned applications (HR/payroll & financials), TnE, or employee self-service. Where we are seeing issues is with some of our custom programs, and doing technical work in LID (our users use portal and do not have access to LID). This is due to a number of the unix utils that do not seem to work under LUU.

We have found that about half the utilities cause the system to hang. For example, if we try to do a simple grep from the command line in LID, or run a custom program in portal that calls a batch file that executes a grep, the cursor/program will hang. I was wondering if anyone else has tried LUU and seen this problem. Our admins are stumped. 

Also a bit of a problem for our installation, I don't see an executable at all for kill and awk included anywhere.

In case anyone is interested, here is a list of the unix utils that worked ok for us with LUU, and those that did not.

Work OK under LUU:
cat
chmod
chown
cp
echo
ls
luuver
mkdir
mv
pwd
rm
rmdir
touch
uname
which
whoami

Did not work with LUU (but work with MKS):
basename
cut
date
diff
dirname
egrep
env
expr
grep
head
tail
tee
tr

Kwane McNeal
Veteran Member Send Private Message
Posts: 479
Veteran Member
Well, I will clarify a few things before I respond.

LUU itself are just stubs, so I'll assume you are referring to LUU, backed by SUA (the old interix)

While a bulk of my comments are posted in the MKS topic, I will add a few specific ones here, as well as a solution.

1) Your list of working binaries I'd modify: ls does NOT work correctly. If you run ls -1, you will NOT get a single column output.

2) There is a SERIOUS bug with mkdir in GENDIR/bin, such that if the LAW_UU_ROOT is not able to be accessed, it will allow you to create a directory in which the child file objects can not be read or written.

..in short, SUA is garbage.

THIS is the reason Lawson has modified LUU to run as a caller to CygWin (not sure if that's public knowledge, but if you look for environment patches, there is one for LUU as it relates to CygWin)

The BEST solution is to buy MKS, the next best is to use CygWin, augmented by some statically compiled binaries (I'd use MinGW and binutils, or find someone who has), after that, I'd roll your own, but modding binutils yourself.

Microsoft has NO incentive to make SUA work, since they have owned it for 7 years, and it looks EXACTLY the same (check out the system variables...plenty of INTERIX this and that to go around)

My suggestion to clients is to get MKS for the appserver, augmented by tools MKS has no use supplying (like IBM's ldap tools, and CPAN libs), and on the webserver, use a static compiled set of binutils.

Kwane
John Henley
Send Private Message
Posts: 3351
There are other posts here on MKS vs LUU. In general, if you rely on Unix/shell commands for scripting, use MKS not LUU. =
Thanks for using the LawsonGuru.com forums!
John
pbelsky
Veteran Member Send Private Message
Posts: 80
Veteran Member
I searched the KB for the patch mentioned by Kwane. The new KB is so Lawesome!

I found a pkg# LSFCT_NT_09000107P11642, "Beta LSF Alternate Shell Using Cygwin performance issues," which contains a JT-245974, but it seems to have something to do with ProcessFlow. Is this the patch you are referring to? Seeing "beta" gives me pause.
John Henley
Send Private Message
Posts: 3351
Posted By Kwane McNeal on 07/29/2011 06:23 PM

THIS is the reason Lawson has modified LUU to run as a caller to CygWin (not sure if that's public knowledge, but if you look for environment patches, there is one for LUU as it relates to CygWin)

The BEST solution is to buy MKS, the next best is to use CygWin, augmented by some statically compiled binaries (I'd use MinGW and binutils, or find someone who has), after that, I'd roll your own, but modding binutils yourself.

Kwane

Lawson has issued an update to LUU to work with cygwin as a full replacement for MKS (see Lawson KB Article ID 5422254).
Thanks for using the LawsonGuru.com forums!
John