免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6382 | 回复: 6
打印 上一主题 下一主题

[新手入门] unable to open temp file [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-18 03:41 |只看该作者 |倒序浏览
各位老师:
    今天操作小型机发现一个问题,比较麻烦。我执行smitty命令,无论是smitty date,还是smitty hacmp都报同样的错误,unable to open temp file,停在这个界面上,就无法操作了。但是我发现ls,date,这些都可以。
    请老师帮忙解惑,谢谢

论坛徽章:
0
2 [报告]
发表于 2005-12-18 09:34 |只看该作者
用df命令看看/tmp文件系统是否已经满了。

论坛徽章:
0
3 [报告]
发表于 2005-12-18 10:26 |只看该作者
老师,我看了,没有满啊

论坛徽章:
0
4 [报告]
发表于 2005-12-19 00:17 |只看该作者
是不是用root用户提交的smitty?
把DF的所有内容列出来看看?

论坛徽章:
0
5 [报告]
发表于 2005-12-19 09:33 |只看该作者
root@hosts10000(/home/abc)$ls -al /tmp:

drwxrwxrwt  14 bin      bin        61952 Dec 19 12:35 .

root@hosts10000(/home/abc)$ df -k /tmp
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd3           983040    653044   34%     1097     1% /tmp


the result from the root
# smitty date
Change / Show Day and Time
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                        [Entry Fields]
  YEAR (00-99)                                       [05]                      #
  MONTH (01-12)                                      [12]                      #
  DAY (1-31)                                         [19]                      #
  HOUR (00-23)                                       [12]                      #
  MINUTES (00-59)                                    [39]                      #
  SECONDS (00-59)                                    [45]                      #

the result from common user:
$smitty date
INFORMATION MESSAGE                            │
  │                                                                          │
  │ Press Enter or Cancel to return to the                                   │
  │ application.                                                             │
  │                                                                          │
  │   1800-093 Could not open SMIT log file:                                 │
  │   "./smit.log".                                                          │
  │   This session will not be logged. If logging is                         │
  │   required, check path and permissions or use local                      │
  │   problem reporting procedures.

[ 本帖最后由 树袋熊 于 2005-12-19 09:37 编辑 ]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2005-12-19 09:44 |只看该作者
$smitty date

这也不是root用户呀

论坛徽章:
0
7 [报告]
发表于 2005-12-19 19:50 |只看该作者
If you have the permission to write current directory
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP