hello there!
i'm running a mAngband-server on openBSD. i start "runserv"
on boot which then runs smoothly and really relaunches an
instance of mAngband, whenever the server crashes.
so i now always get a mangband/runserv process listed, and
also the port is binded, but the service itself ain't reachable.
so any script i write turns out useless. i had a cronjob checking
for a running process of mAngband, i had a script checking for
LISTENING-state on netstat-output, etc.
what else can i do to make sure the server is really running?
sum perl-script connecting to 13468?
furthermore: what could be the problem here? any known issues
i missed, or is it sumthing no one has ever heard of before?
if sumone could point me to a patch or whatever, this would be
really great!
TIA,
nos
edit: server-version: mangband_0.7.2a
server hangs, but port is still binded...
-
- King Lich
- Posts: 315
- Joined: Sat 26.10.2002, 15:00
- Location: Mangband Project Team Member
- Contact:
Re: server hangs, but port is still binded...
SO_REUSE (Or the varient that BSD uses) isn't being applied correctly. This was a common bug in much earlier versions of the code, but was fixed (for linux at least) in version 0.7.
Got some Network Fu? a patch would be great, and I don't have a bsd devel box.
Got some Network Fu? a patch would be great, and I don't have a bsd devel box.
Are you not entertained?
Is this not what you came here for?
-- Maximus Decimus Meridias, The Gladiator
Is this not what you came here for?
-- Maximus Decimus Meridias, The Gladiator
Re: server hangs, but port is still binded...
i switched to freeBSD in march. since problems still occured
with version 0.7.2a, i use 0.7.0 now. it seems the server
doesn't crash that often now.
btw: the server always crashed when "@" was entered
(the list of players online), amongst other unrepro-
ducable crashes.
what you mean by "Network Fu"? i'd be glad to help with
a patch, though i'm no programmer at all.
br,
nos
with version 0.7.2a, i use 0.7.0 now. it seems the server
doesn't crash that often now.
btw: the server always crashed when "@" was entered
(the list of players online), amongst other unrepro-
ducable crashes.
what you mean by "Network Fu"? i'd be glad to help with
a patch, though i'm no programmer at all.
br,
nos
-
- King Lich
- Posts: 315
- Joined: Sat 26.10.2002, 15:00
- Location: Mangband Project Team Member
- Contact:
Re: server hangs, but port is still binded...
create a directory just off of your mangband server home directory called "tmp". This directory is used to create tmp files for commands such as @ and identify, and such.
--Crimson
--Crimson
Are you not entertained?
Is this not what you came here for?
-- Maximus Decimus Meridias, The Gladiator
Is this not what you came here for?
-- Maximus Decimus Meridias, The Gladiator