Hi guys,
I'm working on a server with 3 users using Tuxedo.
At this moment, I'm trying to reboot it on those 3 users using tmshutdown and tmboot. It's working fine when I connect on the good user.
I first tried to use a batch on Windows, executing the commands using SSH by connecting to the 3 users(as I do for shell scripts).
It didn't work, and I thought I could try doing a shell script on the server to do it. What I did.
The problem is, as for Windows batch, that I can't run the 2 commands by this way. The error I encounter is :
dvedvw52(ad09cap1):/exec/applis/09cdvlpt/SHELLS_COMMUNS_SFC>sudo -u ad09cap2 /exec/products/tuxedo/v10.0/bin/tmshutdown
Could not load program /exec/products/tuxedo/v10.0/bin/tmshutdown:
Dependent module libgpnet.so could not be loaded.
Could not load module libgpnet.so.
System error: No such file or directory
I hoped changing some environment variables could work, but it doesn't, or I just don't use the good way to do it.
Any idea ?
Thanks