DBI1131E The user ID ERROR: is invalid.

Today fixpack do the upgrade on the production machine.

A beginning that should have little problem, of course, also the backup has been done, not wanted back ./installFixPack command is issued, the long wait for execution to step 50, the card for a long time (this is my DB2 V11.1),

then the window out. . . . quit.

Helpless to re-enter, just think of ./installFixPack did not executed, it is executed once again, but this error came!


root: / db2data / Universal # ./installFixPack -b /opt/ibm/db2/V11.1
DBI1131E the User ID at The ERROR: IS invalid.

Explanation:

An attempt to Access at The GIVEN One of the User ID failed The following at The.
Situations has occurred :

. * This the User ID does not exist ON at The System

* at The Home Directory of the this the User does not exist or IS not the SET up
   Properly.

* One of at The the User the Attributes needed by at The Database Manager IS unset.

* at The UID of the this the User IS 0

the User the Response:

Make Sure A Valid User ID with Valid Home Directory, the shell, Primary
Group and Secondary Group has been Used the Create A new new User IF Necessary..


   Related Information:
   Creating Group and User IDs for A the DB2 Database Installation (the Linux
   and the UNIX)
   the DB2 Users and Groups (Linux and UNIX)
    
    
at The the User ID ERROR: What the hell iS invalid.! What this really means. . .

Then various checks, almost intend to re-install and then uninstall DB2, anyway backup, Men are not afraid!

Suddenly in the inspection process, lost db2ilist, a bunch of garbage came out


db2inst1 @ myserver: ~> the db2ilist
ERROR: at The Embedded Runtime path in /opt/ibm/db2/V11.1/bin/db2 IS in here Incorrect:
        /DoNotCreateThisPath_marker1_for_chglibpath:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/INST/lib:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/INST/lib/gskit:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/engn/lib:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/common/lib/Linux_AMD64:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/das/lib/Linux_AMD64:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/engn/lib/bldsupp:/view/db2_v111m4if1_linuxamd64_special_38505_special_38747/vbs/system/fm/lib/Linux_AMD64:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/fillspacexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/marker2_for_chglibpath:/opt/ibm/db2/V11.1/lib64:/opt/ibm/db2/V11.1/lib64/gskit

ACTION: Please run /opt/ibm/db2/V11.1/install/db2chgpath and rerun the previous command.
        Contact IBM Support if the problem persists.


Members please note this sentence, I started to open a bunch of things dizzy, almost missed, cause I try to do db2idrop is being given back to look carefully only to find there are so many words! Draw focus.

然后就照着执行了!

root:/opt/ibm/db2/V11.1/instance # /opt/ibm/db2/V11.1/install/db2chgpath
The output will be saved in /db2data/tmp/db2chgpath.log.18982
Starting the update of runtime path ...
Sat Oct 26 23:00:52 AEDT 2019

Changing the embedded runtime path for DB2 deliverables installed
under /opt/ibm/db2/V11.1 from /opt/ibm/db2/V11.1/ to /opt/ibm/db2/V11.1/
---> Please wait


This step waited for about 20 minutes. . . .


  Output was saved in the log file /db2data/tmp/db2chgpath.log.18982
Sat Oct 26 23:10:23 AEDT 2019
Program db2chgpath completed successfully.


What looks like a success?


Looking back into the instance, execute db2ilist, hey! This time it was gone for a mess of things.


root:/opt/ibm/db2/V11.1/instance #   su - db2inst1
db2inst1@myserver:~> db2ilist
db2inst1
db2inst1@myserver:~> logout


Then we perform another installation. In view of the front half of the installation, where the need to add -f level force that covers mounted on the same version.

(Here is a place to note, if you do not have a path of export tmp, you may not have the current tmp directory permissions, it is recommended to create a tmp advance, and export to specified temporary directory)

myserver:/opt/ibm/db2/V11.1/instance # cd /db2data/universal/

myserver:/db2data/universal # export DB2TMPDIR=/db2data/tmp
myserver:/db2data/universal # ./installFixPack -f level -b /opt/ibm/db2/V11.1
Do you want to choose a different installation directory for the fix pack? [yes/no]

------------------------------------------------------------------------------------
no

DBI1017I  installFixPack is updating the database products installed in
      location /opt/ibm/db2/V11.1.


DB2 installation is being initialized.


Then then then you will succeed! ! !

Guess you like

Origin blog.51cto.com/5063935/2445738