pure-ftpd

The Undefined undefine w aramin.net
Pon, 26 Kwi 2004, 16:24:27 CEST


Hm.. cos jest skopane delikatnie mowiac. Po pierwsze (z strace)
27322 stat64("${exec_prefix}/sbin/pure-ftpd", 0x804b5b0) = -1 ENOENT (No such file or directory)
27322 stat64("/usr/local/pure-ftpd/sbin/pure-ftpd", 0x804b5b0) = -1 ENOENT (No such file or directory)
27322 stat64("/usr/local/pureftpd/sbin/pure-ftpd", 0x804b5b0) = -1 ENOENT (No such file or directory)
27322 stat64("/usr/local/sbin/pure-ftpd", 0x804b5b0) = -1 ENOENT (No such file or directory)
27322 stat64("/usr/sbin/pure-ftpd", {st_mode=S_IFREG|0755, st_size=148204, ...}) = 0
27322 open("/etc/ftpd/pureftpd.conf", O_RDONLY|O_LARGEFILE) = 4
27322 ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffed5c) = -1 ENOTTY (Inappropriate ioctl for device)
27322 _llseek(4, 0, [0], SEEK_CUR)      = 0
27322 fstat64(4, {st_mode=S_IFREG|0640, st_size=5462, ...}) = 0
27322 fcntl64(4, F_SETFD, FD_CLOEXEC)   = 0
27322 read(4, "# /etc/sysconfig/pure-ftpd  $Rev"..., 4096) = 4096
27322 read(4, ", you can enforce a maximal numb"..., 4096) = 1366
27322 read(4, "", 4096)                 = 0
27322 close(4)                          = 0
27322 write(1, "Running: /usr/sbin/pure-ftpd \n", 30) = 30
27322 rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
27322 getpid()                          = 27322
27322 rt_sigaction(SIGRTMIN, {SIG_DFL}, NULL, 8) = 0
27322 rt_sigaction(SIGRT_1, {SIG_DFL}, NULL, 8) = 0
27322 rt_sigaction(SIGRT_2, {SIG_DFL}, NULL, 8) = 0
27322 execve("/usr/sbin/pure-ftpd", ["/usr/sbin/pure-ftpd"], [/* 28 vars */]) = 0

a co za tym idzie nie czyta zadnych parametrow z pureftpd.conf
Po drugie:
31772 open("/etc/ftpd/pureftpd-dir-aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
31772 getsockname(0, 0x807fd40, [128])  = -1 ENOTSOCK (Socket operation on non-socket)
31772 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
31772 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
31772 bind(5, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
31772 listen(5, 9)                      = 0
31772 fcntl64(5, F_SETFD, FD_CLOEXEC)   = 0
31772 socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 6
31772 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
31772 setsockopt(6, SOL_IPV6, 26, [1], 4) = -1 ENOPROTOOPT (Protocol not available)
31772 bind(6, {sa_family=AF_INET6, sin6_port=htons(21), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EADDRINUSE (Address already in use)
31772 dup(2)                            = 7
31772 fcntl64(7, F_GETFL)               = 0x2 (flags O_RDWR)
31772 fstat64(7, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 8), ...}) = 0
31772 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
31772 _llseek(7, 0, 0xbfffeff0, SEEK_CUR) = -1 ESPIPE (Illegal seek)

i co za tym idzie w domyslnej konfiguracji sie nie uruchamia.
Jakies sugestie? ;)

-- 
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator, Adam Mickiewicz University WMiI
PLD Linux Developer
JID: undefine w piastlan.net e-mail: undefine w pld-linux.org



Więcej informacji o liście dyskusyjnej pld-devel-pl