• Questions about setting up DOS doors

    From Sean Dennis@1:320/219 to All on Thu Mar 28 21:12:50 2013
    Hi, everyone.

    I'm in the process of switching from OS/2 to Linux for my BBS. I've successfully installed MBSE (the latest development version) under 64-bit Debian Linux 7.0. I've had lots of help from Andrew and Robert getting the board set up but I've run into a bit of a problem with running DOS doors.

    With Andrew's guidance, I compiled and installed DOSemu on my system and am using PC-DOS 7, which is the same working system Andrew has on his MBSE board.

    However, I keep running into this problem:

    Menu[1] 7=(Run external program in shell), Opt: '/opt/mbse/bin/czodiac /N' Door: /opt/mbse/bin/czodiac 1
    Execve: /bin/sh -c /opt/mbse/bin/czodiac 1
    Exec_nosuid: returned error 7
    Door end, rc=7
    ====
    THe problem is that I don't know what that error 7 is. I've tried looking in the manual and I haven't been able to figure out an answer.

    Can anyone help point me in the right direction?

    Thanks,
    Sean

    Greetings, Sean Dennis

    --- MBSE BBS v0.95.15 (GNU/Linux-i386)
    * Origin: Phoenix BBS * bnbbbs.dyndns.org:2323 (1:320/219)
  • From Vince Coen@2:250/1 to Sean Dennis on Fri Mar 29 19:38:00 2013
    Hello Sean!

    28 Mar 13 21:12, you wrote to All:

    However, I keep running into this problem:

    Menu[1] 7=(Run external program in shell), Opt: '/opt/mbse/bin/czodiac
    /N'
    Door: /opt/mbse/bin/czodiac 1
    Execve: /bin/sh -c /opt/mbse/bin/czodiac 1
    Exec_nosuid: returned error 7
    Door end, rc=7
    ====
    THe problem is that I don't know what that error 7 is. I've tried
    looking in the manual and I haven't been able to figure out an answer.

    Don't know these errors but check the settings for the file czodiac in ~/bin

    If it links to another location also check that.

    at a very rough guess no 'x' set but I think it might be a bit more in the settings. Also check who the owner is in ~/bin

    If czodiac is the dos program you will also need to check permissions of the emulator eg, try running a dos app manually in a dos box via a terminal.

    Sorry my manuals are not showing anything on error message/numbers etc.



    Vince

    --- Linux/Mbse/GoldED+/LNX 1.1.5-b20120229
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Raymond Quinn@1:214/1 to Sean Dennis on Fri Mar 29 17:30:00 2013
    Sean Dennis wrote to All <=-

    Hi, everyone.

    I'm in the process of switching from OS/2 to Linux for my BBS. I've

    About time...

    However, I keep running into this problem:

    Menu[1] 7=(Run external program in shell), Opt:
    '/opt/mbse/bin/czodiac /N' Door: /opt/mbse/bin/czodiac 1
    Execve: /bin/sh -c /opt/mbse/bin/czodiac 1
    Exec_nosuid: returned error 7

    I run Synchronet and not MBSE. I have checked it out on numerous occasions
    for the front-end mailer, but that is another story.

    If I am correct, the line above means that you are running the program as a user that has not been added as a valid SUperUser. If you were to run it as root (often not a good idea), the error should not appear.

    THe problem is that I don't know what that error 7 is. I've tried
    looking in the manual and I haven't been able to figure out an
    answer.

    Can anyone help point me in the right direction?

    Again, if I am correct, you can find an introduction to sudo, or "super
    user do" or "substitute user do". If I understand it correctly, it is a
    user trying to run a program that requires the super user (root) or the permissions of the file(s) being run are owned by root or another incorrect user.

    chown user.group /path/to/file/filename or
    chown user.group -R /path/to/file

    The "-R' means recursive, or everything in the specified directory,
    including subdirectories.

    Long story short, I have no idea what error 7 is and I had little luck on Google.

    Hope school is going well.


    Happy Easter!

    San Joaquin Valley Packet BBS
    sjvbbs.ampr.org
    Licensed amateur operators only.





    73 de Ray Quinn W6RAY
    Visalia, CA USA DM06ih


    ... They say it takes a village, our village idiots live in Washington, D.C. --- MultiMail/Linux v0.49
    --- SBBSecho 2.20-Linux
    * Origin: US 99 BBS - Visalia, CA bbs.quinnnet.org (1:214/1)
  • From Sean Dennis@1:320/219 to Vince Coen on Sat Mar 30 03:11:59 2013
    Hi, Vince-

    If czodiac is the dos program you will also need to check permissions of the
    emulator eg, try running a dos app manually in a dos box via a terminal.

    The door works fine locally running in dosemu. I know this door is working since Andrew is using one with very similar code on his MBSE board just fine (I
    know, I wrote both of them :).

    I appreciate the info though; it gives me somewhere to start looking.

    Later,
    Sean


    Greetings, Sean Dennis

    --- MBSE BBS v0.95.15 (GNU/Linux-i386)
    * Origin: Phoenix BBS * bnbbbs.dyndns.org:2323 (1:320/219)
  • From Nicholas Boel@1:154/10 to Sean Dennis on Sat Mar 30 10:16:46 2013
    Re: Re: Questions about setting up DOS doors
    By: Sean Dennis to Vince Coen on Sat Mar 30 2013 03:11 am

    The door works fine locally running in dosemu. I know this door is working since Andrew is using one with very similar code on his MBSE board just fine (I
    know, I wrote both of them :).

    Have you setup a virtual comport in dosemu? I believe you need to add a few lines at the beginning of the dosemu.conf:

    ifdev u_virtual
    serial { virtual com 1 }
    endif

    Unless you specify it directly on the command line.

    Regards,
    Nick

    --- SBBSecho 2.20-Linux
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Nicholas Boel@1:154/10 to Raymond Quinn on Sat Mar 30 10:19:07 2013
    Re: Questions about setting up DOS doors
    By: Raymond Quinn to Sean Dennis on Fri Mar 29 2013 05:30 pm

    Menu[1] 7=(Run external program in shell), Opt:
    '/opt/mbse/bin/czodiac /N' Door: /opt/mbse/bin/czodiac 1
    Execve: /bin/sh -c /opt/mbse/bin/czodiac 1
    Exec_nosuid: returned error 7

    I run Synchronet and not MBSE. I have checked it out on numerous occasions
    for the front-end mailer, but that is another story.

    If I am correct, the line above means that you are running the program as a user that has not been added as a valid SUperUser. If you were to run it as root (often not a good idea), the error should not appear.

    [Additionally for Sean]

    I believe there is a users.conf that comes with dosemu. You can add your user into there and should then be allowed to run it normally, and not as root.

    Regards,
    Nick

    --- SBBSecho 2.20-Linux
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Vince Coen@2:250/1 to Sean Dennis on Sat Mar 30 19:42:06 2013
    Hello Sean!

    30 Mar 13 03:11, you wrote to me:

    If czodiac is the dos program you will also need to check
    permissions of the emulator eg, try running a dos app manually in
    a dos box via a terminal.

    The door works fine locally running in dosemu. I know this door is
    working since Andrew is using one with very similar code on his MBSE
    board just fine (I know, I wrote both of them :).

    I appreciate the info though; it gives me somewhere to start looking.

    Forgot, check the permissions on progs to ensure that user mbse.bbs for rx

    eg, read and execute also the parent directory/s.


    Vince

    --- Linux/Mbse/GoldED+/LNX 1.1.5-b20120229
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Rj Clay@1:120/419 to Sean Dennis on Sun Mar 31 08:47:51 2013
    Sean,

    28 Mar 13 21:12, you wrote to all:

    With Andrew's guidance, I compiled and installed DOSemu on my system

    Since Dosemu has been a standard package in Debian since 1996, I'm wondering why you did that...


    Jame


    --- GoldED+/LNX 1.1.5--b20111217
    * Origin: RJC eeePC (1:120/419)
  • From Alan Ianson to Sean Dennis on Wed May 1 16:02:00 2013
    Sean Dennis wrote to All <=-

    Had to say Hi! to you too.. :)

    I'm in the process of switching from OS/2 to Linux for my BBS. I've successfully installed MBSE (the latest development version) under
    64-bit Debian Linux 7.0. I've had lots of help from Andrew and Robert getting the board set up but I've run into a bit of a problem with
    running DOS doors.

    A big switch but I think you'll like it. Have you been working on compiling your doors natively on linux?

    Sorry I can't help with your dosemu troubles. Been there, done that and in
    many cases never got any solutions.

    Ttyl :-),
    Al

    ... Internal Error: The system has been taken over by sheep at line 19960
    --- MultiMail/Linux v0.49
  • From Benny Pedersen@2:230/0 to Rj Clay on Sun Jun 30 14:17:12 2013
    Hello Rj!

    31 Mar 2013 08:47, Rj Clay wrote to Sean Dennis:

    With Andrew's guidance, I compiled and installed DOSemu on my system

    Since Dosemu has been a standard package in Debian since 1996, I'm wondering why you did that...

    he did not want precompiled problems ?

    like windows 8 :=)


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/3.9.6-gentoo (i686))
    * Origin: duggi.junc.org where qico is waiting (2:230/0)
  • From RJ Clay@1:120/544 to Benny Pedersen on Fri Aug 2 14:41:48 2013
    Hi Benny!

    30 Jun 13 14:17, you wrote to me:

    Hello Rj!

    31 Mar 2013 08:47, Rj Clay wrote to Sean Dennis:

    With Andrew's guidance, I compiled and installed DOSemu on my
    system

    Since Dosemu has been a standard package in Debian since 1996,
    I'm wondering why you did that...

    he did not want precompiled problems ?

    What "precompiled problems" would those be?



    Jame


    --- GoldED+/LNX 1.1.5-b20110213
    * Origin: ftn.rocasa.net (1:120/544)
  • From Benny Pedersen@2:230/0 to RJ Clay on Tue Aug 6 15:09:48 2013
    Hello RJ!

    02 Aug 2013 14:41, RJ Clay wrote to Benny Pedersen:

    he did not want precompiled problems ?
    What "precompiled problems" would those be?

    linux does not need to have a working gcc, but its nice if it have, then its possible to help fixing bugs, dos was fine in its time, but why keep dos problems ?

    microsoft still use dos, so one can make backups before windows ui make it secure to use, +1


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/3.10.4-gentoo (i686))
    * Origin: duggi.junc.org where qico is waiting (2:230/0)