Re: Odd failure of smbd to start from init.d - CentOS 5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Les,

At risk of clogging mail boxes, see below, and note this line in the middle:

open("/var/cache/samba/messages.tdb", O_RDWR|O_CREAT, 0600) = -1 EACCES (Permission denied)

Now, if I copy that modified smb file elsewhere and run it, for one
difference output stops without returning to prompt at:

[pid  5525] fcntl(20, F_GETFL)          = 0 (flags O_RDONLY)
[pid  5525] fcntl(20, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid  5525] fcntl(21, F_GETFL)          = 0x1 (flags O_WRONLY)
[pid  5525] fcntl(21, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
[pid  5525] select(21, [19 20], NULL, NULL, NULL

and if I ctrl-C it there I get:

 <unfinished ...>
strace: ptrace(PTRACE_CONT,1,133): Input/output error
Process 5526 detached
strace: ptrace(PTRACE_CONT,1,133): Input/output error
Process 5525 detached

but smbd is then running. 

Also running it from outside /etc/init.d gives a _lot_ of lines which aren't
in the output below, which look like:

fcntl(14, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=456, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=456, len=1}) = 0
fcntl(14, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=512, len=1}) = 0

So there is something about how the same file, from the same root shell,
behaves from a different location in the file tree. As for the permissions
on /var/cache/samba/, they are the same on the CentOS 5.4 and Redhat 5.4:

drwxr-xr-x 5 root root

The messages.tbd file there is -rw------- 1 root root on both Redhat and
CentOS, and changing it to be more permissive does not fix the problem.

Here's the strace starting it from /etc/init.d/smb:

# ./smb restart
Shutting down SMB services:                                [FAILED]         ( -- wasn't running )
Shutting down NMB services:                                [  OK  ]
Starting SMB services: execve("/usr/sbin/smbd", ["smbd", "-D"], [/* 20 vars */]) = 0
brk(0)                                  = 0x2b04bb416000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04ae987000
uname({sys="Linux", node="r2d2.eis.local", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=37268, ...}) = 0
mmap(NULL, 37268, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b04ae988000
close(3)                                = 0
open("/usr/lib64/libldap-2.3.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\277\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=238568, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04ae992000
mmap(NULL, 2333936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04aeb88000
mprotect(0x2b04aebc0000, 2097152, PROT_NONE) = 0
mmap(0x2b04aedc0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38000) = 0x2b04aedc0000
close(3)                                = 0
open("/usr/lib64/liblber-2.3.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2400\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=56776, ...}) = 0
mmap(NULL, 2152168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04aedc2000
mprotect(0x2b04aedcf000, 2097152, PROT_NONE) = 0
mmap(0x2b04aefcf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x2b04aefcf000
close(3)                                = 0
open("/usr/lib64/libgssapi_krb5.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\222\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=188328, ...}) = 0
mmap(NULL, 2283888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04aefd0000
mprotect(0x2b04aeffc000, 2097152, PROT_NONE) = 0
mmap(0x2b04af1fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x2b04af1fc000
close(3)                                = 0
open("/usr/lib64/libkrb5.so.3", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\221\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=611280, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04af1fe000
mmap(NULL, 2706624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04af1ff000
mprotect(0x2b04af290000, 2097152, PROT_NONE) = 0
mmap(0x2b04af490000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x91000) = 0x2b04af490000
close(3)                                = 0
open("/usr/lib64/libk5crypto.so.3", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=151080, ...}) = 0
mmap(NULL, 2247432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04af494000
mprotect(0x2b04af4b8000, 2093056, PROT_NONE) = 0
mmap(0x2b04af6b7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x2b04af6b7000
close(3)                                = 0
open("/lib64/libcom_err.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\n\200\226=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=10000, ...}) = 0
mmap(NULL, 2103048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04af6b9000
mprotect(0x2b04af6bb000, 2093056, PROT_NONE) = 0
mmap(0x2b04af8ba000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2b04af8ba000
close(3)                                = 0
open("/usr/lib64/libcups.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\271\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=228672, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04af8bb000
mmap(NULL, 2324152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04af8bc000
mprotect(0x2b04af8f1000, 2097152, PROT_NONE) = 0
mmap(0x2b04afaf1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35000) = 0x2b04afaf1000
close(3)                                = 0
open("/usr/lib64/libz.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\36\0\225=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=85608, ...}) = 0
mmap(NULL, 2178600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04afaf4000
mprotect(0x2b04afb08000, 2093056, PROT_NONE) = 0
mmap(0x2b04afd07000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x2b04afd07000
close(3)                                = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=142696, ...}) = 0
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04afd08000
mprotect(0x2b04afd1e000, 2093056, PROT_NONE) = 0
mmap(0x2b04aff1d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2b04aff1d000
mmap(0x2b04aff1f000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04aff1f000
close(3)                                = 0
open("/lib64/libm.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=611880, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04aff23000
mmap(NULL, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04aff24000
mprotect(0x2b04affa6000, 2093056, PROT_NONE) = 0
mmap(0x2b04b01a5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x2b04b01a5000
close(3)                                = 0
open("/lib64/libcrypt.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\t\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=45728, ...}) = 0
mmap(NULL, 2322880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b01a7000
mprotect(0x2b04b01b0000, 2093056, PROT_NONE) = 0
mmap(0x2b04b03af000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x2b04b03af000
mmap(0x2b04b03b1000, 184768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b03b1000
close(3)                                = 0
open("/lib64/libpam.so.0", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300$\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=44472, ...}) = 0
mmap(NULL, 2140040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b03df000
mprotect(0x2b04b03ea000, 2093056, PROT_NONE) = 0
mmap(0x2b04b05e9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x2b04b05e9000
close(3)                                = 0
open("/lib64/libattr.so.1", O_RDONLY)   = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\17@\226=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=17888, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b05ea000
mmap(NULL, 2110728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b05eb000
mprotect(0x2b04b05ef000, 2093056, PROT_NONE) = 0
mmap(0x2b04b07ee000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x2b04b07ee000
close(3)                                = 0
open("/lib64/libacl.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\30\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=25624, ...}) = 0
mmap(NULL, 2120904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b07ef000
mprotect(0x2b04b07f5000, 2093056, PROT_NONE) = 0
mmap(0x2b04b09f4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x2b04b09f4000
close(3)                                = 0
open("/lib64/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2402\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=89800, ...}) = 0
mmap(NULL, 2181864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b09f5000
mprotect(0x2b04b0a06000, 2097152, PROT_NONE) = 0
mmap(0x2b04b0c06000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x2b04b0c06000
mmap(0x2b04b0c08000, 6888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b0c08000
close(3)                                = 0
open("/lib64/libnsl.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240@\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=111480, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b0c0a000
mmap(NULL, 2194096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b0c0b000
mprotect(0x2b04b0c20000, 2093056, PROT_NONE) = 0
mmap(0x2b04b0e1f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x2b04b0e1f000
mmap(0x2b04b0e21000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b0e21000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=20424, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b0e23000
mprotect(0x2b04b0e25000, 2097152, PROT_NONE) = 0
mmap(0x2b04b1025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b04b1025000
close(3)                                = 0
open("/usr/lib64/libpopt.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\27\200\231=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=34240, ...}) = 0
mmap(NULL, 2127312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b1027000
mprotect(0x2b04b102e000, 2097152, PROT_NONE) = 0
mmap(0x2b04b122e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x2b04b122e000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1712216, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b122f000
mmap(NULL, 3498328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b1230000
mprotect(0x2b04b137e000, 2093056, PROT_NONE) = 0
mmap(0x2b04b157d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x2b04b157d000
mmap(0x2b04b1582000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b1582000
close(3)                                = 0
open("/usr/lib64/libsasl2.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340F\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=103096, ...}) = 0
mmap(NULL, 2198544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b1587000
mprotect(0x2b04b159f000, 2097152, PROT_NONE) = 0
mmap(0x2b04b179f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x2b04b179f000
close(3)                                = 0
open("/lib64/libssl.so.6", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200-\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=312344, ...}) = 0
mmap(NULL, 2407792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b17a0000
mprotect(0x2b04b17e6000, 2097152, PROT_NONE) = 0
mmap(0x2b04b19e6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x46000) = 0x2b04b19e6000
close(3)                                = 0
open("/lib64/libcrypto.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\232\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1363952, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b19ec000
mmap(NULL, 3475344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b19ed000
mprotect(0x2b04b1b1a000, 2093056, PROT_NONE) = 0
mmap(0x2b04b1d19000, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c000) = 0x2b04b1d19000
mmap(0x2b04b1d3a000, 14224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b1d3a000
close(3)                                = 0
open("/usr/lib64/libkrb5support.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=33224, ...}) = 0
mmap(NULL, 2128592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b1d3e000
mprotect(0x2b04b1d46000, 2093056, PROT_NONE) = 0
mmap(0x2b04b1f45000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x2b04b1f45000
close(3)                                = 0
open("/lib64/libkeyutils.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\n@\226=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=9472, ...}) = 0
mmap(NULL, 2102416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b1f46000
mprotect(0x2b04b1f48000, 2093056, PROT_NONE) = 0
mmap(0x2b04b2147000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2b04b2147000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b2148000
open("/usr/lib64/libgnutls.so.13", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\332\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=540320, ...}) = 0
mmap(NULL, 2635816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b2149000
mprotect(0x2b04b21c3000, 2093056, PROT_NONE) = 0
mmap(0x2b04b23c2000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x79000) = 0x2b04b23c2000
close(3)                                = 0
open("/lib64/libaudit.so.0", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340&\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=96600, ...}) = 0
mmap(NULL, 2191888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b23cd000
mprotect(0x2b04b23e4000, 2093056, PROT_NONE) = 0
mmap(0x2b04b25e3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x2b04b25e3000
close(3)                                = 0
open("/lib64/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`E@\224=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=95464, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b25e5000
mmap(NULL, 2192784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b25e6000
mprotect(0x2b04b25fb000, 2097152, PROT_NONE) = 0
mmap(0x2b04b27fb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2b04b27fb000
mmap(0x2b04b27fd000, 1424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b27fd000
close(3)                                = 0
open("/usr/lib64/tls/x86_64/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fffbc7affb0) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib64/x86_64/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/x86_64", 0x7fffbc7affb0) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgcrypt.so.11", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0m\200\227=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=468328, ...}) = 0
mmap(NULL, 2562432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b27fe000
mprotect(0x2b04b286d000, 2093056, PROT_NONE) = 0
mmap(0x2b04b2a6c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e000) = 0x2b04b2a6c000
close(3)                                = 0
open("/usr/lib64/tls/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgpg-error.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\7@\225=\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15208, ...}) = 0
mmap(NULL, 2108192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b2a70000
mprotect(0x2b04b2a73000, 2093056, PROT_NONE) = 0
mmap(0x2b04b2c72000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b04b2c72000
close(3)                                = 0
open("/lib64/libsepol.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@=\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=245232, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b2c73000
mmap(NULL, 2383168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b04b2c74000
mprotect(0x2b04b2caf000, 2097152, PROT_NONE) = 0
mmap(0x2b04b2eaf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x2b04b2eaf000
mmap(0x2b04b2eb0000, 40256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b04b2eb0000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b2eba000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b2ebb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b2ebc000
arch_prctl(ARCH_SET_FS, 0x2b04b2ebbb20) = 0
mprotect(0x2b04b157d000, 16384, PROT_READ) = 0
mprotect(0x2b04b1025000, 4096, PROT_READ) = 0
mprotect(0x2b04b0e1f000, 4096, PROT_READ) = 0
mprotect(0x2b04b0c06000, 4096, PROT_READ) = 0
mprotect(0x2b04b03af000, 4096, PROT_READ) = 0
mprotect(0x2b04b01a5000, 4096, PROT_READ) = 0
mprotect(0x2b04aff1d000, 4096, PROT_READ) = 0
mprotect(0x2b04aeb86000, 4096, PROT_READ) = 0
munmap(0x2b04ae988000, 37268)           = 0
set_tid_address(0x2b04b2ebbbb0)         = 5454
set_robust_list(0x2b04b2ebbbc0, 0x18)   = 0
futex(0x7fffbc7b28cc, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x2b04afd0d380, [], SA_RESTORER|SA_SIGINFO, 0x2b04afd16b10}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2b04afd0d2b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2b04afd16b10}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x2b04bb416000
brk(0x2b04bb437000)                     = 0x2b04bb437000
access("/etc/selinux/", F_OK)           = 0
open("/etc/selinux/config", O_RDONLY)   = -1 EACCES (Permission denied)
open("/proc/mounts", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04ae988000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 4096) = 688
close(3)                                = 0
munmap(0x2b04ae988000, 4096)            = 0
open("/selinux/mls", O_RDONLY)          = -1 EACCES (Permission denied)
open("/usr/lib64/samba/upcase.dat", O_RDONLY) = 3
mmap(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0x2b04ae993000
close(3)                                = 0
open("/usr/lib64/samba/lowcase.dat", O_RDONLY) = 3
mmap(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0x2b04ae9b3000
close(3)                                = 0
open("/etc/localtime", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04ae9d3000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 3519
lseek(3, -2252, SEEK_CUR)               = 1267
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 2252
close(3)                                = 0
munmap(0x2b04ae9d3000, 4096)            = 0
geteuid()                               = 0
getegid()                               = 0
open("/dev/urandom", O_RDONLY)          = 3
setresuid(0, 0, 0)                      = 0
setuid(0)                               = 0
geteuid()                               = 0
getuid()                                = 0
setresgid(0, 0, 0)                      = 0
setgid(0)                               = 0
getegid()                               = 0
getgid()                                = 0
rt_sigaction(SIGSEGV, {0x2b04ae59d550, [SEGV], SA_RESTORER|SA_RESTART, 0x2b04afd16b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x2b04ae59d550, [BUS], SA_RESTORER|SA_RESTART, 0x2b04afd16b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0x2b04ae59d550, [ABRT], SA_RESTORER|SA_RESTART, 0x2b04afd16b10}, {SIG_DFL, [], 0}, 8) = 0
mkdir("/var/log/samba/cores", 0700)     = -1 EEXIST (File exists)
mkdir("/var/log/samba/cores/smbd", 0700) = -1 EEXIST (File exists)
getgid()                                = 0
getuid()                                = 0
chown("/var/log/samba/cores/smbd", 0, 0) = 0
chmod("/var/log/samba/cores/smbd", 0700) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=RLIM_INFINITY}) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=RLIM_INFINITY}) = 0
prctl(0x4, 0x1, 0, 0xffffffffffffffff, 0x3) = 0
rt_sigaction(SIGTERM, {0x2b04ae662fd0, [TERM], SA_RESTORER|SA_RESTART, 0x2b04afd16b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x2b04ae662fb0, [HUP], SA_RESTORER|SA_RESTART, 0x2b04afd16b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [PIPE], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [FPE], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR2], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [USR1], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
umask(0)                                = 022
geteuid()                               = 0
getegid()                               = 0
getgid()                                = 0
getegid()                               = 0
setresgid(4294967295, 0, 4294967295)    = 0
getegid()                               = 0
setgid(0)                               = 0
getgroups(0, 0x7fffbc7b2634)            = 7
getgroups(7, [0, 1, 2, 3, 4, 6, 10])    = 7
setresgid(0, 0, 4294967295)             = 0
getegid()                               = 0
getgid()                                = 0
umask(022)                              = 0
open("/var/log/samba/smbd.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 4
umask(0)                                = 022
dup2(4, 2)                              = 2
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
geteuid()                               = 0
write(4, "[2010/05/25 19:22:26, 0] smbd/se"..., 49) = 49
geteuid()                               = 0
write(4, "  smbd version 3.0.33-3.28.el5 s"..., 40) = 40
geteuid()                               = 0
write(4, "  Copyright Andrew Tridgell and "..., 57) = 57
umask(022)                              = 0
open("/var/log/samba/smbd.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 5
close(4)                                = 0
umask(0)                                = 022
dup2(5, 2)                              = 2
stat("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=10018, ...}) = 0
uname({sys="Linux", node="r2d2.eis.local", ...}) = 0
open("/etc/samba/smb.conf", O_RDONLY)   = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=10018, ...}) = 0
read(4, "# This is the main Samba configu"..., 10018) = 10018
close(4)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=56432752, ...}) = 0
mmap(NULL, 56432752, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b04b2ebd000
close(4)                                = 0
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=25464, ...}) = 0
mmap(NULL, 25464, PROT_READ, MAP_SHARED, 4, 0) = 0x2b04b648f000
close(4)                                = 0
futex(0x2b04b1581f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib64/gconv/UTF-16.so", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\5\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=10208, ...}) = 0
mmap(NULL, 2105400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b04b6496000
mprotect(0x2b04b6498000, 2093056, PROT_NONE) = 0
mmap(0x2b04b6697000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0x2b04b6697000
close(4)                                = 0
open("/usr/lib64/gconv/IBM850.so", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\4\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=10184, ...}) = 0
mmap(NULL, 2105376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b04b6699000
mprotect(0x2b04b669b000, 2093056, PROT_NONE) = 0
mmap(0x2b04b689a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0x2b04b689a000
close(4)                                = 0
brk(0x2b04bb458000)                     = 0x2b04bb458000
brk(0x2b04bb479000)                     = 0x2b04bb479000
open("/usr/lib64/samba/valid.dat", O_RDONLY) = 4
mmap(NULL, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x2b04b689c000
close(4)                                = 0
futex(0x2b04afaf35ec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/root/.cups/client.conf", O_RDONLY) = -1 EACCES (Permission denied)
open("/root/.cupsrc", O_RDONLY)         = -1 EACCES (Permission denied)
open("/etc/cups/client.conf", O_RDONLY) = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
stat("/var/run/cups/cups.sock", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b68ac000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x2b04b68ac000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=37268, ...}) = 0
mmap(NULL, 37268, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b04b68ac000
close(4)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0
mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b04b68b6000
mprotect(0x2b04b68c0000, 2093056, PROT_NONE) = 0
mmap(0x2b04b6abf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2b04b6abf000
close(4)                                = 0
mprotect(0x2b04b6abf000, 4096, PROT_READ) = 0
munmap(0x2b04b68ac000, 37268)           = 0
open("/etc/services", O_RDONLY)         = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=362031, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b68ac000
read(4, "# /etc/services:\n# $Id: services"..., 4096) = 4096
read(4, "rotocol\nntp\t\t123/tcp\nntp\t\t123/ud"..., 4096) = 4096
close(4)                                = 0
munmap(0x2b04b68ac000, 4096)            = 0
rt_sigaction(SIGPIPE, {0x1, [], SA_RESTORER, 0x2b04afd16b10}, NULL, 8) = 0
access("/etc/gcrypt/fips_enabled", F_OK) = -1 ENOENT (No such file or directory)
open("/proc/sys/crypto/fips_enabled", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04b68ac000
read(4, "0\n", 4096)                    = 2
close(4)                                = 0
munmap(0x2b04b68ac000, 4096)            = 0
brk(0x2b04bb49a000)                     = 0x2b04bb49a000
brk(0x2b04bb4bb000)                     = 0x2b04bb4bb000
access("/dev/random", R_OK)             = 0
access("/dev/urandom", R_OK)            = 0
open("/dev/urandom", O_RDONLY)          = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\301\242\312\1\226\335\211u\321\242.M\337\322$pt\351;\211v\347!\31KH\314\324\31_(\222"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\21R\37\353\34f$n\344\251\315\275\r\4\260\331\257\360\t\225p\264u\340\31u\206-\363\36^\6"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "/7\330\360\214=g\234_a\374o\17\336\267\342\276\315y\361\265}\252\305\302\265\314J<\323\334\373"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\36y\304sx\264r\360\334\362lkY\345=\311\202\252\247\245\304\233\354\31\263\215\261<A\37\273\223"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\17\222\250\236\227c-B\254\263z\10\254/h^L\264\32\206V-\212\16'\322Y\6\206J\360\25"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\377\274<\274Q\276\1\271\200\251~\10\206\360On\262\0[\1\331\21\230t\214\320\370!\342F~!"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "Fc\233\367\235\276\311`\324%\343\342\207\334Pm\3144\310\230`\204O^axq!\204\rF\370"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\217\357\274\356\207\222e\317?|1KO\177\2000\350\227D\245\32G|\331\273\255\337\225\35\300\240\277"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\227\344\204\355\301+\3C\02374\21#\200\330\353\334\346p$8\373\266\265%\327\236\365zb(\7"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, ">\227w\274\221\\U\262$\252%0\332\302 \251t\270\273\270\224Iz\270\243_\24\324\245g\237\217"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\244\tJ\202\236\307\302\r\335\336\264\246\2529Yp%\315\32G\225\35\16c65,\263\271\244\247m"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\305\20\271Y\361AG\366\260i\377\3262\250=:\17\311P\3473p\2621;R\240b\220\375w?"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\r\311.\231\325\32\257\224\277\230\346\317\323\315\272B\245\217\253\222\224\275\335\250\341\3165\20\320\237\253\354"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\360)\315\337\207\345G\202)\na\205\353\32\240\23\5\372\260\230\235\247\206%\6r\323C\2479\177\267"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\\\315z\346\331\221\302E\343\361,F\203H\3\211\300\360\203\357\343\212\365f\32277\262,*y\315"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "29\274\371\306\312\275\230,\276\217\222\340hJ\203h#\5\214\315n}\362\333\242\217\345H\254\245\257"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "b\254\267\320\342\201\367\0\321#\274V\213\314`\302\371\330\30\2\304|#\n\313\305:F\"j%\271"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\366\365?}\367\227X\323/+\372{\2306\1\2r\254\312\350O7%\342B\177\334\273\302\2027\341"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "({\330\305\225\314\333\332?\24\3\327\337\360\2110\223w\362\4)\261\316\236\236\2\270mo\230\355\311"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\304\272(\312\235Y\3651\263\373^:-S\37\34\305\205\275\213\353\324<\354\322\207\314\270kg\316\317"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\350\\\244^\365\t\202\330j`\226z\226G\"hn\245\30\344\275\301\35\205\240\262\254\314\v\370x\372"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\263\246\335\356l\326\207\342bD\275\361\375\326^\341^C\4\6m\247\30&\237\10=\23?\2137\271"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, " \216\310\306\\\234\20\345\332@\335$\37\254Z\21\341&\33\324\367g3C\fr\264\276\212+\230\34"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\325\374\200\177\220\225\177\204\1#\245hv)\37@\236\266\353N\306D\217c\236\307\347\201\207*\253\25"..., 120) = 120
select(5, [4], NULL, NULL, {3, 0})      = 1 (in [4], left {3, 0})
read(4, "\360E\0270M\16B\n\216\232\32191T5uF\314\227\33231\16~|r\374Bi\267\26\217"..., 120) = 120
getrusage(RUSAGE_SELF, {ru_utime={0, 23996}, ru_stime={0, 7998}, ...}) = 0
times({tms_utime=2, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 430381011
socket(PF_FILE, SOCK_STREAM, 0)         = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not supported)
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
connect(6, {sa_family=AF_FILE, path="/var/run/cups/cups.sock"...}, 26) = 0
access("/usr/share/locale/en_US/cups_en_US.po", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/locale/en/cups_en.po", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/cups_C.po", O_RDONLY) = -1 ENOENT (No such file or directory)
sendto(6, "POST / HTTP/1.1\r\nContent-Length:"..., 134, 0, NULL, 0) = 134
sendto(6, "\1\1@\2\0\0\0\1\1G\0\22attributes-charset\0\5"..., 129, 0, NULL, 0) = 129
poll([{fd=6, events=POLLIN}], 1, 1000)  = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1."..., 2048, 0, NULL, NULL) = 340
sendto(6, "POST / HTTP/1.1\r\nContent-Length:"..., 134, 0, NULL, 0) = 134
sendto(6, "\1\1@\5\0\0\0\1\1G\0\22attributes-charset\0\5"..., 129, 0, NULL, 0) = 129
poll([{fd=6, events=POLLIN}], 1, 1000)  = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1."..., 2048, 0, NULL, NULL) = 340
close(6)                                = 0
rt_sigaction(SIGPIPE, {0x1, [], SA_RESTORER, 0x2b04afd16b10}, NULL, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not supported)
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
connect(6, {sa_family=AF_FILE, path="/var/run/cups/cups.sock"...}, 26) = 0
sendto(6, "POST / HTTP/1.1\r\nContent-Length:"..., 134, 0, NULL, 0) = 134
sendto(6, "\1\1@\2\0\0\0\1\1G\0\22attributes-charset\0\5"..., 129, 0, NULL, 0) = 129
poll([{fd=6, events=POLLIN}], 1, 1000)  = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1."..., 2048, 0, NULL, NULL) = 340
sendto(6, "POST / HTTP/1.1\r\nContent-Length:"..., 134, 0, NULL, 0) = 134
sendto(6, "\1\1@\5\0\0\0\1\1G\0\22attributes-charset\0\5"..., 129, 0, NULL, 0) = 129
poll([{fd=6, events=POLLIN}], 1, 1000)  = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1."..., 2048, 0, NULL, NULL) = 340
close(6)                                = 0
stat("", 0x7fffbc7b1d60)                = -1 ENOENT (No such file or directory)
umask(022)                              = 0
open("/var/log/samba/smbd.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 6
close(5)                                = 0
umask(0)                                = 022
dup2(6, 2)                              = 2
stat("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=10018, ...}) = 0
umask(022)                              = 0
open("/var/log/samba/smbd.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 5
close(6)                                = 0
umask(0)                                = 022
dup2(5, 2)                              = 2
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
ioctl(6, SIOCGIFCONF, {80, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("192.168.1.20")}}}}) = 0
ioctl(6, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.1.20")}}) = 0
ioctl(6, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(6, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.255.0")}}) = 0
ioctl(6, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0
ioctl(6, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(6, SIOCGIFNETMASK, {ifr_name="lo", ifr_netmask={AF_INET, inet_addr("255.0.0.0")}}) = 0
close(6)                                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=10020}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=10020, rlim_max=10020}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=10020, rlim_max=10020}) = 0
open("/etc/samba/secrets.tdb", O_RDWR|O_CREAT, 0600) = 6
fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
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\0\0"..., 168) = 168
fstat(6, {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0x2b04b68ac000
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
read(3, "\325", 1)                      = 1
clone(Process 5455 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b04b2ebbbb0) = 5455
[pid  5454] exit_group(0)               = ?
[pid  5455] setsid()                    = 5455
[pid  5455] close(0)                    = 0
close(1)                                = 0
open("/dev/null", O_RDWR)               = 0
open("/dev/null", O_RDWR)               = 1
stat("/var/cache/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/run/smbd.pid", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/var/run/smbd.pid", O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, 0644) = 7
fcntl(7, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
write(7, "5455\n", 5)                   = 5
stat("/var/cache/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/cache/samba/messages.tdb", O_RDWR|O_CREAT, 0600) = -1 EACCES (Permission denied)
open("/usr/share/locale/locale.alias", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b04ae73c000
read(8, "# Locale name alias data base.\n#"..., 4096) = 2528
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x2b04ae73c000, 4096)            = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 8
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
connect(8, {sa_family=AF_FILE, path="/dev/log"...}, 110) = 0
sendto(8, "<27>May 25 19:22:26 smbd[5455]: "..., 90, MSG_NOSIGNAL, NULL, 0) = 90
geteuid()                               = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=3538, ...}) = 0
write(5, "[2010/05/25 19:22:26, 0] lib/mes"..., 58) = 58
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
sendto(8, "<27>May 25 19:22:26 smbd[5455]: "..., 80, MSG_NOSIGNAL, NULL, 0) = 80
geteuid()                               = 0
write(5, "  ERROR: Failed to initialise me"..., 48) = 48
exit_group(1)                           = ?
Process 5455 detached

Starting NMB services:                                     [  OK  ]

-- but --

# ps aux | grep smb | grep -v grep
# [nothing]

Whit 


On Tue, May 25, 2010 at 05:24:09PM -0500, Les Mikesell wrote:

> Try changing:
> daemon smbd $SMBDOPTIONS
> to
>   strace -f smbd $SMBDOPTIONS
> and run it in the way that fails.  If there's not enough left on the 
> screen to see why it died, try
>   strace -f smbd $SMBOPTION 2>/tmp/smblog
> and look at the file reading backwards to find a fatal error.
> 
> I'm still very curious about why it would work when run with 'sh'.
> 
> -- 
>    Les Mikesell
>     lesmikesell@xxxxxxxxx
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux