Login Issues

Page 1 of 2 12 LastLast
Results 1 to 25 of 28
  1. #1
    [B]aSH nofxpunkerbrian is offline
    MemberRank
    Apr 2009 Join Date
    1,151Posts

    Login Issues

    Hi all,

    I have tried everything I can think of and I am kinda stumped now.

    My users are having massive delay when logging in, the point database is also not resetting it just crashes from the looks of it but when I shut the server down it will only reset once the server reboots, kinda like the login server is having issues.

    Any ideas what could be causing this?


  2. #2
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Something wrong with the authd process. Never know what is causing that. A simply kill/restart solves the problem... temporarily...

  3. #3
    Account Upgraded | Title Enabled! fluxbox is offline
    MemberRank
    Sep 2004 Join Date
    KanagawaLocation
    303Posts

    Re: Login Issues

    Are you hosting the account database separately from the game box?

  4. #4
    Banned Adriana is offline
    BannedRank
    Apr 2011 Join Date
    127Posts

    Re: Login Issues

    Read auth logs but my fix do this "REPAIR point"

    ---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

    Xd your point table is broken>

  5. #5
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Ok I assume it needs a crontab to fix every X time the point table...

  6. #6
    Banned Adriana is offline
    BannedRank
    Apr 2011 Join Date
    127Posts

    Re: Login Issues

    Quote Originally Posted by Romulan View Post
    Ok I assume it needs a crontab to fix every X time the point table...
    yep do you need the script? because i do it before daly reboot:P

  7. #7
    Valued Member kyandeisu is offline
    MemberRank
    Aug 2010 Join Date
    SingaporeLocation
    149Posts

    Re: Login Issues

    Wow o.0 my server been having this exact same issue the past few months, still been trying to find a fix for it.

  8. #8
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Quote Originally Posted by Adriana View Post
    yep do you need the script? because i do it before daly reboot:P
    Yea sure

  9. #9
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Login Issues

    Brian, use another auth from another serverfiles, see if that helps... also, check your dedicated machine to see if you can find any network error or hardware errors...

    Well, I know you're pro in server development, but I will say it: My server had this problem, and this was caused by the high memory use, and then I created a .sh script to drop the memory cache and the problem stopped... sometimes the memory goes to hell.

    Yeah, it's almost obvious that you have thought about this, but who knows? xD

    Anyway, the problem can be anything, because as das7002 say: "PW Dev is a Russian roulette". Good luck trying to fix it.

  10. #10
    Don't Ask About Tideborn vixio_dv is offline
    MemberRank
    Feb 2010 Join Date
    UKLocation
    774Posts

    Re: Login Issues

    this is old issue right? our authd is buggy. not support symbols or chinesse username and password, change encoding to ascii on table.xml

  11. #11
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Login Issues

    Quote Originally Posted by vixio_dv View Post
    this is old issue right? our authd is buggy. not support symbols or chinesse username and password, change encoding to ascii on table.xml
    Brian said that the problem is a massive delay...

  12. #12
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Login Issues

    Quote Originally Posted by Adriana View Post
    yep do you need the script? because i do it before daly reboot:P
    *mumbles something about adding it as an init script that runs on 6 and 0*

  13. #13
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Quote Originally Posted by renan7899 View Post
    I created a .sh script to drop the memory cache and the problem stopped... sometimes the memory goes to hell.
    Can you share this script? I'm interested for it too.

  14. #14
    Banned Adriana is offline
    BannedRank
    Apr 2011 Join Date
    127Posts

    Re: Login Issues

    Sorry i had some problems here is the scripts:


    Form.php :
    PHP Code:
    <?php error_reporting (E_ALL E_NOTICE); ?>

    <form name="formname" method="post" action="repair.php">
    <input name="db_host" value="localhost" type="text"/>
    <input name="db_user" value="root" type="text"/>
    <input name="db_password" type="text" value="root"/>
    <input name="db_ignore" type="text" value="dbo"/>
    <input type="submit" value="List_DBs_and_Tables" />
    <br>
    <input name="do_list" type="checkbox" value="on" checked="checked" disabled="disabled" />List 
    <input  name="do_repair" type="checkbox"checked="checked" value="on" />Repair
    <br>
    </form>

    <body onload="document.forms.formname.submit();">



    repair.php
    PHP Code:
    <?php

    $db_host 
    $_POST['db_host'];
    $db_user $_POST['db_user'];
    $db_password $_POST['db_password'];


    $do_repair $_POST['do_repair'];
    $db_ignore = ($_POST['db_ignore'])  ? $_POST['db_ignore'] : "nodbignore" ;



    if(!
    $db_host || !$db_user){ die(); } 


    mysql_connect("$db_host","$db_user","$db_password") or die("Error: No BD Connection");


    $rs mysql_query("show databases");

    while(
    $arr=mysql_fetch_array($rs)){


        echo 
    "<h2>$arr[0]</h2><ol>";
        
        
    mysql_select_db("$arr[0]");
        
    $rs2 mysql_query("show tables");
        while(
    $arr2=mysql_fetch_array($rs2)){

     


            if(
    $do_repair){
                
    $rs4 mysql_query("repair table `$arr2[0]`"); echo mysql_error();
                
    $arr4=mysql_fetch_array($rs4);
            }

            echo 
    "<li>$arr2[0]  <b>$arr4[3]</b>";


            
            
        }
        echo 
    "</ol>"


    }

    ?>

  15. #15
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Thx, I'll try this if I get the problem again.

  16. #16
    Banned Adriana is offline
    BannedRank
    Apr 2011 Join Date
    127Posts

    Re: Login Issues

    Quote Originally Posted by Romulan View Post
    Thx, I'll try this if I get the problem again.
    just in-case you have to regenerate database daly or when you reboot i do this form Monday to Friday and i never got any issues

  17. #17
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Login Issues

    Quote Originally Posted by Romulan View Post
    Can you share this script? I'm interested for it too.
    That's simple..

    Code:
     #!/bin/bash
    
     echo 3 > proc/sys/vm/drop_caches
    Save it as .sh script and edit crontab

    Code:
    crontab -e
     * * * * * ~/refresh.sh
    Then use chmod in the .sh script

    Now the script will automatically drop the memory caches.

  18. #18
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Login Issues

    Quote Originally Posted by renan7899 View Post
    That's simple..

    Code:
     #!/bin/bash
    
     echo 3 > proc/sys/vm/drop_caches
    Save it as .sh script and edit crontab

    Code:
    crontab -e
     * * * * * ~/refresh.sh
    Then use chmod in the .sh script

    Now the script will automatically drop the memory caches.
    You don't need shell scripts for cron unless it is an actual shell script. Putting that command directly into cron works perfectly fine...

  19. #19
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Login Issues

    Quote Originally Posted by das7002 View Post
    You don't need shell scripts for cron unless it is an actual shell script. Putting that command directly into cron works perfectly fine...
    Nah, with the script you can type ./name.sh at any time.

  20. #20
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    @Adriana
    Sorry, your fix doesn't work for me. It's a problem from authd not from the pw mysql db.
    Last edited by Romulan; 21-08-11 at 03:09 AM.

  21. #21
    Banned Adriana is offline
    BannedRank
    Apr 2011 Join Date
    127Posts

    Re: Login Issues

    i posted that script for bash and you said you want it to it repairs all tables in MySQL that's all it do.

  22. #22
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Login Issues

    Quote Originally Posted by Adriana View Post
    i posted that script for bash and you said you want it to it repairs all tables in MySQL that's all it do.
    Yea because I believed that it was a problem with the point table. But I discovered that the issue was not from the point table in my case...

  23. #23
    [B]aSH nofxpunkerbrian is offline
    MemberRank
    Apr 2009 Join Date
    1,151Posts

    Re: Login Issues

    Quote Originally Posted by fluxbox View Post
    Are you hosting the account database separately from the game box?
    No I host all on same machine.

    Quote Originally Posted by Adriana View Post
    Read auth logs but my fix do this "REPAIR point"

    ---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

    Xd your point table is broken>
    I have checked everything that the login process is linked to and everything is fine though.

    Quote Originally Posted by kyandeisu View Post
    Wow o.0 my server been having this exact same issue the past few months, still been trying to find a fix for it.
    I have never had this issue before either.

    Quote Originally Posted by renan7899 View Post
    Brian, use another auth from another serverfiles, see if that helps... also, check your dedicated machine to see if you can find any network error or hardware errors...

    Well, I know you're pro in server development, but I will say it: My server had this problem, and this was caused by the high memory use, and then I created a .sh script to drop the memory cache and the problem stopped... sometimes the memory goes to hell.

    Yeah, it's almost obvious that you have thought about this, but who knows? xD

    Anyway, the problem can be anything, because as das7002 say: "PW Dev is a Russian roulette". Good luck trying to fix it.
    I actually over-looked possible memory issues since my machine has over 30GB of memory but what I have noticed is my system load has been over 1 recently which isnt bad but its different since it never peaks over 0.1 I will try monitor the flow the next few days see what could be causing this.

    Quote Originally Posted by vixio_dv View Post
    this is old issue right? our authd is buggy. not support symbols or chinesse username and password, change encoding to ascii on table.xml
    My server doesnt handle any symbols only 1-9 a-z

  24. #24
    Don't Ask About Tideborn vixio_dv is offline
    MemberRank
    Feb 2010 Join Date
    UKLocation
    774Posts

    Re: Login Issues

    just put wrong ID and password with symbol or chinese name without registered,force it 4 times or more.. ur authd will be crash.. xD

  25. #25
    Member zdark is offline
    MemberRank
    Jul 2005 Join Date
    BrazilLocation
    53Posts

    Re: Login Issues

    Check logs in Auth nofxpunkerbrian

    start Auth in sh make log ->

    $CLASSPATH org.mono.Authd > /log

    You too can debug true file ->

    table.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="table.xsl"?>

    <application debug="false" >

    after

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="table.xsl"?>

    <application debug="true" >

    I am currently working with Swoosh91 to force the user to use a client made ​​by me to prevent hacks once and for all.

    Remembering that I add some things in Auth (java) and Swoosh91 in assembler:)

    The Bug to force user and make dupping is because of the Auth and is another thing that will get

    If you need some help add me on skype: zdarks2joci
    [B]aSH



Page 1 of 2 12 LastLast

Advertisement