HPUX系统启动完成后,主机名为unknown,查看/etc/rc.log出现如下报错:
 
unknown:[/]grep -i error /etc/rc.log
/sbin/rc1.d/S320hostname[36]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S020evm[67]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S130pfilboot[5]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S131ipfboot[5]: Syntax error at line 2 : `)' is not expected.
ERROR: /opt/sec_mgmt/bastille/swLoopbackConfig.sh not present. Exiting.
evmpost: Error: Connection error
/sbin/rc2.d/S356dhcpv6.server[32]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S360dhcpv6.client[40]: Syntax error at line 2 : `)' is not expected.
ERROR:   Internal error.  Security check failed unexpectedly.  This
         error occurred in function "idam_LocateLocalFile", source file
ERROR:   "unknown:/":  You do not have permission for this operation.
ERROR:   Internal error.  Security check failed unexpectedly.  This
         error occurred in function "idam_LocateLocalFile", source file
ERROR:   "unknown:/":  You do not have permission for this operation.
/sbin/rc2.d/S490mrouted[39]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S500inetd[38]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S510gated[38]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S523pppoe[39]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S530rwhod[39]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S538rtradvd[48]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S540sendmail[115]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S550ddfa[40]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S560SnmpMaster[167]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565OspfMib[74]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565SnmpHpunix[203]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565SnmpIpv6[197]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565SnmpMib2[207]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565SnmpNaa[191]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S565SnmpTrpDst[208]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S590Rpcd[30]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S660xntpd[37]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S700acct[39]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S738oserrlog[19]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S742diagnostic[28]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S800spa[39]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S900drd[21]: Syntax error at line 2 : `)' is not expected.
/sbin/rc2.d/S980TftpdStandAlone[78]: Syntax error at line 2 : `)' is not expected.
/sbin/rc3.d/S823hpws22_apache[44]: Syntax error at line 2 : `)' is not expected.
/sbin/rc3.d/S823hpws22_tomcat[46]: Syntax error at line 2 : `)' is not expected.
ERROR: Could not start Tomcat.
/sbin/rc3.d/S823hpws22_webmin[45]: Syntax error at line 2 : `)' is not expected.
ERROR: Could not start Webmin
/sbin/rc3.d/S823hpws22_webproxy[44]: Syntax error at line 2 : `)' is not expected.
/sbin/rc3.d/S823hpws_xmltools[42]: Syntax error at line 2 : `)' is not expected.
/sbin/rc3.d/S828kwdbd[164]: Syntax error at line 2 : `)' is not expected.
 
问题原因:
/etc/rc.config.d/目录先出现了不能识别的启动控制文件或启动控制文件中有错误的符号或参数。
 
解决方案:
使用sh -x /etc/rc.config确认是哪一个配置文件有错误,然后把错误文件修复或移除错误文件即可;如果是配置文件参数错误,需要逐个文件去排查。

HPUX系统启动后主机名为unknown的解决办法的更多相关文章

  1. 034-openstack中虚拟机启动后主机名设置问题

    openstack中虚拟机启动后主机名设置问题,在centos7中设置hostname后怎么都是原来的hostname,根本无效. 方法一: 在centos7中除了修改hosts文件和network文 ...

  2. 修改计算机名或IP后Oracle10g无法启动服务的解决办法

    修改计算机名或IP后Oracle10g无法启动服务的解决办法 遇到的问题,问题产生原因不详.症状为,windows服务中有一项oracle服务启动不了,报出如下错误. Windows 不能在 本地计算 ...

  3. 分享:Windows2008重启后提示系统恢复选项的解决办法

    如题:WINdows2008服务器. 重启后提示系统恢复选项的解决办法 使用windows 2008后,不能启动的问题,重启后出现 修复系统选项 采用下面帖子中的部分命令搞定之. 我自己是直接使用:选 ...

  4. Android Studio安装后提示No JVM installation found解决办法

    Android Studio安装后提示No JVM installation found解决办法 问题描述:Android Studio安装完毕,打开时出现提示"No JVM install ...

  5. IOS7.1-7.1.1越狱后无法读取越狱文件的解决办法

    IOS7.1-7.1.1越狱后无法读取越狱文件的解决办法 申明:      下面安装PP源的方法已经失效,请不用按照下面的方法操作.      更新最新的方法,在cydia中搜索源 apple fil ...

  6. NGUI发布后UI层看不见的解决办法

    NGUI发布后UI层看不见的解决办法 提示信息:You can'tplace widgets on a layer different than the UIPanel that manages th ...

  7. # vmware异常关机后,虚拟系统无法启动的解决办法

    vmware异常关机后,虚拟系统无法启动的解决办法 先使用everything搜索所有后缀为.lck的文件,这些文件全部删除,如果不确定是否可以删除,先把这些文件转移到桌面,等能启动虚拟系统之后再删除 ...

  8. VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法

    VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法 在linux上安装nginx 请参考:Linux Centos7 安装 nginx 在虚拟机centos7上安装nginx之 ...

  9. (tamcat控制台乱码)在idea中运行toncat后控制台出现乱码的情况解决办法(教程附图)。

    详细教程: (tamcat控制台乱码)在idea中运行toncat后控制台出现乱码的情况解决办法(教程附图)._IT打工酱的博客-CSDN博客

随机推荐

  1. 微信小程序的开发(一)

    我现在在学习,微信小程序开发,刚刚看看一篇对我特别有用的博客文章,我就把摘抄过来了,好好的学习一下. 序言 开始开发应用号之前,先看看官方公布的「小程序」教程吧!(以下内容来自微信官方公布的「小程序」 ...

  2. Sequelize-nodejs-5-Querying

    Querying查询 Attributes To select only some attributes, you can use the attributes option. Most often, ...

  3. Ubuntu14.04更换阿里云源

    步骤很简单一共三步,如下所示: 第一.备份源文件(防止万一) sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 第二.修改源文件(这里的源 ...

  4. 关于WebSocket长链接的详细介绍iOS

    http://www.cocoachina.com/ios/20181030/25327.html

  5. 用ansible2.5在Centos7.2上部署OpenShift3.9(转)

    1.环境: 主机名      ip                   角色 master    10.2.1.198      master node1     10.2.1.174      no ...

  6. 使用VS Code发布博客

    使用VS Code 发布文章 这也是学习别人怎么去使用VS Code 发布文章 上传图片 这是我上传的图片 通过插件的方式上传 ctrl+alt+aQQ截图 使用插件 Markdown All in ...

  7. 【原型图】Mockplus

    Mockplus   原型设计工具

  8. python抠图与pip install PIL报错

    窗口命令pip install PIL(python3.6+selenium——2.53.1+pycharm) from PIL import Image from selenium import w ...

  9. 重学Verilog(3)——参数化模块

    1.parameter方法 首先有这样一个模块 module half_adder(co,sum,a,b); output co,sum; input a,b; ; ; and #and_delay ...

  10. scribe日志系统安装笔记

    版本历史 2011-02-12 17:36:57 完成文章2011-02-23 10:49:12 更新,修正部分文字 目前web访问日志为crontab定时清空,而且负载均衡后,访问随机分配到一台服务 ...