par Slap » 18 Mars 2004 03:34
[root@sme-v6 root]# strace smbstatus
<BR>
<BR>execve("/usr/bin/smbstatus", ["smbstatus"], [/* 21 vars */]) = 0
<BR>uname({sys="Linux", node="sme-v6", ...}) = 0
<BR>brk(0) = 0x80cfac8
<BR>open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
<BR>open("/etc/ld.so.cache", O_RDONLY) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=12692, ...}) = 0
<BR>old_mmap(NULL, 12692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000
<BR>close(3) = 0
<BR>open("/lib/libdl.so.2", O_RDONLY) = 3
<BR>read(3, "177ELF1110000000003030100026030"..., 1024) = 1024
<BR>fstat64(3, {st_mode=S_IFREG|0755, st_size=11728, ...}) = 0
<BR>old_mmap(NULL, 11300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40017000
<BR>mprotect(0x40019000, 3108, PROT_NONE) = 0
<BR>old_mmap(0x40019000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40019000
<BR>close(3) = 0
<BR>open("/lib/libnsl.so.1", O_RDONLY) = 3
<BR>read(3, "177ELF11100000000030301000 :0000"..., 1024) = 1024
<BR>fstat64(3, {st_mode=S_IFREG|0755, st_size=85262, ...}) = 0
<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
<BR>old_mmap(NULL, 80508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001b000
<BR>mprotect(0x4002c000, 10876, PROT_NONE) = 0
<BR>old_mmap(0x4002c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x4002c000
<BR>old_mmap(0x4002d000, 6780, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4002d000
<BR>close(3) = 0
<BR>open("/lib/libpam.so.0", O_RDONLY) = 3
<BR>read(3, "177ELF1110000000003030100020250"..., 1024) = 1024
<BR>fstat64(3, {st_mode=S_IFREG|0755, st_size=35698, ...}) = 0
<BR>old_mmap(NULL, 32648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002f000
<BR>mprotect(0x40036000, 3976, PROT_NONE) = 0
<BR>old_mmap(0x40036000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x40036000
<BR>close(3) = 0
<BR>open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
<BR>read(3, "177ELF11100000000030301000p210000"..., 1024) = 1024
<BR>fstat64(3, {st_mode=S_IFREG|0755, st_size=29376, ...}) = 0
<BR>old_mmap(NULL, 27192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40037000
<BR>mprotect(0x4003d000, 2616, PROT_NONE) = 0
<BR>old_mmap(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x4003d000
<BR>close(3) = 0
<BR>open("/lib/libc.so.6", O_RDONLY) = 3
<BR>read(3, "177ELF11100000000030301000hr1000"..., 1024) = 1024
<BR>fstat64(3, {st_mode=S_IFREG|0755, st_size=1344152, ...}) = 0
<BR>old_mmap(NULL, 1207648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003e000
<BR>mprotect(0x4015c000, 36192, PROT_NONE) = 0
<BR>old_mmap(0x4015c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11e000) = 0x4015c000
<BR>old_mmap(0x40161000, 15712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40161000
<BR>close(3) = 0
<BR>munmap(0x40013000, 12692) = 0
<BR>brk(0) = 0x80cfac8
<BR>brk(0x80cfaf8) = 0x80cfaf8
<BR>brk(0x80d0000) = 0x80d0000
<BR>time(NULL) = 1079577676
<BR>open("/etc/localtime", O_RDONLY) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
<BR>read(3, "TZif0000000000000000000f000f0"..., 4096) = 1082
<BR>brk(0x80d1000) = 0x80d1000
<BR>close(3) = 0
<BR>munmap(0x40013000, 4096) = 0
<BR>gettimeofday({1079577676, 985277}, NULL) = 0
<BR>getuid32() = 0
<BR>geteuid32() = 0
<BR>stat64("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=2423, ...}) = 0
<BR>open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=2423, ...}) = 0
<BR>read(3, "#-------------------------------"..., 2423) = 2423
<BR>close(3) = 0
<BR>brk(0x80d2000) = 0x80d2000
<BR>stat64("/usr/share/samba/codepages/unicode_map.ISO8859-1", {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>open("/usr/share/samba/codepages/unicode_map.ISO8859-1", O_RDONLY|O_LARGEFILE) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
<BR>read(3, "1200ISO8859-100000000000020000200"..., 4096) = 4096
<BR>old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40165000
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 126976) = 126976
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 4096) = 542
<BR>close(3) = 0
<BR>munmap(0x40013000, 4096) = 0
<BR>stat64("/usr/share/samba/codepages/unicode_map.ISO8859-1", {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>open("/usr/share/samba/codepages/unicode_map.ISO8859-1", O_RDONLY|O_LARGEFILE) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
<BR>read(3, "1200ISO8859-100000000000020000200"..., 4096) = 4096
<BR>munmap(0x40165000, 135168) = 0
<BR>old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40165000
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 126976) = 126976
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 4096) = 542
<BR>close(3) = 0
<BR>munmap(0x40013000, 4096) = 0
<BR>stat64("/usr/share/samba/codepages/codepage.850", {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
<BR>open("/usr/share/samba/codepages/codepage.850", O_RDONLY|O_LARGEFILE) = 3
<BR>read(3, "10R3|000", <IMG SRC="images/smiles/icon_cool.gif"> = 8
<BR>read(3, "20526711240265112032661130630711204216"..., 124) = 124
<BR>close(3) = 0
<BR>stat64("/usr/share/samba/codepages/unicode_map.850", {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>open("/usr/share/samba/codepages/unicode_map.850", O_RDONLY|O_LARGEFILE) = 3
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=131614, ...}) = 0
<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
<BR>read(3, "120085000000000000000000020000"..., 4096) = 4096
<BR>old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40186000
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 126976) = 126976
<BR>read(3, "_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"..., 4096) = 542
<BR>close(3) = 0
<BR>munmap(0x40013000, 4096) = 0
<BR>brk(0x80d3000) = 0x80d3000
<BR>brk(0x80d4000) = 0x80d4000
<BR>brk(0x80d5000) = 0x80d5000
<BR>stat64("/var/cache/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
<BR>open("/var/cache/samba/connections.tdb", O_RDONLY|O_LARGEFILE) = 3
<BR>read(3, "TDB filen0000000000000000000000"..., 168) = 168
<BR>fstat64(3, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
<BR>mmap2(NULL, 8192, PROT_READ, MAP_SHARED, 3, 0) = 0x40013000
<BR>write(1, "nSamba version 2.2.8an", 22
<BR>Samba version 2.2.8a
<BR>) = 22
<BR>write(1, "Service uid gid p"..., 47Service uid gid pid machine
<BR>) = 47
<BR>write(1, "--------------------------------"..., 47----------------------------------------------
<BR>) = 47
<BR>write(1, "n", 1
<BR>) = 1
<BR>stat64("/var/cache/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
<BR>open("/var/cache/samba/brlock.tdb", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
<BR>write(2, "Failed to open byte range lockin"..., 43Failed to open byte range locking database
<BR>) = 43
<BR>stat64("/var/cache/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
<BR>open("/var/cache/samba/locking.tdb", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
<BR>write(2, "ERROR: Failed to initialise lock"..., 45ERROR: Failed to initialise locking database
<BR>) = 45
<BR>write(1, "Can't initialise locking module "..., 42Can't initialise locking module - exiting
<BR>) = 42
<BR>_exit(1) = ?
<BR>[root@sme-v6 root]#
<BR>