ubuntu系统下安装db2v9.7时db2inst1无权限问题

编程入门 行业动态 更新时间:2024-10-12 01:26:10

ubuntu系统下安装db2v9.7时db2inst1无<a href=https://www.elefans.com/category/jswz/34/1771295.html style=权限问题"/>

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无权限问题

本文发布于:2024-02-12 05:56:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1686467.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:权限   系统   ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!