LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-29-2012, 04:47 AM   #1
rafiahmadjan
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Rep: Reputation: Disabled
Post Backup failed:DUMP


While trying to backup a filesystem using dump on a remote host, i get the following error ON RHEL 6

dump 0uf test@172.31.7.1:/dev/rmt/0n backups/
DUMP: rcmd: socket: Permission denied
DUMP: login to 172.31.7.1 as root failed.

The remote host is a solaris 10 machine

Regards
Rafi
 
Old 11-29-2012, 06:27 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,226

Rep: Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022
Well, its telling you root is not allowed to connect on the relevant port; you need to enable that.
You should check the logs on the target system for details.
 
Old 11-30-2012, 04:44 AM   #3
rafiahmadjan
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Question

Dear chrism01,

I checked the logs of the remote server and it showed the in.rshd wasnt allowed on the rehttp://www.linuxquestions.org/questions/usercp.phpmote server so i edited the
hosts.allow of the same to allow the service as:
in.rshd,sshd,in.telnetd,in.ftpd:172.31.8.5

after this i tried to backup to this remote server but the result is as shown:

/sbin/dump -0u -f rafi@172.31.7.1:/dev/rmt/0n /unused/backups/
DUMP: poll: protocol failure in circuit setup
DUMP: login to 172.31.7.1 as rafi failed.

I will really appreciate the help..Thanks
 
Old 11-30-2012, 05:40 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 748
Blog Entries: 2

Rep: Reputation: 193Reputation: 193
> protocol failure in circuit setup

http://www.novell.com/support/kb/doc.php?id=3077223
 
Old 11-30-2012, 01:17 PM   #5
rafiahmadjan
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear linosaurusroot,

The link is not working...could u crosscheck plz.

Rafi
 
Old 11-30-2012, 01:43 PM   #6
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,062
Blog Entries: 4

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
http://goo.gl/SGUeY
 
Old 11-30-2012, 01:50 PM   #7
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 748
Blog Entries: 2

Rep: Reputation: 193Reputation: 193
Quote:
Originally Posted by rafiahmadjan View Post
Dear linosaurusroot,

The link is not working...could u crosscheck plz.

Rafi
Just search for the error message - the article I read explained that firewall rules on the client side could be the problem.

Or if you omit rsh and use ssh you may get better results (dump to "-" meaning stdout and pipe to ssh).
 
Old 11-30-2012, 10:57 PM   #8
Aarif
LQ Newbie
 
Registered: Nov 2012
Posts: 10

Rep: Reputation: Disabled
Rafi,

try to stop the firewall on local machine and take dump.


Thanks,
Arif
 
Old 12-01-2012, 12:04 AM   #9
rafiahmadjan
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thankyou guys,


I stopped the firewall on the client and the dump is done .

>[root@DATABASE sysconfig]# /sbin/dump -0f 172.31.7.1:/dev/rmt/0 /unused/backups/
> DUMP: Connection to 172.31.7.1 established.
> DUMP: Date of this level 0 dump: Sat Dec 1 10:52:19 2012
> DUMP: Dumping /dev/sda10 (/unused (dir /backups)) to /dev/rmt/0 on host 172.31.7.1
> DUMP: Label: none
> DUMP: Writing 10 Kilobyte records
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 3068875 blocks.
> DUMP: Volume 1 started with block 1 at: Sat Dec 1 10:52:19 2012
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: 61.97% done at 6339 kB/s, finished in 0:03
> DUMP: Closing /dev/rmt/0
> DUMP: Volume 1 completed at: Sat Dec 1 11:00:45 2012
> DUMP: Volume 1 3068880 blocks (2996.95MB)
> DUMP: Volume 1 took 0:08:26
> DUMP: Volume 1 transfer rate: 6064 kB/s
> DUMP: 3068880 blocks (2996.95MB) on 1 volume(s)
> DUMP: finished in 478 seconds, throughput 6420 kBytes/sec
> DUMP: Date of this level 0 dump: Sat Dec 1 10:52:19 2012
> DUMP: Date this dump completed: Sat Dec 1 11:00:45 2012
> DUMP: Average transfer rate: 6064 kB/s
> DUMP: DUMP IS DONE

I put an exception in the firewall for ports 1011:1023 and started the backup using dump again and it worked..

I really appreciate the help

regards
Rafi
 
  


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
trying to get dump to backup home directory eparl Linux - Newbie 7 03-28-2011 01:43 AM
Backup with Rsync or Dump or dd. dsmyth Linux - Newbie 5 03-09-2010 05:18 PM
Increment backup using Dump blckspder Linux - Server 1 09-20-2008 10:49 AM
want to take dump backup from Linux to window pc shipon_97 Linux - Networking 3 08-28-2007 01:36 AM
Backup: dump x tar avinhaes Linux - Server 3 12-21-2006 04:01 AM


All times are GMT -5. The time now is 04:11 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