• Startup??

    From HusTler@1:103/705 to All on Sat Nov 2 16:21:41 2019
    How do I edit the Startup for Havens BBS hosted on Synchronetbbs.org??


    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to HusTler on Sat Nov 2 15:31:48 2019
    Re: Startup??
    By: HusTler to All on Sat Nov 02 2019 04:21 pm

    How do I edit the Startup for Havens BBS hosted on Synchronetbbs.org??

    What do you mean by "the Startup"?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Nightfox on Sun Nov 3 09:23:27 2019
    Re: Startup??
    By: Nightfox to HusTler on Sat Nov 02 2019 03:31 pm

    How do I edit the Startup for Havens BBS hosted on Synchronetbbs.org??

    What do you mean by "the Startup"?

    Nightfox

    Widnows has startup file. It loads all the drivers, software blah blah. What is the equivelent on Ubuntu server? I want to edit whatever MarisaG has loading and running. She claims I restarted Joomla/Apache. I want to view the startup file(s) that start the server and BBS.

    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to HusTler on Sun Nov 3 10:57:00 2019
    HusTler wrote to Nightfox <=-

    How do I edit the Startup for Havens BBS hosted on Synchronetbbs.org??

    What do you mean by "the Startup"?

    Widnows has startup file. It loads all the drivers, software
    blah blah. What is the equivelent on Ubuntu server? I want to
    edit whatever MarisaG has loading and running. She claims I
    restarted Joomla/Apache. I want to view the startup file(s) that
    start the server and BBS.

    Sounds like you need to learn about 'systemd'. Google is your
    friend.



    ... If it walks out of your refrigerator, let it go.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to HusTler on Sun Nov 3 11:43:24 2019
    Re: Startup??
    By: HusTler to Nightfox on Sun Nov 03 2019 09:23 am

    What do you mean by "the Startup"?

    Widnows has startup file. It loads all the drivers, software blah blah. What is the equivelent on Ubuntu server? I want to edit whatever MarisaG has loading and running. She claims I restarted Joomla/Apache. I want to view the startup file(s) that start the server and BBS.

    I'm still not too sure what you mean by "startup file"? I'm not sure Windows has a single file that tells it what all to load. Modern versions of Windows don't use a config.sys/autoexec.bat like DOS did - though I believe there still is a config.sys/autoexec.bat for pure DOS sessions.

    In Linux, things that run in the background are often known as "services" or "deamons". Depending on the Linux distribution used on her servers, the location of those might be different. One common location is /etc/init.d . You might ask her about that and how she has it configured to start up.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Altere@1:103/705 to HusTler on Sun Nov 3 16:24:29 2019
    Re: Startup??
    By: HusTler to Nightfox on Sun Nov 03 2019 09:23 am

    Widnows has startup file. It loads all the drivers, software blah blah. What is the equivelent on Ubuntu server? I want to edit whatever MarisaG
    has
    loading and running. She claims I restarted Joomla/Apache. I want to view the startup file(s) that start the server and BBS.

    If you reboot, and everything is the way you want it, there's really noting to check. Any commands I give you below, used with a different syntax could alter your startup or other system functions so use at your own risk. Again, if everything is loaded at boot the way you want it, I wouldn't even bother.

    initctl list
    or
    service --status-all | grep +
    or
    systemctl list-units --type=service

    Depends on version which one you'll use.

    -altere

    ---
    þ Synchronet þ Athelstan BBS - athelstan.org ssh:2222 telnet:23
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Gamgee on Sun Nov 3 17:21:03 2019
    Re: Re: Startup??
    By: Gamgee to HusTler on Sun Nov 03 2019 10:57 am

    Sounds like you need to learn about 'systemd'. Google is your
    friend.

    Ok thanks. I've heard alot Linux guys bithin about system.d and creating flavors that don't use it. I'll have read more about it. Anyway system.d is resonible for starting they system? Thanks for the heads up.

    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Nightfox on Sun Nov 3 17:40:55 2019
    Re: Startup??
    By: Nightfox to HusTler on Sun Nov 03 2019 11:43 am

    In Linux, things that run in the background are often known as "services"
    or
    "deamons". Depending on the Linux distribution used on her servers, the location of those might be different. One common location is /etc/init.d . You might ask her about that and how she has it configured to start up.

    Ok here is a directory listing of /etc/init.d I'm going to guess that synchronetbbs has something to do with the BBS startup.

    cd /etc/init.d
    ls

    acpid ebtables lxcfs rsyslog
    apache2 fail2ban lxd screen-cleanup apache-htcacheclean grub-common mdadm ssh
    apparmor hwclock.sh mdadm-waitidle synchronetbbs
    apport irqbalance mysql sysstat
    atd iscsid open-iscsi udev
    clamav-freshclam jove open-vm-tools ufw
    console-setup.sh keyboard-setup.sh plymouth unattended-upgrades cron kmod plymouth-log uuidd
    cryptdisks lvm2 postfix vnstat
    cryptdisks-early lvm2-lvmetad procps x11-common
    dbus lvm2-lvmpolld rsync

    Here's what the file synchronetbbs looks like

    !/usr/bin/perl

    ### BEGIN INIT INFO
    # Provides: synchronetbbs
    # Required-Start: $local_fs $remote_fs $network $syslog
    # Required-Stop: $local_fs $remote_fs $network $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Synchronet BBS service 1.0
    # Description: Synchronet BBS service 1.0
    # Documentation: https://synchronetbbs.org/index.php/forum/alternate-startu$
    # Type: forking
    # PIDFile: /var/run/sbbs.pid
    # X-Interactive: false
    ### END INIT INFO

    my $SBBSDIR = "/sbbs";
    my $PIDFILE = "/var/run/sbbs.pid";
    my $pidnum = "";

    # Get the SBBS process pid
    if (-f $PIDFILE)
    {
    open(INPF, "<$PIDFILE") || die "Unable to open $PIDFILE for input";
    {

    ------snip------------------------

    my $running="";
    # check if BBS process is running
    my $exists = "";
    if ($pidnum ne "nofile")
    {
    $exists = kill 0, $pidnum;
    if ($exists)
    {
    $running = "running";
    }
    }
    if (($Command eq "") || ($Command eq "start"))
    {
    if ($running ne "running")
    {
    print "Starting SBBS...\n";
    if (-f "$SBBSDIR/nostart

    and it goes on and on...

    Am I on the track?

    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to HusTler on Sun Nov 3 18:35:00 2019
    HusTler wrote to Gamgee <=-

    Sounds like you need to learn about 'systemd'. Google is your
    friend.

    Ok thanks. I've heard alot Linux guys bithin about system.d
    and creating flavors that don't use it. I'll have read more about
    it. Anyway system.d is resonible for starting they system?
    Thanks for the heads up.

    Yes, there are a fair number of folks (including me) that don't
    care much for 'systemd'. Note that that is the correct spelling,
    it's not "system.d".

    For Ubuntu, and many other Linux distros, systemd is indeed the mechanism/process for how a system starts up. It still involves
    numerous scripts and ".service" files, and I don't know much more
    about it than that, as I don't use it myself. There is a command
    called 'systemctl' that is the interface used to control the
    startup process. Will require some reading to get a handle on it
    all.



    ... Internal Error: The system has been taken over by sheep at line 19960
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to HusTler on Sun Nov 3 19:10:06 2019
    Re: Startup??
    By: HusTler to Nightfox on Sun Nov 03 2019 05:40 pm

    Ok here is a directory listing of /etc/init.d I'm going to guess that synchronetbbs has something to do with the BBS startup.

    Here's what the file synchronetbbs looks like

    !/usr/bin/perl

    ### BEGIN INIT INFO
    # Provides: synchronetbbs
    # Required-Start: $local_fs $remote_fs $network $syslog

    ...

    if ($running ne "running")
    {
    print "Starting SBBS...\n";
    if (-f "$SBBSDIR/nostart

    and it goes on and on...

    Am I on the track?

    Yes, it looks like you're on the right track. That looks like a Perl script to start up Synchronet - I've seen posts from Marisa G about some Linux utilities & scripts she has created for Synchronet. I haven't used her scripts, so unfortunately I probably wouldn't be too much help about that; Marisa might be the best person to ask for support about her scripts, or anyone else who might be using them.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Gamgee on Sun Nov 3 22:37:11 2019
    Re: Re: Startup??
    By: Gamgee to HusTler on Sun Nov 03 2019 06:35 pm

    Yes, there are a fair number of folks (including me) that don't
    care much for 'systemd'. Note that that is the correct spelling,
    it's not "system.d".
    For Ubuntu, and many other Linux distros, systemd is indeed the mechanism/process for how a system starts up. It still involves
    numerous scripts and ".service" files, and I don't know much more
    about it than that, as I don't use it myself. There is a command

    Ok..Thanks...MarisaG took care of the problem (Again). Something about ports she said. Who knows. Let's see how the next Synchronet update goes.

    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Gamgee on Sun Nov 3 22:39:12 2019
    Re: Re: Startup??
    By: Gamgee to HusTler on Sun Nov 03 2019 06:35 pm

    For Ubuntu, and many other Linux distros, systemd is indeed the mechanism/process for how a system starts up. It still involves
    numerous scripts and ".service" files, and I don't know much more
    about it than that, as I don't use it myself. There is a command
    called 'systemctl' that is the interface used to control the
    startup process. Will require some reading to get a handle on it
    all.

    Thanks. Kinda like needing to learn DOS so I can use Word right? ;-)


    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Nightfox on Mon Nov 4 06:38:50 2019
    Re: Startup??
    By: Nightfox to HusTler on Sun Nov 03 2019 07:10 pm

    Yes, it looks like you're on the right track. That looks like a Perl
    script
    to start up Synchronet - I've seen posts from Marisa G about some Linux

    I got the script locations from Marisa. I have a better understanding of what happens after a reboot. Hopefully I won't have to deal with this Apache/Joomla stuff anymore. I don't see it in any of the scripts mentioned so far.


    Havens BBS

    SysOp: HusTler

    ---
    þ Synchronet þ Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)