Brendan Shine
11th February 2002, 23:27
Has anyone else has encountered a 1922 error "Cannot get name of current working directory" while logging into Baan on Informix (users never see main menu). Baan support says no one else has called in such an error.

Users typically retry the login 2-3 times and then are able to get in on another server.

Application: Baan IVc4
Porting Set: 6.1c.05.01 HP9000_PA_8000 HPUX10.20
Hardware OpSys: HP-UX B.11.00 E 9000/800
Database: Informix 7.31.FC6

Architecture/setup is:
PC/BW GUI <-(over WAN)->> 3 Baan App Servers <<-(over LAN)-> 1 Informix Database server.

The following directories are NFS mounted to same machine as DB server:
/home
$BSE (/baan/baanIVc4/bse)
$INFORMIXDIR (/informix/prod)


$ finderr 922
-922 Cannot get name of current working directory.

A problem exists with the current working directory on this system or
on another computer system that your application is using. Possibly
your account does not have read access to the directory, or possibly
the file system that contains it is improperly mounted. Exit your
application, and retry. If the problem persists, see your system
administrator for assistance.


======= log.informix ==============

2002-01-29[07:16:45]:E:elawreco: ******* S T A R T of Error message *******
2002-01-29[07:16:45]:E:elawreco: Log message called from /port.6.1c.05.01/vobs/t
t/servers/INFORMIX_1/inf_error.c: #379 keyword: INFORMIX_ERROR_MESSAGE
2002-01-29[07:16:45]:E:elawreco: Pid 3534 Uid 1087 Euid 1087 Gid 125 Egid 125
2002-01-29[07:16:45]:E:elawreco: user_type N language 2 user_name elawreco tty ote locale ISO88591/NULL
2002-01-29[07:16:45]:E:elawreco: Errno 0 bdb_errno 0
2002-01-29[07:16:45]:E:elawreco: Log_mesg: Cannot get name of current working directory.
2002-01-29[07:16:45]:E:elawreco: ******* E N D of Error message *******
2002-01-29[07:16:46]:E:elawreco: ******* S T A R T of Error message *******
2002-01-29[07:16:46]:E:elawreco: Log message called from /port.6.1c.05.01/vobs/tt/servers/INFORMIX_1/inf_error.c: #371 keyword: INFORMIX_LOGON
2002-01-29[07:16:46]:E:elawreco: Pid 3535 Uid 1087 Euid 1087 Gid 125 Egid 125
2002-01-29[07:16:46]:E:elawreco: user_type N language 2 user_name elawreco tty ote locale ISO88591/NULL
2002-01-29[07:16:46]:E:elawreco: Errno 0 bdb_errno 0
2002-01-29[07:16:46]:E:elawreco: Log_mesg: Code -922 ISAM err 0 #rows 0 Lrow 0 Offset 0
2002-01-29[07:16:46]:E:elawreco: ******* E N D of Error message *******:confused: :confused: :confused: :confused: :confused:

patvdv
12th February 2002, 00:23
Brendan,

I think I have seen this problem or something similar before with an Informix installation - not in conjunction with Baan but I think this is irrelevant in this case.
I would check the ownerships on the Informix parent directories (/informix/prog) and also when the filesystem is unmounted. Check the mountpoint's ownerships and make them informix:informix if not already so.

Ravenscross
12th February 2002, 13:20
I have seen this problem before on an NT system where the user logged onto the server (not an admin account) could not run any Informix commands, this was solved with a large amount of testing and messing about with enviroment settings for the user. It was a long time ago but it did involve adding settings which were not default.

Have to say that Baan did not help with the issue and it took several calls to Informix to try and get on the right line. I would recommend that anyone using Informix downloads all the possible manuals on the website as they can be useful tracking down the errors that you can't get help on.