Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq:nix [2010/02/23 01:45] – digitalman | faq:nix [2020/11/23 20:21] – [Recycle] typo digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== UNIX and UNIX-like Operating Systems | + | ====== UNIX ====== |
- | ~~QNA~~ | + | Frequently asked questions regarding Synchronet on UNIX and Unix-like operating systems (e.g. Linux). |
- | ---- | + | * [[# |
+ | * [[# | ||
+ | * [[#64-bit|Are 64-bit operating systems supported]]? | ||
+ | * [[# | ||
+ | * [[#non-x86|Are non-x86 processors supported]]? | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#Mix with Windows]]? | ||
+ | * [[#DOS|Does Synchronet for Unix support external DOS programs/ | ||
+ | * [[# | ||
+ | * [[#X Windows|Does Synchronet for Unix require X Windows]]? | ||
+ | * [[#GUI|Is there a graphic user interface for Unix sysops]]? | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#Disk space|How much disk space is required]]? | ||
+ | * [[#Terminal Type|What does an '' | ||
+ | * [[#tempnam warning|Why do I get a warning about use of '' | ||
+ | * [[#SDL Errors|How do I work around SDL 1.2 run-time errors]]? | ||
+ | * [[# | ||
+ | |||
+ | ===== Flavors ===== | ||
- | ??? What flavors of Unix (and Unix-like operating systems) are supported? | + | **Question: |
- | !!! Currently, Linux, FreeBSD, OpenBSD, and NetBSD are actively supported. | + | What flavors of Unix (and Unix-like operating systems) are supported? |
- | Additionally, | + | |
- | but are not actively maintained. | + | |
- | ??? What distributions of Linux are supported? | + | **Answer: |
- | !!! Should | + | Currently there are four levels of support for Unix-like OSs. |
- | Debian, Slackware, etc.). | + | - Operating systems and platforms which are actively used by the developers. These are always expected to work correctly. |
+ | - Platforms which have been ran by developers and an attempt to maintain support is exerted. These platforms are OS X, NetBSD, and OpenBSD on x86. In general a [[good bug report]] will result in a quick fix to these systems. | ||
+ | - Next there is non-x86 hardware with one of the above OSs. We try to ensure that Synchronet works on these platforms, but a bug report may be ignored for months before it is resolved due to lack of access to the platform. | ||
+ | - Lastly there are systems which will never be supported. | ||
- | ??? 64-bit? | + | ===== Linux Distros ===== |
- | !!! Untested experimental support for 64-bit platforms is in CVS. Use the | + | |
- | directions available at | + | |
- | [[http:// | + | |
- | in conjunction with this document for building and be prepared to deal with | + | |
- | bugs. | + | |
- | ??? The installer (e.g. Linux-install from sbbsunix.tgz) segfaults, crashes, or fails to get the file size of sbbs_src.tgz. | + | **Question: |
- | !!! This installer has known issues and is currently **unsupported**. Do not use | + | What distributions of Linux are supported? |
+ | |||
+ | **Answer: | ||
+ | Should work with any GNU/ | ||
+ | |||
+ | ===== 64-bit ===== | ||
+ | |||
+ | **Question: | ||
+ | 64-bit? | ||
+ | |||
+ | **Answer: | ||
+ | 64-bit Linux (x64, x86_64, x86-64) distributions are supported. | ||
+ | |||
+ | ===== Installer ===== | ||
+ | **Question: | ||
+ | The installer (e.g. Linux-install from sbbsunix.tgz) segfaults, crashes, or fails to get the file size of sbbs_src.tgz. | ||
+ | |||
+ | **Answer: | ||
+ | This installer has known issues and is currently **unsupported**. Do not use | ||
it. This installer (known to us as " | it. This installer (known to us as " | ||
Line 28: | Line 62: | ||
build, install, and run Synchronet for Unix. | build, install, and run Synchronet for Unix. | ||
- | ??? Linking error: '' | + | ===== non-x86 ===== |
- | !!! This is an issue linking the JavaScript library for Linux (libjs.a) on | + | |
- | RedHat Linux 9 and Mandrake Linux 9 using glibc v2.3.2-11+. | + | |
- | + | ||
- | This issue has been resolved with the addition of libjs.so and libnspr4.so | + | |
- | to the CVS repository (in the lib/mozilla directory). If you're having this | + | |
- | problem, run "cvs update -d" in your lib and src/sbbs3 directories and | + | |
- | rebuild. | + | |
- | Another solution is to use the lib[moz]js.so file included with your Linux | + | **Question: |
- | distribution | + | Are non-x86/ |
- | details. | + | |
- | ??? Are non-x86 (Alpha, SPARC, 68k, PowerPC, etc) processors supported? | + | **Answer: |
- | !!! Not currently. Synchronet assumes a little-endian processor. It *may* work | + | Not currently. Synchronet assumes a little-endian processor. It *may* work |
on other little-endian processors (e.g. Alpha), but hasn't been tested. | on other little-endian processors (e.g. Alpha), but hasn't been tested. | ||
- | Big-endian support is currently being developed for the v3.20 time-frame. | ||
- | ??? Will Synchronet ever support big-endian and/or 64-bit processors? | + | ===== Download ===== |
- | !!! Yes, that is the plan. | + | |
- | Q. Will Synchronet | + | **Question: |
- | A. Definitely. See the 2 questions above. | + | Where do I get Synchronet |
- | Q. Where do I get Synchronet for Unix? | + | **Answer: |
- | A. There are no binary distributions at this time, so you must get the source | + | See the step-by-step instructions |
- | code from the Synchronet CVS repository (see the step-by-step instructions | + | |
- | below for details) or by downloading the latest verified buildable source | + | ===== Binaries ===== |
- | code tarball (tgz file) from ftp:// | + | |
- | + | **Question:**\\ | |
- | Q. Will there be binary releases? | + | Will there be binary releases? |
- | A. Maybe. Linux is a particularly difficult " | + | |
+ | **Answer: | ||
+ | Maybe. Linux is a particularly difficult " | ||
compatible binaries for and unfortunately, | compatible binaries for and unfortunately, | ||
operating system we currently support. | operating system we currently support. | ||
- | Q. Can I mix Synchronet for Unix and Synchronet for Win32 or DOS or OS/2 nodes | + | ===== Mix with Windows ===== |
+ | |||
+ | **Question: | ||
+ | Can I mix Synchronet for Unix and Synchronet for Win32 or DOS or OS/2 nodes | ||
on the same BBS? | on the same BBS? | ||
- | A. Yes. As long as all the nodes can access the same live data files (via LAN) | + | |
+ | **Answer: | ||
+ | Yes. As long as all the nodes can access the same live data files (via LAN) | ||
you can have as many instances of Synchronet on as many different platforms | you can have as many instances of Synchronet on as many different platforms | ||
as you wish. | as you wish. | ||
- | Q. Does Synchronet for Unix support external DOS programs/ | + | ===== DOS ===== |
- | A. Currently, only the FreeBSD build has doscmd support " | + | |
+ | **Question: | ||
+ | Does Synchronet for Unix support external DOS programs/ | ||
+ | |||
+ | **Answer: | ||
+ | Currently, only the FreeBSD build has doscmd support " | ||
" | " | ||
Line 83: | Line 119: | ||
programs. | programs. | ||
- | There' | + | For running external DOS programs on Linux using DOSEMU, see [[howto: |
- | http://www.icequake.net/ | + | ===== Doors ===== |
- | (mirror) http:// | + | |
- | and a FAQ for using DOSEMU with Synchronet for Linux (without a patch): | + | **Question:**\\ |
- | http:// | + | What external programs/ |
- | Q. What external programs/ | + | **Answer: |
- | A. External programs can either use standard I/O (e.g. bash, pico, Lord/X, | + | External programs can either use standard I/O (e.g. bash, pico, Lord/X, |
PimpWars) or socket I/O (e.g. Synchronet XSDK doors). | PimpWars) or socket I/O (e.g. Synchronet XSDK doors). | ||
- | Q. Does Synchronet for Unix require X-Windows? | + | ===== X Windows ===== |
- | A. No, Synchronet for Unix is currently a console-based application. | + | **Question: |
+ | Does Synchronet for Unix require X-Windows? | ||
+ | |||
+ | **Answer: | ||
+ | No, Synchronet for Unix is currently a console-based application. | ||
However, it does have an X-based character mode console now. The X11 | However, it does have an X-based character mode console now. The X11 | ||
headers (Part of the X11-devel package or something similar) are required | headers (Part of the X11-devel package or something similar) are required | ||
for this to work. | for this to work. | ||
- | Q. Are there any plans to make an X-Windows front-end for Synchronet? | + | ===== GUI ===== |
- | A. Possibly, but it would be optional. | + | **Question: |
+ | Are there any plans to make an X-Windows front-end for Synchronet? | ||
- | Q. What are the recent developments in Synchronet? | + | **Answer: |
- | A. There are changes (fixes, improvements, | + | See [[monitor:gtkmonitor]]. |
- | See http:// | + | |
- | committed changes to the Synchronet CVS repository. | + | |
- | New releases are always posted on the web-site (http:// | + | ===== Compiler ===== |
- | as well as announced in the Synchronet discussion groups | + | **Question:**\\ |
- | (http:// | + | Can I use a different compiler |
- | mailing list (subscribe at listserver@synchro.net). | + | |
- | Q. Can I use a different compiler to build Synchronet for *nix? | + | **Answer: |
- | A. Yes, currently Synchronet has successfully been built with both GCC and ICC | + | Yes, currently Synchronet has successfully been built with GCC, ICC |
- | (The Intel C Compiler). | + | (The Intel C Compiler), and Clang/LLVM. To specify an alternate compiler, add |
- | ``DONT_CLOBBER_CC=1 | + | '' |
- | icc is the C compiler name and icpc is the C++ compiler name. If you get | + | and icpc is the C++ compiler name. If you get errors during the build (not |
- | errors during the build (not warnings) please submit a bug report. | + | warnings) please submit a bug report. |
- | are using a commercial compiler other than ICC, we will probobly | + | other than ICC, we will probably |
- | to help you without a copy of the compiler. | + | compiler. |
- | Q. I'm using SELinux and nothing works. | + | ===== SELinux ===== |
- | A. Yes, you'll need to use chcon on each of the shared objects (.so files) | + | **Question: |
- | chcon -t texrel_shlib_t / | + | I'm using SELinux and nothing works. |
- | Do this for each .so file that Synchronet creates. | + | |
- | Q. How much disk space do I need? | + | **Answer: |
- | A. A fresh install | + | Yes, you' |
- | Much of the space consumed is in the form of intermediate build files which | + | chcon -t texrel_shlib_t / |
- | may be removed after the build is complete if space is a concern. | + | |
+ | ===== Disk Space ===== | ||
+ | **Question: | ||
+ | How much disk space do I need? | ||
+ | |||
+ | **Answer: | ||
+ | A fresh install (as of Mar-2020) from source code, requires about 500MBytes of space. | ||
+ | Much of the space consumed is in the form of intermediate build files which may be removed after the build is complete if space is a concern. | ||
+ | |||
+ | |||
+ | ===== Terminal Type ===== | ||
+ | **Question: | ||
+ | What does the error '' | ||
+ | |||
+ | **Answer: | ||
+ | The error indicates that the value of your '' | ||
+ | |||
+ | The default value of the '' | ||
+ | |||
+ | ===== tempnam warning ===== | ||
+ | **Question: | ||
+ | Why do I get the GCC compilation warning: < | ||
+ | |||
+ | **Answer: | ||
+ | This is not an error but a harmless warning. You can safely ignore it. | ||
+ | |||
+ | To elaborate, [[util: | ||
+ | |||
+ | ===== SDL errors ===== | ||
+ | **Question: | ||
+ | How do I work around SDL_main errors (e.g. '' | ||
+ | < | ||
+ | $ / | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | Segmentation fault (core dumped) | ||
+ | </ | ||
+ | |||
+ | **Answer: | ||
+ | Double check that you can run X applications (e.g. '' | ||
+ | xhost +SI: | ||
+ | executed before switching to another user account (e.g. with '' | ||
+ | |||
+ | Work-arounds: | ||
+ | - Clean re-build all of Synchronet without SDL support (include '' | ||
+ | - Set the '' | ||
+ | |||
+ | ===== Recycle ===== | ||
+ | **Question: | ||
+ | Why do my servers/ | ||
+ | |||
+ | **Answer: | ||
+ | Servers will not recycle while they are in-use. | ||
+ | |||
+ | < | ||
+ | $ node rerun | ||
+ | |||
+ | Synchronet Node Display/ | ||
+ | |||
+ | Node 1: User #1 reading messages via telnet (M) [R] | ||
+ | Node 2: Waiting for connection [R] | ||
+ | Node 3: Waiting for connection [R] | ||
+ | Node 4: Waiting for connection [R] | ||
+ | Node 5: Waiting for connection [R] | ||
+ | Node 6: Waiting for connection [R] | ||
+ | Node 7: Waiting for connection [R] | ||
+ | Node 8: Waiting for connection [R] | ||
+ | </ | ||
+ | |||
+ | **Question: | ||
+ | What do the following warning-level log messages indicate? | ||
+ | Disabling Terminal Server recycle support | ||
+ | Disabling FTP Server recycle support | ||
+ | Disabling Web Server recycle support | ||
+ | Disabling Mail Server recycle support | ||
+ | Disabling Services recycle support | ||
+ | | ||
+ | **Answer: | ||
+ | Recycle support can be disabled manually be setting the '' | ||
+ | The log warning messages above (" | ||
+ | - Configured to bind-to/ | ||
+ | - **and** the BBS was configured to change the current user-id in the '' | ||
+ | - **and** the BBS could not dynamically set the bind capabilities using the Linux " | ||
+ | |||
+ | The solution is to remove the '' | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[:faq:|faq index]] | + | * [[:faq:|Frequently Asked Questions]] |
+ | |||
+ | {{tag> | ||
+ | | ||