Skip to main content

IO16913: [MDVREGR IO15530] "sh" error running dbback or dbrestore


 

APAR status

  • Closed as program error.

Error description

  • The following error was observed running dbback or dbrestore on
    Linux. A similar error may occur on any non-windows platform
    running TDS versions 6.2.0.22 - 6.2.0.25.
    
      # ./idsdbback -I idsinst1 -k /tvo/backup
      GLPWRP123I The program '/opt/ibm/ldap/V6.2/sbin/32/dbback'
        is used with the following arguments '-I idsinst1 -k
        /tvo/backup'.
      sh: -c: line 0: unexpected EOF while looking for matching `''
      sh: -c: line 1: syntax error: unexpected end of file
      You have chosen to perform the following actions:
      ...
    
    A trace of the error shows in part:
    
      <timestamp> isProcessStarted: will run command='ps -p 9380|
        grep ' dbback'.
      sh: -c: line 0: unexpected EOF while looking for matching `''
      sh: -c: line 1: syntax error: unexpected end of file
      <timestamp> Error - isProcessStarted: stat(/tmp/ids_tmp_17127
        -1208105280_check_dbback_9380,0xbfe6a0b0) - errno=2
    

Local fix

  • The only effect the error has on the operation of dbback or
    dbrestore is that it will fail to detect if another instance of
    dbback is already running. Unless you're in an environment where
    multiple administrators are all trying to back up or restore the
    same TDS instance at the same time, this can safely be ignored.
    

Problem summary

  • APAR IO15530 in TDS 6.2.0.22 modified the command used to check
    if a process is running. The changes exposed an unrelated defect
    in a string library. The defect effects the formatting of
    strings to a maximum length when the string is less than that
    maximum. An audit of the code confirmed that (a) this is the
    only place this defect is exposed, and (b) "dbback" is the only
    process name < 8 characters which is checked in this way.
    
    The defect in the string library has been fixed.
    

Problem conclusion

  • This problem was introduced by APAR IO15530 which is contained
    in the following maintenance packages:
    | MDVREGR 6.2.0.25-ISS-ITDS-IF0025 |
    | MDVREGR 6.2.0.24-ISS-ITDS-FP0024 |
    | MDVREGR 6.2.0.24-ISS-ITDS-IF0024 |
    | MDVREGR 6.2.0.23-ISS-ITDS-IF0023 |
    | MDVREGR 6.2.0.22-ISS-ITDS-IF0022 |
    The fix for this APAR will be contained in the following
    maintenance packages:
    | interim fix | 6.2.0.26-ISS-ITDS-IF0026 |
    

Temporary fix

Comments

APAR Information

  • APAR number

    IO16913

  • Reported component name

    IBM TIV DIR SER

  • Reported component ID

    5724J3960

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-09-28

  • Last modified date

    2013-02-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IO17240 IO17241 IO17362

Fix information

  • Fixed component name

    IBM TIV DIR SER

  • Fixed component ID

    5724J3960

Applicable component levels

  • R620 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Directory Server

General


Software version:
620


Reference #:
IO16913


Modified date:
2013-02-07

Translate my page

Content navigation