My Oracle Support Banner

Rehostuser Hangs Because SSH Has Hung (Doc ID 2271288.1)

Last updated on FEBRUARY 26, 2019

Applies to:

Oracle Communications Messaging Server - Version 8.0.1 and later
Information in this document applies to any platform.


We run rehostuser command with -i -x options in a script which logs to stdout and stderr.

What I see, for example, is like the following on the source system:

/io/user/john_smith/Vendors/Oracle restoring...
/io/user/john_smith/Vendors/Qlogic restoring...
/io/user/john_smith/Vendors/SafeNet restoring...
/io/user/john_smith/Vendors/Symantec restoring...
Mailbox john_smith copied successfully.
disconnecting john_smith

So we know the imsbackup==>ssh==>imsrestore of the first "half" of rehostuser completed, rehostuser has changed the user's mailUserStatus to "defer" and done imsconnutil -k.

'ptree' command on that rehostuser process shows it started ssh and imsbackup, but there is no indication of that new imsrestore process on the destination system.

For some reason, in the middle of doing multiple migrations, the key for the remote system changed, causing SSH to need to prompt.

This was duplicated (and solved) the problem manually:

mailhost:/gcs/app/mail/imsadmin/migration/log$ ssh pwd
The authenticity of host ' (' can't be established.
RSA key fingerprint is d4:0d:ff:79:ad:d7:92:0b:a2:9f:6c:6c:07:11:a6:4c.
Are you sure you want to continue connecting (yes/no)?

After saying yes to that, it now works without prompting.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.