message d'erreur "install samba" :x

Forum dédié à la distribution du même nom et que vous pourrez télécharger sur http://www.contribs.org. La nouvelle version de cette distribution se nomme SME Server

Modérateur: modos Ixus

Messagepar Slap » 17 Mars 2004 04:58

voila quand je fais un <BR> <BR># smbstatus <BR> <BR>j'obtiens ce message <BR> <BR>failed to open byte range locking database <BR>error: failed to initialise locking database <BR>can't initialise locking module -exiting <BR> <BR>problèmes de droits je pense mais je post car la ca fait 2 heures que je cherche et rien (même sur google) <IMG SRC="images/smiles/icon_bawling.gif"> <BR><BR><font size=-2></font>
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Slap » 17 Mars 2004 14:50

j'ai posé une colle ou quoi ? <IMG SRC="images/smiles/icon_lol.gif">
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar MasterSleepy » 17 Mars 2004 15:01

J'ai bien l'impression <IMG SRC="images/smiles/icon_wink.gif">
"Microsoft fera quelque chose qui ne plantera jamais quand ils commenceront à fabriquer des clous "
http://www.vanhees.cc
Avatar de l’utilisateur
MasterSleepy
Amiral
Amiral
 
Messages: 2625
Inscrit le: 24 Juil 2002 00:00
Localisation: Belgique

Messagepar sibsib » 17 Mars 2004 22:44

Salut, <BR> <BR>Que c'est-y pourquoi tu t'interresses à cette commande ? as-tu un autre problème, ou tout va bien ? <BR> <BR>Sinon, que donnent les commandes <BR>service smbd status <BR>service nmbd status <BR> <BR>(En d'autres termes, est ce que samba tourne ? ) <BR> <BR>A+, <BR>Pascal
Sibsib, admin heureux d'un petit SME !!!
- SME 8.0 beta 6 dans une VM :-)
- ESXI 4.1 sur hardware noname
Ma petite page sur SME
Avatar de l’utilisateur
sibsib
Amiral
Amiral
 
Messages: 2368
Inscrit le: 11 Mai 2002 00:00
Localisation: France - région parisienne

Messagepar Slap » 18 Mars 2004 02:48

voilà ce copy/paste de putty <BR> <BR>login as: root <BR><!-- BBcode auto-mailto start --><a href="mailto:root@192.0.0.1's">root@192.0.0.1's</a><!-- BBCode auto-mailto end --> password: <BR>Last login: Thu Mar 18 02:50:26 2004 from 192.0.0.17 <BR>Welcome to the Mitel Networks SME Server. <BR>[root@sme-v60 root]# smbstatus -d -L <BR>using configfile = /etc/samba/smb.conf <BR>Opened /var/cache/samba/connections.tdb <BR> <BR>Failed to open byte range locking database <BR>ERROR: Failed to initialise locking database <BR>Can't initialise locking module - exiting <BR>[root@sme-v6 root]# <BR> <BR> <BR> <BR>sisib oui les services tournent (testparm ok aussi)
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Franck78 » 18 Mars 2004 03:18

je pense que ton connections.tdb est vérolé. <BR>Arretes samba, supprimes le fichier. <BR>Réassaye <BR> <BR>Tu peux aussi faire <BR> <BR>strace smbstatus <BR> <BR> <BR> <BR>Strace affiche tous les appels systeme. Tu veras ou smbstatus coince... <BR> <BR> <BR>
Franck
L'art de poser une question sur ce site afin d'obtenir la réponse
A LIRE
Avatar de l’utilisateur
Franck78
Amiral
Amiral
 
Messages: 5625
Inscrit le: 20 Fév 2004 01:00
Localisation: Paris

Messagepar 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>
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Slap » 18 Mars 2004 03:36

j'ai voulu me mettre sur sme <BR> <BR>je vais devoir souffrir <BR> <BR>c'est pas grave j'aime ça <IMG SRC="images/smiles/icon_biggrin.gif"> <IMG SRC="images/smiles/icon_up.gif">
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Franck78 » 18 Mars 2004 03:41

ca coince sur brlock.tdb ! <BR> <BR>Chez moi il est la: <BR> <BR>/var/lock/subsys/brlock.tdb <BR> <BR> <BR>Regarde si tu en as un qui génerait. <BR>
Franck
L'art de poser une question sur ce site afin d'obtenir la réponse
A LIRE
Avatar de l’utilisateur
Franck78
Amiral
Amiral
 
Messages: 5625
Inscrit le: 20 Fév 2004 01:00
Localisation: Paris

Messagepar Franck78 » 18 Mars 2004 03:43

J'ai une autre idée: <BR> <BR> <BR>smbstatus cherche ce fichier et plante car il ne le trouve pas. <BR> <BR>Il n'existe pas car samba ne le créée pas car le mode de locking <BR>choisi doit être no <BR> <BR>Cherche si ti as une ligne genre <BR>locking=no <BR>dans smb.comf et commente la pour essayer.
Franck
L'art de poser une question sur ce site afin d'obtenir la réponse
A LIRE
Avatar de l’utilisateur
Franck78
Amiral
Amiral
 
Messages: 5625
Inscrit le: 20 Fév 2004 01:00
Localisation: Paris

Messagepar Slap » 18 Mars 2004 03:45

dans ce répertoire j'en ai pas du tout :/
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Franck78 » 18 Mars 2004 03:50

cherche sur ton disque... <BR> <BR>locate *.tdb <BR> ou <BR> <BR>find / -iname *.tdb <BR> <BR>Chez toi c'est dans /var/cache <BR> <BR>Regarde dans smb.conf le chemin <BR>d'acces pour ces fichiers! <BR> <BR> <BR>Quelle est la valeur de locking ? <BR> <BR> <BR> <BR>_________________ <BR>Franck <IMG SRC="images/smiles/icon_wink.gif"><BR><BR><font size=-2></font>
Franck
L'art de poser une question sur ce site afin d'obtenir la réponse
A LIRE
Avatar de l’utilisateur
Franck78
Amiral
Amiral
 
Messages: 5625
Inscrit le: 20 Fév 2004 01:00
Localisation: Paris

Messagepar Slap » 18 Mars 2004 03:54

j'ai <BR>locking=yes <BR>oplocks=yes <BR>level2 oplocks=yes <BR>strict locking =no <BR>
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Messagepar Franck78 » 18 Mars 2004 04:04

<BR>regardes bien si les répertoires ou smbstatus <BR>cherche le tdb existent ! <BR> <BR>regardes si tu peux créer toi meme le fichier <BR>touch /var/cache/brlock.tdb <BR> <BR> <BR>
Franck
L'art de poser une question sur ce site afin d'obtenir la réponse
A LIRE
Avatar de l’utilisateur
Franck78
Amiral
Amiral
 
Messages: 5625
Inscrit le: 20 Fév 2004 01:00
Localisation: Paris

Messagepar Slap » 18 Mars 2004 04:06

voila mon fichier <IMG SRC="images/smiles/icon_smile.gif"> <BR>---------------------------------------- <BR> <BR>wins support = yes <BR> <BR>workgroup = mitel-networks <BR>printcap name = /etc/printcap <BR>load printers = yes <BR>printing = lprng <BR>print command = /usr/bin/lpr -b -h -r -P%p %s <BR> <BR>[homes] <BR>comment = Home directory <BR>browseable = no <BR>guest ok = no <BR>read only = no <BR>writable = yes <BR>printable = no <BR>create mode = 0660 <BR>force create mode = 0660 <BR>directory mode = 0770 <BR>force directory mode = 0770 <BR>path = /home/e-smith/files/users/%S/home <BR> <BR>[printers] <BR>comment = All Printers <BR>path = /var/spool/samba <BR>browseable = no <BR>guest ok = no <BR>writable = no <BR>printable = yes <BR>use client driver = yes <BR> <BR>[netlogon] <BR>comment = Network Logon Service <BR>path = /home/e-smith/files/samba/netlogon <BR>guest ok = yes <BR>writable = yes <BR>browseable = no <BR> <BR> <BR>[print$] <BR>comment = Printer drivers <BR>path = /home/e-smith/files/samba/printers <BR>guest ok = yes <BR>browsable = yes <BR>writable = yes <BR>use client driver = yes <BR> <BR>[Primary] <BR>comment = Primary i-bay <BR>path = /home/e-smith/files/ibays/Primary <BR>read only = no <BR>writable = yes <BR>printable = no <BR>inherit permissions = yes <BR>create mode = 0640 <BR>
Avatar de l’utilisateur
Slap
Premier-Maître
Premier-Maître
 
Messages: 57
Inscrit le: 15 Mars 2004 01:00

Suivant

Retour vers E-Smith / SME Server

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 0 invité(s)

cron