On 09 Jul 2024 at 01:52a, Shurato pondered and said...
I'm getting the following:
01:33:21 MANAGER Starting event system
°³ 01:33:21 MANAGER Starting 1 server(s)
°³ 01:33:21 TELNET Unable to open IPV4 port: Error -1 (13)
°³ 01:33:21 TELNET Unable to open IPV6 port: Error -1 (13)
°³ 01:33:21 MANAGER Cryptlib not detected; SSL/SSH capabilities disabled °³ 01:33:21 EVENT Starting 0 event(s)
I used the install utility, but I don't know what I need to do to enable the telnet server to open the port. I checked the wiki to no avail.
FAQ too. I'm running Ubuntu 22.04 (24.04 was way too unstable for me) in
a VMWare VM under a Windows 10 Pro 64Bit Host. I'm not worried about
the cryptlib error, I'm just running this to start my BBS under Linux.
I would not worry about the cryptlib error to start with as that can be resolved by installing the correct Cryptlib dll ... the wiki has a section about this.
As for the Telnet port, is it a case of not enough privileges, when you start mis server do you run it with elevated privileges using sudo? It will need those to bind to the lower numbered ports.
[snip]
When running in Linux/macOS keep in mind that by default the operating
system will not let a service bind to a port less than 1025 unless it is a
ROOT user (in Linux) and NOT AT ALL in MacOS.
In Linux, MIS has the ability to switch from root back to whatever the user
and group is that owns the executable AFTER it binds to the ports it needs
for the server. So in Linux you can simply do a:
sudo ./mis
Or if you want to run it as a DAEMON you can do:
sudo ./mis -d
As mentioned, it will not run as root. It will only use root to immediately
bind the ports and then it will switch to the user who owns the executable.
There are other ways to reconfigure Linux to allow a specific user to bind to
ports less than 1024 but that is not yet covered in this documentation.
[snip]
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 A48 (Linux/64)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)