Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Veeam Explorer for Oracle restore fails with: "You have new mail in /var/spool/mail/root"

$
0
0
KB ID: 4216
Product: Veeam Backup & Replication

Challenge

Restoring an Oracle Database to a Linux server using Veeam Explorer for Oracle fails with:
Error: Wrong SCP response: 1.scp: /root
You have new mail in /var/spool/mail/root/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx: No such file or directory
Log Example
Uploading file (Unix mask: 0766, timeout: 300 sec)...
from: C:\Users\bkpsvc\AppData\Local\Temp\FilesFromSSH_02882835-9da8-4238-8481-39b46381cee0\a7b51e0a-af32-4e17-9d3d-99a8b03ef0c1
to: /root
You have new mail in /var/spool/mail/root/c85b28ba-0d9a-44be-bae3-49bdb6cfe6e7
SCP file uploading (from: C:\Users\bkpsvc\AppData\Local\Temp\FilesFromSSH_02882835-9da8-4238-8481-39b46381cee0\a7b51e0a-af32-4e17-9d3d-99a8b03ef0c1, to: '/root
You have new mail in /var/spool/mail/root/c85b28ba-0d9a-44be-bae3-49bdb6cfe6e7')...
SCP command: scp -p -t '/root
You have new mail in /var/spool/mail/root/c85b28ba-0d9a-44be-bae3-49bdb6cfe6e7'
SCP connection closed
Removing directory: C:\Users\bkpsvc\AppData\Local\Temp\FilesFromSSH_02882835-9da8-4238-8481-39b46381cee0...
Error: Wrong SCP response: 1.scp: /root
You have new mail in /var/spool/mail/root/c85b28ba-0d9a-44be-bae3-49bdb6cfe6e7: No such file or directory
Type: System.Exception
Stack:
at Veeam.SSH.Core.SCPProtocol.WaitUntilDone(Int32 timeout, CancellationToken ct)
at Veeam.SSH.Core.SshGranadosFileLoader.UploadFile(SshGranadosConnectionImpl connection, SshConnectionConfig config, String from, String to, String mode, Int32 timeout, ILogger logger, CancellationToken ct)
at Veeam.SSH.Core.SshGranadosConnectionImpl.UploadFile(String from, String to, String mode, Int32 timeout, CancellationToken ct)
at Veeam.SSH.Core.SshConnection.UploadFile(String from, String to, String mode, Int32 timeout, CancellationToken ct)
at Veeam.Oracle.Linux.Client.System.SshClient.UploadFile(String localFilePath, String remoteFilePath, Int32 timeout, UnixMask umask, CancellationToken ct)
at Veeam.Oracle.Linux.Client.System.FileBroker.Upload(Byte[] content, String target, CancellationToken ct)
at Veeam.Oracle.Linux.Client.System.TempFolderManager.SaveTempFile(Byte[] content, String extension, CancellationToken ct)
at Veeam.Oracle.Linux.Client.System.FileSystemManager.SaveManagedTempFile(Byte[] content, String extension, String permissionSourcePath, CancellationToken ct)
at Veeam.Oracle.Restore.TempPFile.Save(IOracleMachineConnection machine, PFile pFile, String targetOracleHome)
at Veeam.Oracle.Restore.SpfileBuilder.CreateSpfile()
at Veeam.Oracle.Restore.Restorers.RestartWithSpfileRestorer.Restore(IOracleObserver observer, CancellationToken ct)
at Veeam.Oracle.Restore.Restorers.RestorersRunner.Run()
at Veeam.Oracle.Restore.DatabaseRestorer.RunRestore(IUndoStack undoStack, IDisposables disposables)
at Veeam.Oracle.Restore.DatabaseRestorerBase.RestoreDatabase(IDisposables disposables, IUndoStack undoStack)
Process failed. Reverting changes...

Cause

Mail notification on login from Linux is passed through to Veeam's terminal and can cause the issue.

Solution

In most Linux environments, mail notification on login is enabled by default for the root user.

To work around this issue, either:

  • Use another non-root user that does not have mail notifications enabled on login to restore the database in Veeam Explorer for Oracle.
  • Disable mail notification on login for the root user.

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>