HPE EVA Storage
1759942 Members
3353 Online
108889 Solutions
New Discussion

SecurePath for RedHat ELAS3.0 UP4 spmgr and spqgent issue

 
Aydin SASMAZ
Occasional Contributor

SecurePath for RedHat ELAS3.0 UP4 spmgr and spqgent issue

Hi all
Secure Path utility spagent and spmgr do not comminucate properly if you define your hostname in /etc/hosts file. In addition if last hostname definition in this file doesn't correspond to your hostname, spmgr doesnt display anything (i.e. spmgr display or spmgr log). If you change and put servers hostname at the last line,return normal and works well. When i've examined
/etc/CPQswsp/bin/spagent and spmgr, i found some clues related to this issue that this binarys look for hostname defined properly. According to the /etc/host.conf, first it looks for hostname definition on the /etc/hosts then by querying DNS records.

I wonder if there is someone who realize this before and has got some reasonable solution. Here is my logs

[root@lnxsrv3-test1 root]# spmgr display
Server: lnxsrv3-test.labs.itu.edu.tr Report Created: Tue, Mar 01 12:42:00 2005
Command: spmgr display
Error: Could not establish connection with spagent; it may not be running.

Bu durumda spmgr log komutunun ciktisi ise

[root@lnxsrv3-test1 root]# spmgr log
Server: lnxsrv3-test.labs.itu.edu.tr Report Created: Tue, Mar 01 14:38:23 2005
Command: spmgr log
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Current Log Options
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Error: No route to host
end /etc/hosts file
[root@lnxsrv3-test1 root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
160.75.xxx.yyy lnxsrv3-test1.mydomain.com lnxsrv3-test1
160.75.zzz.ttt lnxsrv3-test.mydomain.com lnxsrv3-test

Eger ayni dosyada son satir bir ustundeki ile yer degistirilir ise sorun ortadan kalkiyor.

SYSTEM : HP DL380 G4
PLATFORM : RedHat ELAS3.0 UP4
Kernel : 2.4.21-20.ELsmp
SecurePath : Secure-Path-3.0CFullUpdate-4.0.RHEL3U3
EvA-P-Kit : linux_v3e ;
fibreutils-1.7.0-7.i386.rpm
hp_qla2x00-7.00.03-5.src.rpm
hp_qla2x00src-7.00.03-11.noarch.rpm
sssu-3.2.7-3.noarch.rpm