NFS mount problem

From: ALLEN, David (David.ALLEN@eur.crowncork.com)
Date: Tue Dec 14 2004 - 04:26:26 EST


Hi,

I know this might seem at first slightly off topic, but my gut feeling is
the problem we are experiencing is in some way related to differences
between Sun hardware. We have a major problem using Samba to access NFS
mounted directories. The directory in question is on a Snap server running
OS 3, and Samba is running on a new Sun V250 running Solaris 9; the NFS
directory is mounted using udp.

The problems occur when trying to load a file, which causes the samba
process to crash. Another process starts automatically, crashes and so
forth.

However, the exact same configuration, NFS mount, Samba version etc works
fine on an old Sun Utlra 10, also running Solaris 9! Also, everything
appears to work fine at the Unix level on both machines.

Is there some difference in the way NFS works on the two machines related to
64 bit and 32 bit design? I have set NFS to version 2 in the vfstab file and
it still did not fix the problem.

I have included a copy of the smb logs below.

Thanks in advance for any help/suggestions/pointers. We are getting
desperate!

David

Log level 3:

UNIX uid 15001 is UNIX user shpguest, and will be vuid 102
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1372 of length 86
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBtconX (pid 28589) conn 0x0
[2004/12/13 10:33:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/13 10:33:55, 3] smbd/service.c:make_connection_snum(472)
  Connect path is '/tmp' for service [IPC$]
[2004/12/13 10:33:55, 3] lib/util_seaccess.c:se_access_check(251)
[2004/12/13 10:33:55, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-1460809338-1000444070-3279871270-501
  se_access_check: also S-1-5-21-1460809338-1000444070-3279871270-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-1460809338-1000444070-3279871270-5427
[2004/12/13 10:33:55, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2004/12/13 10:33:55, 3] lib/util_seaccess.c:se_access_check(251)
[2004/12/13 10:33:55, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-1460809338-1000444070-3279871270-501
  se_access_check: also S-1-5-21-1460809338-1000444070-3279871270-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-1460809338-1000444070-3279871270-5427
[2004/12/13 10:33:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (15001, 2213) - sec_ctx_stack_ndx = 0
[2004/12/13 10:33:55, 3] smbd/service.c:make_connection_snum(648)
  duk652-008167 (6.52.14.33) connect to service IPC$ initially as user
shpguest
(uid=15001, gid=2213) (pid 28589)
[2004/12/13 10:33:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/13 10:33:55, 3] smbd/reply.c:reply_tcon_and_X(456)
  tconX service=IPC$
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1373 of length 90
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBntcreateX (pid 28589) conn 0x2d7ee8
[2004/12/13 10:33:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (305, 2200) - sec_ctx_stack_ndx = 0
[2004/12/13 10:33:55, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(.) returning 0664
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(105)
  error string = Is a directory
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(129)
  error packet at smbd/nttrans.c(867) cmd=162 (SMBntcreateX)
NT_STATUS_FILE_IS_A
_DIRECTORY
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1374 of length 152
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBntcreateX (pid 28589) conn 0x2d7ee8
[2004/12/13 10:33:55, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(do/publications/temp/Thumbs.db) returning 0664
[2004/12/13 10:33:55, 3] smbd/open.c:open_file(178)
  Error opening file do/publications/temp/Thumbs.db (No such file or
directory)
(local_flags=0) (flags=0)
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2240) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_NA
ME_NOT_FOUND
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1375 of length 152
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBntcreateX (pid 28589) conn 0x2d7ee8
[2004/12/13 10:33:55, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(do/publications/temp/Thumbs.db) returning 0664
[2004/12/13 10:33:55, 3] smbd/open.c:open_file(178)
  Error opening file do/publications/temp/Thumbs.db (No such file or
directory)
(local_flags=0) (flags=0)
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2004/12/13 10:33:55, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2240) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_NA
ME_NOT_FOUND
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1376 of length 158
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBntcreateX (pid 28589) conn 0x2d7ee8
[2004/12/13 10:33:55, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(do/publications/temp/P1010002.JPG) returning 0664
[2004/12/13 10:33:55, 2] smbd/open.c:open_file(245)
  AllenD opened file do/publications/temp/P1010002.JPG read=Yes write=No
(numope
n=2)
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1377 of length 76
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 28589) conn 0x2d7ee8
[2004/12/13 10:33:55, 3] smbd/trans2.c:call_trans2qfilepathinfo(2291)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2004/12/13 10:33:55, 3] smbd/trans2.c:call_trans2qfilepathinfo(2380)
  call_trans2qfilepathinfo do/publications/temp/P1010002.JPG (fnum = 9951)
level
=1006 call=7 total_data=0
[2004/12/13 10:33:55, 3] smbd/process.c:process_smb(1092)
  Transaction 1378 of length 63
[2004/12/13 10:33:55, 3] smbd/process.c:switch_message(887)
  switch message SMBreadX (pid 28589) conn 0x2d7ee8

Log level 2:

[2004/12/13 10:02:37, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/12/13 10:02:37, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/12/13 10:02:37, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=A652UK08 name2=DUK652-008167
[2004/12/13 10:02:37, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=a652uk08 remote=duk652-008167, name type = 0
[2004/12/13 10:02:37, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old
resources.
[2004/12/13 10:02:38, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old
resources.
[2004/12/13 10:02:38, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password: authentication for user [AllenD] -> [AllenD] ->
[allend]
 succeeded
[2004/12/13 10:02:38, 1] smbd/service.c:make_connection_snum(648)
  duk652-008167 (6.52.14.33) connect to service engineering initially as
user al
lend (uid=305, gid=2200) (pid 27715)
[2004/12/13 10:03:10, 0] smbd/oplock.c:request_oplock_break(1055)
  request_oplock_break: no response received to oplock break request to pid
2764
9 on port 61958 for dev = 42c0009, inode = 323084507, file_id = 412
[2004/12/13 10:03:10, 0] smbd/open.c:open_mode_check(734)
  open_mode_check: exlusive oplock left by process 27649 after break ! For
file
do/publications/temp/P1010003.JPG, dev = 42c0009, inode = 323084507.
Deleting it
 to continue...
[2004/12/13 10:03:10, 0] smbd/open.c:open_mode_check(738)
  open_mode_check: Existent process 27649 left active oplock.
[2004/12/13 10:03:10, 2] smbd/open.c:open_file(245)
  AllenD opened file do/publications/temp/P1010003.JPG read=Yes write=No
(numope
n=1)
[2004/12/13 10:03:26, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/12/13 10:03:26, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/12/13 10:03:56, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/12/13 10:03:56, 2] smbd/server.c:exit_server(571)
  Closing connections
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:52 EDT