免费注册 查看新帖 |

Chinaunix

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

关于swinstall错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-29 13:11 |只看该作者 |倒序浏览
在HP-UX下安装软件的时候出现这样的错误,无法编译,是什么原因呢?

用的是root帐户

#swinstall -s /tmp/soft/libiconv.depot

       * Beginning Analysis Phase.
       * Source:           WEBSERV:/tmp/soft/libiconv.depot
       * Target:           WEBSERV:/
       * Target logfile:   WEBSERV:/var/adm/sw/swagent.log
       * Reading source for product information.
ERROR:   Could not open remote depot/root "/tmp/soft/libiconv.depot"
         due to an RPC or network I/O error.
       * Retry number 1 of 1 for product information.
ERROR:   Could not open remote depot/root "/tmp/soft/libiconv.depot"
         due to an RPC or network I/O error.
ERROR:   Cannot open source.  Check above for errors, as well as the
         daemon logfile on the source host (default location:
         /var/adm/sw/swagentd.log).
ERROR:   Cannot continue the Analysis Phase until the previous errors
         are corrected.
=======  12/29/08 12:08:56 EAT  END install AGENT SESSION (Cancelled)
         (pid=1583 (jobid=cmallFW1-0035)

论坛徽章:
0
2 [报告]
发表于 2008-12-29 13:49 |只看该作者
把/var/adm/sw/swagentd.log贴出来

论坛徽章:
0
3 [报告]
发表于 2008-12-29 14:07 |只看该作者
=======  12/29/08 13:37:19 EAT  BEGIN swagentd (pid = 14225).
       * Restarting swagentd program, process ID 14185.
=======  12/29/08 13:37:19 EAT  END swagentd (pid = 14185).
       * Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
       * Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
       * Checking job queue at 1 minute intervals.
       * Started install agent on "/" for [email=root@WEBSERV]root@WEBSERV[/email], pid=14237,
         12/29/08 13:37:45 EAT
       * Started source agent on "/tmp/soft/libiconv.depot" for
         [email=root@WEBSERV]root@WEBSERV[/email], pid=14238, 12/29/08 13:37:45 EAT
NOTE:    The target "/tmp/soft/libiconv.depot" currently open for
         reading is a tape. pid=14238 12/29/08 13:37:45 EAT
       * Agent pid=14238 completed.  12/29/08 13:38:09 EAT
       * Agent pid=14237 completed.  12/29/08 13:38:09 EAT
       * Started install agent on "/" for [email=root@WEBSERV]root@WEBSERV[/email], pid=14280,
         12/29/08 13:51:26 EAT
       * Started source agent on "/tmp/soft/libiconv.depot" for
         [email=root@WEBSERV]root@WEBSERV[/email], pid=14281, 12/29/08 13:51:26 EAT
NOTE:    The target "/tmp/soft/libiconv.depot" currently open for
         reading is a tape. pid=14281 12/29/08 13:51:26 EAT
       * Started install agent on "/usr/local" for [email=root@WEBSERV]root@WEBSERV[/email],
         pid=14282, 12/29/08 13:52:37 EAT
NOTE:    The target "/usr/local" does not exist and will be created.
         pid=14282 12/29/08 13:52:37 EAT
       * Agent pid=14280 completed.  12/29/08 13:52:37 EAT
       * Agent pid=14281 completed.  12/29/08 13:52:51 EAT
       * Agent pid=14282 completed.  12/29/08 13:52:51 EAT
       * Started install agent on "/" for [email=root@WEBSERV]root@WEBSERV[/email], pid=14283,
         12/29/08 13:52:52 EAT
ERROR:   Failed to start source agent on "/var/spool/sw" for
         [email=root@WEBSERV]root@WEBSERV[/email].  "/var/spool/sw" is not a valid depot.
         12/29/08 13:52:52 EAT
       * Agent pid=14283 completed.  12/29/08 13:53:07 EAT
       * Started install agent on "/" for [email=root@WEBSERV]root@WEBSERV[/email], pid=14286,
         12/29/08 13:53:13 EAT
       * Started source agent on "/tmp/soft/libiconv.depot" for
         [email=root@WEBSERV]root@WEBSERV[/email], pid=14287, 12/29/08 13:53:13 EAT
NOTE:    The target "/tmp/soft/libiconv.depot" currently open for
         reading is a tape. pid=14287 12/29/08 13:53:13 EAT
       * Started install agent on "/usr/local" for [email=root@WEBSERV]root@WEBSERV[/email],
         pid=14290, 12/29/08 13:53:25 EAT
NOTE:    The target "/usr/local" does not exist and will be created.
         pid=14290 12/29/08 13:53:25 EAT
       * Agent pid=14286 completed.  12/29/08 13:53:25 EAT

[ 本帖最后由 zhgypg 于 2008-12-29 14:08 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-12-29 14:22 |只看该作者
1. nslookup WEBSERV
2. nslookup IP_Address
(检查网络和主机名配置是不是正常)
3. /sbin/init.d/swagent stop
    /sbin/init.d/swagent start
如果还不行,再看发swagent.log和swagentd.log

论坛徽章:
0
5 [报告]
发表于 2008-12-29 14:45 |只看该作者
nslookup,hostname都试过了,没问题。

swagentd 也重启了,还是不行。报一样的错误


=======  12/29/08 14:34:39 EAT  BEGIN swagentd (pid = 14476).
       * Stopping swagentd program, process ID 14225.
=======  12/29/08 14:34:39 EAT  END swagentd (pid = 14476).

=======  12/29/08 14:34:39 EAT  END swagentd (pid = 14225).

=======  Mon, Dec 29, 2008 02:34:55 PM EAT  BEGIN swagentd (pid =
         14480).
       * Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
       * Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
       * Checking job queue at 1 minute intervals.
       * Started install agent on "/" for [email=root@WEBSERV]root@WEBSERV[/email], pid=14508,
         Mon, Dec 29, 2008 02:36:36 PM EAT
       * Started source agent on "/tmp/soft/bash.depot" for
         [email=root@WEBSERV]root@WEBSERV[/email], pid=14509, Mon, Dec 29, 2008 02:36:36 PM EAT
NOTE:    The target "/tmp/soft/bash.depot" currently open for reading
         is a tape. pid=14509 12/29/08 14:36:36 EAT
       * Agent pid=14509 completed.  Mon, Dec 29, 2008 02:37:05 PM EAT
       * Agent pid=14508 completed.  Mon, Dec 29, 2008 02:37:05 PM EAT



-----------------------------------------------------------------------

论坛徽章:
0
6 [报告]
发表于 2008-12-29 15:33 |只看该作者
我再出点主意:
1、看一下这个文件是不是存在,如果存在,删了它
/var/adm/sw/products/swlock
2、重启一下RPC,在/sbin/init.d/下面,叫什么名字不记得了
3、重启swagentd

如果还是没有解决问题,在swinstall时加一个参数
swinstall -x rpc_timeout=9 -s /tmp............

再不行,小弟没办法了,黔驴技穷了。。。

好象网络有问题。。。

论坛徽章:
0
7 [报告]
发表于 2008-12-29 22:34 |只看该作者
重新启动下

论坛徽章:
0
8 [报告]
发表于 2008-12-30 20:42 |只看该作者
原帖由 sayer 于 2008-12-29 14:22 发表
1. nslookup WEBSERV
2. nslookup IP_Address
(检查网络和主机名配置是不是正常)
3. /sbin/init.d/swagent stop
    /sbin/init.d/swagent start
如果还不行,再看发swagent.log和swagentd.log


把你的nslookup 解析结果贴出看看!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP