baanjour
11th October 2002, 12:26
Hi
We have one License daemon supplying licenses to many Baan environments in the network. Observed that one of the environments consume (say 100 licenses - info. from licmon6.2), but the bshells in the environment are only eight.
I can also see the PIDs displayed in the licmon output but they are not physically present on the server.
Is there a way to make licd release all these licenses without restarting the licd
Thanks .
croezen
11th October 2002, 13:12
You can use the "bshcmd" command to kill the remaining processes.
Type "bshcmd -? " in a command box on your server to see al options.
Eddy
baanjour
11th October 2002, 15:37
Hi,
I tried it...doesn't work..:(
bshcmd6.2 kills only bshells which are available.
I have a problem with ghost licenses.
Users who have terminated abnormally few days back are still consuming licenses.
croezen
11th October 2002, 15:58
If these licences are visable through licmon you can kill them using bshcmd if i'm right?
If not you could use the program "CloseIdle" or there is something like a timeout option in BaaN, I don't know how it works but I know it could help you prefent your problem.
( If you have more info on " timeout " I would appriciate it if you would send this to me )
Eddy.Croezen@Eastborn.nl
evertsen
11th October 2002, 22:40
Originally posted by baanjour
I can also see the PIDs displayed in the licmon output but they are not physically present on the server.
Is there a way to make licd release all these licenses without restarting the licd
If the processes no longer exist and the licenses haven't been released, then you have to restart licd to free them or wait for CloseIdle (third party product) or the ds_timeout_detect (see solution 19868 on the Baan Support website) to clear them. If the processes still exist then you can use kill -15 [PID] and this will release the license as well as kill the process (at least it does for me using Baan IVc4 on UNIX)
mbadillo
11th October 2002, 23:57
If the results of licmon6.2 -w are:
BAAN.PROMESA.COM.EC bw/bi vhaventa.4850 BAAN.PROMESA.COM.EC 11-10-2002 18:35
BAAN.PROMESA.COM.EC bw/bi pgicaja.4860 BAAN.PROMESA.COM.EC 11-10-2002 18:35
BAAN.PROMESA.COM.EC bw/bi aclcredi.5394 BAAN.PROMESA.COM.EC 11-10-2002 19:05
What's the process id (<bshell_PID> ) wich is referenced in the command bshcmd6.2??.
Mario
evertsen
12th October 2002, 00:11
The PID is the number that follows the login name.
e.g
BAAN.PROMESA.COM.EC bw/bi vhaventa.4850 BAAN.PROMESA.COM.EC 11-10-2002 18:35
PID = 4850
mbadillo
12th October 2002, 00:33
What's the format of bshcmd6.2 command in AS/400 ?. We tried with bshcmd6.2 -k 280, and this generate the command help. Thanks.
Mario
lbencic
12th October 2002, 00:59
Not sure about the AS/400 , but the '6.2' extension is for Baan V. Baan IV uses '6.1'.
Check your baan\bin directory for which is correct on your version, the bshcmd executable is stored there.