Bug 4807 - No transfer of single files out of a module on Itanium IA64
Summary: No transfer of single files out of a module on Itanium IA64
Status: RESOLVED WORKSFORME
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.9
Hardware: IA64 HP-UX
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 10:50 UTC by Frank Doepper
Modified: 2007-07-24 09:28 UTC (History)
0 users

See Also:


Attachments
Test File attachment (12 bytes, text/plain)
2007-07-23 09:44 UTC, Gerald (Jerry) Carter (dead mail address)
no flags Details
output of rsync compile run (24.70 KB, text/plain)
2007-07-24 03:37 UTC, Frank Doepper
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Doepper 2007-07-20 10:50:14 UTC
rsync 2.6.9 is installed on two HP9000 rx7620 servers. On one server rsyncd is running. The following command should transfer a single file.(e.g. list the file).
Instead of doing this the whole directory is transfered (e.g. listed)
an1nlf4a:/tmp/tom#rsync -Lvvvv an1nlf4b::root_s9_6_3_0_5/rsync.exclude
opening tcp connection to an1nlf4b port 873
opening connection using --server --sender -vvvvL --list-only . root_s9_6_3_0_5/rsync.exclude
(Client) Protocol versions: remote=29, negotiated=29
note: iconv_open("HP-ROMAN8", "HP-ROMAN8") succeeded.
server_sender starting pid=29411
[sender] make_file(.,*,2)
recv_file_name(.)
[sender] make_file(C,*,2)
recv_file_name(C)
[sender] make_file(LocalDisk,*,2)
recv_file_name(LocalDisk)
[sender] make_file(TopFiles,*,2)
recv_file_name(TopFiles)
[sender] make_file(bin,*,2)
recv_file_name(bin)
[sender] make_file(boot,*,2)
recv_file_name(boot)
[sender] make_file(ccs,*,2)
recv_file_name(ccs)
[sender] make_file(dev,*,2)
recv_file_name(dev)
[sender] make_file(etc,*,2)
recv_file_name(etc)
[sender] make_file(events,*,2)
recv_file_name(events)
[sender] make_file(fpgafiles,*,2)
recv_file_name(fpgafiles)
[sender] make_file(home,*,2)
recv_file_name(home)
[sender] make_file(hprt,*,2)
recv_file_name(hprt)
[sender] make_file(hw,*,2)
recv_file_name(hw)
[sender] make_file(hw_tlistedit,*,2)
recv_file_name(hw_tlistedit)
[sender] make_file(initrd,*,2)
recv_file_name(initrd)
[sender] make_file(lib,*,2)
recv_file_name(lib)
[sender] make_file(media,*,2)
recv_file_name(media)
[sender] make_file(mnt,*,2)
recv_file_name(mnt)
[sender] make_file(opt,*,2)
recv_file_name(opt)
[sender] make_file(proc,*,2)
recv_file_name(proc)
[sender] make_file(master_date,*,2)
recv_file_name(master_date)
[sender] make_file(master_date_consequences.txt,*,2)
recv_file_name(master_date_consequences.txt)
[sender] make_file(master_date_consequences.txt~,*,2)
recv_file_name(master_date_consequences.txt~)
[sender] make_file(master_date_version.txt,*,2)
recv_file_name(master_date_version.txt)
[sender] make_file(master_date_version.txt~,*,2)
recv_file_name(master_date_version.txt~)
[sender] make_file(master_date~,*,2)
recv_file_name(master_date~)
[sender] make_file(ni_remove.txt,*,2)
recv_file_name(ni_remove.txt)
[sender] make_file(nivxi_add.tgz,*,2)
recv_file_name(nivxi_add.tgz)
[sender] make_file(root,*,2)
recv_file_name(root)
[sender] make_file(sbin,*,2)
recv_file_name(sbin)
[sender] make_file(srv,*,2)
recv_file_name(srv)
[sender] make_file(sys,*,2)
recv_file_name(sys)
[sender] make_file(tmp,*,2)
recv_file_name(tmp)
[sender] make_file(usr,*,2)
recv_file_name(usr)
[sender] make_file(var,*,2)
recv_file_name(var)
[sender] make_file(rsync.exclude,*,2)
recv_file_name(rsync.exclude)
[sender] make_file(rsync.exclude.light,*,2)
recv_file_name(rsync.exclude.light)
[sender] make_file(rsync.exclude~,*,2)
recv_file_name(rsync.exclude~)
[sender] make_file(var.tar.gz,*,2)
recv_file_name(var.tar.gz)
[sender] make_file(versiontable.txt,*,2)
recv_file_name(versiontable.txt)
[sender] make_file(versiontable.txt~,*,2)
recv_file_name(versiontable.txt~)
received 42 names
[receiver] i=0 0 ./ mode=040755 len=1024 flags=9
[receiver] i=1 1 master_date mode=0100644 len=11 flags=0
[receiver] i=2 1 master_date_consequences.txt mode=0100664 len=1284 flags=0
[receiver] i=3 1 master_date_consequences.txt~ mode=0100664 len=1191 flags=0
[receiver] i=4 1 master_date_version.txt mode=0100664 len=33628 flags=0
[receiver] i=5 1 master_date_version.txt~ mode=0100664 len=33549 flags=0
[receiver] i=6 1 master_date~ mode=0100644 len=11 flags=0
[receiver] i=7 1 ni_remove.txt mode=0100664 len=34499 flags=0
[receiver] i=8 1 nivxi_add.tgz mode=0100664 len=1362 flags=0
[receiver] i=9 1 rsync.exclude mode=0100664 len=8553 flags=0
[receiver] i=10 1 rsync.exclude.light mode=0100664 len=1133 flags=0
[receiver] i=11 1 rsync.exclude~ mode=0100664 len=8538 flags=0
[receiver] i=12 1 var.tar.gz mode=0100664 len=7151 flags=0
[receiver] i=13 1 versiontable.txt mode=0100664 len=71 flags=0
[receiver] i=14 1 versiontable.txt~ mode=0100664 len=71 flags=0
drwxr-xr-x         96 2005/07/25 07:42:49 C
drwxr-xr-x         96 2005/05/11 10:51:07 LocalDisk
drwxrwxr-x         96 2005/11/08 13:16:14 TopFiles
drwxr-xr-x       2048 2006/06/22 10:49:47 bin
drwxr-xr-x       1024 2007/04/24 15:47:03 boot
drwxr-xr-x         96 2005/05/10 14:30:11 ccs
drwxr-xr-x     133120 2006/07/17 18:22:49 dev
drwxr-xr-x       5120 2007/04/20 10:22:20 etc
drwxrwxr-x         96 2006/07/17 18:40:04 events
drwxrwxr-x         96 2005/11/09 11:25:21 fpgafiles
drwxr-xr-x         96 2007/01/25 12:14:30 home
drwxr-xr-x         96 2005/05/10 14:42:47 hprt
drwxr-xr-x         96 2005/05/10 14:30:11 hw
drwxr-xr-x         96 2005/05/10 14:30:11 hw_tlistedit
drwxrwxr-x         96 2005/07/28 14:54:40 initrd
drwxr-xr-x       3072 2007/03/26 11:02:35 lib
drwxr-xr-x       1024 2005/07/15 15:10:24 media
drwxr-xr-x         96 2004/06/30 20:43:37 mnt
drwxr-xr-x         96 2005/10/24 17:55:12 opt
dr-xr-xr-x         96 2005/11/17 15:10:26 proc
drwx------       2048 2007/04/20 11:42:35 root
drwxr-xr-x       5120 2006/09/26 15:25:44 sbin
drwxr-xr-x         96 2005/05/09 06:56:43 srv
drwxr-xr-x         96 2005/05/09 06:54:48 sys
drwxrwxrwt         96 2007/04/20 11:16:52 tmp
drwxr-xr-x       1024 2005/07/28 12:02:21 usr
drwxr-xr-x       1024 2005/07/28 12:14:08 var
recv_file_list done
get_local_name count=42 <NULL>
generator starting pid=6822 count=42
delta-transmission enabled
generate_files phase=1
recv_files(42) starting
send_file_list done
send_files starting
send_files phase=1
recv_files phase=1
generate_files phase=2
send_files phase=2
recv_files phase=2
generate_files phase=3
send files finished
total: matches=0  hash_hits=0  false_alarms=0 data=0
recv_files finished
generate_files finished

sent 114 bytes  received 2560 bytes  5348.00 bytes/sec
total size is 131052  speedup is 49.01
_exit_cleanup(code=0, file=main.c, line=1385): entered
_exit_cleanup(code=0, file=main.c, line=1385): about to call exit(0)
an1nlf4a:/tmp/tom#
Comment 1 Wayne Davison 2007-07-20 14:30:24 UTC
Are you sure that rsync.exclude isn't a directory?  Try requesting rsync.exclude/rsync.exclude (after the module/).

Also, you didn't specify a destination, so you didn't request a transfer (just a file listing).  You must add '.' (the current dir) or some other destination to request a copy.
Comment 2 Frank Doepper 2007-07-23 06:27:12 UTC
(In reply to comment #1)
> Are you sure that rsync.exclude isn't a directory?  Try requesting
> rsync.exclude/rsync.exclude (after the module/).
> Also, you didn't specify a destination, so you didn't request a transfer (just
> a file listing).  You must add '.' (the current dir) or some other destination
> to request a copy.

Hi Wayne!

The effect in case of listing and transfer is the same. If I set a destination the whole directory is tranfered if I don't set the destination I get the listing below.

Colleges of a diiffrent plant of our company reported no problems with rsync 2.6.9 on a IA32 system (Proliant DL380) running SUSE LINUX SLES 9 (same action)

rsync.exclude is a file. See the modules directory listing below:



an1nlf4b:/daten/master_filesystem/root_s9_6_3_0_5#ll
total 592
drwxr-xr-x   3 root       root            96 Jul 25  2005 C
drwxr-xr-x   6 root       root            96 May 11  2005 LocalDisk
drwxrwxr-x   2 root       root            96 Nov  8  2005 TopFiles
drwxr-xr-x   2 root       root          2048 Jun 22  2006 bin
drwxr-xr-x   3 root       root          1024 Apr 24 15:47 boot
drwxr-xr-x   3 root       root            96 May 10  2005 ccs
drwxr-xr-x  34 root       root        133120 Jul 17  2006 dev
drwxr-xr-x  53 root       root          5120 Apr 20 10:22 etc
drwxrwxr-x   2 root       root            96 Jul 17  2006 events
drwxrwxr-x   2 root       root            96 Nov  9  2005 fpgafiles
drwxr-xr-x   5 root       root            96 Jan 25 12:14 home
drwxr-xr-x   3 root       root            96 May 10  2005 hprt
drwxr-xr-x   2 root       root            96 May 10  2005 hw
drwxr-xr-x   2 root       root            96 May 10  2005 hw_tlistedit
drwxrwxr-x   2 root       root            96 Jul 28  2005 initrd
drwxr-xr-x  11 root       root          3072 Mar 26 11:02 lib
-rw-r--r--   1 root       root            11 Apr 24 15:50 master_date
-rw-rw-r--   1 root       root          1284 Jan 25 15:59 master_date_consequences.txt
-rw-rw-r--   1 root       root          1191 Jan 25 15:57 master_date_consequences.txt~
-rw-rw-r--   1 root       root         33628 May  3 09:37 master_date_version.txt
-rw-rw-r--   1 root       root         33549 Apr 24 15:50 master_date_version.txt~
-rw-r--r--   1 root       root            11 Apr 23 16:30 master_date~
drwxr-xr-x   7 root       root          1024 Jul 15  2005 media
drwxr-xr-x   2 root       root            96 Jun 30  2004 mnt
-rw-rw-r--   1 root       root         34499 Jan  9  2006 ni_remove.txt
-rw-rw-r--   1 root       root          1362 Nov  9  2005 nivxi_add.tgz
drwxr-xr-x   6 root       root            96 Oct 24  2005 opt
dr-xr-xr-x   2 root       root            96 Nov 17  2005 proc
drwx------  30 root       root          2048 Apr 20 11:42 root
-rw-rw-r--   1 root       root          8553 Dec 11  2006 rsync.exclude
-rw-rw-r--   1 root       root          1133 Jun 30  2006 rsync.exclude.light
-rw-rw-r--   1 root       root          8538 Jul 27  2006 rsync.exclude~
drwxr-xr-x   3 root       root          5120 Sep 26  2006 sbin
drwxr-xr-x   4 root       root            96 May  9  2005 srv
drwxr-xr-x   2 root       root            96 May  9  2005 sys
drwxrwxrwt   6 root       root            96 Apr 20 11:16 tmp
drwxr-xr-x  12 root       root          1024 Jul 28  2005 usr
drwxr-xr-x  13 root       root          1024 Jul 28  2005 var
-rw-rw-r--   1 root       root          7151 Apr 20 11:39 var.tar.gz
-rw-rw-r--   1 root       root            71 Apr 18 11:55 versiontable.txt
-rw-rw-r--   1 root       root            71 Apr 18 11:23 versiontable.txt~
an1nlf4b:/daten/master_filesystem/root_s9_6_3_0_5#
Comment 3 Gerald (Jerry) Carter (dead mail address) 2007-07-23 09:44:13 UTC
Created attachment 2838 [details]
Test File attachment
Comment 4 Frank Doepper 2007-07-24 03:37:22 UTC
Created attachment 2839 [details]
output of rsync compile run
Comment 5 Frank Doepper 2007-07-24 03:53:59 UTC
(In reply to comment #3)
> Created an attachment (id=2838) [edit]
> Test File attachment
> 

Hi Wayne, hi Jerry!

I received the same error with MS Internet Explorer again but with Firefox I was able to attach the file.
 The file shows the output of a compile run of rsync 2.6.9. We downloaded the sources and recompiled them on a HP 9000 rx2600 and now it works fine.

We downloaded before the depot file for HPUX 11i v2 (11.23) itanium 2 from
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.9/
This depot seems to be the problem for our misbehavior of rsync.
As you can see we compiled now with aCC from HP.

We found this hint in the readme:
Note that on some systems you will have to force configure not to use
gcc because gcc may not support some features (such as 64 bit file
offsets) that your system may support. Set the environment variable CC
to the name of your native compiler before running configure in this
case.

Pehaphs this depot was compiled with gcc.

Frank Döpper
Comment 6 Wayne Davison 2007-07-24 09:28:01 UTC
That's some pretty weird behavior.  I'm glad that you got it to work normally.