Hey guys, I have been compiling and running samba for a while but never ran into this problem, This is samba-2.2.2, which was compiled from source on Debain Linux (i386). Pretty late kenerl - 2.4.something. The funny thing is I compiled samba on this box before. I did have a problem with some C++ compilers and libraries that may be my problem but Im not sure. The configure and make process runs fine without braking. Below is the end of my smbd.log file. Logging level is set to 3. The last line states the problem. The pid file that smbd complains about is created successfully but doesn't contain any data. Any ideas ? Thanks for any help. [2002/01/11 02:32:32, 3] smbd/server.c:main(729) Becoming a daemon. [2002/01/11 02:32:32, 3] lib/util.c:fcntl_lock(1326) fcntl_lock: fcntl lock gave errno 22 (Invalid argument) [2002/01/11 02:32:32, 3] lib/util.c:fcntl_lock(1348) fcntl_lock: lock failed at offset 0 count 1 op 13 type 1 (Invalid argument) [2002/01/11 02:32:32, 0] lib/pidfile.c:pidfile_create(101) ERROR: smbd : fcntl lock of file /usr/local/samba/var/locks/smbd.pid failed. Error was Invalid argument whosyourdaddy:/usr/local/samba/var# Thank you, Steve Maroney