刚好用到了lsof,顺便把笔记贴上
lsof下载地址http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/
bash-2.04# uname -a
HP-UX HPITA B.11.23
gunzip lsof-4.82-ia64-11.23.depot.gz
swlist -d @ /tmp/lsof-4.82-ia64-11.23.depot
swinstall -s /tmp/lsof-4.82-ia64-11.23.depot
bash-2.04# swlist |grep lsof
lsof 4.82 lsof
bash-2.04# swlist -l file lsof
# Initializing...
# Contacting target "HPITA"...
#
# Target:HPITA:/
#
# lsof 4.82 lsof
# lsof.lsof-RUN
/usr/local/bin/lsof
/usr/local/doc/lsof/HPUX.Install
/usr/local/doc/lsof/version
/usr/local/man/man8/lsof.8
vi /root/.profile
ADD
PATH=/usr/local/bin:$PATH
export PATH
bash-2.04# lsof -i :8009
COMMANDPID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 1064 aaa 263uIPv4 0xe00000013a644200 0t0TCP *:8009 (LISTEN) 晕,11.11的出了问题,怎么会这样呢?
bash-2.04# uname -a
HP-UX hinata B.11.11 U 9000/800
bash-2.04# swlist -d @ /tmp/lsof-4.82-hppa-11.11.depot
# Initializing...
# Contacting target "hinata"...
#
# Target:hinata:/tmp/lsof-4.82-hppa-11.11.depot
#
#
# No Bundle(s) on hinata:/tmp/lsof-4.82-hppa-11.11.depot
# Product(s):
#
lsof 4.82 lsof
swinstall -s /tmp/lsof-4.82-hppa-11.11.depot
半天才有反应
然后就提示root path,再然后就出错
[ 本帖最后由 yuio654 于 2009-10-15 16:24 编辑 ] losf可以选择源程序进行编译,我在hpux上用过。 原帖由 chuxu 于 2009-10-15 16:44 发表 http://bbs2.chinaunix.net/images/common/back.gif
losf可以选择源程序进行编译,我在hpux上用过。
呵呵,这错误是嘛意思呢
刚看了下swinstall日志
=======10/15/09 16:10:40 EATBEGIN swinstall SESSION (interactive)
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@hinata".
ERROR: RPC exception: "Communications failure (dce / rpc)" 10/15/09
16:11:16 EAT
ERROR: A Remote Procedure Call to a daemon has failed.Could not
start a management session for "hinata:/".Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
ERROR: RPC exception: "Communications failure (dce / rpc)" 10/15/09
16:13:00 EAT
ERROR: A Remote Procedure Call to a daemon has failed.Could not
start a management session for "hinata:/".Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
ERROR: RPC exception: "Communications failure (dce / rpc)" 10/15/09
16:14:04 EAT
ERROR: A Remote Procedure Call to a daemon has failed.Could not
start a management session for
"hinata:/tmp/lsof-4.82-hppa-11.11.depot".Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
ERROR: RPC exception: "Communications failure (dce / rpc)" 10/15/09
16:16:30 EAT
* A Remote Procedure Call to a daemon has failed.Could not
start a management session for "hinata:".Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
* Beginning Selection
=======10/15/09 16:24:52 EATEND swinstall SESSION (interactive)
问题解决,/usr/sbin/swagentd -r后正常安装,多谢chuxu:wink:
[ 本帖最后由 yuio654 于 2009-10-15 17:05 编辑 ] 不错不错。大力支持。 原帖由 五“宅”一生 于 2009-10-15 22:55 发表 http://bbs2.chinaunix.net/images/common/back.gif
不错不错。大力支持。
帮忙看看另外一个,还没想明白是咋么个回事 原帖由 yuio654 于 2009-10-15 16:10 发表 http://bbs2.chinaunix.net/images/common/back.gif
vi /root/.profile
ADD
PATH=/usr/local/binPATH
export PATH
...
更正一下,此步会导致严重错误。
/usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'.
可以直接修改/etc/profile没有问题。
网上有人说是需要把.dtprofile 下边的注释打开
#If $HOME/.profile (.login) has been edited as described above, uncomment
#the following line.
#
# DTSOURCEPROFILE=true
但这个是cde的环境变量,怎么扯这来了,另外这错误给的也是莫名其妙。竟然影响到了bash,对系统其他部分的影响还没测试。 本帖最后由 lgatuk 于 2013-12-03 10:23 编辑
yuio654 发表于 2009-10-15 16:22 static/image/common/back.gif
晕,11.11的出了问题,怎么会这样呢?
我想问一下 我的系统为什么没有/root呢
页:
[1]