Random Freebsd Crashes

poonpoon Join Date: 2003-11-15 Member: 22915Members
To start with, I consider myself a fairly experienced HL server admin and I'm comfortable in FreeBSD. As for the server I'm whining about here today, I should go over its history. Its been running fine for the last 2 weeks with Clanmod and NS2.01. The HLDS install is 3.1.1.0 on FreeBSD 4.8 with the linux procfs mounted and all. It came about a few hours ago that I had to restart the machine because of some other processes I have on it, but when I finished rebooting the box HLDS refused to boot. I figured Clanmod was being picky so I went into my liblist.gam and disabled Clanmod - but it didn't work. Giving up, I did a fresh HLDS/NS install (without clanmod this time) and it booted fine. But about 15 minutes later I noticed the server was no longer online. I've been experimenting since then and this is what I've come up with:

Almost exactly 3 minutes after HLDS boots and initializes, it promptly crashes with or without players (yes, players can connect and play fine during its 3 minutes of uptime) connected to the server. It returns a standard core dumped error and -debug adds no helpful information. Booting with logging on just shows:

L 11/27/2003 - 01:21:19: "Playername<blahblah>" disconnected
L 11/27/2003 - 01:21:19: Server shutdown
L 11/27/2003 - 01:21:19: Log file closed

This is perhaps the most random error I've ever seen. If you need any other information just ask. Until then I'm going to go back to trying another fresh install and yelling about how ridiculous HLDS can be. Thanks in advance for your help everyone.

Comments

  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Hmm... I don't know very much about freebsd servers so I'll just go through some random thoughts. I'm just rattling off things that come off the top of my head, take what you will and leave the rest.

    I'm assuming that after your re-install you used the hlds 3.1.1.0 engine again. Did you patch it up to <a href='http://dev.valve-erc.com/projects/psb/documents/103404836477560000/attached/hlds_l_3110c_beta.tar.gz' target='_blank'>3.1.1.0c</a> and also apply the boffix patch?

    Are you using the latest <a href='http://files.redphive.org/ns/ns-v201.zip' target='_blank'>NS 2.01 server binary?</a>

    How does it behave if you use the 3.1.1.1 HLDS server engine vs using the 3.1.1.0 engine? The same? Different?

    Are all the interfaces still up? Can you log into the machine?

    Are there any kill/restart scripts running that may have been delayed?

    Is something else being bound to any of Half-Life's ports?

    Does the tree containing the HLDS server and NS server files have proper user permissions? Try running the server as root just as a temporary test to see if the problem goes away.

    I can't think of anything else to check. You could try running gdb and posting the backtrace, maybe "joev" will have some answers.
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    What does <b>gdb -q hlds hlds.core</b> say?
Sign In or Register to comment.