alexpreyer
16th August 2005, 16:18
Some weeks ago we migrated on of our Baan Servers to Linux with great success. Now we tried the next server in the same way as before, but now with a big problem. I can log in in the Baan Gui as bsp and see the menue but when I try to start any session I get an error message - 505.
I also had a look in the log.bsehll file where I found this:

2005-08-16[15:52:18]:E:bsp: ******* S T A R T of Error message *******
2005-08-16[15:52:18]:E:bsp: Log message called from /view/port.6.1c.07.04/vobs/tt/lib/nw_1/ipc_glob.c: #1265 keyword: ipc
2005-08-16[15:52:18]:E:bsp: Pid 5457 Uid 502 Euid 502 Gid 500 Egid 500
2005-08-16[15:52:18]:E:bsp: user_type S language 3 user_name bsp tty ote locale ISO88591/NULL
2005-08-16[15:52:18]:E:bsp: Errno 0 bdb_errno 0
2005-08-16[15:52:18]:E:bsp: Log_mesg: Host 'N^M' not listed (or error in format line) in /baan/bse/lib/user/rbsp file.
2005-08-16[15:52:18]:E:bsp: ******* E N D of Error message *******
2005-08-16[15:52:18]:E:bsp:
2005-08-16[15:52:18]:E:bsp: ******* S T A R T of Error message *******
2005-08-16[15:52:18]:E:bsp: Log message called from /view/port.6.1c.07.04/vobs/tt/lib/nw_1/ipc_sock.c: #324 keyword: ipc
2005-08-16[15:52:18]:E:bsp: Pid 5457 Uid 502 Euid 502 Gid 500 Egid 500
2005-08-16[15:52:18]:E:bsp: user_type S language 3 user_name bsp tty ote locale ISO88591/NULL
2005-08-16[15:52:18]:E:bsp: Errno 0 bdb_errno 0
2005-08-16[15:52:18]:E:bsp: Log_mesg: remote info user 'bsp' unknown
2005-08-16[15:52:18]:E:bsp: ******* E N D of Error message *******
2005-08-16[15:52:18]:E:bsp:
2005-08-16[15:52:18]:E:bsp: ******* S T A R T of Error message *******
2005-08-16[15:52:18]:E:bsp: Log message called from /view/port.6.1c.07.04/vobs/tt/lib/nw_1/ipc_glob.c: #1265 keyword: ipc
2005-08-16[15:52:18]:E:bsp: Pid 5457 Uid 502 Euid 502 Gid 500 Egid 500
2005-08-16[15:52:18]:E:bsp: user_type S language 3 user_name bsp tty ote locale ISO88591/NULL
2005-08-16[15:52:18]:E:bsp: Errno 0 bdb_errno 0
2005-08-16[15:52:18]:E:bsp: Log_mesg: Host 'N^M' not listed (or error in format line) in /baan/bse/lib/user/rbsp file.
2005-08-16[15:52:18]:E:bsp: ******* E N D of Error message *******
2005-08-16[15:52:18]:E:bsp:
2005-08-16[15:52:18]:E:bsp: ******* S T A R T of Error message *******
2005-08-16[15:52:18]:E:bsp: Log message called from /view/port.6.1c.07.04/vobs/tt/lib/nw_1/ipc_sock.c: #324 keyword: ipc
2005-08-16[15:52:18]:E:bsp: Pid 5457 Uid 502 Euid 502 Gid 500 Egid 500
2005-08-16[15:52:18]:E:bsp: user_type S language 3 user_name bsp tty ote locale ISO88591/NULL
2005-08-16[15:52:18]:E:bsp: Errno 0 bdb_errno 0
2005-08-16[15:52:18]:E:bsp: Log_mesg: remote info user 'bsp' unknown
2005-08-16[15:52:18]:E:bsp: ******* E N D of Error message *******
2005-08-16[15:52:18]:E:bsp:
2005-08-16[15:52:18]:E:bsp: ******* S T A R T of Error message *******
2005-08-16[15:52:18]:E:bsp: Log message called from /view/port.6.1c.07.04/vobs/tt/lib/al_1/al_fpath.c: #195 keyword: sopen
2005-08-16[15:52:18]:E:bsp: Pid 5457 Uid 502 Euid 502 Gid 500 Egid 500
2005-08-16[15:52:18]:E:bsp: user_type S language 3 user_name bsp tty ote locale ISO88591/NULL
2005-08-16[15:52:18]:E:bsp: Errno 2 (No such file or directory) bdb_errno 505 (No server specified in tabledef6.1 or server cannot be started)
2005-08-16[15:52:18]:E:bsp: Log_mesg:
2005-08-16[15:52:18]:E:bsp: No definition in definition file for sopen(F_OBJ:ttdsk2080m000, ttdsk2080m000)
2005-08-16[15:52:18]:E:bsp: ******* E N D of Error message *******

It looks like that the system is running as remote, but the BSE_REM is not set and I created the rbsp only after the error to see if this helps. Originally there were no r{USER} existing in lib/user.
Now I'm wondering why the Baan application is running in this mode. Where could this be defined?

Thanks

Alex Preyer

victor_cleto
16th August 2005, 16:41
Your "... N^M ..." message gives a hint already on your problems: Windows uses CRLF line termination sequence while Linux uses LF. Thus your CR appears as ^M on a Linux system (read this (http://www.cpcug.org/user/clemenzi/technical/Languages/CR_LF.htm) that explains this).
You need to check all your text files that can be edited manually for the existence of the CRLF and change them to LF (remove the ^M or use dos2unix (http://linuxcommand.org/man_pages/dos2unix1.html) on them).

dave_23
16th August 2005, 17:41
I think that's actually ^M's in the tabledef6.1 file

try

:%s/<ctl>v<ctl>m//g

in vi.

(or dos2unix like mentioned above, or ftp with the ascii mode turned on...)

Dave

hike.briano
12th October 2006, 02:17
Hi, I'm kind of new to baan and I installed the client on a computer when I try to run the gui I get this error:
1 : process 4 - Error : bdb_errno 505 on ttadv999 !!!! CANNOT DETERMINE LOCATION !!!!
2 : process 4 - Error : bdb_errno 505 on ttadv999 !!!! CANNOT DETERMINE LOCATION !!!!
3 : process 4 - Error : Can't read session or object (ttdskbbrowser) !!!! CANNOT DETERMINE LOCATION !!!!

What could it be? how could I fix this?

lakoon
12th October 2006, 14:53
This happens when the database is not on.
Do start the database.

/lakoon