nelson ostos
22nd April 2004, 01:28
Hi

I have one BW error message when i connect with Baan

1: boot file of user 'user220' remote user 'user220' server '161.83.155.37!nelson' bse '/apps/baanc2mcr/bse ' boot '/apps/baanc2mcr/bse/bin/ipc_boot6.1 '


the server name 161.83.155.37!nelson its ok and the enviroment variables like $BSE are ok

In ipc_info files there are one entry about the bshell name nelson

nelson s 0 0 p ${BSE}/bin/testconexion.sh

in the path there are one script in Unix (testconexion.sh) what validate the licenses and other things

I show the output Unix command like ls or file for information about this script


$ pwd
/apps/baanc2mcr/bse/bin

$ ls -lt | grep conex

-rwxr-xr-x 1 user120 bsp 748 Apr 21 17:39 testconexion.sh

$ file testconexion.sh
testconexion.sh: shell script - ksh (Korn shell)
$ pwd
/apps/baanc2mcr/bse/bin


What is the problem, pls advice.

Sorry my englis is not okey


Bye


:) :)

dave_23
22nd April 2004, 04:20
If you don't show us the shell script.. we can't really help!

Also, are you using BaanNet? the error's talking about "remote user".. might just be a weird error, but then again maybe not..

Can you log in w/o your shell script?

Dave

Hitesh Shah
22nd April 2004, 08:35
Quite some time ago, I had faced similar problem which was caused due to syntax error in BWC command . I had written "-- -SET USER=hrs" whereas u actually require small "set" . Due to this ipc_boot6.1 could not get the user and hence a similar error.

Just check if u also have a simialr error.

nelson ostos
22nd April 2004, 16:22
Obs:

In the BECS configuration when i put in the fields Bshell name = bshell , i get the connexion ... but when i change to nelson ,, the connexion fails


Dave:

Annexus the shell testconexion.sh

I comment that the Bw clients is B40c.66 and Baan IVc2 mcr in the Unix Server RIS6000 IBM Models H80 with Oracle 8i.

Hitesh

I do not know about BWC command....

Thanks for all for yours helps


Bye

dave_23
22nd April 2004, 16:53
Things to check:

1) Is ksh really in /usr/bin? sometimes its in /bin?
Try: which ksh

2) In your script you have:
rm userconnect.txt
Try: rm -f userconnect.txt >/dev/null 2>&1

if rm comes back with something like "file not found" it might screw up the BW..

3)
licmon6.1 -w | awk '{ print $3 }' | awk 'BEGIN { FS ="."} ; { print $1 }' | awk '
{ print "grep " $1 " userxvrc >> userconnect.txt " } ' | sh

I'm not sure what the "| sh" is doing at the end there.. seems a little odd to me.

Other than that, comment everything out, and start commenting it back in one line at a time.

Dave

nelson ostos
22nd April 2004, 18:10
Dave

Thanks ...

The shell is working well now; i change only the line about rm command ....

About the awk with sh is working fine....

But how i send the msg to Bw clients ? from this shell

the msg is Maximum number of users reached or something similar

Thanks for all for your helps


:)