hi I have the script http://pastebin.com/d4b062d28 and the roots cron entry are as below 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh I am getting the below error building file list ... rsync: opendir "/var/lib/mysql/wordpress" failed: Permission denied (13) done mysql/ib_logfile0 mysql/ib_logfile1 Killed by signal 2. rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] Any clue as what is happening Thanks and Regards Kaushal
Log file is likely locked. ----- Original Message ----- From: "Kaushal Shriyan" <kaushalshriyan@gmail.com>> hi > > I have the script http://pastebin.com/d4b062d28 and the roots cron > entry are as below > > 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh > > I am getting the below error > > building file list ... rsync: opendir "/var/lib/mysql/wordpress" > failed: Permission denied (13) done mysql/ib_logfile0 > mysql/ib_logfile1 > Killed by signal 2. > rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] > > Any clue as what is happening===============================================This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
On Fri, Apr 4, 2008 at 4:51 PM, Steven Hartland <killing@multiplay.co.uk> wrote:> Log file is likely locked. > > ----- Original Message ----- From: "Kaushal Shriyan" > <kaushalshriyan@gmail.com> > > > > > hi > > > > I have the script http://pastebin.com/d4b062d28 and the roots cron > > entry are as below > > > > 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh > > > > I am getting the below error > > > > building file list ... rsync: opendir "/var/lib/mysql/wordpress" > > failed: Permission denied (13) done mysql/ib_logfile0 > > mysql/ib_logfile1 > > Killed by signal 2. > > rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] > > > > Any clue as what is happening > > > > > ===============================================> This e.mail is private and confidential between Multiplay (UK) Ltd. and the > person or entity to whom it is addressed. In the event of misdirection, the > recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > >hi steven I am getting the below error now building file list ... rsync: pop_dir "/root" failed: Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1356) [sender=2.6.9] Thanks and Regards Kaushal
On Fri, 4 Apr 2008 17:11:25 +0530 "Kaushal Shriyan" <kaushalshriyan@gmail.com> wrote:> hi steven > > I am getting the below error now > > building file list ... rsync: pop_dir "/root" failed: Permission > denied (13) rsync error: errors selecting input/output files, dirs > (code 3) at flist.c(1356) [sender=2.6.9]Check the permissions on the directory, and ensure that the user which rsync is running as can access that directory. -- Daniel Maher <dma AT witbe.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20080404/c2e2adf1/signature.bin