• Fixing a mix up w/ permissions and cnf files

    From Dux@1:103/705 to All on Sun Jul 24 17:55:41 2022
    Well, I have screwed up :)

    Running Syncronet in Linux, just over a year now, mostly hands off and everything has been working well including DOVENet, my only issue was Tradewars which comes w/ the install.

    I decided to try to get Tradewars going, but was doing some of the work as root, I believe I created some issues w/ permissions as run as the user 'bbs' normally.

    In addition I foolishly deleted xtrn.cnf -_-

    In an attempt to regenerate xtrn.cnf first I did a cleanall, which seemed to kill the executables, so then I decided to build again, I also did a touch for xtrn.cnf so that it'd at least be present.

    The BBS starts, but it seems that DOVENet is out now w/ the following error(s):

    synchronet: evnt QNET No startup directory configured for DOS command-line: unzip -Coj /sbbs/data/VERT.qwk * -d /sbbs/temp/event/

    synchronet: evnt QNET !ERROR 2 (No such file or directory) in un_qwk.cpp line 93 (unpack_qwk) executing "unzip -Coj /sbbs/data/VERT.qwk * -d /sbbs/temp/event/" access=4294967295

    synchronet: evnt QNET /sbbs/data/VERT.qwk renamed to /sbbs/data/VERT.qwk.62ddbfb9.bad

    It sounds fairly straight forward, "no startup directory configured", but before I wade in and screw something else up I thought I'd poke around here for some help.

    The other question is how I could go back to the out of box version of xtrn.cnf? At the moment mine is totally blank, but what was available out of the box seemed to work quite well (except for Tradewars!).

    TIA for any help!
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:153/757.1 to Dux on Sun Jul 24 18:09:43 2022
    Hello Dux,

    I decided to try to get Tradewars going, but was doing some of the
    work as root, I believe I created some issues w/ permissions as run as
    the user 'bbs' normally.

    That shouldn't be too hard to fix with chown. A command like..

    chown -R user:group /sbbs

    Adjust for your needs.

    In addition I foolishly deleted xtrn.cnf -_-

    You'll have to setup your externals again, maybe get a default xtrn.cnf with git or from the SBBS website and you should be on your way.

    Ttyl :-),
    Al

    ... Unable to load REALITY.SYS Invalid Parameter: /UTOPIA
    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.1)
  • From Digital Man@1:103/705 to Dux on Mon Jul 25 17:00:08 2022
    Re: Fixing a mix up w/ permissions and cnf files
    By: Dux to All on Sun Jul 24 2022 05:55 pm

    Well, I have screwed up :)

    Running Syncronet in Linux, just over a year now, mostly hands off and everything has been working well including DOVENet, my only issue was Tradewars which comes w/ the install.

    I decided to try to get Tradewars going, but was doing some of the work as root, I believe I created some issues w/ permissions as run as the user 'bbs' normally.

    In addition I foolishly deleted xtrn.cnf -_-

    Just retore your xtrn.0.cnf backup file then. http://wiki.synchro.net/config:cnf_files

    In an attempt to regenerate xtrn.cnf first I did a cleanall, which seemed to kill the executables, so then I decided to build again, I also did a touch for xtrn.cnf so that it'd at least be present.

    There's no connection between building the C/C++ source and your xtrn.cnf file.

    The BBS starts, but it seems that DOVENet is out now w/ the following error(s):

    synchronet: evnt QNET No startup directory configured for DOS command-line: unzip -Coj /sbbs/data/VERT.qwk * -d /sbbs/temp/event/

    1. That's not a "DOS command-line", so sounds like "unzip" isn't in your "Native program list" anymore.

    2. With Synchronet v3.19, you don't need to even run unzip to extract QWK packets any more.

    synchronet: evnt QNET !ERROR 2 (No such file or directory) in un_qwk.cpp line 93 (unpack_qwk) executing "unzip -Coj /sbbs/data/VERT.qwk * -d /sbbs/temp/event/" access=4294967295

    synchronet: evnt QNET /sbbs/data/VERT.qwk renamed to /sbbs/data/VERT.qwk.62ddbfb9.bad

    It sounds fairly straight forward, "no startup directory configured", but before I wade in and screw something else up I thought I'd poke around here for some help.

    The other question is how I could go back to the out of box version of xtrn.cnf?

    You could download it from gitlab.synchro.net. But your own backup file (xtrn.0.cnf) would likely be a better start.

    At the moment mine is totally blank, but what was available out of
    the box seemed to work quite well (except for Tradewars!).

    TIA for any help!

    No problem,
    --
    digital man (rob)

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 83.7øF, 55.0% humidity, 16 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)