Professional Web Applications Themes

rsync help - Linux / Unix Administration

Have an embarrassing problem with rsync (not at all familiar with it, yet...) I've enabled it on machine backup as shown below, but can't figure out how to move data as root user... Both machines are Solaris 11 (beta) and network is OK between them... Anyone who can help me figure out how to enable rsync??? backup # grep rsync /etc/services rsync 873/tcp backup # grep rsync /etc/inetd.conf rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon backup # pkill -HUP inetd laptop # rsync -avz /opt/csw/ rootbackup:/tank/local Password:<myrootpasswd> Password:<myrootpasswd> Password:<myrootpasswd> Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).rsync: connection unexpectedly closed (0 bytes received so ...

  1. #1

    Default rsync help

    Have an embarrassing problem with rsync (not at all familiar with it,
    yet...)

    I've enabled it on machine backup as shown below, but can't figure out
    how to move data as root user... Both machines are Solaris 11 (beta)
    and network is OK between them...
    Anyone who can help me figure out how to enable rsync???


    backup # grep rsync /etc/services
    rsync 873/tcp

    backup # grep rsync /etc/inetd.conf
    rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon

    backup # pkill -HUP inetd

    laptop # rsync -avz /opt/csw/ rootbackup:/tank/local
    Password:<myrootpasswd>
    Password:<myrootpasswd>
    Password:<myrootpasswd>
    Permission denied
    (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).rsync:
    connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)


    backup # cat /etc/rsyncd.conf
    motd file = /etc/rsyncd.motd
    log file = /var/log/rsyncd.log
    pid file = /var/run/rsyncd.pid
    lock file = /var/run/rsync.lock

    [root]
    path = /tank/local

    Thommy Guest

  2. #2

    Default Re: rsync help

    Thommy M. wrote: 

    to add a inet service you have to do more than edit inetd.conf and send
    SIGHUP to inetd on Solaris 10 and later. You will have to add the new
    service as a service description to the smf framework.

    Read inetd(1m), inetadm(1m), inetconv(1m), smf(5), and services(4), to
    find out how everything works.

    Basicly you need only to execute inetconv, IIRC.

    HTH,
    Tom
    Thomas Guest

  3. #3

    Default Re: rsync help

    Thommy M. wrote: 

    to add a inet service you have to do more than edit inetd.conf and send
    SIGHUP to inetd on Solaris 10 and later. You will have to add the new
    service as a service description to the smf framework.

    Read inetd(1m), inetadm(1m), inetconv(1m), smf(5), and services(4), to
    find out how everything works.

    Basicly you need only to execute inetconv, IIRC.

    HTH,
    Tom
    Thomas Guest

  4. #4

    Default Re: rsync help

    > to add a inet service you have to do more than edit inetd.conf and send 

    Silly me. Of course... Thanks... Solaris 10 _is_ different...

    Thommy Guest

  5. #5

    Default Re: rsync help

    Thommy M. wrote:

    [..]
     

    Edit sshd_config on backup to PermitRootLogin Yes
    and restart sshd

    Regards,

    com
    Andrew Guest

Similar Threads

  1. rsync with ssh and a different cipher?
    By pbeckhelm@gmail.com in forum Linux / Unix Administration
    Replies: 4
    Last Post: February 11th, 09:25 PM
  2. rsync group?
    By Robert R in forum Linux / Unix Administration
    Replies: 0
    Last Post: October 9th, 03:15 PM
  3. using rsync
    By Steven in forum Mac Applications & Software
    Replies: 7
    Last Post: September 18th, 11:00 AM
  4. rsync or wget?
    By David Fokkema in forum Debian
    Replies: 11
    Last Post: July 16th, 06:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139