HPUX11.11回退endpoint后无法安装

[复制链接]
查看11 | 回复2 | 2007-8-28 14:05:12 | 显示全部楼层 |阅读模式
安装endpoint时候输入不存在的主机HOSTNAME,进行回退,但是无法再安装.
回退步骤:
1.
使用命令/tivolilcf/dat/1/lcfd.sh stop停止正在运行的endpoint进程
2.
使用命令rm –rf /tivoli/lcf删除endpoint安装目录
3.
使用命令rm –rf /etc/Tivoli/lcf删除endpoint环境目录
4.
使用命令rm /sbin/init.d/lcfd1.sh删除lcfd1.rc
5.
使用命令
rm /sbin/rc2.d/K100Tivoli_lcf1(无)
rm /sbin/rc3.d/S500Tivoli_lcf1(无)

删除相关链接文件
6.
在Tivoli主服务器上运行wdelep
重新安装步骤:
# ls
image-hpux10.tar install-lcf.sh
# ./install-lcf.sh
Where would you like to install [/opt/Tivoli/lcf]:
Any options to pass to the lcfd process:
-g wg_tt2+9494 -l 9495 (第一次就是在这里输入不存在的HOSTNAME)
Tivoli Light Client Framework starting on nm-iuas2
Jun 26 16:39:57 1 lcfd Command line argv[0]='/opt/Tivoli/lcf/bin/hpux10/mrt/lcfd'
Jun 26 16:39:57 1 lcfd Command line argv[1]='-g'
Jun 26 16:39:57 1 lcfd Command line argv[2]='wg_tt2+9494'
Jun 26 16:39:57 1 lcfd Command line argv[3]='-l'
Jun 26 16:39:57 1 lcfd Command line argv[4]='9495'
Jun 26 16:39:57 1 lcfd Command line argv[5]='-n'
Jun 26 16:39:57 1 lcfd Command line argv[6]='nm-iuas2'
Jun 26 16:39:57 1 lcfd Command line argv[7]='-Dlib_dir=/opt/Tivoli/lcf/lib/hpux10'
Jun 26 16:39:57 1 lcfd Command line argv[8]='-Dload_dir=/opt/Tivoli/lcf/bin/hpux10/mrt'
Jun 26 16:39:57 1 lcfd Command line argv[9]='-C/opt/Tivoli/lcf/dat/1'
Jun 26 16:39:57 1 lcfd Command line argv[10]='-Dlcs.machine_name=nm-iuas2'
Jun 26 16:39:57 1 lcfd Command line argv[11]='-g'
Jun 26 16:39:57 1 lcfd Command line argv[12]='wg_tt2+9494'
Jun 26 16:39:57 1 lcfd Command line argv[13]='-l'
Jun 26 16:39:57 1 lcfd Command line argv[14]='9495'
Jun 26 16:39:57 1 lcfd Command line argv[15]='-n'
Jun 26 16:39:57 1 lcfd Command line argv[16]='nm-iuas2'
Jun 26 16:39:57 1 lcfd Starting Unix daemon
Performing auto start configuration
Tivoli LCF daemon master autostart file is /sbin/init.d/lcfd1.rc.
Done.
rm: /sbin/rc0.d/K100Tivoli_lcf* non-existent
rm: /sbin/rc1.d/K100Tivoli_lcf* non-existent
GID 59999 is not unique
UID 59999 is not unique
能看见lcf进程,9495端口也正常,但是在服务器上用WEP LS命令仍然无法看见
再次回退,并将/etc/passwd最后一行注释掉
tmersrvd:*:59999:59999:RESERVED for Tivoli - Do not remove:/home/tmersrvd:/bin/false
/etc/group也注释掉59999用户
tmersrvd::59999:
但是重新安装以后仍然显示
Performing auto start configuration
Tivoli LCF daemon master autostart file is /sbin/init.d/lcfd1.rc.
Done.
rm: /sbin/rc0.d/K100Tivoli_lcf* non-existent
rm: /sbin/rc1.d/K100Tivoli_lcf* non-existent
GID 59999 is not unique
Group tmersrvd specified with -g does not exist
和前面一样能看见lcf进程,9495端口也正常,但是在服务器上用WEP LS命令仍然无法看见
# ps -ef|grep lcf
root 19499 186871 16:36:14 pts/ta0:00 grep lcf
root 19240 10 16:30:54 ? 0:00 /opt/Tivoli/lcf/bin/hpux10/mrt/lcfd -g wg_tt1+9494 -l 9495 -n nRED[/COLOR] (第一次就是在这里输入不存在的HOSTNAME)[/COLOR]
回复

使用道具 举报

千问 | 2007-8-28 14:05:12 | 显示全部楼层
LZ,用wlookup -ar看过吗?看看在TMR上是否注册了?
回复

使用道具 举报

千问 | 2007-8-28 14:05:12 | 显示全部楼层
重新安装以后依然不能用wep ls 查询到,但是检查/lcf/dat/1/9495的时候发现
BOSS1#[/tivoli/lcf/dat/1]cat 9495
Jun 28 20:39:32 1 lcfd CacheInit: Starting new index file: /tivoli/lcf/dat/1/cache/Index.v5
Jun 28 20:39:32 1 lcfd lcfd 41110 (hpux10)
Jun 28 20:39:32 1 lcfd Binary Dir (load_dir): '/tivoli/lcf/bin/hpux10/mrt'
Jun 28 20:39:32 1 lcfd Library Dir (lib_dir): '/tivoli/lcf/lib/hpux10'
Jun 28 20:39:32 1 lcfd Dat Dir (run_dir): '/tivoli/lcf/dat/1'
Jun 28 20:39:32 1 lcfd Cache Dir (cache_loc): '/tivoli/lcf/dat/1/cache'
Jun 28 20:39:32 1 lcfd Logging to (logfile): '/tivoli/lcf/dat/1/9495' at level 1
Jun 28 20:39:32 1 lcfd Cache limit: '20480000'
Jun 28 20:39:32 1 lcfd Cache size at initialization: '0'
Jun 28 20:39:32 1 lcfd to_del_list_delete: The file by name /tivoli/lcf/dat/1/delete.txt could not be opened (fopen, 2, No such file or directory).No files were deleted.
Jun 28 20:39:32 1 lcfd Attempting to change temporary directory to /var/tmp/.
Jun 28 20:39:32 1 lcfd Start IPC server: port 9495
Jun 28 20:39:32 1 lcfd IPC server active
Jun 28 20:39:32 1 lcfd Set run state: Login
Jun 28 20:39:32 1 lcfd Failed to send login: ../../src/comm/netio.c:510 [cti_create_client or cti_timed_create_client] : loc=3, cls=1, dec=3, sys=0, tli=0, evt=0
最后一行失败了,想问问这样的话表示什么原因~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行