Install Synchronet BBS on Ubuntu Server

Synchronet Bulletin Board System Software

... is a free software package that can turn your personal computer into your own custom online service supporting multiple simultaneous users with hierarchical message and file areas, multi-user chat, and the ever-popular BBS door games.

Synchronet development began as a personal hobby in 1990 for single-tasking MS-DOS compatible computers and Hayes compatible modems. The program was sold commercially from 1992-1996 after which time it was released (with source code) for both the 16-bit DOS and 32-bit OS/2 platforms to the public domain and development by the author was ceased.

In November of 1999, the author found a renewed interest in further developing Synchronet, specifically for the Internet community, embracing and integrating standard Internet protocols such as Telnet, FTP, SMTP, POP3, IRC, NNTP, and HTTP. Synchronet has since been substantially redesigned as an Internet-only BBS package for Win32 and Unix-x86 platforms and is an Open Source project under continuous development.

Synchronet Version 3.1x for Win32 and Unix (Intel-x86 architecture) can be previewed on Vertrauen (Home of Synchronet BBS Software).

In this article, i walk you through installing the Synchronet BBS Software on a Ubuntu Server.

1) Drop into super user

sudo su

2) Install dependencies

apt-get install build-essential libncurses5-dev g++ libnspr4-dev libmozjs-dev cvs dosemu dosemu-freedos

3) Create a SBBS folder on the root of the file system

mkdir /sbbs

4) Change to your SBBS folder

cd /sbbs

5) Download makefile to SBBS folder

wget http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile

6) Compile SBBS

make install RELEASE=1 USE_DOSEMU=1

7) Set the SBBSCTRL environment variable to point to your "ctrl" directory

export SBBSCTRL=/sbbs/ctrl

8) Configure your BBS

/sbbs/exec/scfg

9) Start your BBS

/sbbs/exec/sbbs

10) Test connectivity

telnet localhost

11) Create SysOp (System Operator) account

Type "New" when prompted for username

You can modify services, ports and interfaces if you take a look at the .ini files in /sbbs/ctrl/.

For a nice ANSI supported terminal, i like to use Syncterm.

Post your BBS in the comments so i can check yours out!

Comments

...

Linking gcc.linux.x64.lib.release/libsbbs.so
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
make[1]: *** [gcc.linux.x64.lib.release/libsbbs.so] Error 1
make[1]: Leaving directory `/sbbs/src/sbbs3'
make: *** [sbbs3] Error 2

I'm running Karmic server. Any ideas?

By Anonymous (not verified)

Are you using 64bit linux? I don't think it will work on 64bit.

By Anonymous (not verified)

!ERROR loading configuration files: Insufficient User Level Information: 0 user levels read, 100 needed.

By Anonymous (not verified)

Very odd error. You may want to run this by Rob directly, http://www.synchro.net/docs/support.html

By Tim Ashley --

/miT
[TimAshley.me]

Still running your BBS?
Willing to answer a few questions?

By Casca (not verified)

I am not currently running a BBS, but plan on possibly running a new opensource board in the near future.

By Tim Ashley --

/miT
[TimAshley.me]

./sbbsSynchronet Console for Linux  Version 3.16a  Copyright 2014 Rob Swindell!SBBSCTRL environment variable not set, using default value: /sbbs/ctrlReading /sbbs/ctrl/sbbs.iniLoading configuration files from /sbbs/ctrlCurrent uids: ruid - 1000, euid - 1000, suid - 1000Current gids: rgid - 1000, egid - 1000, sgid - 1000The process 2379 was given capabilities =Setting initial privilegeslinux_initialprivs() FAILEDVerify the following kernel module is loaded [See insmod(8)]: capabilityOperation not permittedCurrent uids: ruid - 1000, euid - 1000, suid - 1000Current gids: rgid - 1000, egid - 1000, sgid - 1000The process 2379 was given capabilities =!Started as non-root user.  Cannot bind() to ports below 1024.7/20 12:32:07 web  Synchronet Web Server Revision 1.572              7/20 12:32:07 web  Compiled Jul 17 2014 22:22:59 with GCC 4.8.3      7/20 12:32:07 web  Initializing on Sun Jul 20 12:32:07 2014 with options: 8007/20 12:32:07 web  Loading configuration files from /sbbs/ctrl       7/20 12:32:07 srvc Synchronet Services Revision 1.274                7/20 12:32:07 srvc Compiled Jul 17 2014 22:21:24 with GCC 4.8.3      7/20 12:32:07 srvc Initializing on Sun Jul 20 12:32:07 2014 with options: 8007/20 12:32:07 srvc Loading configuration files from /sbbs/ctrl       7/20 12:32:07 mail Synchronet Mail Server Revision 1.569             7/20 12:32:07 mail Compiled Jul 17 2014 22:21:22 with GCC 4.8.3      7/20 12:32:07 mail Initializing on Sun Jul 20 12:32:07 2014 with options: 47/20 12:32:07 mail Loading configuration files from /sbbs/ctrl       7/20 12:32:07 ftp  Synchronet FTP Server Revision 1.404              7/20 12:32:07 ftp  Compiled Jul 17 2014 22:21:20 with GCC 4.8.3      7/20 12:32:07 ftp  Initializing on Sun Jul 20 12:32:07 2014 with options: 1147/20 12:32:07 ftp  Loading configuration files from /sbbs/ctrl       7/20 12:32:07 term Synchronet Terminal Server Version 3.16 Revision A7/20 12:32:07 term Compiled Jul 17 2014 22:21:00 with GCC 4.8.3      7/20 12:32:07 term Initializing on Sun Jul 20 12:32:07 2014 with options: 10327/20 12:32:07 term Loading configuration files from /sbbs/ctrl       7/20 12:32:07 term Verifying/creating data directories               7/20 12:32:07 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:07 mail 0003 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:07 ftp  0004 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 term Verifying/creating node directories               7/20 12:32:07 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:07 web  0006 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:07 srvc 0009 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:07 term 0005 Will retry in 15 seconds (1 of 2)            7/20 12:32:22 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:22 mail 0003 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:22 ftp  0004 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:22 web  0006 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:22 srvc 0009 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:22 term 0005 Will retry in 15 seconds (2 of 2)            7/20 12:32:37 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:37 mail 0003 !Another application or service may be using this port7/20 12:32:37 mail #### Mail Server thread terminated (0 connections served, 0 messages received, 2 errors, 2 critcal)7/20 12:32:37 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:37 srvc 0009 !Another application or service may be using this port7/20 12:32:37 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:37 term !Another application or service may be using this port7/20 12:32:37 term Terminal Server thread terminating                7/20 12:32:37 term Terminal Server thread terminated (0 clients served)7/20 12:32:37 srvc 0003 !ERROR 13 binding MSP socket to port 18      7/20 12:32:37 srvc 0003 Will retry in 15 seconds (1 of 2)            7/20 12:32:37 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:37 ftp  0004 !Another application or service may be using this port7/20 12:32:37 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:37 web  !Another application or service may be using this port7/20 12:32:37 web  #### Web Server thread terminated (0 clients served)7/20 12:32:37 ftp  #### FTP Server thread terminated (0 clients served)7/20 12:32:52 srvc 0003 !ERROR 13 binding MSP socket to port 18       7/20 12:32:52 srvc 0003 Will retry in 15 seconds (2 of 2)             7/20 12:33:07 srvc 0003 !ERROR 13 binding MSP socket to port 18       7/20 12:33:07 srvc 0003 !Another application or service may be using this port7/20 12:33:07 srvc 0003 !ERROR 13 binding MSP-UDP socket to port 18   7/20 12:33:07 srvc 0003 Will retry in 15 seconds (1 of 2)             7/20 12:33:22 srvc 0003 !ERROR 13 binding MSP-UDP socket to port 18   7/20 12:33:22 srvc 0003 Will retry in 15 seconds (2 of 2)    

By joarivera

./sbbsSynchronet Console for Linux  Version 3.16a  Copyright 2014 Rob Swindell!SBBSCTRL environment variable not set, using default value: /sbbs/ctrlReading /sbbs/ctrl/sbbs.iniLoading configuration files from /sbbs/ctrlCurrent uids: ruid - 1000, euid - 1000, suid - 1000Current gids: rgid - 1000, egid - 1000, sgid - 1000The process 2379 was given capabilities =Setting initial privilegeslinux_initialprivs() FAILEDVerify the following kernel module is loaded [See insmod(8)]: capabilityOperation not permittedCurrent uids: ruid - 1000, euid - 1000, suid - 1000Current gids: rgid - 1000, egid - 1000, sgid - 1000The process 2379 was given capabilities =!Started as non-root user.  Cannot bind() to ports below 1024.7/20 12:32:07 web  Synchronet Web Server Revision 1.572              7/20 12:32:07 web  Compiled Jul 17 2014 22:22:59 with GCC 4.8.3      7/20 12:32:07 web  Initializing on Sun Jul 20 12:32:07 2014 with options: 8007/20 12:32:07 web  Loading configuration files from /sbbs/ctrl       7/20 12:32:07 srvc Synchronet Services Revision 1.274                7/20 12:32:07 srvc Compiled Jul 17 2014 22:21:24 with GCC 4.8.3      7/20 12:32:07 srvc Initializing on Sun Jul 20 12:32:07 2014 with options: 8007/20 12:32:07 srvc Loading configuration files from /sbbs/ctrl       7/20 12:32:07 mail Synchronet Mail Server Revision 1.569             7/20 12:32:07 mail Compiled Jul 17 2014 22:21:22 with GCC 4.8.3      7/20 12:32:07 mail Initializing on Sun Jul 20 12:32:07 2014 with options: 47/20 12:32:07 mail Loading configuration files from /sbbs/ctrl       7/20 12:32:07 ftp  Synchronet FTP Server Revision 1.404              7/20 12:32:07 ftp  Compiled Jul 17 2014 22:21:20 with GCC 4.8.3      7/20 12:32:07 ftp  Initializing on Sun Jul 20 12:32:07 2014 with options: 1147/20 12:32:07 ftp  Loading configuration files from /sbbs/ctrl       7/20 12:32:07 term Synchronet Terminal Server Version 3.16 Revision A7/20 12:32:07 term Compiled Jul 17 2014 22:21:00 with GCC 4.8.3      7/20 12:32:07 term Initializing on Sun Jul 20 12:32:07 2014 with options: 10327/20 12:32:07 term Loading configuration files from /sbbs/ctrl       7/20 12:32:07 term Verifying/creating data directories               7/20 12:32:07 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:07 mail 0003 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:07 ftp  0004 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 term Verifying/creating node directories               7/20 12:32:07 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:07 web  0006 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:07 srvc 0009 Will retry in 15 seconds (1 of 2)            7/20 12:32:07 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:07 term 0005 Will retry in 15 seconds (1 of 2)            7/20 12:32:22 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:22 mail 0003 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:22 ftp  0004 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:22 web  0006 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:22 srvc 0009 Will retry in 15 seconds (2 of 2)            7/20 12:32:22 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:22 term 0005 Will retry in 15 seconds (2 of 2)            7/20 12:32:37 mail 0003 !ERROR 13 binding SMTP Server socket to port 257/20 12:32:37 mail 0003 !Another application or service may be using this port7/20 12:32:37 mail #### Mail Server thread terminated (0 connections served, 0 messages received, 2 errors, 2 critcal)7/20 12:32:37 srvc 0009 !ERROR 13 binding NNTP socket to port 119    7/20 12:32:37 srvc 0009 !Another application or service may be using this port7/20 12:32:37 term 0005 !ERROR 13 binding Telnet Server socket to port 237/20 12:32:37 term !Another application or service may be using this port7/20 12:32:37 term Terminal Server thread terminating                7/20 12:32:37 term Terminal Server thread terminated (0 clients served)7/20 12:32:37 srvc 0003 !ERROR 13 binding MSP socket to port 18      7/20 12:32:37 srvc 0003 Will retry in 15 seconds (1 of 2)            7/20 12:32:37 ftp  0004 !ERROR 13 binding FTP Server socket to port 217/20 12:32:37 ftp  0004 !Another application or service may be using this port7/20 12:32:37 web  0006 !ERROR 13 binding Web Server socket to port 807/20 12:32:37 web  !Another application or service may be using this port7/20 12:32:37 web  #### Web Server thread terminated (0 clients served)7/20 12:32:37 ftp  #### FTP Server thread terminated (0 clients served)7/20 12:32:52 srvc 0003 !ERROR 13 binding MSP socket to port 18       7/20 12:32:52 srvc 0003 Will retry in 15 seconds (2 of 2)             7/20 12:33:07 srvc 0003 !ERROR 13 binding MSP socket to port 18       7/20 12:33:07 srvc 0003 !Another application or service may be using this port7/20 12:33:07 srvc 0003 !ERROR 13 binding MSP-UDP socket to port 18   7/20 12:33:07 srvc 0003 Will retry in 15 seconds (1 of 2)             7/20 12:33:22 srvc 0003 !ERROR 13 binding MSP-UDP socket to port 18   7/20 12:33:22 srvc 0003 Will retry in 15 seconds (2 of 2)    

By joarivera

7/20 12:37:55 web  !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 web  Loading configuration files from /sbbs/ctrl       7/20 12:37:55 mail !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 mail Loading configuration files from /sbbs/ctrl       7/20 12:37:55 ftp  !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 ftp  Loading configuration files from /sbbs/ctrl       7/20 12:37:55 term !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 term Loading configuration files from /sbbs/ctrl       7/20 12:37:55 srvc !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 srvc Loading configuration files from /sbbs/ctrl       7/20 12:38:05 web  !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 ftp  !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 term !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 mail !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 srvc !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:10 web  !FAILED to load configuration files                7/20 12:38:10 web  #### Web Server thread terminated (0 clients served)7/20 12:38:10 srvc !Failed to load configuration files                7/20 12:38:10 srvc #### Services thread terminated (0 clients served) 7/20 12:38:10 term !FAILED to load configuration files                7/20 12:38:10 term Terminal Server thread terminating                

By joarivera

7/20 12:37:55 term Loading configuration files from /sbbs/ctrl       7/20 12:37:55 srvc !ERROR 13 changing directory to: /sbbs/ctrl       7/20 12:37:55 srvc Loading configuration files from /sbbs/ctrl       7/20 12:38:05 web  !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 ftp  !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:05 term !ERROR 13 (Permission denied) opening /sbbs/ctrl/main.cnf7/20 12:38:10 web  !FAILED to load configuration files                7/20 12:38:10 web  #### Web Server thread terminated (0 clients served)7/20 12:38:10 srvc !Failed to load configuration files                7/20 12:38:10 srvc #### Services thread terminated (0 clients served) 7/20 12:38:10 term !FAILED to load configuration files               

By joarivera