免费注册 查看新帖 |

Chinaunix

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

rp2405的重启出差 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-30 14:21 |只看该作者 |倒序浏览
机器掉电,恢复供电以后重启出错,一大堆错误提示 /rc/rc3.d/***** \'(\' 之类的错误,前面板Attn黄灯闪烁,ctrl+b提示用户名,密码

麻烦问下这个东东咋解决啊?

[ 本帖最后由 yuio654 于 2009-11-30 14:58 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-11-30 15:18 |只看该作者
启动过程中crtl+c可以进入系统,这时候网络这类的服务都没有启动,甚至ip都是空的,

/sbin/init.d/net start启动报同样的错误 syntax error at line *** : \'(\'is not expected


通过ifconfig 和route可以填上ip

看这样子有点类似先启动服务,后挂载的文件系统。但是没有动过啊。郁闷

论坛徽章:
0
3 [报告]
发表于 2009-11-30 16:14 |只看该作者

回复 #6 yuio654 的帖子

应急计划做的不好啊。

论坛徽章:
0
4 [报告]
发表于 2009-11-30 16:15 |只看该作者
/etc/rc.log

Configure system crash dumps
Output from \"/sbin/rc1.d/S080crashconf start\":
----------------------------
EXIT CODE: 0

Removing old vxvm files
Output from \"/sbin/rc1.d/S090sw_clean_vxvm start\":
----------------------------

VxVM VxVM device node check
Output from \"/sbin/rc1.d/S091vxvm-nodes-check start\":
----------------------------
/sbin/rc1.d/S091vxvm-nodes-check[4]: /usr/sbin/lsdev: not found


VxVM VxVM general startup
Output from \"/sbin/rc1.d/S092vxvm-startup start\":
----------------------------


Output from \"/sbin/rc1.d/S093vxvm-reconfig start\":
----------------------------
/sbin/rc1.d/S093vxvm-reconfig[45]: /etc/vx/lib/vxcommon: not found
\"/sbin/rc1.d/S093vxvm-reconfig start\" FAILED

Mount file systems
Output from \"/sbin/rc1.d/S100localmount start\":

论坛徽章:
0
5 [报告]
发表于 2009-11-30 16:53 |只看该作者

!

机器上边有重要数据?

如果没有重要数据,就无所谓嘛,大不了XX一下!呵呵

论坛徽章:
0
6 [报告]
发表于 2009-11-30 17:11 |只看该作者

!

修吧,修不好就找我,我们可以帮你修复,呵呵!

论坛徽章:
0
7 [报告]
发表于 2009-11-30 18:10 |只看该作者


  1. Cleaning /etc/ptmp...
  2. (c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
  3. (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
  4. (c)Copyright 1980, 1984, 1986 Novell, Inc.
  5. (c)Copyright 1986-1992 Sun Microsystems, Inc.
  6. (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
  7. (c)Copyright 1989-1993  The Open Software Foundation, Inc.
  8. (c)Copyright 1986 Digital Equipment Corp.
  9. (c)Copyright 1990 Motorola, Inc.
  10. (c)Copyright 1990, 1991, 1992 Cornell University
  11. (c)Copyright 1989-1991 The University of Maryland
  12. (c)Copyright 1988 Carnegie Mellon University
  13. (c)Copyright 1991-2000 Mentat Inc.
  14. (c)Copyright 1996 Morning Star Technologies, Inc.
  15. (c)Copyright 1996 Progressive Systems, Inc.
  16. (c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


  17.                            RESTRICTED RIGHTS LEGEND
  18. Use, duplication, or disclosure by the U.S. Government is subject to
  19. restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
  20. Technical Data and Computer Software clause in DFARS 252.227-7013.

  21.                            Hewlett-Packard Company
  22.                            3000 Hanover Street
  23.                            Palo Alto, CA 94304 U.S.A.

  24. Rights for non-DOD U.S. Government Departments and Agencies are as set
  25. forth in FAR 52.227-19(c)(1,2).
  26. /sbin/rc[67]: syntax error at line 2 : `(\' unexpected
  27. /sbin/rc1.d/S080crashconf[18]: /usr/bin/echo:  not found
  28. /sbin/rc1.d/S080crashconf[19]: /usr/sbin/mount:  not found
  29. /sbin/rc1.d/S080crashconf[19]: /usr/bin/echo:  not found
  30. /sbin/rc1.d/S093vxvm-reconfig[47]: /etc/vx/lib/vxcommon:  not found
  31. /sbin/rc2.d/S590Rpcd[30]: syntax error at line 2 : `(\' unexpected
  32. /sbin/rc2.d/S600iforls[34]: syntax error at line 2 : `(\' unexpected
  33. /sbin/rc2.d/S605Dmisp[30]: syntax error at line 2 : `(\' unexpected
  34. /sbin/rc2.d/S620xfs[10]: env:  not found
  35. /sbin/rc2.d/S620xfs[10]: grep:  not found
  36. /sbin/rc2.d/S648eus[43]: syntax error at line 2 : `(\' unexpected
  37. /sbin/rc2.d/S700acct[39]: syntax error at line 2 : `(\' unexpected
  38. interpreter \"/bin/sh\" not found
  39. file link resolves to \"/usr/bin/sh\"
  40. /sbin/rc[14]: /sbin/rc2.d/S890ServCtlMgr:  not found
  41. interpreter \"/bin/sh\" not found
  42. file link resolves to \"/usr/bin/sh\"
  43. /sbin/rc[14]: /sbin/rc2.d/S996vradmind:  not found
  44. interpreter \"/bin/sh\" not found
  45. file link resolves to \"/usr/bin/sh\"
  46. /sbin/rc[14]: /sbin/rc2.d/S996vxrsyncd:  not found
  47. /sbin/rc3.d/S200tps.rc[15]: /usr/bin/hostname:  not found
  48. /sbin/rc3.d/S823hpws_apache[45]: syntax error at line 2 : `(\' unexpected
  49. /sbin/rc3.d/S823hpws_tomcat[46]: syntax error at line 2 : `(\' unexpected
  50. /sbin/rc3.d/S823hpws_webmin[45]: syntax error at line 2 : `(\' unexpected
  51. /sbin/rc3.d/S823hpws_xmltools[42]: syntax error at line 2 : `(\' unexpected
  52. interpreter \"/bin/sh\" not found
  53. file link resolves to \"/usr/bin/sh\"
  54. /sbin/rc[14]: /sbin/rc3.d/S960init.cssd:  not found

  55.      HP-UX Start-up in progress
  56.      __________________________

  57.      Configure system crash dumps ........................................ OK
  58.      Mount file systems .................................................. OK
  59.      VxVM device node check .............................................. OK
  60.      VxVM general startup ................................................ OK
  61.       .................................................................... OK
  62.      Mount file systems .................................................. OK
  63.      Update kernel and loadable modules .................................. N/A
  64.      Initialize loadable modules ......................................... N/A
  65.      Setting hostname .................................................... OK
  66.      Start Kernel Logging facility ....................................... N/A
  67.      Set privilege group ................................................. N/A
  68.      Display date ........................................................ N/A
  69.      Copy processor logs to /var/tombstones .............................. OK
  70.      Save system crash dump if needed .................................... N/A
  71.      Start evp ........................................................... OK
  72.      Enable auxiliary swap space ......................................... OK
  73.      Start syncer daemon ................................................. OK
  74.      Configure Loopback interfaces (lo0) ................................. OK
  75.      VxVM volume recovery start .......................................... OK
  76.      Configuring all unconfigured software filesets ...................... OK
  77.      Recover editor crash files .......................................... OK
  78.      Clean UUCP .......................................................... OK
  79.      List and/or clear temporary files ................................... OK
  80.      Clean up old log files .............................................. OK
  81.      Start system message logging daemon ................................. OK
  82.      Start pty allocator daemon .......................................... OK
  83.      Configuring OLA/R interface ......................................... N/A
  84.      Start network tracing and logging daemon ............................ OK
  85.      Configure HP igelan Gigabit Ethernet interfaces ..................... OK
  86.      Configure HP iether 100BT/Gigabit Ethernet interfaces ............... OK
  87.      Configure HP Gigabit Ethernet interfaces ............................ OK
  88.      Configure HP Ethernet interfaces .................................... OK
  89.      Configure HP HP-PB 100BT interfaces ................................. OK
  90.      Create PCI FDDI device files. ....................................... OK
  91.      Configure HP 100BASE-T interfaces ................................... OK
  92.      Configure VLAN interfaces ........................................... OK
  93.      Configure LAN interfaces ............................................ OK
  94.      Start name server daemon ............................................ OK
  95.      Starting Netscape Directory Server .................................. OK
  96.      Starting Netscape Administration Server ............................. OK
  97.      Start NFS core subsystem ............................................ OK
  98.      Start NIS+ server subsystem ......................................... OK
  99.      Start NIS+ client subsystem ......................................... OK
  100.      Start NIS server subsystem .......................................... OK
  101.      Start NIS client subsystem .......................................... OK
  102.      Start NFS client subsystem ..........................................




  103. GenericSysName [HP Release B.11.11] (see /etc/issue)
  104. Console Login:
  105. INIT: Command is respawning too rapidly.
  106. Will try again in 5 minutes.
  107. Check for possible errors.
  108. id:  h1 \"/sbin/init.d/init.cssd run >/dev/null 2>&1 </dev/null\"

  109. INIT: Command is respawning too rapidly.
  110. Will try again in 5 minutes.
  111. Check for possible errors.
  112. id:samd \"/usr/sam/lbin/samd  # system mgmt daemon\"


  113. GenericSysName [HP Release B.11.11] (see /etc/issue)
  114. Console Login: root
  115. Password:
  116. Please wait...checking for disk quotas
  117. (c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
  118. (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
  119. (c)Copyright 1980, 1984, 1986 Novell, Inc.
  120. (c)Copyright 1986-1992 Sun Microsystems, Inc.
  121. (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
  122. (c)Copyright 1989-1993  The Open Software Foundation, Inc.
  123. (c)Copyright 1986 Digital Equipment Corp.
  124. (c)Copyright 1990 Motorola, Inc.
  125. (c)Copyright 1990, 1991, 1992 Cornell University
  126. (c)Copyright 1989-1991 The University of Maryland
  127. (c)Copyright 1988 Carnegie Mellon University
  128. (c)Copyright 1991-2000 Mentat Inc.
  129. (c)Copyright 1996 Morning Star Technologies, Inc.
  130. (c)Copyright 1996 Progressive Systems, Inc.
  131. (c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


  132.                            RESTRICTED RIGHTS LEGEND
  133. Use, duplication, or disclosure by the U.S. Government is subject to
  134. restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
  135. Technical Data and Computer Software clause in DFARS 252.227-7013.

  136.                            Hewlett-Packard Company
  137.                            3000 Hanover Street
  138.                            Palo Alto, CA 94304 U.S.A.

  139. Rights for non-DOD U.S. Government Departments and Agencies are as set
  140. forth in FAR 52.227-19(c)(1,2).
  141. You have mail.
  142.                                                                         
  143. Value of TERM has been set to \"vt100\".
  144. WARNING:  YOU ARE SUPERUSER !!

  145. # bash
  146. bash-2.04# who -r
  147.    .       run-level 3  Nov 30 17:33    3    0    S
  148. bash-2.04# pwd
  149. /
  150. bash-2.04# ifconfig lan0
  151. ifconfig: no such interface
  152. bash-2.04# nets
  153. netscape  netstat   
  154. bash-2.04# netstat -rn
  155. Routing tables
  156. Destination           Gateway            Flags   Refs Interface  Pmtu
  157. 127.0.0.1             127.0.0.1          UH        0  lo0        4136
  158. 127.0.0.0             127.0.0.1          U         0  lo0           0
  159. bash-2.04# pwdd
  160. bash: pwdd: command not found
  161. bash-2.04# pwd
  162. /
  163. bash-2.04# cd /etc/
  164. bash-2.04# more rc.log
  165. Old /etc/rc.log moved to /etc/rc.log.old

  166. **************************************************
  167. HP-UX Start-up in progress
  168. Mon Nov 30 04:34:01 EST 2009
  169. **************************************************

  170. Configure system crash dumps
  171. Output from \"/sbin/rc1.d/S080crashconf start\":
  172. ----------------------------
  173. /sbin/rc1.d/S080crashconf[18]: /usr/bin/echo:  not found
  174. /sbin/rc1.d/S080crashconf[19]: /usr/sbin/mount:  not found
  175. /sbin/rc1.d/S080crashconf[19]: /usr/bin/echo:  not found
  176. EXIT CODE: 0

  177. Mount file systems
  178. Output from \"/sbin/rc1.d/S081localmount start\":
  179. ----------------------------
  180. checking quotas

  181. VxVM device node check
  182. Output from \"/sbin/rc1.d/S091vxvm-nodes-check start\":
  183. ----------------------------

  184. VxVM general startup
  185. Output from \"/sbin/rc1.d/S092vxvm-startup start\":
  186. ----------------------------


  187. Output from \"/sbin/rc1.d/S093vxvm-reconfig start\":
  188. ----------------------------

  189. Mount file systems
  190. Output from \"/sbin/rc1.d/S100localmount start\":
  191. ----------------------------
  192. checking quotas

  193. Update kernel and loadable modules
  194. Output from \"/sbin/rc1.d/S110kmbuild start\":
  195. ----------------------------
  196. \"/sbin/rc1.d/S110kmbuild start\" SKIPPED

  197. Initialize loadable modules
  198. Output from \"/sbin/rc1.d/S112kminit start\":
  199. ----------------------------
  200. /sbin/rc1.d/S112kminit[206]: Syntax error at line 2 : `(\' is not expected.
  201. \"/sbin/rc1.d/S112kminit start\" SKIPPED

  202. Setting hostname
  203. Output from \"/sbin/rc1.d/S320hostname start\":
  204. ----------------------------
  205. /sbin/rc1.d/S320hostname[36]: Syntax error at line 2 : `(\' is not expected.

  206. Start Kernel Logging facility
  207. Output from \"/sbin/rc1.d/S350kl start\":
  208. ----------------------------
  209. \"/sbin/rc1.d/S350kl start\" SKIPPED

  210. Set privilege group
  211. Output from \"/sbin/rc1.d/S400set_prvgrp start\":
  212. ----------------------------
  213. \"/sbin/rc1.d/S400set_prvgrp start\" SKIPPED

  214. Display date
  215. Output from \"/sbin/rc1.d/S420set_date start\":
  216. ----------------------------
  217. \"/sbin/rc1.d/S420set_date start\" SKIPPED

  218. Copy processor logs to /var/tombstones
  219. Output from \"/sbin/rc1.d/S430pdcinfo start\":
  220. ----------------------------


  221. Save system crash dump if needed
  222. Output from \"/sbin/rc1.d/S440savecrash start\":
  223. ----------------------------
  224. savecrash directory not set;  defaulting to: /var/adm/crash
  225. EXIT CODE: 2 -  savecrash found no core dump to save
  226. \"/sbin/rc1.d/S440savecrash start\" SKIPPED

  227. Start evp
  228. Output from \"/sbin/rc1.d/S450evp.init start\":
  229. ----------------------------

  230. Enable auxiliary swap space
  231. Output from \"/sbin/rc1.d/S500swap_start start\":
  232. ----------------------------
  233. Enabling device paging on /dev/vg00/lvol10.
  234. swap device(s) active

  235. Start syncer daemon
  236. Output from \"/sbin/rc1.d/S520syncer start\":
  237. ----------------------------
  238. syncer started

  239. Configure Loopback interfaces (lo0)
  240. Output from \"/sbin/rc2.d/S008net.init start\":
  241. ----------------------------

  242. VxVM volume recovery start
  243. Output from \"/sbin/rc2.d/S096vxvm-recover start\":
  244. ----------------------------

  245. Configuring all unconfigured software filesets
  246. Output from \"/sbin/rc2.d/S120swconfig start\":
  247. ----------------------------
  248.        * Turning off all network based resolving services in
  249.          \'/etc/nsswitch.conf\'
  250.        * Setting up temporary hostname in \'/etc/hosts\'
  251.        * Restoring \'/etc/hosts\' to its original contents.
  252.        * Restoring \'/etc/nsswitch.conf\' to its original contents

  253. Recover editor crash files
  254. Output from \"/sbin/rc2.d/S200clean_ex start\":
复制代码

论坛徽章:
0
8 [报告]
发表于 2009-12-01 10:22 |只看该作者
已解决,问题还是出在了/etc/rc.config.d/netconf上,看上次修改时间是在五月份(还没接手),中间有一段乱码。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP