2.2 CVS rpcclient (update)

Michael Sweet mike at easysw.com
Fri May 18 21:14:32 GMT 2001


Gerald Carter wrote:
> 
> On Fri, 18 May 2001, Michael Sweet wrote:
> 
> > Just installed the current CVS under Linux - same problem as under
> > IRIX - rpcclient looks like it is doing something, asks for a
> > password, and then exits with status 0.  The log files are not
> > touched, even at level 10 debug...
> 
> This would have been me then...
> Hmm....maybe I forgot to check something in....nope.
> 
> All I did was add a 'deldriver' command.  Does strace show
> where it is hanging?  Did you 'make realclean' before rebuilding
> rpcclient?

I did:

    rm */*.o
    rm config.cache
    ./configure ...
    make

I'll try a "realclean" tomorrow morning.

Here is the "par" output (IRIX version of strace):

par -sSS rpcclient -S localhost -U root
INFO: Debug class all level = 10   (pid 180994 from pid 180994)
doing parameter browseable = yes
doing parameter server string = Samba 2.2.0 Test Server
doing parameter hosts allow = 199.10.112. 127.
doing parameter load printers = yes
doing parameter printing = cups
doing parameter create mask = 0664
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 200
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter socket options = TCP_NODELAY
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
    0mS                (180994): was sent signal SIGUSR1
    0mS                 : received signal SIGUSR1 (handler 0x100029d8)
    0mS                 : END-pause() errno = 4 (Interrupted function
call)
    0mS                 : sigreturn(0x7fff2aa0) OK
    0mS                 : execve("/usr/people/mike/bin/rpcclient",
0x7fff2f0c, 0x7fff2f24)
    2mS                 : END-execve() errno = 2 (No such file or
directory)
    3mS                 :
execve("/development/rational/releases/DeveloperTools.DE16/mips_irix_n32/bin/rpcclient",
0x7fff2f0c, 0x7fff2f24) errno = 2 (No such file or directory)
    4mS                 : execve("/development/pcds/bin/rpcclient",
0x7fff2f0c, 0x7fff2f24) errno = 2 (No such file or directory)
    6mS                 : execve("/usr/local/bin/rpcclient", 0x7fff2f0c,
0x7fff2f24) errno = 2 (No such file or directory)
    6mS                 : execve("/usr/bsd/rpcclient", 0x7fff2f0c,
0x7fff2f24) errno = 2 (No such file or directory)
    7mS                 : execve("/bin/rpcclient", 0x7fff2f0c,
0x7fff2f24)
   12mS                 : END-execve() OK
   12mS                 : open("/lib32/rld", O_RDONLY, 04) = 3
   12mS                 : read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00
00 00 00 00>..., 512) = 512
   12mS                 : elfmap(3, 0x7fff2cf4, 2) = 0xfb60000
   13mS                 : close(3) OK
   13mS                 : getpagesize() = 4096
   13mS                 : open("/dev/zero", O_RDONLY, 0) = 3
   14mS                 : mmap(0xfbdb000, 20480, PROT_WRITE|PROT_READ,
MAP_PRIVATE, 3, 0) = 0xfbdb000
   14mS                 : close(3) OK
   15mS                 : sysinfo(_MIPS_SI_PROCESSORS, 0x7fff2d70, 257)
= 10
   16mS                 : open("/usr/lib32/libgen.so", O_RDONLY, 05) = 3
   16mS                 : read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00
00 00 00 00>..., 512) = 512
   17mS                 : elfmap(3, 0x7fff0fb0, 2) = 0xf920000
   17mS                 : close(3) OK
   18mS                 : open("/usr/lib32/libcups.so.2", O_RDONLY, 05)
= 3
   18mS                 : read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00
00 00 00 00>..., 512) = 512
   18mS                 : elfmap(3, 0x7fff0fb0, 2) = 0x5ff10000
   18mS                 : close(3) OK
   19mS                 : open("/usr/lib32/libdl.so", O_RDONLY, 05) = 3
   19mS                 : read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00
00 00 00 00>..., 512) = 512
   19mS                 : elfmap(3, 0x7fff0fb0, 2) = 0xf940000
   19mS                 : close(3) OK
   40mS                 : syssgi(SGI_TOSSTSAVE) OK
   41mS                 : syssgi(SGI_USE_FP_BCOPY, 0, 0x400, 0xffffffff,
0x400, 0) = 0
   42mS                 : getpagesize() = 4096
   42mS                 : brk(0x10163000) OK
   45mS                 : stat("/etc/samba/smb.conf", 0x7ffeff00) OK
   48mS                 : open("/etc/samba/smb.conf", O_RDONLY, 021) = 3
   49mS                 : fstat(3, 0x7fff0230) OK
   49mS                 : brk(0x10165000) OK
   49mS                 : read(3, "# This is the main Samba confi",
8950) = 8950
   50mS                 : close(3) OK
   52mS                 : getpid() = 180994, ppid=184474
   52mS                 : getpid() = 180994, ppid=184474
   53mS                 : write(1, "INFO: Debug class all level = ", 64)
= 64
   54mS                 : write(1, "doing parameter browseable = y", 33)
= 33
   56mS                 : write(1, "doing parameter server string ", 56)
= 56
   57mS                 : write(1, "doing parameter hosts allow = ", 47)
= 47
   58mS                 : write(1, "doing parameter load printers ", 36)
= 36
   59mS                 : write(1, "doing parameter printing = cup", 32)
= 32
   61mS                 : write(1, "doing parameter create mask = ", 35)
= 35
   62mS                 : write(1, "doing parameter log file = /va", 49)
= 49
   64mS                 : write(1, "doing parameter max log size =", 35)
= 35
   65mS                 : write(1, "doing parameter security = use", 32)
= 32
   66mS                 : write(1, "doing parameter encrypt passwo", 40)
= 40
   67mS                 : write(1, "doing parameter socket options", 45)
= 45
   69mS                 : write(1, "doing parameter domain master ", 36)
= 36
   70mS                 : write(1, "doing parameter preferred mast", 39)
= 39
   72mS                 : write(1, "doing parameter dns proxy = no", 31)
= 31
   75mS                 : write(1, "pm_process() returned Yes\n", 26) =
26
   75mS                 : write(1, "lp_servicenumber: couldn't fin", 38)
= 38
   76mS                 :
stat("/usr/share/samba/codepages/codepage.850", 0x7fff06a8) OK
   77mS                 :
open("/usr/share/samba/codepages/codepage.850", O_RDONLY, 0) = 3
   77mS                 : read(3, <01 00 52 03 7c 00 00 00>, 8) = 8
   77mS                 : read(3, <85 b7 01 01 a0 b5 01 01 83 b6 01 01
c6 c7 01 01>..., 124) = 124
   77mS                 : close(3) OK
   78mS                 :
stat("/usr/share/samba/codepages/unicode_map.850", 0x7fff0550) OK
   78mS                 :
open("/usr/share/samba/codepages/unicode_map.850", O_RDONLY, 0666) = 3
   79mS                 : fstat(3, 0x7ffeffb0) OK
   80mS                 : brk(0x10169000) OK
   80mS                 : ioctl(3, __OLD_TCGETA, 0x7ffeff50) errno = 25
(Inappropriate I/O control operation)
   80mS                 : read(3, <01 80 38 35 30 00 00 00 00 00 00 00
00 00 00 00>..., 16384) = 16384
   82mS                 : brk(0x10189000) OK
Enter Password:    83mS                 : read(3, 0x1016ca7a, 114688)
  122mS                 : END-read(3,
"\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_", 114688) = 114688
  122mS                 : read(3,
"\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_\0_", 16384) = 542
  181mS                 : close(3) OK
  182mS                 : socket(PF_INET, SOCK_DGRAM, 0) = 3
  182mS                 : ioctl(3, SIOCGIFCONF, 0x7ffeda70) OK
  182mS                 : ioctl(3, SIOCGIFADDR, 0x7ffeda98) OK
  182mS                 : ioctl(3, SIOCGIFFLAGS, 0x7ffeda98) OK
  182mS                 : ioctl(3, SIOCGIFNETMASK, 0x7ffeda98) OK
  182mS                 : ioctl(3, SIOCGIFADDR, 0x7ffeda78) OK
  182mS                 : ioctl(3, SIOCGIFFLAGS, 0x7ffeda78) OK
  182mS                 : ioctl(3, SIOCGIFNETMASK, 0x7ffeda78) OK
  182mS                 : close(3) OK
  183mS                 : time() = 990220181
  184mS                 : gethostname("bravo.easysw.com", 1024) OK
  240mS                 : open("/dev/tty", O_RDONLY, 0666) = 3
  240mS                 : sigaction(SIGINT, {flags=0 handler=0xfa95330
mask=[<none>]}, {flags=0 handler=SIG_DFL mask=[<none>]}) OK
  241mS                 : ioctl(3, __NEW_TCGETA, 0x7fff0780)
  245mS                 : END-ioctl(3, __NEW_TCGETA, <bad indirect
__new_termio param - len 30>) OK
  245mS                 : ioctl(3, __NEW_TCSETAF, <bad indirect
__new_termio param - len 30>) OK
  245mS                 : write(2, "Enter Password: ", 16) = 16

  246mS                 : read(3, 0xfb50460, 1)
 3931mS                 : END-read(3, "x", 1) = 1
  ...
 3932mS                 : read(3, "\n", 1) = 1
 3932mS                 : ioctl(3, __NEW_TCSETAW, <bad indirect
__new_termio param - len 30>) OK
 3933mS                 : write(2, "\n", 1) = 1
 3933mS                 : sigaction(SIGINT, {flags=0 handler=SIG_DFL
mask=[<none>]}, 0) OK
 3933mS                 : close(3) OK
 3952mS                 : getpid() = 180994, ppid=184474
 3952mS                 : brk(0x10199000) OK
 3952mS                 : brk(0x101a9000) OK
 3959mS                 : open("/etc/samba/lmhosts", O_RDONLY, 0666)
errno = 2 (No such file or directory)
 3960mS                 : brk(0x101ad000) OK
 3960mS                 : stat("/etc/hosts", 0x7ffefa00) OK
 3961mS                 : open("/var/ns/cache/hosts.byname", O_RDONLY,
0400) errno = 2 (No such file or directory)
 3961mS                 : open("/ns/.local/hosts.byname/-S", O_RDONLY,
02005425130)
 3970mS                 : END-open() errno = 5 (I/O error)
 3971mS                 : open("/ns/.local/hosts.byname/-S", O_RDONLY,
01755103100)
 3973mS                 : END-open() errno = 2 (No such file or
directory)
 3973mS                 : getmountid("/ns/.local/hosts.byname",
0x7ffef860) OK
 3973mS                 : stat("/etc/hosts", 0x7ffefa00) OK
 3973mS                 : open("/var/ns/cache/hosts.byname", O_RDONLY,
0400) errno = 2 (No such file or directory)
 3974mS                 : open("/ns/.local/hosts.byname/-s", O_RDONLY,
02005425130)
 3978mS                 : END-open() errno = 5 (I/O error)
 3978mS                 : open("/ns/.local/hosts.byname/-s", O_RDONLY,
01755103100) errno = 2 (No such file or directory)
 3980mS                 : getmountid("/ns/.local/hosts.byname",
0x7ffef860) OK
 3980mS                 : stat("/etc/hosts", 0x7ffefa00) OK
 3980mS                 : open("/var/ns/cache/hosts.byname", O_RDONLY,
0400) errno = 2 (No such file or directory)
 3980mS                 : open("/ns/.local/hosts.byname/-S", O_RDONLY,
02005425130)
 3984mS                 : END-open() errno = 5 (I/O error)
 3984mS                 : open("/ns/.local/hosts.byname/-S", O_RDONLY,
01755103100) errno = 2 (No such file or directory)
 3986mS                 : getmountid("/ns/.local/hosts.byname",
0x7ffef860) OK
 3987mS                 : gethostname("bravo.easysw.com", 256) OK
 3988mS                 : stat("/etc/hosts", 0x7ffef540) OK
 3988mS                 : open("/var/ns/cache/hosts.byname", O_RDONLY,
0400) errno = 2 (No such file or directory)
 3988mS                 :
open("/ns/.local/hosts.byname/bravo.easysw.com", O_RDONLY, 02005426330)
 3992mS                 : END-open() = 3
 3992mS                 : read(3, 0x101a8cc0, 16384)
 3995mS                 : END-read(3, "199.10.112.130\tbravo.easysw.co",
16384) = 38
 3995mS                 : close(3) OK
 3997mS                 : socket(PF_INET, SOCK_DGRAM, 0) = 3
 3997mS                 : setsockopt(3, SOL_SOCKET,
SO_REUSEADDR|IP_TTL(0x4), 0x7ffefabc, 0x4) OK
 3997mS                 : setsockopt(3, SOL_SOCKET,
SO_REUSEPORT|SO_ORDREL(0x200), 0x7ffefabc, 0x4) OK
 3997mS                 : bind(3, {sin_family=AF_INET, sin_port=0,
sin_addr=0.0.0.0}, 16) OK
 3998mS                 : setsockopt(3, SOL_SOCKET, SO_BROADCAST,
0x7ffefb04, 0x4) OK
 3998mS                 : getsockopt(3, SOL_SOCKET,
SO_KEEPALIVE|IP_RETOPTS(0x8), 0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET,
SO_REUSEADDR|IP_TTL(0x4), 0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_BROADCAST,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, IPPROTO_TCP,
SO_DEBUG|IP_OPTIONS|TCP_NODELAY(0x1), 0x7ffef9b8, 0x7ffef9b0) errno = 22
(Invalid argument)
 3998mS                 : getsockopt(3, IPPROTO_IP, IP_TOS, 0x7ffef9b8,
0x7ffef9b0) OK
 3998mS                 : getsockopt(3, IPPROTO_IP, IP_TOS, 0x7ffef9b8,
0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET,
SO_REUSEPORT|SO_ORDREL(0x200), 0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_SNDBUF,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_RCVBUF,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_SNDLOWAT,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_RCVLOWAT,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_SNDTIMEO,
0x7ffef9b8, 0x7ffef9b0) OK
 3998mS                 : getsockopt(3, SOL_SOCKET, SO_RCVTIMEO,
0x7ffef9b8, 0x7ffef9b0) OK
 3999mS                 : time() = 990220185
 3999mS                 : gettimeofday({sec=990220185, usec=172934}) OK
 4000mS                 : sendto(3, <16 d5 01 10 00 01 00 00 00 00 00 00
20 43 4e 46>..., 50, 0, {sin_family=AF_INET, sin_port=137,
sin_addr=199.10.112.255}, 16) = 50
 4001mS                 : gettimeofday({sec=990220185, usec=174967}) OK
 4002mS                 : pipe() = 4, 5
 4002mS                 : fcntl(4, F_GETFL) = 0
 4002mS                 : fcntl(4, F_SETFL, FNONBLOCK) OK
 4002mS                 : fcntl(5, F_GETFL) = 0x1
 4002mS                 : fcntl(5, F_SETFL, FNONBLOCK(0x81)) OK
 4002mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4095mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4096mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4096mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4097mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4097mS                 : fstat(6, 0x7ffef5b8) OK
 4097mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4098mS                 : lseek(6, 40, SEEK_SET) = 40
 4098mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4098mS                 : munmap(0x4000000, 8192) OK
 4099mS                 : close(6) OK
 4099mS                 : gettimeofday({sec=990220185, usec=274120}) OK
 4099mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4203mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4203mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4204mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4204mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4204mS                 : fstat(6, 0x7ffef5b8) OK
 4204mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4205mS                 : lseek(6, 40, SEEK_SET) = 40
 4205mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4205mS                 : munmap(0x4000000, 8192) OK
 4205mS                 : close(6) OK
 4206mS                 : gettimeofday({sec=990220185, usec=382595}) OK
 4206mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4302mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4302mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4302mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4303mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4303mS                 : fstat(6, 0x7ffef5b8) OK
 4303mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4303mS                 : lseek(6, 40, SEEK_SET) = 40
 4303mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4303mS                 : munmap(0x4000000, 8192) OK
 4304mS                 : close(6) OK
 4304mS                 : gettimeofday({sec=990220185, usec=482329}) OK
 4304mS                 : sendto(3, <16 d5 01 10 00 01 00 00 00 00 00 00
20 43 4e 46>..., 50, 0, {sin_family=AF_INET, sin_port=137,
sin_addr=199.10.112.255}, 16) = 50
 4305mS                 : gettimeofday({sec=990220185, usec=483151}) OK
 4305mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4400mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4400mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4400mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4401mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4401mS                 : fstat(6, 0x7ffef5b8) OK
 4401mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4401mS                 : lseek(6, 40, SEEK_SET) = 40
 4401mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4402mS                 : munmap(0x4000000, 8192) OK
 4402mS                 : close(6) OK
 4402mS                 : gettimeofday({sec=990220185, usec=582087}) OK
 4402mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4498mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4499mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4499mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4499mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4499mS                 : fstat(6, 0x7ffef5b8) OK
 4499mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4499mS                 : lseek(6, 40, SEEK_SET) = 40
 4500mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4500mS                 : munmap(0x4000000, 8192) OK
 4500mS                 : close(6) OK
 4500mS                 : gettimeofday({sec=990220185, usec=681690}) OK
 4500mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4597mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4597mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4597mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4597mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4598mS                 : fstat(6, 0x7ffef5b8) OK
 4598mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4598mS                 : lseek(6, 40, SEEK_SET) = 40
 4598mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4598mS                 : munmap(0x4000000, 8192) OK
 4598mS                 : close(6) OK
 4598mS                 : gettimeofday({sec=990220185, usec=781699}) OK
 4599mS                 : sendto(3, <16 d5 01 10 00 01 00 00 00 00 00 00
20 43 4e 46>..., 50, 0, {sin_family=AF_INET, sin_port=137,
sin_addr=199.10.112.255}, 16) = 50
 4599mS                 : gettimeofday({sec=990220185, usec=782558}) OK
 4599mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4698mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4698mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4698mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4699mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4699mS                 : fstat(6, 0x7ffef5b8) OK
 4699mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4699mS                 : lseek(6, 40, SEEK_SET) = 40
 4699mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4700mS                 : munmap(0x4000000, 8192) OK
 4700mS                 : close(6) OK
 4700mS                 : gettimeofday({sec=990220185, usec=884633}) OK
 4700mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4794mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4794mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4794mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4794mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4794mS                 : fstat(6, 0x7ffef5b8) OK
 4795mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4795mS                 : lseek(6, 40, SEEK_SET) = 40
 4795mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4795mS                 : munmap(0x4000000, 8192) OK
 4795mS                 : close(6) OK
 4795mS                 : gettimeofday({sec=990220185, usec=981739}) OK
 4795mS                 : select(5, [3:4], 0, 0, {sec=0, usec=90000})
 4892mS                 : END-select(5, [<empty>], 0, 0, 0x7ffef690) = 0
 4892mS                 : stat("/var/lock/samba", 0x7ffef5d0) OK
 4893mS                 : open("/var/lock/samba/unexpected.tdb",
O_RDONLY, 0) = 6
 4893mS                 : read(6, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 168) = 168
 4893mS                 : fstat(6, 0x7ffef5b8) OK
 4893mS                 : mmap(0, 8192, PROT_READ, MAP_SHARED, 6, 0) =
0x4000000
 4893mS                 : lseek(6, 40, SEEK_SET) = 40
 4893mS                 : write(6, "\0\0\0\0", 4) errno = 9 (Bad file
number)
 4894mS                 : munmap(0x4000000, 8192) OK
 4894mS                 : close(6) OK
 4894mS                 : gettimeofday({sec=990220186, usec=82059}) OK
 4894mS                 : close(3) OK
 4894mS                 : prctl(PR_LASTSHEXIT) = 1
 4895mS                 : exit(0)

System call summary:
                        Average     Total
Name           #Calls  Time(ms)  Time(ms)
-----------------------------------------
read               28    133.30   3732.53
select              9     96.82    871.34
open               30      1.10     33.10
execve              6      1.90     11.41
ioctl              11      0.48      5.28
stat               16      0.22      3.60
write              28      0.12      3.37
close              21      0.12      2.50
mmap               10      0.19      1.91
munmap              9      0.16      1.44
fstat              11      0.10      1.11
getmountid          3      0.33      0.98
sendto              3      0.28      0.84
elfmap              4      0.17      0.68
bind                1      0.59      0.59
brk                 7      0.08      0.55
gettimeofday       13      0.02      0.26
socket              2      0.12      0.25
getsockopt         13      0.02      0.24
lseek               9      0.02      0.16
syssgi              2      0.07      0.14
pipe                1      0.11      0.11
sigaction           2      0.04      0.08
gethostname         2      0.04      0.08
setsockopt          3      0.02      0.07
fcntl               4      0.02      0.06
time                2      0.02      0.03
getpid              3      0.01      0.03
sigreturn           1      0.03      0.03
getpagesize         2      0.01      0.03
sysinfo             1      0.02      0.02
prctl               1      0.02      0.02
exit                1      0.00      0.00

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products                  mike at easysw.com
Printing Software for UNIX                       http://www.easysw.com




More information about the samba-technical mailing list