Need help seting up a server, or have a question on how to run one? This is the place.
-
musculargenius
- Private First Class

- Posts: 24
- Joined: Sun Jul 01, 2018 12:17 am
- Location: Dallas, TX
Post
by musculargenius » Tue Jul 03, 2018 5:32 pm
How can I troubleshoot this error? Seems I'm unable to load plugins. Is this because I'm not running bzfs as root? Looks like all plugin .so files are 0644 so I don't see why it's a problem...
Code: Select all
WARNING: unable to load the plugin; chathistory
WARNING: unable to load the plugin; autoFlagReset
Sorry if folks are getting tired of my questions! I'm just trying to make the best servers possible, to be a good bzflag steward/citizen.
-
musculargenius
- Private First Class

- Posts: 24
- Joined: Sun Jul 01, 2018 12:17 am
- Location: Dallas, TX
Post
by musculargenius » Tue Jul 03, 2018 5:42 pm
I should clarify that I've tried all forms of -loadplugin -- all with the same results
-loadplugin chathistory # FAILS
-loadplugin chathistory.so # FAILS
-loadplugin /usr/lib/bzflag-server/chathistory.so # FAILS
...as well as all of the above 'in quotes' (as in -loadplugin 'chathistory', etc, etc)
The only thing I haven't tried doing is changing ownership over the plugin files to the user running bzfs...
-
musculargenius
- Private First Class

- Posts: 24
- Joined: Sun Jul 01, 2018 12:17 am
- Location: Dallas, TX
Post
by musculargenius » Tue Jul 03, 2018 5:51 pm
ok... seeing more of what's going on. the plugins that came with the server package on Debian 9 don't appear to be compatible with the bzfs server they shipped with. Running bzfs with -ddd yielded this extra insight:
Code: Select all
Jul 03 12:48:15 waki bzflagserver01[25577]: Plugin: chathistory found but does not contain bz_GetPlugin method, error /usr/games/bzfs: undefined symbol: bz_GetPlugin
So I'm guessing I should run a custom-compiled version of bzfs??
-
musculargenius
- Private First Class

- Posts: 24
- Joined: Sun Jul 01, 2018 12:17 am
- Location: Dallas, TX
Post
by musculargenius » Tue Jul 03, 2018 6:03 pm
ok that was it! the bzflag server that comes packaged with debian 9 (latest stable release) has issues. I compiled my own bzfs and plugins from source and they load just fine. The mystery is solved. Thanks for playing!
-
blast
- General

- Posts: 4700
- Joined: Fri Mar 21, 2003 3:49 pm
- Location: playing.cxx
-
Contact:
Post
by blast » Tue Jul 03, 2018 9:19 pm
For what it's worth, I didn't seem to have a problem loading the plugins with the 2.4.8 bzfs that Debian 9 ships. Regardless, I don't suggest using the packaged server anyway because it's generally going to be outdated and it automatically runs a copy of bzfs.
"
In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

-
alfa1
- Private First Class

- Posts: 113
- Joined: Tue Dec 04, 2012 10:21 pm
Post
by alfa1 » Fri Jul 13, 2018 7:01 pm
Is this because I'm not running bzfs as root?
Never run bzfs (or any other server within possible) as the root user due to security risks.
musculargenius wrote: ↑Tue Jul 03, 2018 5:32 pm
I'm just trying to make the best servers possible, to be a good bzflag steward/citizen.
Good for that!
Just in case:
Compiling on Linux - Help for Beginners (and Not So Beginners) .
-
musculargenius
- Private First Class

- Posts: 24
- Joined: Sun Jul 01, 2018 12:17 am
- Location: Dallas, TX
Post
by musculargenius » Sat Jul 14, 2018 2:37 am
No need to worry. I would never run it as root even if that's the only way it ran. As the saying goes, I was born at night, but I wasn't born last night.

Who is online
Users browsing this forum: No registered users and 1 guest