[gelöst] Freetz-Samba auf FritzBox 7240

fabian2_de

Neuer User
Mitglied seit
10 Mai 2009
Beiträge
5
Punkte für Reaktionen
0
Punkte
0
Hey Leute!

Nach langem Probieren habe ich es nun geschafft, dass meine hfsplus-Platte auf der FB gemountet+geschrieben werden kann, jetzt möchte ich sie noch per Samba freigeben.
Dafür habe ich sowohl den smbd als auch den nmbd von Freetz kompiliert.
Leider schaffe ich es nicht, dass der smbd läuft. Als Ausgabe erhalte ich nur "smbd - dlopen of lib /mod/etc/charset/CP850.so not supported", und das sehr oft. Das ist aber nicht das Problem, denn strace verrät mir: "getsockopt(0, SOL_SOCKET, SO_TYPE, 0x7f8c9520, 0x7f8c9524) = -1 ENOTSOCK (Socket operation on non-socket)".

Ich weiß wirklich nicht weiter, kann mir jemand von euch helfen? Installiert ist die SVN-Trunk #3309.

Vielen Dank im Voraus!

Code:
execve("/sbin/smbd", ["smbd", "-D", "-s", "smb.conf"], [/* 219 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
stat("/etc/ld-uClibc.so.cache", 0x7f8ca448) = -1 ENOENT (No such file or directory)
open("/mod/lib/libfreetz.so.1.0.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libfreetz.so.1.0.0", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0755, st_size=3124, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0@\5\0\0004\0\0\0\234"..., 4096) = 3124
old_mmap(NULL, 69632, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 1932, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2aabe000
old_mmap(0x2aace000, 2020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2aace000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libcrypt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.0", O_RDONLY)    = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=13584, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320\4\0\0004\0\0\0\270"..., 4096) = 4096
old_mmap(NULL, 151552, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aacf000
old_mmap(0x2aacf000, 10260, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2aacf000
old_mmap(0x2aae2000, 68, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x3000) = 0x2aae2000
old_mmap(0x2aae3000, 66864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aae3000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=9380, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\10\0\0004\0\0\0\374"..., 4096) = 4096
old_mmap(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaf4000
old_mmap(0x2aaf4000, 6416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2aaf4000
old_mmap(0x2ab05000, 4208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1000) = 0x2ab05000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=94574, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0@4\0\0004\0\0\0`"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab07000
old_mmap(0x2ab07000, 50520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2ab07000
old_mmap(0x2ab23000, 22440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0xc000) = 0x2ab23000
old_mmap(0x2ab29000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab29000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\30\0\0004\0\0\0,"..., 4096) = 4096
old_mmap(NULL, 122880, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2b000
old_mmap(0x2ab2b000, 54244, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2ab2b000
old_mmap(0x2ab48000, 1388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0xd000) = 0x2ab48000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\253\0\0004\0\0\0\300"..., 4096) = 4096
old_mmap(NULL, 749568, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab49000
old_mmap(0x2ab49000, 643988, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x2ab49000
old_mmap(0x2abf6000, 8212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x9d000) = 0x2abf6000
old_mmap(0x2abf9000, 27360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2abf9000
close(6)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(6)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
close(6)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
close(6)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
close(6)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
close(6)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=698576, ...}) = 0
close(6)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22772, ...}) = 0
mprotect(0x2ab05000, 4096, PROT_READ)   = 0
mprotect(0x2ab23000, 4096, PROT_READ)   = 0
mprotect(0x2abf6000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 2952
getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=0}) = 0
rt_sigaction(SIGRT_0, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2b02ce4}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2b02bf4}, NULL, 16) = 0
rt_sigaction(SIGRT_2, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2b02014}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 16) = 0
brk(0)                                  = 0x538948
brk(0x539948)                           = 0x539948
brk(0x53a000)                           = 0x53a000
open("/mod/etc/upcase.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/mod/etc/lowcase.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0x559000)                           = 0x559000
brk(0x579000)                           = 0x579000
setpriority(PRIO_PROCESS, 0, 19)        = 0
geteuid()                               = 0
getegid()                               = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 6
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, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGBUS, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGIOT, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {SIG_DFL, [], 0}, 16) = 0
mkdir("/var/samba/cores", 0700)         = -1 EEXIST (File exists)
mkdir("/var/samba/cores/smbd", 0700)    = -1 EEXIST (File exists)
getuid()                                = 0
getgid()                                = 0
chown("/var/samba/cores/smbd", 0, 0)    = 0
chmod("/var/samba/cores/smbd", 0700)    = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=4734424}) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=2139918608}) = 0
prctl(0x4, 0x1, 0xffffffff, 0, 0x4fb4d8) = 0
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, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, 16) = 0
rt_sigaction(SIGBUS, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, 16) = 0
rt_sigaction(SIGIOT, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, 16) = 0
mkdir("/var/samba/cores", 0700)         = -1 EEXIST (File exists)
mkdir("/var/samba/cores/smbd", 0700)    = -1 EEXIST (File exists)
getuid()                                = 0
getgid()                                = 0
chown("/var/samba/cores/smbd", 0, 0)    = 0
chmod("/var/samba/cores/smbd", 0700)    = 0
getrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=0}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=4734424}) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=2139918608}) = 0
prctl(0x4, 0x1, 0xffffffff, 0, 0x4fb4d8) = 0
rt_sigaction(SIGTERM, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGHUP, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2b0f910}, {SIG_DFL, [], 0}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [PIPE], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [FPE], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [USR2], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [USR1], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 16) = 0
umask(0)                                = 022
geteuid()                               = 0
getegid()                               = 0
getgid()                                = 0
getegid()                               = 0
setresgid(-1, 0, -1)                    = 0
getegid()                               = 0
setgid(0)                               = 0
getgroups(0, [])                        = 0
setresgid(0, 0, -1)                     = 0
getegid()                               = 0
getgid()                                = 0
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
stat64(0x7f8c88d0, 0x7f8c8728)          = 0
uname({sys="Linux", node="fritz.fonwlan.box", ...}) = 0
brk(0x57a000)                           = 0x57a000
open("/mod/etc/smb.conf", O_RDONLY|O_LARGEFILE) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=568, ...}) = 0
read(7, "### global\n[global]\nnetbios name "..., 568) = 568
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
brk(0x57b000)                           = 0x57b000
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
brk(0x57c000)                           = 0x57c000
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/mod/etc/valid.dat", O_RDONLY|O_LARGEFILE) = 7
mmap(NULL, 65536, PROT_READ, MAP_SHARED, 7, 0) = 0x2ac00000
close(7)                                = 0
brk(0x57d000)                           = 0x57d000
brk(0x57f000)                           = 0x57f000
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
brk(0x580000)                           = 0x580000
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
open("/dev/console", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
write(7, "smbd - dlopen of lib /mod/etc/cha"..., 61smbd - dlopen of lib /mod/etc/charset/CP850.so not supported
) = 61
close(7)                                = 0
stat64(0x7f8c8ce0, 0x7f8c8b68)          = -1 ENOENT (No such file or directory)
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
stat64(0x7f8c88a8, 0x7f8c8730)          = 0
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
ioctl(7, 0x8912, {128, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"lan", {AF_INET, inet_addr("192.168.27.1")}}, {"lan:0", {AF_INET, inet_addr("169.254.1.1")}}, {"dsl", {AF_INET, inet_addr("169.254.2.1")}}}}) = 0
ioctl(7, 0x8915, {ifr_name="dsl", ifr_addr={AF_INET, inet_addr("169.254.2.1")}}) = 0
ioctl(7, 0x8913, {ifr_name="dsl", ifr_flags=IFF_UP|IFF_POINTOPOINT|IFF_RUNNING|IFF_NOARP|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(7, 0x891b, {ifr_name="dsl", ifr_netmask={AF_INET, inet_addr("255.255.255.255")}}) = 0
ioctl(7, 0x8915, {ifr_name="lan:0", ifr_addr={AF_INET, inet_addr("169.254.1.1")}}) = 0
ioctl(7, 0x8913, {ifr_name="lan:0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(7, 0x891b, {ifr_name="lan:0", ifr_netmask={AF_INET, inet_addr("255.255.0.0")}}) = 0
ioctl(7, 0x8915, {ifr_name="lan", ifr_addr={AF_INET, inet_addr("192.168.27.1")}}) = 0
ioctl(7, 0x8913, {ifr_name="lan", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(7, 0x891b, {ifr_name="lan", ifr_netmask={AF_INET, inet_addr("255.255.255.0")}}) = 0
ioctl(7, 0x8915, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0
ioctl(7, 0x8913, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(7, 0x891b, {ifr_name="lo", ifr_netmask={AF_INET, inet_addr("255.0.0.0")}}) = 0
close(7)                                = 0
brk(0x583000)                           = 0x583000
brk(0x587000)                           = 0x587000
brk(0x588000)                           = 0x588000
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=5120*1024}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4805128}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=10020, rlim_max=4805232}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=10020, rlim_max=10020}) = 0
open("/mod/etc/secrets.tdb", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 7
fcntl64(7, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1, len=0}) = 0
read(7, "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\0m"..., 168) = 168
fstat64(7, {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
brk(0x589000)                           = 0x589000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 7, 0) = 0x2aaae000
fcntl64(7, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1, len=0}) = 0
read(6, "\317"..., 1)                   = 1
getsockopt(0, SOL_SOCKET, SO_TYPE, 0x7f8c9520, 0x7f8c9524) = -1 ENOTSOCK (Socket operation on non-socket)
fork()                                  = 2953
exit(0)                                 = ?
 
Zuletzt bearbeitet:
Leider hast Du keine Beschreibung davon, was nicht läuft, bzw. wie sich das äußert.

Das einzige, was man deinem strace entnehmen kann, ist, daß Samba soweit startet, bis es zum fork() kommt. Smbd hat die Option -F, mit der man den Fork verhindern kann.
 
Leider hast Du keine Beschreibung davon, was nicht läuft, bzw. wie sich das äußert.
Nunja, der smbd an sich läuft nicht. Ich rufe ihn auf, er spuckt die Fehlermeldungen wegen dem CP850.so aus und dann beendet er sich von allein. Und das äußert sich darin, dass ich nach den Meldungen auf die Konsole zurück geworfen werde und auch pidof smbd nichts finden kann.

Das einzige, was man deinem strace entnehmen kann, ist, daß Samba soweit startet, bis es zum fork() kommt. Smbd hat die Option -F, mit der man den Fork verhindern kann.
Der Fork kommt doch durch den Fehler, oder? Zumindest bringt -F nichts, der smbd läuft trotzdem nicht.

(Übrigens verhält es sich mit dem nmbd sowie dem ftpd genauso, die brechen lt. strace auch mit dem Fehler "-1 ENOTSOCK (Socket operation on non-socket)" ab.)
 
Hast du im Webinterface vom Samba die richtige IP eingestellt?

MfG Oliver
 
die brechen lt. strace auch mit dem Fehler "ENOTSOCK" ab.

Nein, die brechen nicht mit dem Fehler ab. Die würden kein fork mehr ausführen, wenn sie schon wüßten, daß sie sich nachher beenden werden.

Das ist kein Fehler, sondern nur der Test, ob sie von inetd aufgerufen wurden.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.