Chinaunix

标题: 串口登录aix问题.. [打印本页]

作者: naturalryan    时间: 2012-03-21 10:36
标题: 串口登录aix问题..
机器为P275,我用来学习用的,采用的是串口安装aix 6.1,安装完后到登陆界面时只显示Console login,无论输入什么总是进不去系统。
在网上查找资料,发现说要进入维护模式shell下,执行smitty tyy来更改此tty0,如下:
smitty tty设置tty0属性
Enable LOGIN                                        enable
STTY attributes for RUN time      加入clocal
STTY attributes for LOGIN         加入clocal
Apply change to DATABASE only     改为yes        ,

但是一更改这些属性就提示以下错误:



                                 COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Method error (/etc/methods/chgtty):
        0514-057 File has wrong status.

....如何解决?求救哇~~~~~~~
作者: emperor    时间: 2012-03-21 21:58
disable tty 先
#pdisable tty0
修改:
#smitty chgtty
激活:
#penable tty0

.........
作者: naturalryan    时间: 2012-03-22 16:48
# pdisable tty0
Cannot stat /dev/tty0.
No action taken.
也不能添加新的tty..一添加就报错
      COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Method error (/etc/methods/cfgtty):
        0514-040 Error initializing a device into the kernel.
作者: emperor    时间: 2012-03-22 18:39
贴下面的输出:
lsdev -Cc tty -H
lsattr -El tty<x>

。。。。。。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2