Cannot Copy Files FROM ALPHA (2.0.6)

Naveed Ahmed Greatman at Softhome.net
Wed May 29 05:19:13 GMT 2002


Here is dump of log file when I try to access file Welcome.txt from Win98,
Debug level is 7 there are no share files in locks folder, does this mean,
2.0.6 will not work, and I should use 2.0.3?

Naveed

[2002/05/28 11:41:12, 3] CMS_ROOT:[SAMBA.SOURCE.LIB]DOSCALLS.C;1:(336)
  dos_ChDir to SYS$SYSROOT/SYSMGR
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILENAME.C;2:(350)
  unix_convert called on file "\welcome.txt"
[2002/05/28 11:41:12, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(608)
  unix_clean_name [/welcome.txt]
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]MANGLE.C;2:(338)
  Checking welcome.txt for 8.3
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILENAME.C;2:(450)
  conversion finished welcome.txt -> welcome.txt
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILES.C;1:(104)
  allocated file structure 9096, fnum = 13192 (1 used)
[2002/05/28 11:41:12, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(608)
  unix_clean_name [welcome.txt]
[2002/05/28 11:41:12, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(2773)
  fcntl lock gave errno 9 (bad file number)
[2002/05/28 11:41:12, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(2794)
  lock failed at offset 0 count 1 op 9 type 2 (bad file number)
[2002/05/28 11:41:12, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;1:(198)
  ERROR lock_share_entry: fcntl_lock on file
/samba_root/var/locks/SHARE.3814264.67910 failed with bad file number
[2002/05/28 11:41:12, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;1:(511)
  ERROR: get_share_modes: Failed to read share file
/samba_root/var/locks/SHARE.3814264.67910
[2002/05/28 11:41:12, 4] CMS_ROOT:[SAMBA_VMS.SOURCE.SMBD]OPEN.C;1:(1002)
  calling open_file with flags=0x0 flags2=0x0 mode=0740
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILES.C;1:(173)
  allocated fd_ptr structure (1 used)
[2002/05/28 11:41:12, 2] CMS_ROOT:[SAMBA_VMS.SOURCE.SMBD]OPEN.C;1:(595)
  system opened file welcome.txt read=Yes write=No (numopen=1)
[2002/05/28 11:41:12, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]OPLOCK.C;2:(322)
  set_file_oplock: granted oplock on file welcome.txt, dev = 3a3378, inode =
67910, tv_sec = 3cf350b8, tv_usec = e5bc8
[2002/05/28 11:41:13, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;1:(1005)
  ERROR: set_share_mode: Failed to read share file
/samba_root/var/locks/SHARE.3814264.67910 (not owner)
[2002/05/28 11:41:13, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(2773)
  fcntl lock gave errno 9 (bad file number)
[2002/05/28 11:41:13, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL.C;1:(2794)
  lock failed at offset 0 count 1 op 9 type 2 (bad file number)
[2002/05/28 11:41:13, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;1:(198)
  ERROR lock_share_entry: fcntl_lock on file
/samba_root/var/locks/SHARE.3814264.67910 failed with bad file number
[2002/05/28 11:41:13, 3] CMS_ROOT:[SAMBA_VMS.SOURCE.SMBD]OPEN.C;1:(159)
  fd_attempt_close fd = 6, dev = 3a3378, inode = 67910, open_flags = 0,
ref_count = 1.
[2002/05/28 11:41:13, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILES.C;1:(353)
  freed fd_ptr structure (0 used)
[2002/05/28 11:41:13, 2] CMS_ROOT:[SAMBA.SOURCE.SMBD]CLOSE.C;2:(163)
  system closed file welcome.txt (numopen=0) bad file number
[2002/05/28 11:41:13, 5] CMS_ROOT:[SAMBA.SOURCE.SMBD]FILES.C;1:(378)
  freed files structure 13192 (0 used)

----- Original Message -----
From: "John E. Malmberg" <wb8tyw at qsl.net>
To: <samba-vms at lists.samba.org>
Sent: Sunday, May 26, 2002 2:46 AM
Subject: Re: Cannot Copy Files FROM ALPHA (2.0.6)


> "Naveed Ahmed" <Greatman at Softhome.network>
> >
> >>>[Has Set higher debug level to find possible cause of not copying
files]
> >>
> >
> > When I use SMBCLIENT and use get command to get files following errors
are
> > reported in smb.log file
> > [2002/05/24 15:37:50, 0]
> > CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;
> > 1:(198)
> > ERROR lock_share_entry: fcntl_lock on file
> > /samba_root/var/locks/SHARE.3814264.989510 failed with bad file number
> >
> > CMS_ROOT:[SAMBA_VMS.SOURCE.LOCKING]LOCKING_SLOW_VMS.C;1:(511)
> >   ERROR: get_share_modes: Failed to read share file
> > /samba_root/var/locks/SHARE.3814264.989510
> >
> SAMBA-VMS is implemented with the locking slow module.  As such it
> shares it weaknesses with the UNIX variant.
>
> Occasionally when the SMBD process aborts because of a bad network
> connection, locking files are left behind.  And something fails in the
> cleanup that newer SMBD processes are supposed to do.
>
> This has been reported in the older SAMBA on UNIX streams, but because
> the slow locking module is not used on many platforms, only a few
> platforms are affected.
>
> When this occurs, delete all the files SAMBA_ROOT:[VAR.LOCKS]SHARE.*;*
> to fix.
>
> The long term fix would be to write an OpenVMS specific FAST locking
> module using SYS$ENQW system services.
>
>  > And when I try to copy files from Win98, besides above errors
>  > following error also occur Can't open /samba_root/var/locks/browse.dat
>  > - permission denied
>
> I do not recall seeing that condition.
>
> SAMBA typically gives permission denied for all file access errors,
> regardless of the true cause.
>
> What debug level are you running?
>
> Debug levels between 4 and 8 are generally needed to diagnose file
> system problems.  Higher leves are needed for debugging protocol issues.
>
> -John
> wb8twy at qsl.network
> Personal Opinion Only
>
>





More information about the samba-vms mailing list