nkj827
作者nkj827·2020-04-25 11:10
项目经理·长春长信华天

AIX常用命令与操作技巧二

字数 1404阅读 1436评论 0赞 17

AIX中CDE不能启动解决方法- -

执行 /usr/dt/bin/dtconfig -kill

执行ps-ef|grep dt查看是否有dtlogin进程,如果有,用kill -9 PID

杀死该进程

执行 /etc/rc.dt 命令启动CDE桌面,到login提示符。

执行 startsrc -s clcomdES

AIX中如何解决不能释放光驱的光驱

在AIX上由于异常终止或者其他原因会经常遇到不能umount光驱的问题:

fuser -kxuc /dev/cd

或#fuser /dev/cd# 列出当前访问此设备的进程,然后使用kill -9 pid终

止所有进程。

5.1升级补丁的时候出现系统Dump,继而无法继续安装,连installp都不行

出现提示: installp: An error occurred during bosboot

verification processing.

bosboot -ad hdisk0 也出现提示: 0301-153 bosboot: /unix not

found.

处理:

ls -li /unix

166 lrwxrwxrwx 1 root system 21 May 15 16:05

/unix ->/usr/lib/boot/unix_up

ls -li /usr/lib/boot/unix_up

2097 -r-xr-xr-x 1 root system 0 Aug 08 2003

/usr/lib/boot/unix_up

发现/unix联接的/usr/lib/boot/unix_up已是0字节.

然后从其他机器上拷贝这个文件覆盖后问题解决。

last命令显示已经登出的用户的问题

环境 AIX 5200-04

问题 在使用telnet登录的用户登出后,last,who等命令仍然会显示该用

户在连接中:

last

root pts/5 node1 Oct 26 09:19 still logged in.

root pts/3 node2 Oct 26 08:54 still logged in.

root pts/2 node3 Oct 26 08:52 still logged in.

root pts/1 node4 Oct 26 08:37 still logged in.

who

root pts/1 Oct 26 08:37 (node4)

root pts/2 Oct 26 08:52 (node3)

root pts/3 Oct 26 08:54 (node2)

root pts/5 Oct 26 09:19 (node1)

解答 出现这种问题的原因是telnetd没有能够正确地更新/etc/utmp文件。

要解决这个问题,请从网站

http://techsupport.services.ibm.com

下载补丁IY62193并安装。

1、文件拷贝

cp SourceFile TargetFile

cp SourceFile TargetDirectory

2、文件链接

ln SourceFile TargetFile

3、文件移动/换名

mv SourceFile TargetFile or TargetDirectory

4、显示文件内容

more

pg

cat

head

tail

5删除文件

rm xxx 删除XXX文件

rm -rf XXX 删除XXX文件夹包括里面的文件

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

17

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广