LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-11-2008, 12:49 PM   #1
izghitu
Member
 
Registered: Oct 2005
Location: localhost.localdomain
Distribution: CentOS
Posts: 108

Rep: Reputation: 16
remote tape backups issues


Hi,

I have 2 servers.

One of them has the tape drive with a tape in it.

The tape backups run fine from the server(let's call it serverA) with the tape drive.

When I try to do the backup from serverB to serverA remotely I get the following:
DUMP: 192.1.1.91: Connection refused
DUMP: login to 192.1.1.91 as root failed.

The rdump command is:
[root@mail ~]# /sbin/rdump 0auqfb root@192.1.1.91:/dev/nst0 126 /dev/sda2

However I can SSH fine into serverA from serverB:
[root@mail ~]# ssh 192.1.1.91
Last login: Fri Jan 11 18:45:30 2008 from 192.1.1.93
[root@file ~]#

What can be the issue?

Thanks
 
Old 01-11-2008, 02:13 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
From the rdump man page:

Code:
RSH    Dump uses the contents of this variable to determine the name of
       the  remote shell command to use when doing remote backups (rsh,
       ssh etc.). If this variable is not set, rcmd(3)  will  be  used,
       but only root will be able to do remote backups.
Basically, you need to set your environment variable RSH to your ssh binary. Somethng like the following should work:

Code:
RSH=/usr/bin/ssh
export RSH
or

Code:
setenv RSH /usr/bin/ssh
Of course, you will need to replace /usr/bin/ssh with the path to ssh, but the one listed should be right for most distro's.

HTH

Forrest
 
Old 01-11-2008, 04:41 PM   #3
izghitu
Member
 
Registered: Oct 2005
Location: localhost.localdomain
Distribution: CentOS
Posts: 108

Original Poster
Rep: Reputation: 16
Thanks for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble with tape backups caps_phisto Linux - General 2 12-06-2006 10:37 AM
Restoring data from tape backups enygma Linux - General 8 11-11-2004 01:29 PM
Remote Backup on Tape imsajjadali Red Hat 2 04-09-2004 12:59 AM
tar or cpio - Which is better for tape backups? Br. Nicholas Linux - Software 2 07-02-2003 04:06 PM
trouble using dd for tape backups. Jason Foat Linux - Hardware 1 05-21-2002 02:03 PM


All times are GMT -5. The time now is 03:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration