Re: Value too large for defined data type
Would it help to build with SunPro cc compiler using the -xarch=v9 option? This will build a native 64 bit binary. Cheers, David On Wed, 9 Oct 2002, jw schultz wrote: On Wed, Oct 09, 2002 at 07:26:44AM -0700, [EMAIL PROTECTED] wrote: Howdy, I am just starting to use rsync and now have an rsync server set up to back up our various machines. I recently started getting an error that is confusing and I can't find info documented on it. I searched the news group and found it mentioned but no solution yet. I get the error when sync'ing from a Solaris 8 machine to my Solaris 8 server. stat space/sunpci/drives/F.drive/docs/StorNext/LinuxPort/devfs.README.txt : Value too large for defined data type stat space/sunpci/drives/F.drive/docs/StorNext/StorNextNotes.doc : Value too large for defined data type I also see the same error going from our IRIX 6.5.15 machine, and the error is seen on a directory vs a file: stat apps1/fsdev.cliff/jleuschner/phoenix/ver_2.1.0B57/phtm/ver : Value too large for defined data type stat apps1/fsdev.cliff/jleuschner/phoenix/ver_2.1.0B57/phtm/ver/CVS : Value too large for defined data type More fields were enlarged in stat than just filesize. I'm guessing but i'd say your rsync was built with HAVE_OFFSET64_T undefined. As near as i can tell this message appears to be comming from libc (i don't have an AIX or Solaris machine to check). The enlarged field could be one that rsync doesn't care about but you might want to rebuild rsync making sure that HAVE_OFFSET64_T is defined so that it uses stat64. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Value too large for defined data type
Not likely. If i correctly diagnosed his problem it is the syscall/library interface and datatypes. That is correctable by a build option. Sure, but this build option probably declares the data types to be the same size as if you compile in native 64 bit mode. David It should be noted that very few sites even have the SunPro compiler. Having correct binaries depend on the proprietary, and overpriced, compiler would exclude most potential users. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: rsync 2.5.5 segmentation fault on Linux x86.
Did you have a look at the core file? Building unstripped rsycn and then debug the core should give you some ideas. The large number you are getting may be caused by memory corruption. Usually it's pretty obvious which environment variable is the problem. I think that you really mean process limits rather then environment variables. That could be. Some applications do not like having some of their limit being unlimited especially stack and datasize. The cron job has its limits most likely different from your interactive shell. So one thing to try is to set the limits in the cron job the same as your shell environment. I would first type 'limit' under csh or tcsh. Then in a simple uu.sh script set the same limits, all of them, just before the rsync command itself and submit the script to cron. Cheers, David On 1 Oct 2002, Erik Enge wrote: Paul Haas [EMAIL PROTECTED] writes: Then I run it once interactively and once through cron and compare stuff. Usually it's pretty obvious which environment variable is the problem. I also noticed in the logs that rsync exists with exit code 12: Oct 1 01:31:59 backup-server inetd[1282]: pid 1935: exit status 12 Oct 1 02:06:37 backup-server rsyncd[1936]: wrote 32 bytes read 831588069 bytes total size 36516321121 Does that tell us anything more of what might be the problem? Erik. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: pulling data from the server
Hello, the man page lists as valid argument: rsync [OPTION]... [USER@]HOST::SRC [DEST] but if I do it I still have problems. 94:david@u050 /export/david rsync --port 9876 -v u018::treeA /export/david Ahoj! client: nothing to do: perhaps you need to specify some filenames or the --recursive option? Can somebody please send me couple of examples? Thank you, David -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: pulling data from the server
Thank you. I have read that, but how to use it the first time is not obvious at all. I am pretty sure that you experienced the frustration of using new software and you cannot find the example that you really need in the man page. Or you want to make me believe that the first time you read the man page of tar or dump, you got it right away? :-) Cheers, David On Thu, 26 Sep 2002 [EMAIL PROTECTED] wrote: The module is considered a directory (since that's what it is), and unless you're going recursive, directories are ignored. try this one: rsync --port 9876 -v u018::treeA/* /tmp or, if you want everything in the module treeA rsync --port 9876 -av u018::treeA /tmp I prefer implying -r with -a, as that also preserves permissions, times, and ownerships, if they can translate (and you're root). I don't mean the inclusion below as an RTFM, just to point out what, among the 1848 lines in the man page, you're looking for: -r, --recursive This tells rsync to copy directories recursively. If you don't specify this then rsync won't copy direc- tories at all. SunOS 5.7 Last change: 25 Jan 20028 User Commandsrsync(1) Oh, and I'm ccing the list so people know the progress on your question. Tim Conway [EMAIL PROTECTED] 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? David Bigagli -Bokis- [EMAIL PROTECTED] 09/26/2002 10:10 AM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject:Re: pulling data from the server Classification: Thank you but what is the correct command line? I tried: rsync --port 9876 -v u018::treeA /tmp but it still does not work. 71:david@u050 /export/david rsync --port 9876 -v u018::treeA /tmp/a client: nothing to do: perhaps you need to specify some filenames or the --recursive option? Cheers, David On Thu, 26 Sep 2002 [EMAIL PROTECTED] wrote: David: Your commandline is in the listing form. If you add a destination to the line, files will actually be copied. ++ ofor listing files on a remote machine. This is done the same way as rsync transfers except that you leave off the local destination. Note that in all cases (other than listing) at least one of the source and destination paths must be local. SETUP See the file README for installation instructions. SunOS 5.7Last change: 1 Mar 19992 User Commandsrsync(1) ++ Tim Conway [EMAIL PROTECTED] 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? David Bigagli -Bokis- [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/25/2002 02:37 PM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:pulling data from the server Classification: Hi all, I have started the rsync in deamon mode. When I use the following command: rsync --port 9876 u018::treeA it seems to work fine but no files are copied from the server. Using rsync without the deamon works fine. I tried to debug it a little bit, but I am unable to figure out what's wrong. 337:david@u050 /export/treeA rsync -r -vvv --port 9876 u018::treeA opening tcp connection to u018 port 9876 Ahoj! receiving file list ... recv_file_name(.) recv_file_name(a) received 2 names done drwxr-xr-x512 2002/09/25 15:20:18 . -rw-r--r-- 9 2002/09/25 15:20:18 a recv_file_list done get_local_name count=2 NULL recv_files(2) starting generator starting pid=197 count=2 generate_files phase=1 recv_files phase=1 generate_files phase=2 recv_files finished wrote 63 bytes read 74 bytes 274.00 bytes/sec total size is 9 speedup is 0.70 _exit_cleanup(code=0, file=main.c, line=925): about to call exit(0) What am I doing wrong? Thank you very much. David -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http
pulling data from the server
Hi all, I have started the rsync in deamon mode. When I use the following command: rsync --port 9876 u018::treeA it seems to work fine but no files are copied from the server. Using rsync without the deamon works fine. I tried to debug it a little bit, but I am unable to figure out what's wrong. 337:david@u050 /export/treeA rsync -r -vvv --port 9876 u018::treeA opening tcp connection to u018 port 9876 Ahoj! receiving file list ... recv_file_name(.) recv_file_name(a) received 2 names done drwxr-xr-x512 2002/09/25 15:20:18 . -rw-r--r-- 9 2002/09/25 15:20:18 a recv_file_list done get_local_name count=2 NULL recv_files(2) starting generator starting pid=197 count=2 generate_files phase=1 recv_files phase=1 generate_files phase=2 recv_files finished wrote 63 bytes read 74 bytes 274.00 bytes/sec total size is 9 speedup is 0.70 _exit_cleanup(code=0, file=main.c, line=925): about to call exit(0) What am I doing wrong? Thank you very much. David -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html