db2 db2start报SQL1092N "DB2INST1" does not have the authority to perform the requested command or operation.

一、root用户下执行:
       find / -name db2iupdt 2>/dev/null

       找到文件db2iupdt所在目录,cd到这个目录下运行./db2iupdt db2inst1

   db2inst1用户下:

   groups db2inst1      (此命令查看用户db2inst1所在用户组)

   db2 update dbm cfg using SYSADM_GROUP db2grp         ( 我的db2inst1用户在用户组db2grp,所以设置为db2grp )

二、db2start报SQL1220N  The database manager shared memory set cannot be allocated.

       root用户下执行sysctl -w kernel.shmmax=2125119488           (增大kernel.shmmax的值)

posted on 2019-04-15 11:33  everythingIsImp  阅读(1834)  评论(0编辑  收藏  举报

导航