I've got a second time a 'permission denied' error, while binkd want's
to start a filetransfer. Maybe someone can help to solve this.
Binkd 1.1a-95 (Nov 11 2017 19:18:31/OS2)
Compilation flags: gcc (klibc), zlib, bzlib2, https, ntlm, amiga_4d_outbound, bwlim.
Facilities: fts5004 rfc2553emu
__VERSION__=3.3.5 (Bird Build 2012-03-23 03:21 (csd5))
Bye/2 Torsten
Is it possible that some other program has the file open? Bbs, another mailer session, file processor...?Nothing like that. Also JFS should been finished storing the file after 23 seconds.
Hm... I'm updating gcc to csd6.__VERSION__=3.3.5 (Bird Build 2012-03-23 03:21 (csd5))gcc version 3.3.5 (Bird Build 2014-10-26 18:53 (csd6))
'TommiBye/2 Torsten
I've got a second time a 'permission denied' error, while binkd
want's to start a filetransfer. Maybe someone can help to solve this.
I haven't seen that happening, searched the logs, nothing found like that.
Is it possible that some other program has the file open? Bbs, another mailer session, file processor...?
that's what i was wondering... i had something the other week with aStrange...
huge file being placed into a filebox... binkd scanned and saw the
file in the box before the move was complete...
)\/(arkBye/2 Torsten
transferthat's what i was wondering... i had something the other week with aStrange...
huge file being placed into a filebox... binkd scanned and saw the
file in the box before the move was complete...
Usually the file-ticer generates the flowfile for binkd after file
and after generating the tic.
What sort of fileticer do you use?
the file being copied was on a physically different drive than the
the fileboxes so a rename wouldn't work...
the file being copied was on a physically different drive than the
the fileboxes so a rename wouldn't work...
Have you tried using a [insert addressee's hex codes].Bsy file in the outbound for the duration of the file move, with one of your scripts? Uh-oh, oh, you haven't. ;)
actually, yes, my scripts do generally create and manage those but not
all of the tools i use know what a bsy file is... one i can tell to
skip a system if a certain file exists (like a bsy file) but it
doesn't create them when it is moving things around... it is not a BSO tool and doesn't care about outbounds or semaphores... its job is
solely to move files from one place to another based on the
destination address...
actually, yes, my scripts do generally create and manage those but
not all of the tools i use know what a bsy file is... one i can tell
to skip a system if a certain file exists (like a bsy file) but it
doesn't create them when it is moving things around... it is not a
BSO tool and doesn't care about outbounds or semaphores... its job is
solely to move files from one place to another based on the
destination address...
So are you saying binkd executes this script before the file is done transferring?
I've got a second time a 'permission denied' error, while binkd want's
to start a filetransfer. Maybe someone can help to solve this.
smnk2429.zip (52059372,
So are you saying binkd executes this script before the file is
done transferring?
no... binkd doesn't execute anything over here on the main system...
my mail scripts were moving a large files into the fileboxes when
binkd rescanned and saw the file in one of the fileboxes which it
promptly tried to deliver to the remote system owning the filebox... nothing else... when the system gets busy, a copy/move that would
normally take 15 to 20 seconds can take up to 60 seconds or more...
So are you saying binkd executes this script before the file is done
transferring?
no... binkd doesn't execute anything over here on the main system...
my mail scripts were moving a large files into the fileboxes when
binkd rescanned and saw the file in one of the fileboxes which it
promptly tried to deliver to the remote system owning the filebox...
nothing else... when the system gets busy, a copy/move that would
normally take 15 to 20 seconds can take up to 60 seconds or more...
So then you're saying that a large file was being transferred into a filebox, and binkd tried sending it out before the copy/move was
finished?
Sorry man, something just doens't add up here. Whether it be your
scripts, or binkd, or whatever. It's all about the story, man! ;)
Good point. :-)I've got a second time a 'permission denied' error, while binkdMaybe there is a 'skip' statement in the binkd config file of the receiving node, that limits file sizes?
want's to start a filetransfer. Maybe someone can help to solve
this.
smnk2429.zip (52059372,
Wilfred.Bye/2 Torsten
29.11.2017 21:10, Tommi Koivula schrieb an Torsten Bamberg:
Is it possible that some other program has the file open? Bbs, another
mailer session, file processor...?
Nothing like that. Also JFS should been finished storing the file after 23 seconds.
__VERSION__=3.3.5 (Bird Build 2012-03-23 03:21 (csd5))
gcc version 3.3.5 (Bird Build 2014-10-26 18:53 (csd6))
Hm... I'm updating gcc to csd6.
Then I take a look at this again.
that's what i was wondering... i had something the other week
with a huge file being placed into a filebox... binkd scanned
and saw the file in the box before the move was complete...
Strange...transfer
Usually the file-ticer generates the flowfile for binkd after
file
and after generating the tic.
What sort of fileticer do you use?
i use allfix but it wasn't involved in this... in this case, it was a script file copying files from the central procesing area's outbound
to the individual fileboxes for those that connect here via binkp...
the file being copied was on a physically different drive than the the fileboxes so a rename wouldn't work...
i use allfix but it wasn't involved in this... in this case, it was a
script file copying files from the central procesing area's outbound
to the individual fileboxes for those that connect here via binkp...
the file being copied was on a physically different drive than the
the fileboxes so a rename wouldn't work...
.bsy and .csy files protect BSO (bink style outbound) only, a filebox
is not protected this way.
That is why one should use an atomic operation writing to a filebox.
So if the source file is on the same drive one should use move
(rename) and if the source file is on a different drive one should
first copy the file to a temporary directory of a target drive and
then use move (rename).
It is true for any mailer, not only for binkd.
i use allfix but it wasn't involved in this... in this case, it
was a script file copying files from the central procesing
area's outbound to the individual fileboxes for those that
connect here via binkp... the file being copied was on a
physically different drive than the the fileboxes so a rename
wouldn't work...
.bsy and .csy files protect BSO (bink style outbound) only, a
filebox is not protected this way.
that's interesting... i was not aware of that at all and we have exclusively been using BSY when writing to and removing from fileboxes specifically to prevent dual access problems...
That is why one should use an atomic operation writing to a
filebox. So if the source file is on the same drive one should
use move (rename) and if the source file is on a different drive
one should first copy the file to a temporary directory of a
target drive and then use move (rename).
ugh... that adds another layer of complexity...
but technically speaking, we always use move...
it is up to the tool or OS to copy or rename as necessary... we might
have to take a closer look at the tool
that has been being used ever since binkd was added to the system...
It is true for any mailer, not only for binkd.
FrontDoor doesn't have this problem... we use FD semaphores to signal
FD to do or not do certain things (eg: fdnoscan.now, fdcansess.11, fdrescan.now) as well as using semaphores similar to BSY... this is
one of the reasons why we asked several years ago for more disk based semaphores to talk to and control binkd with...
That is why one should use an atomic operation writing to a filebox.
So if the source file is on the same drive one should use move
(rename) and if the source file is on a different drive one should
first copy the file to a temporary directory of a target drive and
then use move (rename).
ugh... that adds another layer of complexity...
I see no complexity here.
but technically speaking, we always use move...
Well, I meant that in Windows it is called ren (rename) and in Unices
mv (move).
It is true for any mailer, not only for binkd.
FrontDoor doesn't have this problem... we use FD semaphores to signal
FD to do or not do certain things (eg: fdnoscan.now, fdcansess.11,
fdrescan.now) as well as using semaphores similar to BSY... this is
one of the reasons why we asked several years ago for more disk based
semaphores to talk to and control binkd with...
I used FrontDoor more than 20 years ago so I remember nothing about it now... :)
The following is my understanding of binkd.
Binkd author implemented two formats of outbound: Binkley style
outbound and filebox. These two formats have differing purpose.
Fileboxes are used for a simple file transfer. If a file has been put
into a filebox then it is assumed that a mailer is free to transfer
it. This simplicity is the main advantage of fileboxes. It is good for transferring regular files. The one and only demand is an atomic move
of a file to filebox. Mail bundles may also be transferred in such a
way but one cannot add messages to the bundles already located in a filebox since the mailer can start transferring the bundles at any
moment.
So if we want to have a possibility to add messages to a mail bundle
we should use BSO with its semaphore mechanism. Thus the absence of semaphores (or flag files) in fileboxes is not a mistake but a part of philosophy.
currently:
mail is tossed, packaged and placed in a central outbound.
tool moves outbound mail to BSO & fileboxes.
proposed:
mail is tossed, packaged and placed in a central outbound.
tool moves outbound mail to 2nd staging area on same disk as binkd.
tool moves outbound mail from 2nd staging area to BSO & fileboxes.
remember, not everyone has huge disks and fast modern machines for
this stuff...
Socurrently:
mail is tossed, packaged and placed in a central outbound.
tool moves outbound mail to BSO & fileboxes.
proposed:
mail is tossed, packaged and placed in a central outbound.
tool moves outbound mail to 2nd staging area on same disk as binkd.
Yes, this 2nd staging area is just a temporary outbound in terms of hpt.
since you use hpt you already have it.
tool moves outbound mail from 2nd staging area to BSO & fileboxes.
You don't have to move to temporary outbound the mail destined to BSO.
remember, not everyone has huge disks and fast modern machines for
this stuff...
You don't have to enlarge your partitions or have a faster machine. When you do the first move, the files occupy the same extent as they do in your present scheme but just the filename is in a different directory. The second move does not change the occupied size and it is fast because the file contents is not moved. It is the file "passport" (filename and some other technical info) that is moved to a different directory.
So the only problem is your tool. If you have its sources you may
change it.
If you haven't then you may use some scripting language
(cmd/4DOS/4OS2, you name it) to make the second move or replace your
tool with the new script completely.
BTW I don't understand why you need any special tool to move mail to outbound. You use hpt, don't you? And hpt can correctly move mail to fileboxes via temporary outbound.
BTW I don't understand why you need any special tool to move mail to
outbound. You use hpt, don't you? And hpt can correctly move mail to
fileboxes via temporary outbound.
i shouldn't need HPT to do a dual move if i could use HPT on the main system... i don't even know if there's a viable HPT for my OS/2 anyway...
BTW I don't understand why you need any special tool to move mail to
outbound. You use hpt, don't you? And hpt can correctly move mail to
fileboxes via temporary outbound.
i shouldn't need HPT to do a dual move if i could use HPT on the main
system... i don't even know if there's a viable HPT for my OS/2
anyway...
Just me thinking out aloud...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,027 |
Nodes: | 17 (0 / 17) |
Uptime: | 62:37:10 |
Calls: | 502,334 |
Calls today: | 2 |
Files: | 100,779 |
D/L today: |
11,047 files (1,034M bytes) |
Messages: | 300,078 |