authd Failed To Start

Results 1 to 13 of 13
  1. #1
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    authd Failed To Start

    I recently uploaded my files to a new server and changed the password for the mysql in as many files as I could find. Unfortunately I must have missed one as my authd is currently not working.

    Anyone know how I can fix this problem?


  2. #2
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: authd Failed Too Start

    just restart your server, sometimes it doesn't start

  3. #3
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    Quote Originally Posted by Psytrac View Post
    just restart your server, sometimes it doesn't start
    Unfortunately that doesn't help, I restarted all services a few times now and even rebooted the server itself, I'm pretty sure I've missed a configuration somewhere but not sure where.

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

    Re: authd Failed Too Start

    Code:
    cd /PWServer/authd; ./authd > authd.log
    Post the authd.log file if it still doesnt work...

  5. #5
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    This is what I got from auth.log in the logs folders:

    authd:: add PollIO task.
    GAuthServer::OnAddSession com.goldhuman.IO.Protocol.Session@d0af9b
    gauthd: 28 Nov 2011 01:59:14,608 INFO GAuthServer:? - <<< clear all online records on zone 1 >>>

    and this is what I got from typing in cd /PWServer/authd; ./authd > authd.log

    java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at com.goldhuman.IO.PassiveIO.Open(Unknown Source)
    at com.goldhuman.IO.Protocol.Protocol.Server(Unknown Source)
    at authd.main(Unknown Source)

    Just realised my ftp was still connected, I did it again but nothing is happening at the moment.

    This is all I'm getting from the authd.log file:

    authd:: add PollIO task.
    Last edited by DaMadBoy; 28-11-11 at 02:26 AM.

  6. #6
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    This is all I'm getting from the authd.log file:

    authd:: add PollIO task.

    Just got this from typing in ./authd > authd.log again.

    ./authd: line 6: 6400 Killed /usr/java/jdk1.6.0_12/bin/java -cp /PWServer/authd/lib/jio.jar:/PWServer/authd/lib/application.jar:/PWServer/authd/lib/commons-collections-3.1.jar:/PWServer/authd/lib/commons-dbcp-1.2.1.jar:/PWServer/authd/lib/mysql-connector-java-5.0.8-bin.jar:/PWServer/authd/lib/commons-pool-1.2.jar:/PWServer/authd/lib/commons-logging-1.0.4.jar:/PWServer/authd/lib/log4j-1.2.9.jar:.:$CLASSPATH authd table.xml
    ./authd: line 9: syntax error near unexpected token `done'
    ./authd: line 9: `done'
    Last edited by DaMadBoy; 28-11-11 at 03:27 AM.

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

    Re: authd Failed Too Start

    That means authd is running but pwAdmin isn't showing it (Im assuming that is what you mean, as I've had that happen to me before as well)

    Code:
    ps aux | grep authd
    or
    Code:
    ps aux | grep java
    and you should see it

  8. #8
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    Quote Originally Posted by das7002 View Post
    That means authd is running but pwAdmin isn't showing it (Im assuming that is what you mean, as I've had that happen to me before as well)

    Code:
    ps aux | grep authd
    or
    Code:
    ps aux | grep java
    and you should see it
    root 6792 0.5 0.1 1203836 30612 ? Sl 03:54 0:00 /usr/java/jdk1.6.0_12/bin/java -cp /PWServer/authd/lib/jio.jar:/PWServer/authd/lib/application.jar:/PWServer/authd/lib/commons-collections-3.1.jar:/PWServer/authd/lib/commons-dbcp-1.2.1.jar:/PWServer/authd/lib/mysql-connector-java-5.0.8-bin.jar:/PWServer authd/lib/commons-pool-1.2.jar:/PWServer/authd/lib/commons-logging-1.0.4.jar:/PWServer/authd/lib/log4j-1.2.9.jar:.:/opt/apache-tomcat-5.5.28/2/bin/bootstrap.jar authd table.xml
    root 6886 0.0 0.0 9612 1052 pts/0 S+ 03:55 0:00 grep --color=auto authd

    Does this mean I've been worrying about nothing for the past two hours?

    Only problem is now my pwadmin isn't connecting to the database.

    Just figured out what I did wrong, what a nooby mistake didn't change the other mysql password entries in setup.sh. So it couldn't install the databases. I need to hold back on the smoking I think. O.o
    Last edited by DaMadBoy; 28-11-11 at 04:20 AM.

  9. #9
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: authd Failed Too Start

    Quote Originally Posted by twister495 View Post
    I need to hold back on the smoking I think. O.o
    Yea, save it for 0420 or 1620 (4:20pm)

    :rofl:

  10. #10
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    You wouldn't happen to know what I need to change in order to get authd to display as online? The server page also has issues as well, takes alot longer then the other pages to load and it says server is offline even though I am walking around on the main map.

    Not a big problem I guess but it's one I'd rather not have

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

    Re: authd Failed Too Start

    I believe it has something to do with pwAdmin being unable to actually see that the process is running, it doesn't happen if pwAdmin is the one that starts it all but if manually started authd doesn't always show (when running the server as its own user and not root, as running as root is never a good idea. root wouldn't have that problem though)

  12. #12
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: authd Failed Too Start

    I've been using pwadmin to start everything. It must have something to do with the mysql password change but I just can't think how or where O.o

    I've never had trouble with authd before, on both my previous servers I always had all services running, once or twice the gamedbd crashed but a simple restart solved that. I'll continue looking see if I can figure it out.

  13. #13

    Re: authd Failed Too Start

    i thought i had the answer but its definitly not the answer sorry, 343 if you could delete this post, id apprieciate it.
    Last edited by softsoldier; 29-11-11 at 02:30 AM. Reason: my own stupidity



Advertisement