Krsnendu dasa wrote: > I install rsync using the msi installer. > When I try to run the service from windows Administrative > tools/services it gives me the message. > "The rsyncd service on Local Computer started and then stopped. Some > services stop automatically if they have no work for example the > Performance logs and Alerts service. > > When I try to start it from the command line I get the error: > > C:\Documents and Settings\Krsnendu>cygrunsrv -S rsyncd > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error > 1062: > The service has not been started. > > What's happening? > > It used to work fine previously but because of conflicts with > cygwin1.dll in NX Client I stopped it and only recently tried > reinstalling it. That last line says it all!!
Firstly, i suggest using the cygwin-rsyncd package from the BackupPC site itself. It is as simple as extracting a zip file to c:\rsyncd and then running a batch file to install it as a service. http://sourceforge.net/project/showfiles.php?group_id=34854 Second, make sure only 1 cygwin1.dll is in your path. Third..... I had issues too with this sort of thing. Except mine was related to another project call usbpc. Basically that was a site on the internet which gave you a KDE desktop for free, but you would need to install some client software (which included a version of the NX Client, which uses cygwin). After i realised it was not what i wanted i uninstalled it and thought everything would be ok. Then all hell broke loose. My Cygwin X server would not run, erroring out. But not all the time. To cut a long story short the problem was.... The NX Client from usbpc was installed to an external drive. It modified the registry entires in the cygwin folders and changed the location of the tmp directory to the external drive. When i had the external drive plugged in, X would work. When i didn't X would fail. Once i removed the registry entry which was overwriting /tmp in cygwin everything was fine. My guess is that you still have some left over registry entries from the NX client install which are causing the crash. so, best bet would be to remove cygwin, delete all references left behind in the registry for cygwin and NX Client (removing and reinstalling cygwin is not enough) and then reinstall. Hope that helps, Regards, Les ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/