Ghost wrote to All <=-
I have installed Linux on a virtual machine and have compiled
SBBS on it. However, SBBS is not starting. SCFG will run and I
have my settings as they are on my windows machine. Any idea why
SBBS does not run?
I have installed Linux on a virtual machine and have compiled SBBS on it. However, SBBS is not starting. SCFG will run and I
have my settings as they are on my windows machine. Any idea why SBBS does not run?
I have installed Linux on a virtual machine and have compiled SBBS
on it. However, SBBS is not starting. SCFG will run and I have my
settings as they are on my windows machine. Any idea why SBBS does
not run?
what does /var/log/syslog say and the error log?
i am going to assume that you are running it as a non-root user and you havent done the setcap command so the binding to the < 1024 ports will be denied as you aren't running it as root
I have installed Linux on a virtual machine and have compiled SBBS on it. However, SBBS is not starting. SCFG will run and I have my settings as they are on my windows machine. Any idea why SBBS does not run?
Re: Re: Linux and SBBS
By: Gamgee to Ghost on Sun Sep 25 2022 09:17 pm
I have tried just clicking on it and also running from command line. Nothing appears to happen and I get no error messages
I am able to run gtkmonitor, which appears to be the GUI for SBBS, but when doing so, I get a "cannot create .ini file." Also, if I click on "user" in the monitor, it says "environment error". And last but not least, in the GTKmonitor, all the nodes show "Error reading node data (2)." If I attempt to clear the error, I get a message "Read error"
By: Charles Blackburn to Ghost on Sun Sep 25 2022 07:29 pm
what does /var/log/syslog say and the error log?
i am going to assume that you are running it as a non-root user and you havent done the setcap command so the binding
to the < 1024 ports will be denied as you aren't running it as root
Even in that case, sbbs would still start up, and it would report being unable to bind to the ports it needs.
Even in that case, sbbs would still start up, and it would report being
Correct.. UNLESS he compiled it as root and is trying to run it as "sbbs".
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 11:47 am
clicking on the SBBS.exe
Re: Linux and SBBS
By: Nightfox to Charles Blackburn on Mon Sep 26 2022 05:55 pm
If it is running, I am not seeing anything. I thought there would be some kind of display. Maybe not the same as windows, but something
Re: Re: Linux and SBBS
By: Ghost to Digital Man on Mon Sep 26 2022 07:03 pm
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 11:47 am
clicking on the SBBS.exe
Are you sure about that? "SBBS.exe" sounds like the name of the Synchronet BBS executable for Windows, not Linux.
If it is running, I am not seeing anything. I thought there would be some kind of display. Maybe not the same as windows, but something
clicking on the SBBS.exe
Re: Linux and SBBS
By: Charles Blackburn to Nightfox on Mon Sep 26 2022 02:10 pm
Yes, but sbbs should at least run and do something. He said sbbs is not starting, but I find that a little hard to believe.Correct.. UNLESS he compiled it as root and is trying to run it as "sbbs".Even in that case, sbbs would still start up, and it would report being
OK. Maybe it is not .exe. but it is apparently the executable for sbbs. It is in the /sbbs/exec directory
Being new to Linux, I have to ask the question "How do i run it from the command line?" just typeing SBBS doesn't seem to work
Ghost wrote to Digital Man <=-
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 10:18 pm
OK. Maybe it is not .exe. but it is apparently the executable for
sbbs. It is in the /sbbs/exec directory
Nightfox
You need to fully-path it, even if it's in th same directory. Also, Linux is case-sensitive. The executable is all lowerscase (sbbs), so SBBS wouldn't work.
You'd run it like this:
./sbbs
Because I am having all these problems, I deleted and recreated the Linux virtual machine.
The reason I was running under root is because I can't create an sbbs directory under user.
I am following the instructions for installing under linux from the wiki. However, when I do
the "sudo adduser sbbs" that works fine. I switch to the sbbs user (su sbbs) and try to create
the sbbs directory (mkdir /sbbs) but I get an error message saying "cannot create directory 'sbbs'
:permission denied." I tried "sudo mkdir /sbbs", and Linux asks for the password which I supply and
I get the error "sbbs is not in the sudoers file. This incident will be reported." So, following the
instructions is not working as laid out. This is all before attempting to install sbbs again. I don't
know how to add sbbs user to the sudoers file and I can't create the /sbbs directory under the sbbs
user.
Ghost wrote to Gamgee <=-
Re: Re: Linux and SBBS
By: Gamgee to Ghost on Tue Sep 27 2022 09:18 pm
Yes, I do think I should be attempting it in Linux, since I want
to learn Linux and I already know how the bulletin board works in
windows.
sbbs" that works fine. I switch to the sbbs user (su sbbs) and try to create the sbbs directory (mkdir /sbbs) but I get an error message saying "cannot create directory 'sbbs' :permission denied." I tried "sudo mkdir
Nightfox wrote to Ghost <=-
Re: Re: Linux and SBBS
By: Ghost to Nightfox on Tue Sep 27 2022 07:22 pm
sbbs" that works fine. I switch to the sbbs user (su sbbs) and try to create the sbbs directory (mkdir /sbbs) but I get an error message saying "cannot create directory 'sbbs' :permission denied." I tried "sudo mkdir
That's because you're trying to make sbbs from the root
directory. Usually you wouldn't do that. You should create the
sbbs directory within the sbbs user's directory. Right after
doing "su sbbs", you should be placed in the sbbs user's
directory, and then if you do "mkdir sbbs" (without the /), then
it would create the sbbs directory there. To verify what
directory you're in, run this command: pwd
After doing "su sbbs", it should show you're in /home/sbbs.
If you want to run Synchronet in Linux, perhaps you should learn
a bit about Linux and how Linux works.
In the newbie's defense (which I do hesitantly), the Wiki could use some corrections on this... It does indeed say to create the /sbbs directory while logged in as a normal user. This of course won't work, but
anybody with some Linux knowledge would make that as root and then
'chown sbbs:sbbs /sbbs' ... I'm not a fan of running it in a user's
home directory, although specifiying the proper environment (via SBBSCTRL) should handle that; but it makes things more complicated IMHO.
a bit about Linux and how Linux works.
Absolutely no doubt about that! ;-)
In the newbie's defense (which I do hesitantly), the Wiki could use some corrections on this... It does indeed say to create
the /sbbs directory
while logged in as a normal user. This of course won't work, but
anybody with some Linux knowledge would make that as root and then
'chown sbbs:sbbs /sbbs' ... I'm not a fan of running it in a user's
home directory, although specifiying the proper environment (via SBBSCTRL) should handle that; but it makes things more complicated IMHO.
If you want to run Synchronet in Linux, perhaps you should learn
a bit about Linux and how Linux works.
Charles Blackburn wrote to Gamgee <=-co
Re: Re: Linux and SBBS
By: Gamgee to Nightfox on Wed Sep 28 2022 14:14:00
In the newbie's defense (which I do hesitantly), the Wiki could use some
rrections on this... It does indeed say to create the /sbbs directory
while logged in as a normal user. This of course won't work, but
yes completely agree with that. not sure how easy it is to edit
it - ie like wikipedia or whether DM is the only one that can
edit it.
anybody with some Linux knowledge would make that as root and then
'chown sbbs:sbbs /sbbs' ... I'm not a fan of running it in a user's
home directory, although specifiying the proper environment (via
SBBSCTRL) should handle that; but it makes things more complicated IMHO.
to be honest... my sbbs users home directory is /sbbs.... i did
that when i added the user to the system, but im kinda old school
and also set the groups etc to "users" ... i have a personal pet
peeve to have a separate "user group" .
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 10:18 pm
OK. Maybe it is not .exe. but it is apparently the executable for sbbs. It is in the /sbbs/exec directory
Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 10:19 pm
So how do i get it to not run as a daemon?
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Mon Sep 26 2022 10:20 pm
Being new to Linux, I have to ask the question "How do i run it from the command line?" just typeing SBBS doesn't seem to work
Re: Re: Linux and SBBS
By: Nightfox to Ghost on Tue Sep 27 2022 01:48 pm
Nightfox
You need to fully-path it, even if it's in th same directory. Also, Linux is case-sensitive. The executable is all lowerscase (sbbs), so SBBS wouldn't work.
You'd run it like this:
./sbbs
Because I am having all these problems, I deleted and recreated the Linux virtual machine.
The reason I was running under root is because I can't create an sbbs directory under user.
I am following the instructions for installing under linux from the wiki. However, when I do
the "sudo adduser sbbs" that works fine. I switch to the sbbs user (su sbbs) and try to create
the sbbs directory (mkdir /sbbs) but I get an error message saying "cannot create directory 'sbbs'
:permission denied." I tried "sudo mkdir /sbbs", and Linux asks for the password which I supply and
I get the error "sbbs is not in the sudoers file. This incident will be reported." So, following the
instructions is not working as laid out. This is all before attempting to install sbbs again. I don't
know how to add sbbs user to the sudoers file
and I can't create the /sbbs
directory under the sbbs
user.
In the newbie's defense (which I do hesitantly), the Wiki could use some corrections on this... It does indeed say to create
the /sbbs directory
while logged in as a normal user. This of course won't work, but
yes completely agree with that. not sure how easy it is to edit it - ie like wikipedia or whether DM is the only one that can edit it.
Re: Re: Linux and SBBS
By: Digital Man to Ghost on Fri Sep 30 2022 01:29 am
./sbbs: line 34: ifndef: command not found
./sbbs: line 35: ifndef: command not found
./sbbs: line 36: RELEASE: command not found
./sbbs: line 37: endif: command not found
./sbbs: line 38: endif: command not found
./sbbs: line 40: ifdef: command not found
./sbbs: line 41: INSBIN: command not found
./sbbs: line 42: syntax error near unexpected token `else'
./sbbs: line 42: `else'
DM >Okay. You still haven't said what happens when you run it from a command prompt.
above is what I am getting now after reinstalling,
but before I reinstalled,
I wasn't getting any errors but it also wasn't going back to the command line. It just sat there
Obviously something didn't compile right even though I didn't get any errors.
I will try compiling it again and see what happens.
Being new to Linux, I have to ask the question "How do i run it
from the command line?" just typeing SBBS doesn't seem to work
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:38:53 |
Calls: | 7,885 |
Calls today: | 3 |
Files: | 12,962 |
Messages: | 5,787,523 |