public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] rsync errors
       [not found]       ` <6b16fb4c0803270825xc08f982lc8ee28323685dde7@mail.gmail.com>
@ 2008-03-27 15:47 99%     ` Alan McKinnon
  0 siblings, 0 replies; 1+ results
From: Alan McKinnon @ 2008-03-27 15:47 UTC (permalink / raw
  To: gentoo-user

On Thursday 27 March 2008, Kaushal Shriyan wrote:
> On Thu, Mar 27, 2008 at 8:36 PM, Alan McKinnon 
<alan.mckinnon@gmail.com> wrote:
> > On Thursday 27 March 2008, Kaushal Shriyan wrote:
> >  > Hi
> >  >
> >  > I am running the command
> >  >
> >  > /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
> >  > /tmp/rsync-${TIMESTAMP}.log 2>&1

rsync should work with that setup, I don't know why you are getting 
errors. I seriously recommend you take a close look at your permissions 
for /var/lib/mysql though - you have it world-writeable - a big no-no

ACLs are working - the + at the end of the permissions in 'ls -l' proves 
that.

I would be checking the individual files inside /var/lib/mysql/ and the 
directory /var/lib itself.

Also, I don't know what (1) and (13) in the error logs means. It looks 
like rsync result codes, but those numbers for rsync make no sense at 
all in this context. Hopefully someone else reading this knows.

Finally, SELinux can do odd things like this, but it's errors are easy 
to spot for what they are. Do you know what they look like, and do you 
have SELinux enabled?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-03-27 14:56     [gentoo-user] rsync errors Kaushal Shriyan
2008-03-27 15:06     ` Alan McKinnon
     [not found]       ` <6b16fb4c0803270825xc08f982lc8ee28323685dde7@mail.gmail.com>
2008-03-27 15:47 99%     ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox