• Multiple servers?

    From Alonzo@21:1/130 to All on Mon Jan 2 18:08:26 2023
    I don't know what I did, but when I run the Mystic server now it tells me that I have TWO servers running. I only have one instance of Mystic running, so I don't know what is happening. Has anyone else had this problem? It doesn't seem to be affecting the performance of my BBS, but it is strange.

    ... He who conquers his ego, conquers life.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/64)
    * Origin: The Unmarked Van (21:1/130)
  • From ogg@21:2/147 to Alonzo on Mon Jan 2 20:57:36 2023
    On 02 Jan 2023, Alonzo said the following...

    I don't know what I did, but when I run the Mystic server now it tells
    me that I have TWO servers running. I only have one instance of Mystic running, so I don't know what is happening. Has anyone else had this problem? It doesn't seem to be affecting the performance of my BBS, but
    it is strange.

    ... He who conquers his ego, conquers life.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/64)
    * Origin: The Unmarked Van (21:1/130)

    I have run into this problem before. Take a close look at the windows task manager. I had multiple copies of mis running. I now make sure BEFORE I
    start mis that I've shut down any previous copies.

    ogg
    Sysop, Altair IV BBS
    altairiv.ddns.net:2323

    ... Great minds think alike; small minds run together

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Avon@21:1/101 to Alonzo on Tue Jan 3 16:29:25 2023
    On 02 Jan 2023 at 06:08p, Alonzo pondered and said...

    I don't know what I did, but when I run the Mystic server now it tells
    me that I have TWO servers running. I only have one instance of Mystic running, so I don't know what is happening. Has anyone else had this problem? It doesn't seem to be affecting the performance of my BBS, but
    it is strange.

    Hi there :)

    As discussed via email, this is normal behavior and what you're seeing is the Mystic server (mis server) reporting it's starting up the telnet server on port 23 and the binkp server on port 24554 ... so it's all good :)

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to ogg on Tue Jan 3 16:33:33 2023
    On 02 Jan 2023 at 08:57p, ogg pondered and said...

    I have run into this problem before. Take a close look at the windows task manager. I had multiple copies of mis running. I now make sure BEFORE I start mis that I've shut down any previous copies.

    In theory (for windows certainly) once you start a server you get a mis.bsy semaphore created such that should should not be able to run another 'mis server' instance thereafter.

    I can also repro this when I try to run 'mis server' in Linux

    ERROR: Mystic servers are already running.
    If this is not true, then the delete the following file and restart: /mystic/semaphor/mis.bsy

    Cheers ears..

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Alonzo@21:1/130 to ogg on Tue Jan 3 09:25:08 2023
    I have run into this problem before. Take a close look at the windows task manager. I had multiple copies of mis running. I now make sure BEFORE I start mis that I've shut down any previous copies.
    Thanks, I will take a look at it.

    ... Anything is possible if you don't know what you're talking about

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/64)
    * Origin: The Unmarked Van (21:1/130)
  • From Alonzo@21:1/130 to Avon on Tue Jan 3 09:28:22 2023
    As discussed via email, this is normal behavior and what you're seeing
    is the Mystic server (mis server) reporting it's starting up the telnet server on port 23 and the binkp server on port 24554 ... so it's all
    good :)

    Thanks. What confused me was, I had never seen this before. Maybe I don't even need the binkp server. I will mess around with it and see.

    ... Isn’t it a bit unnerving that doctors call what they do "practice"?

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/64)
    * Origin: The Unmarked Van (21:1/130)
  • From Kidd Wicked@21:1/169 to Avon on Wed Jan 4 11:19:00 2023
    On 03 Jan 2023, Avon said the following...

    In theory (for windows certainly) once you start a server you get a mis.bsy semaphore created such that should should not be able to run another 'mis server' instance thereafter.

    It works that way on my system. Only issue is that if mystic is not shutdown properly it wont remove the mis.bsy file. So I just created a batch file to remove it and just be mindful of the instances running. But when i do launch it, it states that I have 4 servers running. telnet, ssh, binkp, web.

    |11ú|03-|09Ä|01Ä· |15K|07¡|08dd |01ÖÄÄ|09ú-|03ú |11ú
    |01Ó |15W|07¡ck|08ed |01Ó

    ... Enter any 12-digit prime number to continue.

    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: Sinner's Haven 2.0 (21:1/169)
  • From ogg@21:2/147 to Kidd Wicked on Wed Jan 4 10:35:40 2023
    It works that way on my system. Only issue is that if mystic is not shutdown properly it wont remove the mis.bsy file. So I just created a batch file to remove it and just be mindful of the instances running.
    But when i do launch it, it states that I have 4 servers running.
    telnet, ssh, binkp, web.

    ú-ÄÄ· K¡dd ÖÄÄú-ú ú
    Ó W¡cked Ó

    Using a batch file is the way that I do it as well.

    ogg
    Sysop, Altair IV BBS
    altairiv.ddns.net:2323

    ... If you choose not to decide, you still have made a choice

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Alonzo@21:1/130 to Kidd Wicked on Wed Jan 4 17:53:50 2023
    I had the same thing happen whenever I started Mystic it said that I was running 2 servers, which was confusing at first until I realized it was the binkp that was also running. I also made a little batch file I call "startbbs.bat" that will delete the mis.bsy file and then load Mystic.... because I'm lazy that way. :)

    ... I think I am, therefore, I am... I think.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/64)
    * Origin: The Unmarked Van (21:1/130)
  • From Kidd Wicked@21:1/169 to Alonzo on Wed Jan 4 20:53:16 2023
    "startbbs.bat" that will delete the mis.bsy file and then load Mystic.... because I'm lazy that way. :)

    I named my thelazyautopilot.bat
    :start
    del c:\mystic\semaphor\mis.bsy
    cd \mystic
    c:\mystic\mis server
    goto start

    just in case mis errors out.. <G>

    |11ú|03-|09Ä|01Ä· |15K|07¡|08dd |01ÖÄÄ|09ú-|03ú |11ú
    |01Ó |15W|07¡ck|08ed |01Ó

    ... Computers are not intelligent. They only think they are.

    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: Sinner's Haven 2.0 (21:1/169)
  • From Geri Atricks@21:4/102 to Alonzo on Mon Jan 2 16:54:50 2023

    I don't know what I did, but when I run the Mystic server now it tells
    me that I have TWO servers running. I only have one instance of Mystic running, so I don't know what is happening. Has anyone else had this problem? It doesn't seem to be affecting the performance of my BBS, but
    it is strange.

    Check your 'semaphore' folder and make sure there are no .bsy file in it before starting up MIS.

    For instance, I use the following .bat file to start my BBS:

    cd \loy\semaphore
    del *.bsy
    cd \loy
    mis server

    Of course, I'm running on Win7U, but I'm sure you could create a bash file that does the same thing if you're running on a *nix system.

    --- Mystic BBS v1.12 A47 2021/09/29 (Windows/64)
    * Origin: Legends of Yesteryear (furmenservices.net:23322) (21:4/102)
  • From paulie420@21:2/150 to Geri Atricks on Wed Jan 18 18:22:02 2023
    For instance, I use the following .bat file to start my BBS:

    cd \loy\semaphore
    del *.bsy
    cd \loy
    mis server

    Its bad to delete .bsy files this way. Sure, you can sometimes delete .bsy files if they persist, but doing it everytime can cause issues for mutil / polling whether you experience issues or not.

    A better way would be to run the delete .bsy thru mis;
    ./mis poll killbusy

    (If you MUST do it, anyway. Its even BETTER to only run ./mis poll killbusy if NEEDED.)

    :P (This suggestion was made to me by g00r00, as I used to delete them like you're doing...)



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Geri Atricks@21:4/102 to paulie420 on Thu Jan 19 01:01:39 2023
    For instance, I use the following .bat file to start my BBS:

    cd \loy\semaphore
    del *.bsy
    cd \loy
    mis server
    Its bad to delete .bsy files this way. Sure, you can sometimes delete
    .bsy files if they persist, but doing it everytime can cause issues for mutil / polling whether you experience issues or not.

    A better way would be to run the delete .bsy thru mis;
    ./mis poll killbusy

    I use that in my polling events. The batch file is just for starting the BBS after a restart where it's very likely that the server was not shutdown properly, like after a power failure or system freeze.

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Legends of Yesteryear (furmenservices.net:23322) (21:4/102)
  • From paulie420@21:2/150 to Geri Atricks on Thu Jan 19 16:44:47 2023
    I use that in my polling events. The batch file is just for starting the BBS after a restart where it's very likely that the server was not shutdown properly, like after a power failure or system freeze.

    Nice... I check for them first, but suppose I spoke up a BIT too quick:
    -----
    #!/bin/bash

    sem="/home/pi/mystic/semaphore"
    pid=$(ps aux | grep "./mis daemon" | grep -v grep | awk -F " " '{ print $2 }')

    cd /home/pi/mystic/

    if [ -f $sem/mis.bsy ]; then
    if [[ "$pid" -lt 1 ]]; then
    echo "Doesn't appear to be running although there's a semaphore file so we'll delete that now and run the server."
    rm $sem/*.bsy
    ./mis daemon
    else
    echo "Server already running."
    fi
    else
    echo "Server not running, starting it now."
    ./mis daemon
    fi
    -----
    Cheers!!



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)