权限问题"/>
ubuntu系统下安装db2v9.7时db2inst1无权限问题
场景概述:
1、操作系统版本ubuntu14.0 (64bit) 桌面版
2、使用ubuntu(非root用户),图形化安装db2v9.7,安装过程中无异常,正常安装成功
问题:
安装完成后,进入db2inst1用户中,个别命令 提示:
SQL1092N does not have the authority to perform
问题排查关键点:
1、确认db2inst1用户的创建是否完整;
2、确认db2的执行文件是否有住够的权限和归属问题;
解决步骤:
1、添加db2inst1到group中
[root@xx ]# groupadd db2inst1
2、更改db2inst1的默认组为自身
[root@xx ]# vim /etc/passwd
****************************************
db2inst1:x:1002:1007::/home/db2inst1:/bin/bash
****************************************
3、更改 用户主目录中的db2命令文件的归属为db2inst1:db2inst1
[root@xx ]# chown -R db2inst1:db2inst1 /home/db2inst1/sqllib
===========================================================
IIIIIIIIIIIIIIIIIIIIIIIIII PS:::::::既然总是遇到奇葩问题,那就都记下来!IIIIIIIIIIIIIIIIIIII
===========================================================
更多推荐
ubuntu系统下安装db2v9.7时db2inst1无权限问题
发布评论