what is the format of this file? what is the best way to access it w/o the smbstatus program? IE: with perl -sv
Hello, I have just installed the following system and am having trouble accessing the SAMBA server. I posted a message the other day, but I haven't received a response so, i thought thought I would try again. Machine = StarMax 3000/603e System= Linux 2.2.6 Distribution = LinuxPPC R5 Here is the problem. The machine is apparently visible on the network. I can see it from the other Win95 machines. "testparm" gives no errors. However, "smbstatus" results in the following message: Couldn't open status file /var/lock/samba/STATUS..LCK I have followed the "Diagnosing Samba FAQ" but didn't get very far. Can someone help this newbie out please? Thanks, Jason Pickering jpickeri@utct2166.ct.utwente.nl
> ---------- > From: giulioo@tiscalinet.it[SMTP:giulioo@tiscalinet.it] > Reply To: giulioo@tiscalinet.it > Sent: Mittwoch, 23. Juni 1999 18:45 > To: Multiple recipients of list > Subject: Re: STATUS..LCK > > On Thu, 24 Jun 1999 00:51:20 +1000, hai scritto: > > > >"testparm" gives no errors. However, "smbstatus" results in the following message: > > > >Couldn't open status file /var/lock/samba/STATUS..LCK > > touch /var/lock/samba/STATUS..LCK > > or > > open a file from a win machine in order to make samba create it for you. >Maybe there?s another reason for the mentioned "error". Locking and locking-reporting via smbstatus worked fine on all but a few machine here. After some investigation we found that on the faulty machines, samba used /var/lock and not /var/lock/samba as on the other machines. I put "error" in quotes above because samba itself worked always fine - only smbstatus didn?t report anything. Now we have a "lock directory = /var/lock/samba" statement in all of our smb.conf?s ;-)