Re: [Samba] Re: Cannot start samba
Does the /usr/local/samba-3.0.0rc4/var/locks/ directory exists? Witch account do you use to launch you init script? in case this is not root, does it have suffisent permission? Also, how about starting nmbd and smbd manually, with -D option? yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument -- Vincent -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba
Le Jeudi 25 Septembre 2003 08:42, [EMAIL PROTECTED] a écrit : Does the /usr/local/samba-3.0.0rc4/var/locks/ directory exists? Witch yes it does. account do you use to launch you init script? in case this is not root, does it have suffisent permission? I'm using root. Also, how about starting nmbd and smbd manually, with -D option? same problem with both... Perhaps it's related to my kernel but actually samba 2.2.2 is working... yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument -- Vincent -- Bruno PINAUD Performanse SA Qu'est-ce qu'un adulte ? Un enfant gonflé d'âge. Simone De Beauvoir -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba
Does the /usr/local/samba-3.0.0rc4/var/locks/ directory exists? Witch yes it does. Sorry, i didn't read the code enought. The error would not be the same. same problem with both... This is normal, since pid files are handle by samba itself Perhaps it's related to my kernel but actually samba 2.2.2 is working... I don't think so, since the error tell us that pid files can not be locked. [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument I think the error is reported by the fcntl() system call. I don't know about the reason. Invalid argument seems not to be related to a problem on the file system, nor the kernel ressources. However, i never saw this error on my own servers, so this sould not be a bad argument passing to the function. This error thus astonishes me much and i'm also insterested by the real reason. -- Vincent -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba
Thanks for your answer. I looked in the source code, and perhaps this can be due to a bad glibc version ? i have glibc 2.2.5 on my server. is this ok ? Le Jeudi 25 Septembre 2003 11:00, [EMAIL PROTECTED] a écrit : Does the /usr/local/samba-3.0.0rc4/var/locks/ directory exists? Witch yes it does. Sorry, i didn't read the code enought. The error would not be the same. same problem with both... This is normal, since pid files are handle by samba itself Perhaps it's related to my kernel but actually samba 2.2.2 is working... I don't think so, since the error tell us that pid files can not be locked. [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument I think the error is reported by the fcntl() system call. I don't know about the reason. Invalid argument seems not to be related to a problem on the file system, nor the kernel ressources. However, i never saw this error on my own servers, so this sould not be a bad argument passing to the function. This error thus astonishes me much and i'm also insterested by the real reason. -- Vincent -- Bruno PINAUD Performanse SA Il vaut mieux savoir quelque chose de tout que tout savoir de quelque chose. Pascal. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba : i've got the answer !!!
my problem was with file locking via the function fcntl_lock. I'm using the GFS filesystem. I've got 4 servers which are sharing the same hard disks and the same OS. I moved the pid files and lock directory by changing by smb.conf on an ext2 filesystem and it works now. I still have the problem with secrets.tdb. I hope that a symbolic link will work... Le Mercredi 24 Septembre 2003 20:21, Matt Silva a écrit : Sorry I thought you were trying to get the 2.2 running again but its the 3.0 version you want to get running ... you were perfectly clear it was I who misread it ... I was doing some searching ... and could not find anything useful ... sorry, try 2.2.8a I have installed on Red Hat 9 ... Bruno Pinaud wrote: yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument The server is a linux 2.4.17 (i cannot change the kernel). Can you help me ? -- Bruno PINAUD Performanse SA L'amour a besoin des yeux, comme la pensée a besoin de la mémoire. Mme Necker -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba : i've got the answer !!!
Everything is working fine now...The magic lines for smb.conf are : lock directory = /fiber-backup/var/samba pid directory = /fiber-backup/var/samba private dir = /fiber-backup/var/samba/private And this is on a simple ext2 filesystem... Good job for version 3.0.0 ! Le Jeudi 25 Septembre 2003 18:57, Bruno Pinaud a écrit : my problem was with file locking via the function fcntl_lock. I'm using the GFS filesystem. I've got 4 servers which are sharing the same hard disks and the same OS. I moved the pid files and lock directory by changing by smb.conf on an ext2 filesystem and it works now. I still have the problem with secrets.tdb. I hope that a symbolic link will work... Le Mercredi 24 Septembre 2003 20:21, Matt Silva a écrit : Sorry I thought you were trying to get the 2.2 running again but its the 3.0 version you want to get running ... you were perfectly clear it was I who misread it ... I was doing some searching ... and could not find anything useful ... sorry, try 2.2.8a I have installed on Red Hat 9 ... Bruno Pinaud wrote: yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument The server is a linux 2.4.17 (i cannot change the kernel). Can you help me ? -- Bruno PINAUD Performanse SA L'amour a besoin des yeux, comme la pensée a besoin de la mémoire. Mme Necker -- Bruno PINAUD Performanse SA Ta mere elle slam a un concert de Sardou -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Cannot start samba
It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument The server is a linux 2.4.17 (i cannot change the kernel). Can you help me ? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba
yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument The server is a linux 2.4.17 (i cannot change the kernel). Can you help me ? -- Bruno PINAUD Performanse SA L'océan m'attriste; je ne l'aime que lorsque je suis dessus, il a ça de commun avec les dames. Balzac. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Cannot start samba
Sorry I thought you were trying to get the 2.2 running again but its the 3.0 version you want to get running ... you were perfectly clear it was I who misread it ... I was doing some searching ... and could not find anything useful ... sorry, try 2.2.8a I have installed on Red Hat 9 ... Bruno Pinaud wrote: yes i'm using init.d (redhat style). samba is installed in /usr/local/samba-3.0.0rc4/. I've got a symbolic link to /usr/local/samba which is used by the init.d script. Le Mercredi 24 Septembre 2003 19:22, Matias Silva a écrit : It looks like you are still trying to access the 3.0 version pid file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument How are you starting and stopping samba? Are you using init.d? Matias Bruno Pinaud wrote: Hi, I currently have an old samba 2.2.2 on my network. It's working, but it's quite old... I tried version 3.0.0rc4 but it doesn't want to start. Here are the errors : [2003/09/23 18:27:45, 8] lib/util.c:fcntl_lock(1621) fcntl_lock 6 13 0 1 1 [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1632) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2003/09/23 18:27:45, 3] lib/util.c:fcntl_lock(1651) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2003/09/23 18:27:45, 0] lib/pidfile.c:pidfile_create(97) ERROR: nmbd : fcntl lock of file /usr/local/samba-3.0.0rc4/var/locks/nmbd.pid failed. Error was Invalid argument The server is a linux 2.4.17 (i cannot change the kernel). Can you help me ? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba