aix5.3中的sar命令不可用,提示:sar: The file access permissions do not allow the specified action. 我们使用truss sar 1 1进行跟踪。发现access("/usr/lib/sa/sadc", 01) Err#13 EACCES,查看权限为 % ls -al /usr/lib/sa/sadc -r-sr-x--- 1 root adm 16170 Apr 27 2006 /usr/lib/sa/sadc 则要使用其他用户能访问sar则应满足1,adm组用户;2,给sadc加上其他用户r权限。两者必选一,为安...
by liaosnet - AIX文档中心 - 2008-07-25 10:56:35 阅读(2257) 回复(0)
错误信息是:
# sar
sar: 0551-201 Cannot open /var/adm/sa/sa06.
sar: 0551-213 Try running /usr/lib/sa/sa1
如题。不把普通用户加入到adm组不行吗? [code] $ sar 5 5 sar: The file access permissions do not allow the specified action. $ ls -l `which sar` -r-xr-xr-x 1 bin bin 32916 Jun 15 2002 /usr/sbin/sar [/code][/code]
报错内容如下:请高手帮忙看看。谢谢! #sar 1 5 sadc: 0551-109 Warning: The kernel data structures are not consistent. sadc: 0551-109 Warning: The kernel data structures are not consistent. aix TJNHZFB 3 4 0001864A4C00 03/19/04 13:14:41 %usr %sys %wio %idle sar: 0551-211 Specify a positive integer for the time change. sar: 0551-211 Specify a positive integer for the time change. sar: ...
做了不下10几台机器的普通用户sar,同样操作,居然有3台不行。三台里面2台5.3-05,1台5.2-07。 p570lp1:/> chmod o+x /usr/lib/sa/sadc p570lp1:/> ls -l /usr/lib/nls/msg/en_US/libc.cat /usr/lib/sa/sadc -rw-r--r-- 1 bin bin 20920 Sep 16 2002 /usr/lib/nls/msg/en_USt -rwxrwxrwx 1 root adm 14804 Mar 15 2006 /usr/lib/sa/sadc p570lp1:/> su - mon $ sar 1 1 sadc: : The file acce...
先前在690 670机器上一直用着,用rsh用sar命令,NO问题的。 把一般用户加到adm组里去,然后把sadc权限搞成555,就好了。 现在来了台590机器。做这个操作有什么不同吗?怎么还是报错。 $ sar 1 1 sadc: : The file access permissions do not allow the specified action. sar: Error 0 权限: $ ls -l total 48 -r-xr-xr-x 1 bin adm 1029 Sep 16 2002 sa1 -r-xr-xr-x 1 bin adm 1084 Sep ...
普通用户执行sar 的时候出现 sar: The file access permissions do not allow the specified action. 或者Permission Denied 用root执行没有问题
各位大哥 我装的SCO UNIX无法运行sar命令 # sar -u sar: Can't open /usr/adm/sa/sa12 请问是什么问题:em10: [ 本帖最后由 talentdevil 于 2005-12-12 11:15 编辑 ]