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?
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?
just restart your server, sometimes it doesn't start
Post the authd.log file if it still doesnt work...Code:cd /PWServer/authd; ./authd > authd.log
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.
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.
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)
orCode:ps aux | grep authd
and you should see itCode:ps aux | grep java
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 mistakedidn'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.
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![]()
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)
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.
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