1834149 Members
2389 Online
110064 Solutions
New Discussion

Cannot remsh server

 
SOLVED
Go to solution
Azaru
Regular Advisor

Cannot remsh server

Dear All,

I am on the process of ignite ux. So when am trying to use the following command i am getting the below error.

make_sys_image -d /var/opt/ignite/archives/Rel_B.11.23 -s iam
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
ERROR: Cannot remsh server iam (check server .rhosts file).


What i have to do now?

Thanks
azaru
18 REPLIES 18
Kenan Erdey
Honored Contributor
Solution

Re: Cannot remsh server

Hi,

Check the .rhosts file on server if it includes iam entry.

Kenan.
Computers have lots of memory but no imagination
Jeeshan
Honored Contributor

Re: Cannot remsh server

check that you have .rhosts file in both servers.
a warrior never quits
Azaru
Regular Advisor

Re: Cannot remsh server

Hi,

Yes i have .rhosts file in both the servers in the following format.

IAMeTUnixACP:root-/>cat /.rhosts
root ipmsapp5
IAMeTUnixACP:root-/>



ipmsapp5:root-/tmp>cat /.rhosts
iam root
ipmsapp5:root-/tmp>


azaru
Torsten.
Acclaimed Contributor

Re: Cannot remsh server

The format of the rhosts file is

[hostname [username]] [#comment]

Now compare

IAMeTUnixACP:root-/>cat /.rhosts
root ipmsapp5

This is

username host

Switch this!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Laurent Menase
Honored Contributor

Re: Cannot remsh server

check the righs of .rhosts usually rw-r--r-- (644) or 640.

Check syslog of the peer system.
Jeeshan
Honored Contributor

Re: Cannot remsh server

>>ipmsapp5:root-/tmp>cat /.rhosts
iam root
ipmsapp5:root-/tmp


the entry is wrong

compare with your other server you need to put the entry like below
root
a warrior never quits
Azaru
Regular Advisor

Re: Cannot remsh server

Hi,

Sorry now i have edited the .rhosts file in iam

hostname username

Its started now but i am getting one more error


ipmsapp5:root-/tmp>make_sys_image -d /var/opt/ignite/archives/Rel_B.11.23 -s iam
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.

WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.

Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a09627
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive
Appending file /var/adm/sw/security/_LOCK_FILE to keepsafe archive

* NOTE: The following core file(s) was/were found on your system
and will be archived in the system image.
/core
/ipmsapp/app/bea/user_projects/domains/ipmsdomain/core
/ipmsapp/app/hpws/apache/core

ERROR: The /var/opt/ignite/archives/Rel_B.11.23 directory does not exist on iam.
* Clean up: Do not interrupt; restoring files, kernel, and transition
links.

ipmsapp5:root-/tmp>



Please guide me.

Thanks
azaru
Torsten.
Acclaimed Contributor

Re: Cannot remsh server

the other entry:

ipmsapp5:root-/tmp>cat /.rhosts
iam root


Check if the hostname is really "iam".

# hostname

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Azaru
Regular Advisor

Re: Cannot remsh server

Hi torsten,

We have given alias in /etc/hosts of ipmsapp5

Thanks

azaru
Jeeshan
Honored Contributor

Re: Cannot remsh server

did you create the directory in the path like below
/var/opt/ignite/archives/Rel_B.11.23

check and verify that the path is correct.
a warrior never quits
Torsten.
Acclaimed Contributor

Re: Cannot remsh server

>> ERROR: The /var/opt/ignite/archives/Rel_B.11.23 directory does not exist on iam.


You probably need to create this directory first.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rasheed Tamton
Honored Contributor

Re: Cannot remsh server

Hi,

You are giving access to the other system to your system. So,
on ipmsapp5:
cat /.rhosts
IAMeTUnixACP root

On IAMeTUnixACP:
cat /.rhosts
ipmsapp5 root

If you can ping the other hostname from each system by using hostname, then it should be ok. It depends also on your name service switch (nsswitch) configuration (hosts, dns, etc) and reverse lookup.

The easy way is to from ipmsapp5 logon in the IAMeTUnixACP system and type who -R and get the correct name of ipmsapp5 (may be it might show ip or alias name) and put that info in the .rhosts file. The host IAMeTUnixACP knows ipmsapp5 with that name or ip.


rgds.
Azaru
Regular Advisor

Re: Cannot remsh server

Hi,

I already created the directory in the following path

IAMeTUnixACP:root-/var/opt/ignite/archives/Rel_B.11.23>

Thanks

azaru
Azaru
Regular Advisor

Re: Cannot remsh server

Hi,

I am able to ping the machines with alias name too

Thanks
azaru
Torsten.
Acclaimed Contributor

Re: Cannot remsh server

Is IAMeTUnixACP=iam?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rasheed Tamton
Honored Contributor

Re: Cannot remsh server

What version of ignite you are using on the ignite server and the client.

Run the below command on both servers:

swlist -l product|grep -i ignite

Version difference sometimes makes issues.
Azaru
Regular Advisor

Re: Cannot remsh server

Hi,

Yes

IAMeTUnixACP=iam

Now its working fine. Thanks a lot for your support.

Thanks

azaru
Azaru
Regular Advisor

Re: Cannot remsh server

thanks