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 11:50] – That qna plugin sucks. This is more laborious, but better to my liking. digitalman | faq:nix [2022/05/07 09:29] – [Maximum Open Files] Poor wording. Allow myself to introduce... myself. Andre | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== UNIX and UNIX-like Operating Systems | + | ====== UNIX ====== |
- | | + | Frequently asked questions regarding Synchronet on UNIX and Unix-like operating systems (e.g. Linux). |
- | * [[# | + | |
- | * [[# | + | |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
+ | * [[# | ||
+ | * [[# | ||
* [[#Mix with Windows]]? | * [[#Mix with Windows]]? | ||
- | * [[#DOS]]? | + | * [[#DOS|Does Synchronet for Unix support external DOS programs/ |
- | * [[# | + | * [[#Doors|What doors can be used with Synchronet for Unix]]? |
- | * [[#X Windows]]? | + | * [[#X Windows|Does Synchronet for Unix require |
- | * [[#GUI]]? | + | * [[#GUI|Is there a graphic user interface for Unix sysops]]? |
- | * [[# | + | * [[#Compiler|Can I use a compiler other than GCC]]? |
- | * [[# | + | * [[#SELinux|What does nothing work with SELinux]]? |
- | * [[#Disk space]]? | + | * [[#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 ===== | ===== Flavors ===== | ||
Line 23: | Line 30: | ||
**Answer: | **Answer: | ||
- | Currently, Linux, FreeBSD, OpenBSD, | + | Currently |
- | Additionally, QNX and Solaris-x86 have been known to work in the past, | + | - Operating systems |
- | but are not actively maintained. | + | - Platforms which have been ran by developers and an attempt |
+ | - 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. | ||
===== Linux Distros ===== | ===== Linux Distros ===== | ||
Line 33: | Line 42: | ||
**Answer: | **Answer: | ||
- | Should work with any GNU/ | + | Should work with any GNU/ |
===== 64-bit ===== | ===== 64-bit ===== | ||
Line 41: | Line 50: | ||
**Answer: | **Answer: | ||
- | Untested experimental support for 64-bit | + | 64-bit |
- | directions available | + | |
- | [[http:// | + | |
- | in conjunction with this document for building and be prepared to deal with | + | |
- | bugs. | + | |
===== Installer ===== | ===== Installer ===== | ||
Line 61: | Line 66: | ||
**Question: | **Question: | ||
- | Are non-x86 (Alpha, SPARC, 68k, PowerPC, etc) processors supported? | + | Are non-x86/x64 (Alpha, SPARC, 68k, PowerPC, etc) processors supported? |
**Answer: | **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. | ||
===== Download ===== | ===== Download ===== | ||
Line 74: | Line 78: | ||
**Answer: | **Answer: | ||
- | 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 | + | |
- | code tarball (tgz file) from ftp:// | + | |
===== Binaries ===== | ===== Binaries ===== | ||
Line 119: | Line 120: | ||
programs. | programs. | ||
- | There' | + | For running external DOS programs on Linux using DOSEMU, see [[howto:dosemu]] for details. |
- | http:// | + | |
- | (mirror) http:// | + | |
- | + | ||
- | and a FAQ for using DOSEMU with Synchronet for Linux (without a patch): | + | |
- | http:// | + | |
===== Doors ===== | ===== Doors ===== | ||
Line 150: | Line 145: | ||
**Answer: | **Answer: | ||
- | See [[gtkmonitor]]. | + | See [[monitor:gtkmonitor]]. |
===== Compiler ===== | ===== Compiler ===== | ||
Line 157: | Line 152: | ||
**Answer: | **Answer: | ||
- | 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 |
- | '' | + | '' |
- | 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. |
===== SELinux ===== | ===== SELinux ===== | ||
Line 170: | Line 165: | ||
**Answer: | **Answer: | ||
- | Yes, you'll need to use chcon on each of the shared objects (.so files) | + | Yes, you'll need to use chcon on each of the Synchronet |
- | chcon -t texrel_shlib_t /path/to/libwhatever.so | + | chcon -t texrel_shlib_t /sbbs/exec/*.so |
- | Do this for each .so file that Synchronet creates. | + | |
===== Disk Space ===== | ===== Disk Space ===== | ||
Line 179: | Line 173: | ||
**Answer: | **Answer: | ||
- | A fresh install (as of Feb-2009) requires about 70MBytes. | + | 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 | + | 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. |
- | 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 '' | ||
+ | |||
+ | ===== Maximum Open Files ===== | ||
+ | **Question: | ||
+ | Why am I seeing '' | ||
+ | |||
+ | **Answer: | ||
+ | You need to increase your maximum number of open files. | ||
+ | |||
+ | To determine your open file limit, when logged in as the user Synchronet runs as, use the commands below. The hard limit is the systemwide limit, and the soft limit is one that a user can raise (up to the hard limit). | ||
+ | |||
+ | Soft limit: '' | ||
+ | Hard limit: '' | ||
+ | |||
+ | To alleviate the ERROR 24 problem on Linux, edit ''/ | ||
+ | |||
+ | To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line: | ||
+ | |||
+ | <file limits.conf> | ||
+ | yourBBSuser | ||
+ | </ | ||
+ | |||
+ | If you are still receiving ERROR 24, try raising both limits for all users by adding these lines instead: | ||
+ | |||
+ | <file limits.conf> | ||
+ | * | ||
+ | * | ||
+ | </ | ||
+ | |||
===== See Also ===== | ===== See Also ===== | ||
- | * [[:faq:|faq index]] | + | * [[:faq:|Frequently Asked Questions]] |
+ | |||
+ | {{tag> | ||
+ | | ||