• QWK bad packets

    From Alterego@VERT/ALTERANT to Digital Man on Thu Aug 29 14:04:07 2019
    So I got another one today - and I watched the log:

    8/29 09:50:35 evnt Finished Importing QWK Network Packet from DIGDIST: (1 msgs) in 1 seconds (1 msgs/sec), 3 errors, 0 dupes
    8/29 09:50:35 evnt QNET /opt/sbbs/data/DIGDIST.qwk renamed to /opt/sbbs/data/DIGDIST.qwk.5d67134b.bad
    8/29 09:50:35 evnt QNET !ERROR 2 (No such file or directory) in main.cpp line 2954 (event_thread) removing "/opt/sbbs/data/DIGDIST.qwk" access=0

    It says "3 errors", but no where preceeding did it show any error.
    (It did have !Filtering QWK message from ... - but many more than 3 of them).

    The packet was renamed bad, I guess because of the errors, but then the last line shouldnt have been attempted?

    How do I find out what those 3 errors were?
    ...δεσ*

    ... It is a well known fact that a deceased body harms the mind.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Wed Aug 28 23:26:08 2019
    Re: QWK bad packets
    By: Alterego to Digital Man on Thu Aug 29 2019 10:04 am

    So I got another one today - and I watched the log:

    8/29 09:50:35 evnt Finished Importing QWK Network Packet from DIGDIST: (1 msgs) in 1 seconds (1 msgs/sec), 3 errors, 0 dupes
    8/29 09:50:35 evnt QNET /opt/sbbs/data/DIGDIST.qwk renamed to /opt/sbbs/data/DIGDIST.qwk.5d67134b.bad
    8/29 09:50:35 evnt QNET !ERROR 2 (No such file or directory) in main.cpp line 2954 (event_thread) removing "/opt/sbbs/data/DIGDIST.qwk" access=0

    It says "3 errors", but no where preceeding did it show any error.
    (It did have !Filtering QWK message from ... - but many more than 3 of them).

    The only thing I can see is a possible vote message import errors. I've added some warning-level log messgaes if the relevant C function fails, so try updating and see if that logs the additional details needed.

    The packet was renamed bad, I guess because of the errors, but then the last line shouldnt have been attempted?

    I agree, good catch. Should be fixed now.

    How do I find out what those 3 errors were?

    Try CVS-updating, build, and re-import the QWK packet.

    digital man

    Synchronet/BBS Terminology Definition #28:
    FREQ = File Request
    Norco, CA WX: 76.8°F, 66.0% humidity, 4 mph NNE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to Digital Man on Thu Aug 29 18:57:04 2019
    Re: QWK bad packets
    By: Digital Man to Alterego on Wed Aug 28 2019 07:26 pm

    The only thing I can see is a possible vote message import errors. I've added some warning-level log messgaes if the relevant C function fails, so try updating and see if that logs the additional details
    needed.

    The packet was renamed bad, I guess because of the errors, but then the last line shouldnt have been attempted?

    So it was voting:

    8/29 14:53:48 evnt QNET QWK vote failure, offset 128 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 256 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 384 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 512 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 640 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 768 in /opt/sbbs/data/VERT.qwk

    Why would I be getting these? (I've occasionally seen some voting up/down messages...)
    ...δεσ*

    ... Mongo LIKE Candygram.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Thu Aug 29 02:14:15 2019
    Re: QWK bad packets
    By: Alterego to Digital Man on Thu Aug 29 2019 02:57 pm

    Re: QWK bad packets
    By: Digital Man to Alterego on Wed Aug 28 2019 07:26 pm

    The only thing I can see is a possible vote message import errors. I've added some warning-level log messgaes if the relevant C function fails, so try updating and see if that logs the additional details
    needed.

    The packet was renamed bad, I guess because of the errors, but then the last line shouldnt have been attempted?

    So it was voting:

    8/29 14:53:48 evnt QNET QWK vote failure, offset 128 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 256 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 384 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 512 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 640 in /opt/sbbs/data/VERT.qwk 8/29 14:53:48 evnt QNET QWK vote failure, offset 768 in /opt/sbbs/data/VERT.qwk

    Why would I be getting these? (I've occasionally seen some voting up/down messages...)

    Is there a VOTING.DAT file included in the packet?

    digital man

    Synchronet/BBS Terminology Definition #80:
    XJS = External JavaScript (SSJS embedded within HTML/CSS)
    Norco, CA WX: 70.0°F, 80.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to Digital Man on Thu Aug 29 19:59:54 2019
    Re: QWK bad packets
    By: Digital Man to Alterego on Wed Aug 28 2019 10:14 pm

    Is there a VOTING.DAT file included in the packet?

    Yup...

    [deon@d-1-1 data]$ sudo unzip -l VERT.qwk.5d675a5c.bad
    Archive: VERT.qwk.5d675a5c.bad
    Length Date Time Name
    --------- ---------- ----- ----
    781 08-26-2019 22:36 HEADERS.DAT
    3072 08-26-2019 22:36 MESSAGES.DAT
    1669 08-26-2019 22:36 VOTING.DAT
    --------- -------
    5522 3 files
    ...δεσ*

    ... Eye witnesses were on the scene in minutes.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Thu Aug 29 17:41:06 2019
    Re: QWK bad packets
    By: Alterego to Digital Man on Thu Aug 29 2019 03:59 pm

    Re: QWK bad packets
    By: Digital Man to Alterego on Wed Aug 28 2019 10:14 pm

    Is there a VOTING.DAT file included in the packet?

    Yup...

    [deon@d-1-1 data]$ sudo unzip -l VERT.qwk.5d675a5c.bad
    Archive: VERT.qwk.5d675a5c.bad
    Length Date Time Name
    --------- ---------- ----- ----
    781 08-26-2019 22:36 HEADERS.DAT
    3072 08-26-2019 22:36 MESSAGES.DAT
    1669 08-26-2019 22:36 VOTING.DAT
    --------- -------
    5522 3 files

    Okay, that's possibility down. :-)

    Do you have debug log-level enabled? Some of the vote failures are only logged as debug-level messages.

    I see now there are few cases (like duplicate vote msgs) that are not logged at all, so I'll be adding those log messages and committing soon.

    digital man

    This Is Spinal Tap quote #29:
    I find lost luggage. I locate mandolin strings in the middle of Austin!
    Norco, CA WX: 92.1°F, 42.0% humidity, 1 mph NW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to Digital Man on Fri Aug 30 13:20:02 2019
    Re: QWK bad packets
    By: Digital Man to Alterego on Thu Aug 29 2019 01:41 pm

    Do you have debug log-level enabled? Some of the vote failures are only logged as debug-level messages.

    No, my builds are normally release builds.

    I see now there are few cases (like duplicate vote msgs) that are not logged at all, so I'll be adding those log messages and committing soon.

    It should be duplicate votes should it? I only get DOVEnet from you, and I think I've only ever voted on 1 message on my side.
    ...δεσ*

    ... A memorandum is written not to inform the reader but to protect the writer

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Thu Aug 29 21:29:36 2019
    Re: QWK bad packets
    By: Alterego to Digital Man on Fri Aug 30 2019 09:20 am

    Re: QWK bad packets
    By: Digital Man to Alterego on Thu Aug 29 2019 01:41 pm

    Do you have debug log-level enabled? Some of the vote failures are only logged as debug-level messages.

    No, my builds are normally release builds.

    That doesn't matter. I'm talking about the log-level. Debug-level log messages are sent/logged in release builds too.

    I see now there are few cases (like duplicate vote msgs) that are not logged at all, so I'll be adding those log messages and committing soon.

    It should be duplicate votes should it? I only get DOVEnet from you, and I think I've only ever voted on 1 message on my side.

    <shrugs> It may be something else. The log output should tell us.

    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 88.3°F, 47.0% humidity, 12 mph ENE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to Digital Man on Fri Aug 30 14:37:47 2019
    Re: QWK bad packets
    By: Digital Man to Alterego on Thu Aug 29 2019 05:29 pm

    That doesn't matter. I'm talking about the log-level. Debug-level log messages are sent/logged in release builds too.

    Oh, OK. I'm using whatever is "default" - which now that I found that option is "Informational". I'll change it to Debugging.

    ...δεσ*

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Alterego@VERT/ALTERANT to Digital Man on Fri Aug 30 14:40:56 2019
    Re: QWK bad packets
    By: Digital Man to Alterego on Thu Aug 29 2019 05:29 pm

    <shrugs> It may be something else. The log output should tell us.

    OK, I upped the logging and get this:

    8/30 10:39:31 evnt Importing QWK Network Packet: /opt/sbbs/data/VERT.qwk
    8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-program
    8/30 10:39:31 evnt QNET QWK vote failure, offset 128 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-program
    8/30 10:39:31 evnt QNET QWK vote failure, offset 256 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-unix
    8/30 10:39:31 evnt QNET QWK vote failure, offset 384 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-internet
    8/30 10:39:31 evnt QNET QWK vote failure, offset 512 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-internet
    8/30 10:39:31 evnt QNET QWK vote failure, offset 640 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-hobby
    8/30 10:39:31 evnt QNET QWK vote failure, offset 768 in /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt Importing QWK messages from VERT into DOVE-Net Synchronet Sysops Only
    8/30 10:39:31 evnt QNET !smb_addmsg duplicate Message-ID: <5D63C5F2.1246.dove-syncops@alleycat.synchro.net> found in message #1162
    8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-syncprog
    8/30 10:39:31 evnt QNET QWK vote failure, offset 2944 in /opt/sbbs/data/VERT.qwk
    8/30 10:39:31 evnt Finished Importing QWK Network Packet from VERT: (0 msgs) in 1 seconds (0 msgs/sec), 7 errors, 1 dupes


    ...δεσ*

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Thu Aug 29 22:38:54 2019
    Re: QWK bad packets
    By: Alterego to Digital Man on Fri Aug 30 2019 10:40 am

    Re: QWK bad packets
    By: Digital Man to Alterego on Thu Aug 29 2019 05:29 pm

    <shrugs> It may be something else. The log output should tell us.

    OK, I upped the logging and get this:

    8/30 10:39:31 evnt Importing QWK Network Packet: /opt/sbbs/data/VERT.qwk 8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-program

    That's probably just a very early vote message left-over in that conference. You can safely ignore it.

    8/30 10:39:31 evnt QNET !smb_addmsg duplicate Message-ID: <5D63C5F2.1246.dove-syncops@alleycat.synchro.net> found in message #1162

    Just your typical dupe (not an error).

    8/30 10:39:31 evnt QNET Error smb_addvote thread_back field missing (-105) writing vote-msg to /opt/sbbs/data/subs/dove-syncprog
    8/30 10:39:31 evnt QNET QWK vote failure, offset 2944 in /opt/sbbs/data/VERT.qwk
    8/30 10:39:31 evnt Finished Importing QWK Network Packet from VERT: (0 msgs) in 1 seconds (0 msgs/sec), 7 errors, 1 dupes

    You can safely ignore those errors as I think just really old vote-messages.

    digital man

    Synchronet "Real Fact" #97:
    Synchronet v3.12a was released on December 31st of 2004 (Rob's birthday). Norco, CA WX: 84.8°F, 53.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net