免费注册 查看新帖 |

Chinaunix

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

求助:unable to open /dev/tty when run cmd : format [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-19 11:30 |只看该作者 |倒序浏览
format\r\n\r\nSearching for disk ...done\r\navailable disk selections:\r\nunable to open /dev/tty\r\n\r\n\r\n怎么回事?

论坛徽章:
0
2 [报告]
发表于 2007-10-16 11:26 |只看该作者
各位 我今天也遇到这个提示  请高手指教啊   谢谢

论坛徽章:
0
3 [报告]
发表于 2007-10-16 11:29 |只看该作者
哪为 指教以下 小弟谢谢了

论坛徽章:
0
4 [报告]
发表于 2007-10-16 11:42 |只看该作者
提示 :unable to qualify my own domain name  (hb-u10)--using short name  \r\n\r\n注意:hb-u10 为机器名字

论坛徽章:
0
5 [报告]
发表于 2007-10-16 12:30 |只看该作者
串口登上去的?使用别的命令有问题吗?

论坛徽章:
0
6 [报告]
发表于 2007-10-16 13:10 |只看该作者
对 通过串口 用笔记本的 超级终端 进行控制的

论坛徽章:
0
7 [报告]
发表于 2007-10-17 09:32 |只看该作者
提示/dev/tty,关键问题不是终端,还是你的盘没识别好。\r\ndevfsadm -C运行后还那样提示吗?

论坛徽章:
0
8 [报告]
发表于 2011-09-22 09:30 |只看该作者
Format Utility: Unable to open /dev/tty in maintenance mode [ID 1010419.1]\r\n          修改时间 29-APR-2011     类型 PROBLEM     移植的 ID 214316     状态 PUBLISHED          \r\n\r\nApplies to:\r\nSolaris SPARC Operating System - Version: 8.0 and later   [Release: 8.0 and later ]\r\nAll Platforms\r\nSymptoms\r\nDuring boot, if the system is dropped into \"system maintenance mode\", /dev/tty is unavailable. This results in administrative commands failing, for example, the format utility and some of the packaging commands.\r\n\r\nThis can happen when the system can\'t come up for some reason, and the controlling terminal is not available. A sample of a format run when fsck of a filesystem mounted at boot fails:\r\n\r\n# format Searching for disks...done\r\n\r\nAVAILABLE DISK SELECTIONS: Unable to open /dev/tty.\r\n\r\nA sample of pkgrm output:\r\n\r\n# pkginfo SUNWmdr \r\n\r\nsystem     SUNWmdr     Solstice DiskSuite[TM] Drivers\r\n\r\n# pkgrm SUNWmdr\r\n\r\nThe following package is currently installed: SUNWmdr \r\n\r\nSolstice DiskSuite Drivers                        \r\n\r\n(sparc) 4.0,REV=1.0,PATCH=1\r\n\r\nDo you want to remove this package  y\r\n\r\npkgrm: ERROR: freopen(/dev/tty, \"a\", stdout) failed, errno=6 pkgrm: ERROR: class action script did not complete successfully\r\n\r\nRemoval of < SUNWmdr > failed.\r\nCause\r\nNeed to modify /dev/tty\r\nSolution\r\nThis is not a true resolution but a workaround. But it will allow using format and other commands needing /dev/tty while in the maintenance mode (and without rebooting).\r\n\r\nWARNING:\r\n\r\nPlease make sure to follow this procedure exactly as written.  It modifies the /dev/tty which if not restored to its default configuration will cause problems when the OS is in multiuser mode.\r\n\r\nExecute:\r\n\r\n# cd /\r\n\r\n# mv /dev/tty /dev/tty.orig\r\n\r\n# ln -s ../devices/pseudo/cn@0:console /dev/tty\r\n\r\nAt this point, use format, pkgrm or other commend which needs /dev/tty.\r\n\r\nWhen finished, execute:\r\n\r\n# rm /dev/tty\r\n\r\n# mv /dev/tty.orig /dev/tty\r\n\r\nIf the above procedure doesn\'t work, the next step is to execute:\r\n\r\n# reboot -- -s\r\n\r\nor\r\n\r\nok> boot -s\r\n\r\nand let OS come up in single user mode.\r\n\r\n\r\nProduct\r\nSolaris 2.6 Operating System\r\nSolaris 7 Operating System\r\nSolaris 8 Operating System\r\nSolaris 9 Operating System\r\n\r\n\r\n\r\n\r\n显示相关信息 相关的\r\n产品\r\n\r\n    Sun Microsystems > Operating Systems > Solaris Operating System > Solaris SPARC Operating System\r\n\r\n关键字\r\nFORMATTING; SERVER CONSOLE

论坛徽章:
0
9 [报告]
发表于 2011-09-24 14:08 |只看该作者
硬盘有毛病,倒是扫盘太慢,等。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP