免费注册 查看新帖 |

Chinaunix

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

Cannot create /var/adm/utmpx [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-22 16:42 |只看该作者 |倒序浏览
Rebooting with command: boot                                          
Boot device: disk:a  File and args:
SunOS Release 5.8 Version Generic_117350-11 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
/sbin/rcS: syntax error at line 804: `)' unexpected

INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:"  "

INIT: failed write of utmpx entry:"  "

INIT: SINGLE USER MODE

Type control-d to proceed with normal startup,
(or give root password for system maintenance):

到单用户下touch utmpx
cat /dev/null > /var/adm/utmpx重启还是不行

论坛徽章:
0
2 [报告]
发表于 2006-02-22 17:36 |只看该作者
#touch /var/adm/utmpx
#cd /usr/dt/bin
#./dtconfig -reset
#./dtlogin start

要是还不行,就fsck所有分区

如果这样还不行,就光盘恢复

论坛徽章:
0
3 [报告]
发表于 2006-02-22 18:06 |只看该作者
fsck了N次都没效果
回2楼:
# ./dtlogin start
ld.so.1: ./dtlogin: fatal: libDtSvc.so.1: open failed: No such file or directory
Killed
# ./dtconfig -reset
./dtconfig[579]: reset:  not found
done
dtlogin config resources reloaded.

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2006-02-22 18:27 |只看该作者
晚上加我的MSN吧,我帮你看看!

论坛徽章:
0
5 [报告]
发表于 2006-02-22 18:48 |只看该作者
/var没有装载

论坛徽章:
0
6 [报告]
发表于 2006-02-22 18:55 |只看该作者
谢谢大仙
我只分了/ /swap /export/home 三个区,/var是/下的.

论坛徽章:
0
7 [报告]
发表于 2006-02-22 23:07 |只看该作者
用cdrom -s引导进入单用户以后,看看你的这个文件的情况。

论坛徽章:
0
8 [报告]
发表于 2006-02-22 23:48 |只看该作者
由于做过touch utmpx,现在的utmpx是空的.
还有奇怪的事就是:
/sbin/rcS: syntax error at line 804: `)' unexpected
系统的没804行,光盘上有rcS,但804行是#######
以下是我前天的messages:
Feb 20 13:48:36 u10 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.8 Version
Generic_117350-11 64-bit
Feb 20 13:48:36 u10 genunix: [ID 913632 kern.notice] Copyright 1983-2003 Sun Mic
rosystems, Inc.  All rights reserved.
Feb 20 13:48:36 u10 genunix: [ID 678236 kern.info] Ethernet address = 8:0:20:f5:
88:5d
Feb 20 13:48:36 u10 unix: [ID 389951 kern.info] mem = 393216K (0x18000000)
Feb 20 13:48:36 u10 unix: [ID 930857 kern.info] avail mem = 380297216
Feb 20 13:48:36 u10 rootnex: [ID 466748 kern.info] root nexus = Sun Ultra 5/10 U
PA/PCI (UltraSPARC-IIi 440MHz)
Feb 20 13:48:36 u10 rootnex: [ID 349649 kern.info] pcipsy0 at root: UPA 0x1f 0x0
Feb 20 13:48:36 u10 genunix: [ID 936769 kern.info] pcipsy0 is /pci@1f,0
Feb 20 13:48:36 u10 pcipsy: [ID 370704 kern.info] PCI-device: pci@1,1, simba0
Feb 20 13:48:36 u10 genunix: [ID 936769 kern.info] simba0 is /pci@1f,0/pci@1,1
Feb 20 13:48:36 u10 pcipsy: [ID 370704 kern.info] PCI-device: pci@1, simba1
Feb 20 13:48:36 u10 genunix: [ID 936769 kern.info] simba1 is /pci@1f,0/pci@1
Feb 20 13:48:52 u10 simba: [ID 370704 kern.info] PCI-device: ide@3, uata0
Feb 20 13:48:52 u10 genunix: [ID 936769 kern.info] uata0 is /pci@1f,0/pci@1,1/id
e@3
Feb 20 13:48:52 u10 uata: [ID 114370 kern.info] dad0 at pci1095,6460
Feb 20 13:48:52 u10 uata: [ID 347839 kern.info]  target 0 lun 0
Feb 20 13:48:52 u10 genunix: [ID 936769 kern.info] dad0 is /pci@1f,0/pci@1,1/ide
@3/dad@0,0
Feb 20 13:48:53 u10 dada: [ID 365881 kern.info]         <Maxtor 2B020H1         
   cyl 39558 alt 2 hd 16 sec 63>
Feb 20 13:48:53 u10 swapgeneric: [ID 308332 kern.info] root on /pci@1f,0/pci@1,1
/ide@3/disk@0,0:a fstype ufs
Feb 20 13:48:53 u10 simba: [ID 370704 kern.info] PCI-device: ebus@1, ebus0
Feb 20 13:48:53 u10 ebus: [ID 521012 kern.info] power0 at ebus0: offset 14,72400
0
Feb 20 13:48:53 u10 genunix: [ID 936769 kern.info] power0 is /pci@1f,0/pci@1,1/e
bus@1/power@14,724000
Feb 20 13:48:54 u10 ebus: [ID 521012 kern.info] su0 at ebus0: offset 14,3083f8
Feb 20 13:48:54 u10 genunix: [ID 936769 kern.info] su0 is /pci@1f,0/pci@1,1/ebus
@1/su@14,3083f8
Feb 20 13:48:54 u10 ebus: [ID 521012 kern.info] su1 at ebus0: offset 14,3062f8
Feb 20 13:48:54 u10 genunix: [ID 936769 kern.info] su1 is /pci@1f,0/pci@1,1/ebus
@1/su@14,3062f8
Feb 20 13:48:54 u10 ebus: [ID 521012 kern.info] se0 at ebus0: offset 14,400000
Feb 20 13:48:54 u10 genunix: [ID 936769 kern.info] se0 is /pci@1f,0/pci@1,1/ebus
@1/se@14,400000
Feb 20 13:48:54 u10 unix: [ID 270833 kern.info] cpu0: UltraSPARC-IIi (portid 0 i
mpl 0x12 ver 0x91 clock 440 MHz)
Feb 20 13:48:56 u10 hme: [ID 517527 kern.info] SUNW,hme0 : PCI IO 2.0 (Rev Id =
c1) Found
Feb 20 13:48:56 u10 simba: [ID 370704 kern.info] PCI-device: network@1,1, hme0
Feb 20 13:48:56 u10 genunix: [ID 936769 kern.info] hme0 is /pci@1f,0/pci@1,1/net
work@1,1
Feb 20 13:48:58 u10 genunix: [ID 454863 kern.info] dump on /dev/dsk/c0t0d0s1 siz
e 2000 MB
Feb 20 13:49:00 u10 hme: [ID 517527 kern.info] SUNW,hme0 : Internal Transceiver
Selected.
Feb 20 13:49:00 u10 hme: [ID 517527 kern.info] SUNW,hme0 :   100 Mbps Full-Duple
x Link Up
Feb 20 13:49:10 u10 pseudo: [ID 129642 kern.info] pseudo-device: tod0
Feb 20 13:49:10 u10 genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
Feb 20 13:49:10 u10 pseudo: [ID 129642 kern.info] pseudo-device: pm0
Feb 20 13:49:10 u10 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Feb 20 13:49:11 u10 sendmail[199]: [ID 702911 mail.crit] My unqualified host nam
e (u10) unknown; sleeping for retry
Feb 20 13:49:13 u10 pseudo: [ID 129642 kern.info] pseudo-device: vol0
Feb 20 13:49:13 u10 genunix: [ID 936769 kern.info] vol0 is /pseudo/vol@0
Feb 20 13:49:16 u10 scsi: [ID 193665 kern.info] sd0 at uata0: target 2 lun 0
Feb 20 13:49:16 u10 genunix: [ID 936769 kern.info] sd0 is /pci@1f,0/pci@1,1/ide@
3/sd@2,0
Feb 20 13:50:01 u10 pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Feb 20 13:50:01 u10 genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
Feb 20 13:50:11 u10 sendmail[199]: [ID 702911 mail.alert] unable to qualify my o
wn domain name (u10) -- using short name
Feb 20 19:06:20 u10 pseudo: [ID 129642 kern.info] pseudo-device: tod0
Feb 20 19:06:20 u10 genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
Feb 20 19:06:20 u10 pseudo: [ID 129642 kern.info] pseudo-device: pm0
Feb 20 19:06:20 u10 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Feb 20 19:06:20 u10 syslogd: going down on signal 15

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-02-27 06:20:00
9 [报告]
发表于 2006-02-23 10:14 |只看该作者
关注。。

论坛徽章:
0
10 [报告]
发表于 2006-02-23 11:02 |只看该作者
恶化了。。。现在连单用户都进不到:
Rebooting with command: boot                                          
Boot device: disk:a  File and args:
SunOS Release 5.8 Version Generic_117350-11 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
-
INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:"  "

INIT: failed write of utmpx entry:"  "

INIT: SINGLE USER MODE

ENTER RUN LEVEL (0-6, s or S) [3]:

INIT: Cannot create /var/adm/utmpx

INIT: SINGLE USER MODE

ENTER RUN LEVEL (0-6, s or S) [3]:4

INIT: Cannot create /var/adm/utmpx

INIT: SINGLE USER MODE

ENTER RUN LEVEL (0-6, s or S) [3]:ENTER RUN LEVEL (0-6, s or S) [3]:

INIT: Cannot create /var/adm/utmpx

INIT: SINGLE USER MODE

ENTER RUN LEVEL (0-6, s or S) [3]:S

INIT: SINGLE USER MODE
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP