Fahqueue
11th February 2003, 21:44
I need to automate the restarting of the license service on Windows 2000 server. I am running BaaN Vc on Windows 2000 Adv Server. I don't really want to use a program like closeidle. I have heard that some people have designed a way for the license service to be restart at preset intervals. Thanks in advance for any input.
OmeLuuk
12th February 2003, 13:22
I read in portingset update notes (7.1d for iBaanERP5.x) that licmon did get an option -C to clear all not pending (so "hanging") licenses. In that case you won't need to restart the services, you can schedule (with at or another scheduler) to issue a licmon -C command each hour or so.
rupertb
28th March 2003, 14:50
Don't mislead all the little children Fahqueue:) We're currently using that functionality whenever we run out of licences to restart the licence daemon - it causes havoc with finance batches, application locks etc. "licmon6.x -k" does not allow processes to terminate in those cases where sub-sessions are called - the subsession simply is not allowed to start.
It's generally not a good idea (I'm still trying to convince everyone here not to do it anymore)
Regards,
Rupert
ranias
18th April 2004, 16:21
that option of licmon6.x -k will also disconnect all the users currently working in the system which will cause a big problem.
I have also faced a problem of bshell6.2 process in BaanERP 5.0b which has been "hangged" in the server licenses and they also reserve a license and actually block the number of licenses.
How can I release the bshell process which has been disconnected from the Baan server but still use a license in the license daemon.
BTW: Licmon6.2 -C : clear brandinfo from shared memory
This in portingset 7.1c.03
What does it do in 7.1d portingset ?
Thanks,
Ranias
dave_23
18th April 2004, 21:43
I think you want lower case "c"
-c : cleanup orphaned local licences
It might have come out for ERP in 7.1c.04..
Dave
Han Brinkman
19th April 2004, 13:10
The -c option cleans licenses of processes no longer connected. However I noticed that on our system it doesn't work for 100%, sometimes another user has the same PID in use so that will not free the license.
Other licenses are not freed at all. However it gives some licenses free.
I know that resetting the license daemon gives problems, so I can only advice you not to do it during production hours.
Regards,
Han Brinkman