From: Mark C. <mca...@em...> - 2013-07-30 13:32:11
|
So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: /rsyncd/rsync.exe: error while loading shared libraries: cygpopt-0.dll: cannot open shared object file: No such file or directory /rsyncd/rsync.exe: error while loading shared libraries: cygiconv-2.dll: cannot open shared object file: No such file or directory Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Thanks, Mark Campbell Systems Administrator eMediaTRADE 11800 Will Road Suite 150 Alpharetta, GA 30009 (678)689-0146 (office) mca...@em...<mailto:mca...@em...> www.emediatrade.com<http://www.emediatrade.com/> |
From: Andrew S. <an...@al...> - 2013-07-30 17:17:32
|
> So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: cygpopt-0.dll: cannot open shared object file: No such file or directory > /rsyncd/rsync.exe: error while loading shared libraries: cygiconv-2.dll: cannot open shared object file: No such file or directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). |
From: Mark C. <mca...@em...> - 2013-07-30 17:59:30
|
Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li... Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Mark C. <mca...@em...> - 2013-07-31 14:15:11
|
Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li... Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Craig B. <cba...@us...> - 2013-08-01 05:01:51
|
Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). Craig On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...>wrote: > Apparently, my issue is not as solved as hoped. The service does start up > fine now, and doing an rsync --list-only to another machine lists the > contents of the module on the remote machine just fine, but when trying to > perform a backup of this machine with BackupPC (and even when trying to do > an rsync --list-only from another machine to it), it generates the error: > > [root@emtbackup2 /]# rsync --list-only > rsync://backupadmin@win8testvm/users > Password: > @ERROR: chdir failed > rsync error: error starting client-server protocol (code 5) at > main.c(1503) [receiver=3.0.6] > > Online research suggests that this may be a permissions issue, but I've > tried running the service both as the "Local System Account", and as > "Administrator", with no variations on the error. Any suggestions on this? > > Thanks, > > --Mark > > > -----Original Message----- > From: Mark Campbell [mailto:mca...@em...] > Sent: Tuesday, July 30, 2013 1:59 PM > To: General list for user discussion, questions and support > Subject: Re: [BackupPC-users] rsync on Windows 8? > > Andrew, > > I did fail to mention that once I decided to grab additional .dlls from > the install, that I copied over the corresponding updates to the original > files mentioned, to no avail. > > But your idea inspired me to try running the rsync that I installed in the > rsyncd directory in an administrator command line, and lo and behold, it > gave me an error message with a new missing .dll to get! Once I got that > one and dropped it in the rsyncd folder, I tried running it on the command > line again, and it gave me the rsync help menu. Once that worked, I tried > starting the service again, and it succeeded! Woo hoo! :) > > For the record (for anyone else that might be doing the same that I am > doing), these are all the files required by rsync to run as a service in > windows 8: > -cygiconv-2.dll > -cygintl-8.dll > -cygpopt-0.dll > -cygrunsrv.exe > -cygwin1.dll > -rsync.exe > -rsyncd.conf > > > > Thanks, > > --Mark > > > -----Original Message----- > From: Andrew Schulman [mailto:an...@al...] > Sent: Tuesday, July 30, 2013 1:17 PM > To: bac...@li... > Subject: Re: [BackupPC-users] rsync on Windows 8? > > > So I've been successfully backing up Windows XP, Vista & 7 machines to > my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a > windows service. Then came a Windows 8 laptop to my work. I tried to > install rsync on it like I've done with all of the other Windows flavors, > but it failed. The files are located where they should be, and the service > gets registered, but when it tries to start the service, it fails. Event > log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, > exit status: 127". Cygwin itself gave some slightly more verbose errors in > C:\var\log\rsyncd.log: > > > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygpopt-0.dll: cannot open shared object file: No such file or > > directory > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygiconv-2.dll: cannot open shared object file: No such file or > > directory > > > > Armed with both of these log entries, I downloaded the full blown > cygwin, extracted it, and found the appropriate .dlls and copied them to my > rsync directory. Then it gave me this error: > > > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > > open shared object file: No such file or directory > > > > What the deuce? I have no idea how to troubleshoot this one. Anyone > have any suggestions on how to get rsync working on Windows 8? > > Could it be that your rsyncd.exe was compiled against different versions > of those libraries? Since you've already created a full Cygwin > installation, I suggest starting by trying run the rsyncd that's in that. > If that works, then you can go back to trying to extract just the pieces > you need into a separate directory (or not). > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > |
From: Mark C. <mca...@em...> - 2013-08-01 11:51:29
|
Thanks Craig. I'll let you know what works if I come up with a solution to the problem. I run a very mixed shop, so whatever I end up with, I'll easily be able to test on 8, 7, Vista, XP, etc, including the server variants. Thanks, --Mark From: Craig Barratt [mailto:cba...@us...] Sent: Thursday, August 01, 2013 1:01 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). Craig On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...<mailto:mca...@em...>] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...<mailto:an...@al...>] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li...<mailto:bac...@li...> Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Jürgen D. <Jur...@le...> - 2013-08-01 07:40:49
|
>Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to >update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). >Craig -> Mark, did you try DeltaCopy already? It is extremely easy to configure and it 'just works': no need to install Cygwin. I use it for many years on Server 2003; I installed it yesterday on a Windows Server 2012 and it works flawlessly, so probably W8 will be fine too. http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp It is an Rsync server; if you want to secure the transfer, you'll need to look for CopSSH instead. Grts, Juergen On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li... Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Mark C. <mca...@em...> - 2013-08-01 11:48:56
|
The primary reason I have not gone the route of other programs such as deltacopy, is that these windows boxes I am backing up via backuppc are end users, as opposed to servers, and they have a bad habit of removing things they see in the tray; nor can I count on them to install something on their computer for me (some of them live in other states). With rsync/cygwin, I can push the files onto their drive via the C$ share, and create/start a service for them via the net rpc command--so they never see anything that they'd likely interfere with. Thanks, --Mark -----Original Message----- From: Jürgen Depicker [mailto:Jur...@le...] Sent: Thursday, August 01, 2013 3:28 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? >Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to >update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). >Craig -> Mark, did you try DeltaCopy already? It is extremely easy to configure and it 'just works': no need to install Cygwin. I use it for many years on Server 2003; I installed it yesterday on a Windows Server 2012 and it works flawlessly, so probably W8 will be fine too. http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp It is an Rsync server; if you want to secure the transfer, you'll need to look for CopSSH instead. Grts, Juergen On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li... Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Jürgen D. <Jur...@le...> - 2013-08-01 12:11:08
|
Dear Mark, It seems you didn't try DeltaCopy: there is nothing in the tray: I run it as a service just as you describe. By default it extracts itself to C:\DeltaCopy and then, when running DeltaS.exe, you can have it installing itself as a service. You can just as easily do as you describe in your mail: copy the DeltaCopy dir to the C$ share and register the service using the net rpc command. You can easily change access permissions on the DeltaCopy dir to make sure no regular user has access to it. Anyhow, if you configure a password which all may know, a user executing DeltaS.exe can mess up your config only till the next time you push the files :). I guess you should give it a try... Grts, Juergen -----Oorspronkelijk bericht----- Van: Mark Campbell [mailto:mca...@em...] Verzonden: donderdag 1 augustus 2013 13:49 Aan: General list for user discussion, questions and support Onderwerp: Re: [BackupPC-users] rsync on Windows 8? The primary reason I have not gone the route of other programs such as deltacopy, is that these windows boxes I am backing up via backuppc are end users, as opposed to servers, and they have a bad habit of removing things they see in the tray; nor can I count on them to install something on their computer for me (some of them live in other states). With rsync/cygwin, I can push the files onto their drive via the C$ share, and create/start a service for them via the net rpc command--so they never see anything that they'd likely interfere with. Thanks, --Mark -----Original Message----- From: Jürgen Depicker [mailto:Jur...@le...] Sent: Thursday, August 01, 2013 3:28 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? >Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to >update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). >Craig -> Mark, did you try DeltaCopy already? It is extremely easy to configure and it 'just works': no need to install Cygwin. I use it for many years on Server 2003; I installed it yesterday on a Windows Server 2012 and it works flawlessly, so probably W8 will be fine too. http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp It is an Rsync server; if you want to secure the transfer, you'll need to look for CopSSH instead. Grts, Juergen On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li... Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Kris L. <kl...@th...> - 2013-08-01 17:47:20
|
For what it's worth, Michael's solution (with a few minor tweaks to the vshadow.exe and a few others) works well on Windows 8x64. It is relatively seamless, so no installed services, and runs on-demand via winexe calls from a pre-dump script. -Kris Kris Lou kl...@th... On Thu, Aug 1, 2013 at 5:10 AM, Jürgen Depicker <Jur...@le...>wrote: > Dear Mark, > > It seems you didn't try DeltaCopy: there is nothing in the tray: I run it > as a service just as you describe. > By default it extracts itself to C:\DeltaCopy and then, when running > DeltaS.exe, you can have it installing itself as a service. > You can just as easily do as you describe in your mail: copy the DeltaCopy > dir to the C$ share and register the service using the net rpc command. You > can easily change access permissions on the DeltaCopy dir to make sure no > regular user has access to it. Anyhow, if you configure a password which > all may know, a user executing DeltaS.exe can mess up your config only till > the next time you push the files :). > > I guess you should give it a try... > > Grts, Juergen > > > -----Oorspronkelijk bericht----- > Van: Mark Campbell [mailto:mca...@em...] > Verzonden: donderdag 1 augustus 2013 13:49 > Aan: General list for user discussion, questions and support > Onderwerp: Re: [BackupPC-users] rsync on Windows 8? > > The primary reason I have not gone the route of other programs such as > deltacopy, is that these windows boxes I am backing up via backuppc are end > users, as opposed to servers, and they have a bad habit of removing things > they see in the tray; nor can I count on them to install something on their > computer for me (some of them live in other states). With rsync/cygwin, I > can push the files onto their drive via the C$ share, and create/start a > service for them via the net rpc command--so they never see anything that > they'd likely interfere with. > > Thanks, > > --Mark > > > -----Original Message----- > From: Jürgen Depicker [mailto:Jur...@le...] > Sent: Thursday, August 01, 2013 3:28 AM > To: General list for user discussion, questions and support > Subject: Re: [BackupPC-users] rsync on Windows 8? > > >Sorry I can't directly help (since I don't have a Win8 machine). But if > someone can figure out the right set of cygwin files and the right recipe - > ideally one that works across Win8, Win7 etc - then I would be happy to > >update the recently released cygwin-rsyncd package (which was helpfully > provided by Ray Frush). > > >Craig > > -> Mark, did you try DeltaCopy already? It is extremely easy to configure > and it 'just works': no need to install Cygwin. I use it for many years on > Server 2003; I installed it yesterday on a Windows Server 2012 and it works > flawlessly, so probably W8 will be fine too. > http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp > It is an Rsync server; if you want to secure the transfer, you'll need to > look for CopSSH instead. > > Grts, > Juergen > > > > > On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> > wrote: > Apparently, my issue is not as solved as hoped. The service does start up > fine now, and doing an rsync --list-only to another machine lists the > contents of the module on the remote machine just fine, but when trying to > perform a backup of this machine with BackupPC (and even when trying to do > an rsync --list-only from another machine to it), it generates the error: > > [root@emtbackup2 /]# rsync --list-only > rsync://backupadmin@win8testvm/users > Password: > @ERROR: chdir failed > rsync error: error starting client-server protocol (code 5) at > main.c(1503) [receiver=3.0.6] > > Online research suggests that this may be a permissions issue, but I've > tried running the service both as the "Local System Account", and as > "Administrator", with no variations on the error. Any suggestions on this? > > Thanks, > > --Mark > > > -----Original Message----- > From: Mark Campbell [mailto:mca...@em...] > Sent: Tuesday, July 30, 2013 1:59 PM > To: General list for user discussion, questions and support > Subject: Re: [BackupPC-users] rsync on Windows 8? > > Andrew, > > I did fail to mention that once I decided to grab additional .dlls from > the install, that I copied over the corresponding updates to the original > files mentioned, to no avail. > > But your idea inspired me to try running the rsync that I installed in the > rsyncd directory in an administrator command line, and lo and behold, it > gave me an error message with a new missing .dll to get! Once I got that > one and dropped it in the rsyncd folder, I tried running it on the command > line again, and it gave me the rsync help menu. Once that worked, I tried > starting the service again, and it succeeded! Woo hoo! :) > > For the record (for anyone else that might be doing the same that I am > doing), these are all the files required by rsync to run as a service in > windows 8: > -cygiconv-2.dll > -cygintl-8.dll > -cygpopt-0.dll > -cygrunsrv.exe > -cygwin1.dll > -rsync.exe > -rsyncd.conf > > > > Thanks, > > --Mark > > > -----Original Message----- > From: Andrew Schulman [mailto:an...@al...] > Sent: Tuesday, July 30, 2013 1:17 PM > To: bac...@li... > Subject: Re: [BackupPC-users] rsync on Windows 8? > > > So I've been successfully backing up Windows XP, Vista & 7 machines to > my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a > windows service. Then came a Windows 8 laptop to my work. I tried to > install rsync on it like I've done with all of the other Windows flavors, > but it failed. The files are located where they should be, and the service > gets registered, but when it tries to start the service, it fails. Event > log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, > exit status: 127". Cygwin itself gave some slightly more verbose errors in > C:\var\log\rsyncd.log: > > > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygpopt-0.dll: cannot open shared object file: No such file or > > directory > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygiconv-2.dll: cannot open shared object file: No such file or > > directory > > > > Armed with both of these log entries, I downloaded the full blown > cygwin, extracted it, and found the appropriate .dlls and copied them to my > rsync directory. Then it gave me this error: > > > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > > open shared object file: No such file or directory > > > > What the deuce? I have no idea how to troubleshoot this one. Anyone > have any suggestions on how to get rsync working on Windows 8? > > Could it be that your rsyncd.exe was compiled against different versions > of those libraries? Since you've already created a full Cygwin > installation, I suggest starting by trying run the rsyncd that's in that. > If that works, then you can go back to trying to extract just the pieces > you need into a separate directory (or not). > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > |
From: Mark C. <mca...@em...> - 2013-08-01 18:54:58
|
So I figured out the problem! Apparently, by adding in the new version/additional .dlls, "C:/<path>" is no longer recognized in rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, the list of files below, which were pulled from cygwin as of yesterday, are confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume that the server variants would work as well too): * cygiconv-2.dll * cygintl-8.dll * cygpopt-0.dll * cygrunsrv.exe * cygwin1.dll * rsync.exe * rsyncd.conf Thanks, --Mark From: Craig Barratt [mailto:cba...@us...] Sent: Thursday, August 01, 2013 1:01 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). Craig On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...<mailto:mca...@em...>] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...<mailto:an...@al...>] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li...<mailto:bac...@li...> Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: <bac...@ko...> - 2013-08-01 19:12:23
|
Mark Campbell wrote at about 11:54:39 -0700 on Thursday, August 1, 2013: > So I figured out the problem! Apparently, by adding in the new version/additional .dlls, "C:/<path>" is no longer recognized in rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, the list of files below, which were pulled from cygwin as of yesterday, are confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume that the server variants would work as well too): It may not be a change in the dll's... perhaps you didn't mount the 'C' drive... In any case, i find the pure *nix style path specification to be more reliable than relying on cygwin to do the conversions, especially when you are using some type of Windows (C: drive) and *nix (/ forward slash) hybrid which is incorrect on either platform alone except perhaps in the weird graciously accommodating world of cygwin. |
From: Mark C. <mca...@em...> - 2013-08-01 19:25:08
|
I'm not sure what exactly changed, but I never had to mount C: on the older version I was using. At any rate, I used the generic rsyncd.conf file found in the BackupPC docs, which were using "c:/<path>", which is why I used it. So perhaps that needs updating as well when the updated rsync binaries are added in. Thanks, --Mark -----Original Message----- From: bac...@ko... [mailto:bac...@ko...] Sent: Thursday, August 01, 2013 3:12 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Mark Campbell wrote at about 11:54:39 -0700 on Thursday, August 1, 2013: > So I figured out the problem! Apparently, by adding in the new version/additional .dlls, "C:/<path>" is no longer recognized in rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, the list of files below, which were pulled from cygwin as of yesterday, are confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume that the server variants would work as well too): It may not be a change in the dll's... perhaps you didn't mount the 'C' drive... In any case, i find the pure *nix style path specification to be more reliable than relying on cygwin to do the conversions, especially when you are using some type of Windows (C: drive) and *nix (/ forward slash) hybrid which is incorrect on either platform alone except perhaps in the weird graciously accommodating world of cygwin. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Ray F. <ray...@av...> - 2013-08-01 19:14:24
|
The BackupPC cygwin-rsyncd / 3.0.9.0 that I helped to contribute is only missing the cygintl-8.dll file. I don't have Windows 8 to test with, but without the file we've had no issues on Windows 7. cygwin-rsynd (3.0.9.0) also has the same behavior with regard to requiring /cygwin/c/<path> in the config file. Mark- Have you tried the cygwin-rsyncd package from http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0 ? It would be good to know if the package needs to be tweaked to support Windows 8. On Thu, Aug 1, 2013 at 12:54 PM, Mark Campbell <mca...@em...>wrote: > So I figured out the problem! Apparently, by adding in the new > version/additional .dlls, "C:/<path>" is no longer recognized in > rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, > the list of files below, which were pulled from cygwin as of yesterday, are > confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume > that the server variants would work as well too):**** > > **· **cygiconv-2.dll**** > > **· **cygintl-8.dll**** > > **· **cygpopt-0.dll**** > > **· **cygrunsrv.exe**** > > **· **cygwin1.dll**** > > **· **rsync.exe**** > > **· **rsyncd.conf**** > > ** ** > > Thanks,**** > > ** ** > > --Mark**** > > ** ** > > *From:* Craig Barratt [mailto:cba...@us...] > *Sent:* Thursday, August 01, 2013 1:01 AM > > *To:* General list for user discussion, questions and support > *Subject:* Re: [BackupPC-users] rsync on Windows 8?**** > > ** ** > > Sorry I can't directly help (since I don't have a Win8 machine). But if > someone can figure out the right set of cygwin files and the right recipe - > ideally one that works across Win8, Win7 etc - then I would be happy to > update the recently released cygwin-rsyncd package (which was helpfully > provided by Ray Frush).**** > > ** ** > > Craig**** > > ** ** > > On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> > wrote:**** > > Apparently, my issue is not as solved as hoped. The service does start up > fine now, and doing an rsync --list-only to another machine lists the > contents of the module on the remote machine just fine, but when trying to > perform a backup of this machine with BackupPC (and even when trying to do > an rsync --list-only from another machine to it), it generates the error: > > [root@emtbackup2 /]# rsync --list-only > rsync://backupadmin@win8testvm/users > Password: > @ERROR: chdir failed > rsync error: error starting client-server protocol (code 5) at > main.c(1503) [receiver=3.0.6] > > Online research suggests that this may be a permissions issue, but I've > tried running the service both as the "Local System Account", and as > "Administrator", with no variations on the error. Any suggestions on this? > > Thanks, > > --Mark**** > > > > -----Original Message----- > From: Mark Campbell [mailto:mca...@em...] > Sent: Tuesday, July 30, 2013 1:59 PM > To: General list for user discussion, questions and support > Subject: Re: [BackupPC-users] rsync on Windows 8? > > Andrew, > > I did fail to mention that once I decided to grab additional .dlls from > the install, that I copied over the corresponding updates to the original > files mentioned, to no avail. > > But your idea inspired me to try running the rsync that I installed in the > rsyncd directory in an administrator command line, and lo and behold, it > gave me an error message with a new missing .dll to get! Once I got that > one and dropped it in the rsyncd folder, I tried running it on the command > line again, and it gave me the rsync help menu. Once that worked, I tried > starting the service again, and it succeeded! Woo hoo! :) > > For the record (for anyone else that might be doing the same that I am > doing), these are all the files required by rsync to run as a service in > windows 8: > -cygiconv-2.dll > -cygintl-8.dll > -cygpopt-0.dll > -cygrunsrv.exe > -cygwin1.dll > -rsync.exe > -rsyncd.conf > > > > Thanks, > > --Mark > > > -----Original Message----- > From: Andrew Schulman [mailto:an...@al...] > Sent: Tuesday, July 30, 2013 1:17 PM > To: bac...@li... > Subject: Re: [BackupPC-users] rsync on Windows 8? > > > So I've been successfully backing up Windows XP, Vista & 7 machines to > my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a > windows service. Then came a Windows 8 laptop to my work. I tried to > install rsync on it like I've done with all of the other Windows flavors, > but it failed. The files are located where they should be, and the service > gets registered, but when it tries to start the service, it fails. Event > log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, > exit status: 127". Cygwin itself gave some slightly more verbose errors in > C:\var\log\rsyncd.log: > > > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygpopt-0.dll: cannot open shared object file: No such file or > > directory > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygiconv-2.dll: cannot open shared object file: No such file or > > directory > > > > Armed with both of these log entries, I downloaded the full blown > cygwin, extracted it, and found the appropriate .dlls and copied them to my > rsync directory. Then it gave me this error: > > > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > > open shared object file: No such file or directory > > > > What the deuce? I have no idea how to troubleshoot this one. Anyone > have any suggestions on how to get rsync working on Windows 8? > > Could it be that your rsyncd.exe was compiled against different versions > of those libraries? Since you've already created a full Cygwin > installation, I suggest starting by trying run the rsyncd that's in that. > If that works, then you can go back to trying to extract just the pieces > you need into a separate directory (or not). > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/**** > > ** ** > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > -- Ray Frush "Either you are part of the solution T:970.288.6223 or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer |
From: Mark C. <mca...@em...> - 2013-08-01 19:30:29
|
Ray, I can confirm that Windows 8 is NOT happy without cygintl-8.dll. When trying to start the service without this dll, it spits out the following error in C:\var\log\rsyncd.log: /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory And yes, it had just the ?, so I was utterly confused as to how to troubleshoot that, when Andrew inspired me to try running rsync directly from the command line. That was where it told me that it was missing cygintl-8.dll. Thanks, --Mark From: Ray Frush [mailto:ray...@av...] Sent: Thursday, August 01, 2013 3:14 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? The BackupPC cygwin-rsyncd / 3.0.9.0 that I helped to contribute is only missing the cygintl-8.dll file. I don't have Windows 8 to test with, but without the file we've had no issues on Windows 7. cygwin-rsynd (3.0.9.0) also has the same behavior with regard to requiring /cygwin/c/<path> in the config file. Mark- Have you tried the cygwin-rsyncd package from http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0 ? It would be good to know if the package needs to be tweaked to support Windows 8. On Thu, Aug 1, 2013 at 12:54 PM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: So I figured out the problem! Apparently, by adding in the new version/additional .dlls, "C:/<path>" is no longer recognized in rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, the list of files below, which were pulled from cygwin as of yesterday, are confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume that the server variants would work as well too): * cygiconv-2.dll * cygintl-8.dll * cygpopt-0.dll * cygrunsrv.exe * cygwin1.dll * rsync.exe * rsyncd.conf Thanks, --Mark From: Craig Barratt [mailto:cba...@us...<mailto:cba...@us...>] Sent: Thursday, August 01, 2013 1:01 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). Craig On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...<mailto:mca...@em...>] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...<mailto:an...@al...>] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li...<mailto:bac...@li...> Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Ray Frush "Either you are part of the solution T:970.288.6223 or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer |
From: Ray F. <ray...@av...> - 2013-08-01 20:35:02
|
Thanks for the followup. I'll work with Craig to get an updated rsync package released that has the missing DLL for Windows 8. May I send you a test case or two in the mean time to verify we're working in the right direction? On Thu, Aug 1, 2013 at 1:30 PM, Mark Campbell <mca...@em...>wrote: > Ray,**** > > ** ** > > I can confirm that Windows 8 is NOT happy without cygintl-8.dll. When > trying to start the service without this dll, it spits out the following > error in C:\var\log\rsyncd.log:**** > > /rsyncd/rsync.exe: error while loading shared libraries: > ?: cannot open shared object file: No such file or directory**** > > ** ** > > And yes, it had just the ?, so I was utterly confused as to how to > troubleshoot that, when Andrew inspired me to try running rsync directly > from the command line. That was where it told me that it was missing > cygintl-8.dll.**** > > ** ** > > Thanks,**** > > ** ** > > --Mark**** > > ** ** > > *From:* Ray Frush [mailto:ray...@av...] > *Sent:* Thursday, August 01, 2013 3:14 PM > > *To:* General list for user discussion, questions and support > *Subject:* Re: [BackupPC-users] rsync on Windows 8?**** > > ** ** > > ** ** > > The BackupPC cygwin-rsyncd / 3.0.9.0 that I helped to contribute is only > missing the cygintl-8.dll file. I don't have Windows 8 to test with, but > without the file we've had no issues on Windows 7. **** > > **** > > cygwin-rsynd (3.0.9.0) also has the same behavior with regard to requiring > /cygwin/c/<path> in the config file.**** > > ** ** > > Mark-**** > > ** ** > > Have you tried the cygwin-rsyncd package from > http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0 ? > It would be good to know if the package needs to be tweaked to support > Windows 8.**** > > ** ** > > ** ** > > On Thu, Aug 1, 2013 at 12:54 PM, Mark Campbell <mca...@em...> > wrote:**** > > So I figured out the problem! Apparently, by adding in the new > version/additional .dlls, "C:/<path>" is no longer recognized in > rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, > the list of files below, which were pulled from cygwin as of yesterday, are > confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume > that the server variants would work as well too):**** > > · cygiconv-2.dll**** > > · cygintl-8.dll**** > > · cygpopt-0.dll**** > > · cygrunsrv.exe**** > > · cygwin1.dll**** > > · rsync.exe**** > > · rsyncd.conf**** > > **** > > Thanks,**** > > **** > > --Mark**** > > **** > > *From:* Craig Barratt [mailto:cba...@us...] > *Sent:* Thursday, August 01, 2013 1:01 AM**** > > > *To:* General list for user discussion, questions and support > *Subject:* Re: [BackupPC-users] rsync on Windows 8?**** > > **** > > Sorry I can't directly help (since I don't have a Win8 machine). But if > someone can figure out the right set of cygwin files and the right recipe - > ideally one that works across Win8, Win7 etc - then I would be happy to > update the recently released cygwin-rsyncd package (which was helpfully > provided by Ray Frush).**** > > **** > > Craig**** > > **** > > On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...> > wrote:**** > > Apparently, my issue is not as solved as hoped. The service does start up > fine now, and doing an rsync --list-only to another machine lists the > contents of the module on the remote machine just fine, but when trying to > perform a backup of this machine with BackupPC (and even when trying to do > an rsync --list-only from another machine to it), it generates the error: > > [root@emtbackup2 /]# rsync --list-only > rsync://backupadmin@win8testvm/users > Password: > @ERROR: chdir failed > rsync error: error starting client-server protocol (code 5) at > main.c(1503) [receiver=3.0.6] > > Online research suggests that this may be a permissions issue, but I've > tried running the service both as the "Local System Account", and as > "Administrator", with no variations on the error. Any suggestions on this? > > Thanks, > > --Mark**** > > > > -----Original Message----- > From: Mark Campbell [mailto:mca...@em...] > Sent: Tuesday, July 30, 2013 1:59 PM > To: General list for user discussion, questions and support > Subject: Re: [BackupPC-users] rsync on Windows 8? > > Andrew, > > I did fail to mention that once I decided to grab additional .dlls from > the install, that I copied over the corresponding updates to the original > files mentioned, to no avail. > > But your idea inspired me to try running the rsync that I installed in the > rsyncd directory in an administrator command line, and lo and behold, it > gave me an error message with a new missing .dll to get! Once I got that > one and dropped it in the rsyncd folder, I tried running it on the command > line again, and it gave me the rsync help menu. Once that worked, I tried > starting the service again, and it succeeded! Woo hoo! :) > > For the record (for anyone else that might be doing the same that I am > doing), these are all the files required by rsync to run as a service in > windows 8: > -cygiconv-2.dll > -cygintl-8.dll > -cygpopt-0.dll > -cygrunsrv.exe > -cygwin1.dll > -rsync.exe > -rsyncd.conf > > > > Thanks, > > --Mark > > > -----Original Message----- > From: Andrew Schulman [mailto:an...@al...] > Sent: Tuesday, July 30, 2013 1:17 PM > To: bac...@li... > Subject: Re: [BackupPC-users] rsync on Windows 8? > > > So I've been successfully backing up Windows XP, Vista & 7 machines to > my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a > windows service. Then came a Windows 8 laptop to my work. I tried to > install rsync on it like I've done with all of the other Windows flavors, > but it failed. The files are located where they should be, and the service > gets registered, but when it tries to start the service, it fails. Event > log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, > exit status: 127". Cygwin itself gave some slightly more verbose errors in > C:\var\log\rsyncd.log: > > > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygpopt-0.dll: cannot open shared object file: No such file or > > directory > > /rsyncd/rsync.exe: error while loading shared libraries: > > cygiconv-2.dll: cannot open shared object file: No such file or > > directory > > > > Armed with both of these log entries, I downloaded the full blown > cygwin, extracted it, and found the appropriate .dlls and copied them to my > rsync directory. Then it gave me this error: > > > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > > open shared object file: No such file or directory > > > > What the deuce? I have no idea how to troubleshoot this one. Anyone > have any suggestions on how to get rsync working on Windows 8? > > Could it be that your rsyncd.exe was compiled against different versions > of those libraries? Since you've already created a full Cygwin > installation, I suggest starting by trying run the rsyncd that's in that. > If that works, then you can go back to trying to extract just the pieces > you need into a separate directory (or not). > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/**** > > **** > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/**** > > > > **** > > ** ** > > -- > Ray Frush "Either you are part of the solution > T:970.288.6223 or part of the precipitate." > -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- > Avago Technologies, Inc. | Technical Computing | IT Engineer **** > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > -- Ray Frush "Either you are part of the solution T:970.288.6223 or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer |
From: Mark C. <mca...@em...> - 2013-08-01 20:42:21
|
Sure, that'd be fine. Thanks, --Mark From: Ray Frush [mailto:ray...@av...] Sent: Thursday, August 01, 2013 4:35 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Thanks for the followup. I'll work with Craig to get an updated rsync package released that has the missing DLL for Windows 8. May I send you a test case or two in the mean time to verify we're working in the right direction? On Thu, Aug 1, 2013 at 1:30 PM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: Ray, I can confirm that Windows 8 is NOT happy without cygintl-8.dll. When trying to start the service without this dll, it spits out the following error in C:\var\log\rsyncd.log: /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory And yes, it had just the ?, so I was utterly confused as to how to troubleshoot that, when Andrew inspired me to try running rsync directly from the command line. That was where it told me that it was missing cygintl-8.dll. Thanks, --Mark From: Ray Frush [mailto:ray...@av...<mailto:ray...@av...>] Sent: Thursday, August 01, 2013 3:14 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? The BackupPC cygwin-rsyncd / 3.0.9.0 that I helped to contribute is only missing the cygintl-8.dll file. I don't have Windows 8 to test with, but without the file we've had no issues on Windows 7. cygwin-rsynd (3.0.9.0) also has the same behavior with regard to requiring /cygwin/c/<path> in the config file. Mark- Have you tried the cygwin-rsyncd package from http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0 ? It would be good to know if the package needs to be tweaked to support Windows 8. On Thu, Aug 1, 2013 at 12:54 PM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: So I figured out the problem! Apparently, by adding in the new version/additional .dlls, "C:/<path>" is no longer recognized in rsyncd.conf. It needs to be /cygwin/c/<path>. So, bearing that in mind, the list of files below, which were pulled from cygwin as of yesterday, are confirmed to work on Windows 8, Windows 7, and Windows XP (I would assume that the server variants would work as well too): * cygiconv-2.dll * cygintl-8.dll * cygpopt-0.dll * cygrunsrv.exe * cygwin1.dll * rsync.exe * rsyncd.conf Thanks, --Mark From: Craig Barratt [mailto:cba...@us...<mailto:cba...@us...>] Sent: Thursday, August 01, 2013 1:01 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Sorry I can't directly help (since I don't have a Win8 machine). But if someone can figure out the right set of cygwin files and the right recipe - ideally one that works across Win8, Win7 etc - then I would be happy to update the recently released cygwin-rsyncd package (which was helpfully provided by Ray Frush). Craig On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell <mca...@em...<mailto:mca...@em...>> wrote: Apparently, my issue is not as solved as hoped. The service does start up fine now, and doing an rsync --list-only to another machine lists the contents of the module on the remote machine just fine, but when trying to perform a backup of this machine with BackupPC (and even when trying to do an rsync --list-only from another machine to it), it generates the error: [root@emtbackup2 /]# rsync --list-only rsync://backupadmin@win8testvm/users Password: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6] Online research suggests that this may be a permissions issue, but I've tried running the service both as the "Local System Account", and as "Administrator", with no variations on the error. Any suggestions on this? Thanks, --Mark -----Original Message----- From: Mark Campbell [mailto:mca...@em...<mailto:mca...@em...>] Sent: Tuesday, July 30, 2013 1:59 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] rsync on Windows 8? Andrew, I did fail to mention that once I decided to grab additional .dlls from the install, that I copied over the corresponding updates to the original files mentioned, to no avail. But your idea inspired me to try running the rsync that I installed in the rsyncd directory in an administrator command line, and lo and behold, it gave me an error message with a new missing .dll to get! Once I got that one and dropped it in the rsyncd folder, I tried running it on the command line again, and it gave me the rsync help menu. Once that worked, I tried starting the service again, and it succeeded! Woo hoo! :) For the record (for anyone else that might be doing the same that I am doing), these are all the files required by rsync to run as a service in windows 8: -cygiconv-2.dll -cygintl-8.dll -cygpopt-0.dll -cygrunsrv.exe -cygwin1.dll -rsync.exe -rsyncd.conf Thanks, --Mark -----Original Message----- From: Andrew Schulman [mailto:an...@al...<mailto:an...@al...>] Sent: Tuesday, July 30, 2013 1:17 PM To: bac...@li...<mailto:bac...@li...> Subject: Re: [BackupPC-users] rsync on Windows 8? > So I've been successfully backing up Windows XP, Vista & 7 machines to my BackupPC instance using Cygwin1.dll, Cygrunsrv.exe, & rsync.exe as a windows service. Then came a Windows 8 laptop to my work. I tried to install rsync on it like I've done with all of the other Windows flavors, but it failed. The files are located where they should be, and the service gets registered, but when it tries to start the service, it fails. Event log throws up entries like "rsyncd: PID 3092: `rsyncd' service stopped, exit status: 127". Cygwin itself gave some slightly more verbose errors in C:\var\log\rsyncd.log: > > /rsyncd/rsync.exe: error while loading shared libraries: > cygpopt-0.dll: cannot open shared object file: No such file or > directory > /rsyncd/rsync.exe: error while loading shared libraries: > cygiconv-2.dll: cannot open shared object file: No such file or > directory > > Armed with both of these log entries, I downloaded the full blown cygwin, extracted it, and found the appropriate .dlls and copied them to my rsync directory. Then it gave me this error: > > /rsyncd/rsync.exe: error while loading shared libraries: ?: cannot > open shared object file: No such file or directory > > What the deuce? I have no idea how to troubleshoot this one. Anyone have any suggestions on how to get rsync working on Windows 8? Could it be that your rsyncd.exe was compiled against different versions of those libraries? Since you've already created a full Cygwin installation, I suggest starting by trying run the rsyncd that's in that. If that works, then you can go back to trying to extract just the pieces you need into a separate directory (or not). ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Ray Frush "Either you are part of the solution T:970.288.6223<tel:970.288.6223> or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Ray Frush "Either you are part of the solution T:970.288.6223 or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer |