[SAP] R3trans error on AIX with async i/o
I have seen this situation while creating a new application server in a 6.40 system landscape on AIX 5L.
The startup of the dialog instance failed, because of the database could not be reached. A closer look at the log files shows the following situation.
shell> R3trans -d This is R3trans version 6.13 (release 640 - 07.03.08 - 11:26:00). unicode enabled version --- Unicode interface [nlsui1.c line 1907] pid = 176430 : Function dlerrorU16 : Array err_msgU length MAX_ERROR_LN is too small. --- Unicode interface ------ End of message ------ 2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap//SYS/exe/run') or dbms_type ('ORA')" R3trans finished (0012).
This error message doesn’t help us a lot, so take a closer look at the file “trans.log”.
4 ETW000 [dev trc ,00000] Loading DB library 'https://learntips.b-cdn.net/usr/sap//SYS/exe/run/dboraslib.o' ... 4 ETW000 52 0.000205 4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib: dlopen()= (null) -> DLENOACCESS (86,File name too long) 4 ETW000 2422 0.002627 4 ETW000 [dbcon.c ,00000] *** ERROR => Couldn't load library 'https://learntips.b-cdn.net/usr/sap//SYS/exe/run/dboraslib.o' 4 ETW000 38 0.002665
This error message is shown, if you are using the oracle database library and async i/o is not enabled on the client side.
Check your async i/o settings on AIX the following way:
Correct
shell> lsdev -l aio0 aio0 Available Asynchronous I/O (Legacy)
Wrong
shell> lsdev -l aio0 aio0 Defined Asynchronous I/O (Legacy)
Howto configure async i/o
shell> smitty aio -> Configure Defined Asynchronous I/O shell> smitty aio -> Change / Show Characteristics of Asynchronous I/O
Verify R3trans
shell> R3trans -d This is R3trans version 6.13 (release 640 - 07.03.08 - 11:26:00). unicode enabled version R3trans finished (0000).
New NetWeaver Information at SAP.com
Very Helpfull