#1 2012-11-18 20:13:02

X=X=X=X=X=X=X=X
Guest
Reputation: +9

[SOLVED] BF1942 Windows server won't restart after crashes

I'm making a new topic since the other was a mix-up .... my fault



I can't get my 1942 1.612 server to restart after a crash ... ?!

I run it in Win XP and have disabled error reporting.

I have enabled "Restart the server automatically" in "Options" in Battlefield Server Manager.

Any suggestions ?

Last edited by X=X=X=X=X=X=X=X (2012-11-24 18:41:04)

    Positive reputation 0   Negative reputation 0

#2 2012-11-18 20:14:20

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

tuia wrote:

Are you sure the server doesn't restart?! It could be a server stall, the server gets stuck in a infinite loop. Check the CPU usage of BF1942_w32ded.exe, if it doesn't restart.
You can test if it restarts or not by closing the server, from the server console type "quit". I tested a BF1942 1.612 dedicated server under Windows XP and BFServerManager restarts the server.

    Positive reputation 0   Negative reputation 0

#3 2012-11-18 20:14:52

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

I am 10000 % sure. It crashes roughly 1-2 times per 24 hours, and has done so the last seven days.

All the crashes feel and look exactly the same.

tuia, I haven't checked total system and BF1942_w32ded.exe CPU usage right after a crash, I will do that from now on.

Like said before, I run it under Win xp, directly on the desktop. Only non-Windows processes that run are BFRemoteManager.exe and BF1942_w32ded.exe.

I use these files :

http://team-simple.org/download/BF1942_ … layers.zip

http://team-simple.org/download/BFServe … atched.zip

I have screenshots of all the crashes. They all look identical, exept for variations in the "error numbers" :

( 0x00551619        0x00200079       <--------- these numbers )

Here's one of the screenshots :





30jPT.png

    Positive reputation 0   Negative reputation 0

#4 2012-11-18 20:15:36

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

tuia wrote:

Ok, what is probably stopping BFServerManager from restarting your BF1942 server is that pop-up dialog error message. Until you press OK or Cancel it won't restart. I think there is a program that can close those error dialogs automatically.

    Positive reputation 0   Negative reputation 0

#5 2012-11-18 20:17:06

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

Thx tuia.

I will search for a Windows setting or app that can disable these pop-up dialogs

Time to do some googling smile

    Positive reputation 0   Negative reputation 0

#6 2012-11-18 20:18:03

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

tuia wrote:

That Windows BF1942 server crash at instruction address 0x00551619 seems to be the same as the Linux BF1942 server crash in NetworkManager::getNetUpdate() function.

    Positive reputation 0   Negative reputation 0

#7 2012-11-18 20:19:15

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

This may be the solution, haven't tested it yet :

http://support.microsoft.com/kb/128642

values 0,1,2 can be set in

HKEY_LOCAL_MACHINE SYSTEM CurrentControlSetControlWindowsErrorMode

2 should disable all error popups.

    Positive reputation 0   Negative reputation 0

#8 2012-11-18 20:36:19

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: [SOLVED] BF1942 Windows server won't restart after crashes

LqCsIWdaO1.jpg

guJXFPPU1p.jpg

6UEHR7l38h.jpg

3i225i4n9u.jpg

Offline

    Positive reputation 0   Negative reputation 0

#9 2012-11-18 20:50:26

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

nämeless ... i already have disabled error reporting, i wrote that in post # 1 in this thread :-)

that is what you're explaining in the above post right ?

but thanks anyway :-)

    Positive reputation 0   Negative reputation 0

#10 2012-11-18 22:39:14

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: [SOLVED] BF1942 Windows server won't restart after crashes

X=X=X=X=X=X=X=X wrote:

nämeless ... i already have disabled error reporting, i wrote that in post # 1 in this thread :-)

that is what you're explaining in the above post right ?

but thanks anyway :-)

Sorry, I am getting rusty and blind.

Offline

    Positive reputation 0   Negative reputation 0

#11 2012-11-19 22:51:42

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

The setting from post # 7 worked, no more error popups after crashes

BUT ... the server still dont restart after crashes


I'm out of ideas .....

    Positive reputation 0   Negative reputation 0

#12 2012-11-19 23:09:58

bud
maestro
Reputation: +1836
Location: shangri la
Registered: 2012-07-07
Posts: 3,943
Website

Re: [SOLVED] BF1942 Windows server won't restart after crashes

What is your server monitor timer settings?  I have mine at max value and it takes rather long time before the server restarts

Offline

    Positive reputation 0   Negative reputation 0

#13 2012-11-19 23:24:37

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

aha ! sounds like a possible bingo !

30 seconds .... so i should set it to lowest possible ?

will do, right away smile

max is 60, lowest is 10, setting it to 10

    Positive reputation 0   Negative reputation 0

#14 2012-11-20 21:48:03

tuia
BFSoldier
Portugal
Reputation: +1082
Location: Lisbon
Registered: 2012-02-20
Posts: 6,331
Website

Re: [SOLVED] BF1942 Windows server won't restart after crashes

Have you found the solution? From Kansas1327's post you should try enabling XP compatibility in BFServerManager.

Offline

    Positive reputation 0   Negative reputation 0

#15 2012-11-20 23:34:01

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

Ok, thanks for the tip.

The server hasn't crashed yet.

Since last crash, I have applied the setting mentioned in post # 12 + 13 in this thread.

If the server doesn't restart after next crash, I will try enabling Win XP compatibility.

But the server operating system IS Windows XP, so why would that be necessary?

I'll try it anyway.

    Positive reputation 0   Negative reputation 0

#16 2012-11-20 23:44:30

tuia
BFSoldier
Portugal
Reputation: +1082
Location: Lisbon
Registered: 2012-02-20
Posts: 6,331
Website

Re: [SOLVED] BF1942 Windows server won't restart after crashes

Then, nevermind what I wrote. I thought you were using Vista or higher.

Offline

    Positive reputation 0   Negative reputation 0

#17 2012-11-22 23:56:00

X=X=X=X=X=X=X=X
Guest
Reputation: +9

Re: [SOLVED] BF1942 Windows server won't restart after crashes

Mission accomplished / problem solved !

I just had a crash, and the server restarted immediately, just like it's supposed to !


So the checklist for Windows XP is :


- set "Restart the server automatically" in "Options" in BFSM

- Disable error reporting

- set HKEY_LOCAL_MACHINE SYSTEM CurrentControlSetControlWindowsErrorMode to 2

- set "Server Monitor Timer Period" to a low value if you want a fast restart

    Positive reputation 0   Negative reputation 0

Board footer