[Samba] RE: smb_request: result -512, setting invalid

Tory M Blue tmblue at pacbell.net
Sun Oct 31 02:58:34 GMT 2004


Forgot to provide errors from my samba.log

[2004/10/30 19:37:00, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_lock failed on list 4
ltype=1 (Bad file descriptor)
[2004/10/30 19:37:00, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_lock failed on list 4
ltype=1 (Bad file descriptor)

<shrug>, oplocks is turned off, so not sure I understand this lock

-----Original Message-----
From: Tory M Blue [mailto:tmblue at pacbell.net] 
Sent: Saturday, October 30, 2004 7:56 PM
To: 'samba at lists.samba.org'
Subject: smb_request: result -512, setting invalid


Hello seeing the following errors in my /var/log/mEssages file

Samba 3.06
RH 2.4.21-20 kernel
Connection to Network Appliance Filesystem


Oct 30 19:37:00 sc8-a7-lri1 kernel: smb_get_length: recv error = 512 Oct 30
19:37:00 sc8-a7-lri1 kernel: smb_request: result -512, setting invalid Oct
30 19:37:00 sc8-a7-lri1 kernel: smb_retry: caught signal Oct 30 19:37:00
sc8-a7-lri1 last message repeated 28 times

Not sure what is wrong, not seeing any impact, but I see this at odd times.

My smb.conf is more for the smbmount, so it's basically a client not a
server connection.. What setting is invalid?

And my mount command is as follows (get this error on initial mount as well)

//sc8-e6-na-site/ltest  /usr/local/site       smbfs
credentials=/etc/passwd.smbfs,uid=rsvp,gid=rsvp 0 0

That's it, what in here is giving me the setting invalid?

#======================= Global Settings
=====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = 

# server string is the equivalent of the NT Description field
;  server string = lri1

# See speed.txt and the manual pages for details
;   socket options = TCP_NODELAY SO_RCVBUF= 4096 SO_SNDBUF=4096
socket options = IPTOS_LOWDELAY TCP_NODELAY

oplocks = false
level2 oplocks=false
log file = /var/log/samba.log
max log size = 1000

Thanks

Tory



More information about the samba mailing list