Re: Lock NFS ?



Hello

Le Mardi 27 Août 2002 04:18, Havoc Pennington a écrit :

> > But for the server, what i must do ? The process lockd doesn't run,
> > and if i try to type
> > # rpc.lockd
> > He doesn't want to want (no error but exit imediatly).
>
> On Red Hat, it's something like "service nfslock start" to start the
> service, and use the "chkconfig" program to add it permanently.

There is only a problem : I use Debian... :o)

And, if i do

nestor|~# strace rpc.lockd
execve("/sbin/rpc.lockd", ["rpc.lockd"], [/* 21 vars */]) = 0
uname({sys="Linux", node="nestor", ...}) = 0
brk(0)                                  = 0x8049890
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=15113, ...}) = 0
old_mmap(NULL, 15113, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"..., 
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x40018000
mprotect(0x4012b000, 40160, PROT_NONE)  = 0
old_mmap(0x4012b000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x4012b000
old_mmap(0x40131000, 15584, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40131000
close(3)                                = 0
munmap(0x40014000, 15113)               = 0
chdir("/var/lib/nfs")                   = 0
nfsservctl(0x10000, 0xbffff4d8, 0)      = -1 EINVAL (Invalid argument)
_exit(0)                                = ?

nestor|~# ll /var/lib/nfs
total 20k
drwxr-xr-x    4 root     root         4.0k mar 31 12:13 .
drwxr-xr-x   19 root     root         4.0k aoû 24 17:39 ..
drwx------    2 root     root         4.0k mar 31 12:13 sm
drwx------    2 root     root         4.0k mar 31 12:13 sm.bak
-rw-------    1 root     root            4 sep  6 17:51 state

I don't really understand what's happen... But i'm boring because i 
like galeon and i can't use it :-(

If anybody has an idea, thank by avance...

Bye

-- 
Utilisateurs de Linux, enregistrez-vous :
http://counter.li.org



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