baanworld
4th August 2008, 19:23
I used to be able to do this but not anymore. I tried to issue the command licmon6.1 -w | wc -l
It works when I run it as bsp user. But if I try to run this as oracle user or other user, it will not work. I don't remember I changed anything. What could the problem possibility be? Seems like permission issue. But I double checked. oracle user is in the bsp group and licmon can be executed with users other than bsp. -rwxr-xr-x
If you have any idea, that would be great. Thanks for your help.

baanworld
4th August 2008, 22:18
Will this problem relate to the recent upgrade of oracle database to 10g?
When I issue the command licmon6.1 -w| wc -l with oracle user, I got the following error:

licmon6.1: User file for user 'oracle' does not exist. Last searched location '${BSE}/lib/user/uoracle;${BSE_REM}!${BSE}/lib/user/uoracle'
licmon6.1: Unable to initialize user settings
0


But oracle does have the bsp permission. I double checked. What other problem can it be?

dave_23
4th August 2008, 23:18
does it run for users other than bsp and oracle?

that error means you don't have an oracle user setup in baan (rightly so!)

Dave

baanworld
4th August 2008, 23:24
Well, oracle user was never setup in baan. But it never complained before. Why now?

baanworld
5th August 2008, 00:09
I tried with users other then bsp and oracle. It does not work either. That users does have profile setup in the $BSE/lib/user directory. But the error message is the same when I issue the command. I am speculate it has to do with the permissions problem, but just don't know where to look.

dave_23
5th August 2008, 00:54
Well, oracle user was never setup in baan. But it never complained before. Why now?

Did you update the porting set? maybe you changed permissions on the licmon binary.

Sounds like something is messed up somewhere. and easy fix would be to
chmod 4750 licmon6.1

Dave

kaukul
5th August 2008, 08:42
Have you set $BSE directory in variable PATH?

Please check that...

kaukul
5th August 2008, 08:45
licmon6.1 is present in $BSE/bin, so "$BSE/bin" must be part of PATH variable.

Else, you can also try running "licmon6.1" command mentioning its complete path i.e. /baan/bse/bin/licmon6.1 -w (assuming /baan/bse is BSE directory).

norwim
5th August 2008, 09:57
hmmm,

$BSE for sure has been set, otherwise the command wouldn't be found at all. I tried succesfully to issue licmon6.1 from a user with no profile in $BSE/lib/user dir, it works fine once $BSE and $BSE_TMP is set correctly. Which version do you use (licmon6.1 -v shows 6.1c.07.05 here)?

regards

Norbert

baanworld
5th August 2008, 17:40
I tried chmod 4750 licmon6.1. This does not help either. I do have the $BSE set. When I issue the licmon6.1 -v, it shows 6.1c.07.11
Is there something new going on about this new porting set?

baanworld
6th August 2008, 17:13
I finally get this to work. I made bbuser a valid baan user and then set the $BSE environment variable. Looks like this is something new with the new porting set 07.11