Server Crashes when player connects

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
Private First Class
Private First Class
Posts: 34
Joined: Tue Sep 28, 2004 9:22 pm
Location: Toronto, Ontario, Canada

Server Crashes when player connects

Post by Thumper » Sun Mar 20, 2005 4:41 am

I finally tracked down the cause of this problem with SportChick's help. Thanks SC!

If your server has a user and passwd database file the server can crash when a user connects to the server. I hand edited my user list and forgot to remove the associated password entries. When a user with only a password entry connects the server dies. I think this only applies for globally registered user authentication.

The quick fix is to just erase all of the entries in your password database. Otherwise you have to track down each entry that does not have a corresponding user database entry and delete it from the passwd file.

I erased my password file entries and my servers are stable again.

Thumper. :shock: :shock:

Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo » Mon Mar 21, 2005 3:12 am

Yeah, I figured that out a long time ago :lol-old:

I not only erased my password file, but I removed my entire group database. It only took me 30 seconds to figure this out though. It happened twice, after I fixed it the first time w/ a password erase...I then realized that it stars by adding a user then manually editing the file. The second time there was a lonely "local.cop" sitting at the bottom of my groupdb file. I didnt put it there, but a problem farther back in the file made bzfs add that to the end..I dont know why it did it though. Presumable it was added on oen startup and worked. Then at a server restart the syntax error kicked in. So it's not just the password file, a syntax error in groupdb will cause this to happen as well.

You could have posted this problem and you'd have saved yourself some trouble. ;)
1veedo ( I have version 3!

Post Reply