Skip to Content

Error on DB50/DB13 to connect to database

Hi,

Sorry to put this message here as talk not only about SAPDB but, did anyone see these messages after update client programs to MaxDB 7.5 on DB50/DB13:

DB13 DBM_GETF DBAHIST DATE=20040510

System Error

DB50 DBM_EXECUTE

dbm_version System Error

Error DBMRfcSystemError at DB Instance CreateObject

Also, I copy library file libsapu16.so from /sapdb/programs/lib to /sapdb/programs/bin and /sapdb/programs/pgm.

I have AIX 5.1/SAPDB 7.3 database and IndepPrograms updated to 7.5 release.

Regards,

Daniela Godoi

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jul 21, 2004 at 02:53 PM

    Dear Daniela,

    could you please try the following:

    - go to transaction SM49 and execute the command 'dbmrfc' without any options.

    Normally, that should call 'sapdbmrfc' and all things should be ok. However, in your case I suspect an error message to appear which probably looks similar to this:

    Could not open the ICU common library.

    The following files must be in the path described by

    the environment variable "LD_LIBRARY_PATH":

    libicuuc.so.20, libicudt20b.so, libicui18n.so.20 [nlsui1.c 2982] pid

    Terminating.

    You may set the environment variable "NLSUI_7BIT_FALLBACK" to run the

    without the ICU libraries in an emergency mode. [nlsui1.c 2733]

    If that's the case, please proceed with the following steps:

    1. Execute the command 'which sapdbmrfc'

    2. Go to the path displayed by the command from nr.1

    3. rename the executable sapdbmrfc, for example to 'sapdbmrfc.orig'

    4. make a script named 'sapdbmrfc' and enter the following lines:

    NLSUI_7BIT_FALLBACK=YES

    export NLSUI_7BIT_FALLBACK

    sapdbmrfc.orig $*

    After having done this, please try to go back to transaction SM49 again and execute the 'dbmrfc' again. If the script works OK, you'll get a message similar to:

    Could not open the ICU common library.

    The following files must be in the path described by

    the environment variable "LD_LIBRARY_PATH":

    libicuuc.so.20, libicudt20b.so, libicui18n.so.20 [nlsui1.c 2982] pid

    = 19916

    Unicode ctype functions are replaced with wctype functions [nlsui1.c2758]

    Hope this helps.

    Kind regards,

    Roland Mallmann

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Roland

      I have to say this : You and your collegues that respond/help us here on this MaxDB forum are the best!!!!!! Many and many thanks to help me !!!!

      I did the following:

      1. Running on SM49, I got this message:

      exec(): 0509-036 Cannot load program dbmrfc because of the following errors:

      #0509-150 Dependent module libsapu16.so could not be loaded.#0509-022 Cannot load module libsapu16.so.#0509-026 System error: A file or directory in the path name does not exist.External program terminated with exit code 255

      2. I copied libsapu16.so from /sapdb/programs/bin to exe directory (/sapmnt/SID/exe).

      3. Running again on SM59 I got this message:

      Could not open the ICU common library [nlsui1.c 2576] pid = 6635608

      Please make sure that the file libicuuc.so.20 is in the path [nlsui1.c 2578] pid = 6635608

      described by the environment variable LIBPATH [nlsui1.c 2580] pid = 6635608

      Unicode ctype functions are replaced with wctype functions [nlsui1.c 2349] pid = 6635608

      4. So after this I call again DB50 and DB13 and everything works fine 😉

      Many thanks !!!!

      Kind Regards,

      Daniela Godoi