WHOIS results in server restart

30 replies [Last post]
THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
NL Netherlands
Re: WHOIS results in server restart

Thank you all for your feedback, much appreciated!

So im not swimming in the pond by myself, but it affects more servers.

@FasterOf Borg, with your fresh-install.... did you also start with a fresh userdb.db ? (empty)
(to rule out the possibility of illigal characters in the records, which may result in a crash)

www.elitez.eu


The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
Re: WHOIS results in server restart
THOR*ELITE'Z* wrote:

Thank you all for your feedback, much appreciated!

So im not swimming in the pond by myself, but it affects more servers.

@FasterOf Borg, with your fresh-install.... did you also start with a fresh userdb.db ? (empty)
(to rule out the possibility of illigal characters in the records, which may result in a crash)

Yes this could be the problem, some bugged character or overloaded db that cause the crash, because as I said, in past I didnt encountered this bug, it happens only now, so maybe clearing the userdb might help for a temporarly time.

0MS
Offline
Joined: Apr 2010
Posts:
Re: WHOIS results in server restart

I have same problem.
Possible reason:

P.S. It doesn't mean that problem in quake3.exe because simple quake3(baseq3) hasn't command "whois"

FASTER OF BORG
faster of borg's picture
Offline
Joined: Nov 2009
Posts:
Re: WHOIS results in server restart
THOR*ELITE'Z* wrote:

Thank you all for your feedback, much appreciated!

So im not swimming in the pond by myself, but it affects more servers.

@FasterOf Borg, with your fresh-install.... did you also start with a fresh userdb.db ? (empty)
(to rule out the possibility of illigal characters in the records, which may result in a crash)

Yes it is fresh user database.

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
Re: WHOIS results in server restart
FASTER OF BORG wrote:

THOR*ELITE'Z* wrote:
Thank you all for your feedback, much appreciated!

So im not swimming in the pond by myself, but it affects more servers.

@FasterOf Borg, with your fresh-install.... did you also start with a fresh userdb.db ? (empty)
(to rule out the possibility of illigal characters in the records, which may result in a crash)

Yes it is fresh user database.

Problem solved as for this mod release, clear your userdb once for a month and your server would be safe from self-distruction Happy

THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
NL Netherlands
Re: WHOIS results in server restart

Camel, you came up whit that conclusion on own experience ?

Cause Faster wrote in his first post he has still the same problems even after fresh install.
I additionaly asked if his userdb was empty aswell,and he confimed on that.
(and this dis not resolve the problem on Borg....)

So did you emptied yours and tried ?

(would do that myself, but cant access the files involved Sad )

www.elitez.eu


The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
Re: WHOIS results in server restart
THOR*ELITE'Z* wrote:

Camel

No, but I observed that doing rcon whois on empty server just to myself did not crash the server nor after clearing the userdb file.

THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
NL Netherlands
Re: WHOIS results in server restart

Ohh, oke i understand your point of view now At wits'' end Big grin

For this release 2.2b we now have a workaround by emtying the userdb, let it fill-up and every month purge.

Bur for next release it would be nice if this could be fixed.

The pupose of this userdb, is to build history, so ref/admin can identify as much aliases as possible.

There is also an alternative to block the WHOIS for referees when you put a callvote script in place on the server. In this routine you can substitute the whois command for w. So it prevents a crash if accidently used. (also, meanwhile your userdb keeps building)

//---------------------------------------------------------------------
 
if ( $xp_userdb ) {
 
               REF whois, REF w {
 
                                             1 {
 
                                                 argument = "playerId";
 
                                     empty {
 
                                                 command = "w";
 
                                               }
 
                                     0..63 {
 
                                                 // command = "whois $";
 
                                                command = "w";
 
                                             }
 
                       }
 
}
 
}
 
//---------------------------------------------------------------------

www.elitez.eu


The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !

FASTER OF BORG
faster of borg's picture
Offline
Joined: Nov 2009
Posts:
Re: WHOIS results in server restart
cml wrote:

THOR*ELITE'Z* wrote:
Camel

No, but I observed that doing rcon whois on empty server just to myself did not crash the server nor after clearing the userdb file.

we have no problem with rcon whois command it just crashes when use refree whois command,

Please when you are alone in server login in VIP slot 0 then type /ref ref_password then /ref whois 0 your server will be crashed also after you delete your user database your server will crash.
And i agree with Thor that you have no right to say the issue has been solved without conformation from others.
I think best work around as proposed by Thor using Ref w instead of Ref whois script.

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
Re: WHOIS results in server restart
FASTER OF BORG wrote:

Camel are you sure your not drunk, we have no problem with rcon whois command it just crashes when use refree whois command

cml wrote:

Confirmed, I did /rcon whoid ID on aim freeze and
server crashed

Did I mention that I used referee? no, rcon, server crashed, its not related to which type of way you access the userdb.