安装 heartbeat-1.2.2-1.src.rpm 的问题

diego@guo
安装 heartbeat-1.2.2-1.src.rpm 的问题

我用redhat企业版4. 安装 heartbeat-1.2.2-1.src.rpm的时候提示
1:heartbeat              warning: user alanr does not exist - using root
warning: user alanr does not exist - using root8%)

我系统里heartbeat-pils-1.2.2-1.i586.rpm和heartbeat-stonith-1.2.2-1.i586.rpm都已经安装上了。请高手指点一下是什么问题

jerrywjl
[quote]原帖由 [i]diego@guo[/i] 于 2008-6-4 18:08 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6605609&ptid=1009021][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
我用redhat企业版4. 安装 heartbeat-1.2.2-1.src.rpm的时候提示
1:heartbeat              warning: user alanr does not exist - using root
warning: user alanr does not exist - using root8%)

我系 ... [/quote]


意思是说,这个软件的使用会需要一个叫做alanr的用户,但该用户事先没有建立,所以估计就要用root来替代着了。

diego@guo
[quote]原帖由 [i]jerrywjl[/i] 于 2008-6-4 18:40 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6605624&ptid=1009021][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]



意思是说,这个软件的使用会需要一个叫做alanr的用户,但该用户事先没有建立,所以估计就要用root来替代着了。 [/quote]

代替是代替,但是 我用rpm -q 查询过了 heartbeat这个包根本没装上

lasama
第一,warning不是error,可以忽略掉
第二,src.rpm包不是rpm包,需要先编译成rpm包才能安装的
rpmbuild --rebuild ***.src.rpm
编译完成后会在/usr/src/redhat/RPMS/i386/下会生成rpm包,安装这个rpm包才是安装完成。

redor
[quote]原帖由 [i]diego@guo[/i] 于 2008-6-4 18:08 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6605609&ptid=1009021][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
我用redhat企业版4. 安装 heartbeat-1.2.2-1.src.rpm的时候提示
1:heartbeat              warning: user alanr does not exist - using root
warning: user alanr does not exist - using root8%)

我系 ... [/quote]


这个只是说源码 rpm包是alanr 建立的, 你可以使用rpmbuild --rebuild *src.rpm 重新编译一下 如果提示需要什么软件包就装一下就可以了