Post Reply 
Re-starting Punkbuster Server disables MorkEye
Author Message
jumpjet Offline
Junior Member
**

Posts: 21
Joined: Jan 2008
Post: #1
Re-starting Punkbuster Server disables MorkEye
Hi

We are running Morkeye on a remote server, with PBUcon connecting via 127.0.0.1 (pb_sv_usessionlimit 6)

I often check the server to see if Morkeye is monitoring OK, but it isn't. If you look at Morkeye's GUI it's running normally - Monitoring ...........

I have discovered that Morkeye ceases monitoring after I have use the Punkbuster restart server command pb_sv_restart. There are various reasons why I need to reboot the punkbuster server, but the most common reason is that I stream our servers to PBBans (which uses PBUcon) and Punksbusted, so I regularly update our Cvar & MD5 scans, for the updates to take effect you either reboot the servers (unnecessary), or issue the pb_sv_restart command (quick and easy). This means that the pbsv.cfg and pbsvuser.cfg files are reloaded ...........

Simple test :-

1/ Start Morkeye
2/ Enter server and swear ....... get a warning
3/ Via RCON or PB's Webtool, issue a pb_sv_restart command.
4/ Swear ......... no warnings ....... nothing
5/ Stop and Start Morkeye, back to normal

I imagine (not being a programmer), that Morkeye logs into a PBUcon session with the PB server in some way, but doesn't regularly check whether that session is still valid. So it's logged into 1 PB server, but doesn't 'realise' that the PB server has shutdown and a new one started.

Would there be a relatively simple programming way around this?

The very simple cure would be for me to Remote Desktop to the server, stop and start the 3 Morkeye sessions running. Unfortunately for us, remote desktop tends to causes network interruptions in COD4, we lose our players and they don't come back (so many server to choose from). Luckily normally everything I generally want to do on the servers can be done easily via FTP or Rcon ......

Cheers Smile
23-01-2008 01:40
Visit this user's website Find all posts by this user Quote this message in a reply
Jimbo Offline
Administrator
*******

Posts: 571
Joined: Jan 2008
Post: #2
RE: Re-starting Punkbuster Server disables MorkEye
MORKEye creates a virtual session login via rcon.... therefore when you restart PB the virtual login is lost.... there are several ways around this.... firstly I could fix the session by getting you to enter a username & password into the morkeye xml and have you manually add them same login credentials to your pbsv.cfg file.... another way would be for MORKEye to automatically detect when PB restarts and to auto-reset MORKEye.... yet another way would be for me to introduce some form of remote control for MORKEye.

You have a good point.... I will look at the auto option first.... It may not make it into 1.04 but it's a definite requirement for future versions

Thank you

Jimbo

[Image: jimbojetset.gif]
some days it's just not worth the effort of chewing through the straps - Emo Philips
23-01-2008 07:54
Visit this user's website Find all posts by this user Quote this message in a reply
wraithwingus Offline
Beta Tester

Posts: 14
Joined: Jan 2008
Post: #3
RE: Re-starting Punkbuster Server disables MorkEye
I am having a similar problem. Except I have not restarted anything. I have however noticed that if I start modernRcon and have it stream the chat in that for what ever reason morkeye starts working. I did notice one thing in my logs that might be part of the problem...

[01.22.2008 08:51:17] PB UCON Packet ignored "morkeyexx.xxx.xxx.xxx"@xxx.xxx.xxx.xxxx:xxx []

I have the selected port wide open so I have no idea why i would be seeing this in my log. Oddly I never had this problem until i set the warn and kick options on.

Sadly i didnt notice the problem until I had a few lads come into the server cussing their pretty little heads off.
23-01-2008 14:27
Find all posts by this user Quote this message in a reply
jumpjet Offline
Junior Member
**

Posts: 21
Joined: Jan 2008
Post: #4
RE: Re-starting Punkbuster Server disables MorkEye
Thanks for the reply Jumbo Smile

The log on credentials would be a quick fix I can do myself now, correct?

This would make PBUcon act the same way as PPBans does when connecting to their hub, and they are unaffected by pb server reboots.

If I can do it now by myself, I would grateful if you could confirm how to do, I think I more or less know (because of PBBans), but confirmation would be great ...... thanks Smile

I look forward to future updates, as I am sure other admins do. Punkbuster sometimes throws hissy fits, and kicks players en masse, the quick fix being a PB Server reboot.

Thanks again
Cheers
jumpjet
23-01-2008 14:31
Visit this user's website Find all posts by this user Quote this message in a reply
jumpjet Offline
Junior Member
**

Posts: 21
Joined: Jan 2008
Post: #5
RE: Re-starting Punkbuster Server disables MorkEye
Hi Wrathwingus

You posted as I was writing.

Just a quick thought, have you checked your pb_sv_usessionlimit setting in your pbsv.cfg file?

As you can see from my first post, I set my session limit to 6 (so I have spare slots), I know PBBans will use one, and Morkeye another, also some Rcon programs might use a session too.

So if your limit is pb_sv_usessionlimit 1 - The Rcon might be kicking Morkeye off the session. So try a setting of 2 or more.

Just an idea .........

EDIT: I just realised you said Morkeye STARTS working if you use an RCON .......... which makes what I said above meaningless drivel .......... lol Smile

Cheers
(This post was last modified: 23-01-2008 14:41 by jumpjet.)
23-01-2008 14:37
Visit this user's website Find all posts by this user Quote this message in a reply
wraithwingus Offline
Beta Tester

Posts: 14
Joined: Jan 2008
Post: #6
RE: Re-starting Punkbuster Server disables MorkEye
jumpjet Wrote:Thanks for the reply Jumbo Smile

The log on credentials would be a quick fix I can do myself now, correct?

This would make PBUcon act the same way as PPBans does when connecting to their hub, and they are unaffected by pb server reboots.

If I can do it now by myself, I would grateful if you could confirm how to do, I think I more or less know (because of PBBans), but confirmation would be great ...... thanks Smile

I look forward to future updates, as I am sure other admins do. Punkbuster sometimes throws hissy fits, and kicks players en masse, the quick fix being a PB Server reboot.

Thanks again
Cheers
jumpjet

Yeah but i started morkeye first so wouldn't that at least monitor the chat until modernrcon starts? I have 4 sessions open so I don't think thats the case unless i am setting it to one in a file that I don't know about.

Do you know of a command that I can run that will verify how many slots i am using and/or have open?
(This post was last modified: 23-01-2008 15:06 by wraithwingus.)
23-01-2008 14:58
Find all posts by this user Quote this message in a reply
jumpjet Offline
Junior Member
**

Posts: 21
Joined: Jan 2008
Post: #7
RE: Re-starting Punkbuster Server disables MorkEye
Sorry mate ........ I have very limited knowledge of PBUcon ....... (None really Smile)
23-01-2008 15:26
Visit this user's website Find all posts by this user Quote this message in a reply
wraithwingus Offline
Beta Tester

Posts: 14
Joined: Jan 2008
Post: #8
RE: Re-starting Punkbuster Server disables MorkEye
jumpjet Wrote:Sorry mate ........ I have very limited knowledge of PBUcon ....... (None really Smile)

Same here, hopefully its just something i have done wrong Tongue
23-01-2008 15:30
Find all posts by this user Quote this message in a reply
Jimbo Offline
Administrator
*******

Posts: 571
Joined: Jan 2008
Post: #9
RE: Re-starting Punkbuster Server disables MorkEye
do you have a choice of port with modernrcon...? maybe try MORKeye on a different port..!



jumpjet Wrote:The log on credentials would be a quick fix I can do myself now, correct?
Yes...I don't see why this wouldn't work right now.... however I'll run some tests and get back to you...Smile

[Image: jimbojetset.gif]
some days it's just not worth the effort of chewing through the straps - Emo Philips
(This post was last modified: 23-01-2008 16:09 by Jimbo.)
23-01-2008 16:04
Visit this user's website Find all posts by this user Quote this message in a reply
wraithwingus Offline
Beta Tester

Posts: 14
Joined: Jan 2008
Post: #10
RE: Re-starting Punkbuster Server disables MorkEye
Jimbo Wrote:do you have a choice of port with modernrcon...? maybe try MORKeye on a different port..!



jumpjet Wrote:The log on credentials would be a quick fix I can do myself now, correct?
Yes...I don't see why this wouldn't work right now.... however I'll run some tests and get back to you...Smile

Yes, i use two different ports for both programs. I am allowing udp packets on both ports.
23-01-2008 16:57
Find all posts by this user Quote this message in a reply
Post Reply