anyone at all I not bias you see anything wrong with this files or as to why i would get the above error?
anyone at all I not bias you see anything wrong with this files or as to why i would get the above error?
Can somone pls help me with this error :))
only error i get is thison my client i get (failed in game server to obtain player's character)
TRACE : gdelivery::matrixpasswd query, user=hades
GQueryPasswd:account is hades , login ip is 33597632
Sending query to acquire password
Prepare procedure call:{call acquireuserpasswd(?,?,?)}
Received acquired password
Returning acquired password
Prepare procedure call:{call deleteTimeoutForbid(?)}
Prepare procedure call:{call recordonline(?,?,?,?,?)}
gauthd: 25 Apr 2010 00:28:58,571 INFO GAuthServer:? - UserLogin:userid=***sid=23,aid=1,zoneid=1,remaintime=0,free_time_left=0,free_time_end=0,func=0,funcparm=0,creatime=1272115524,adduppoint=0,soldpoint=0
TRACE : gdelivery::userlogin.received.userid=***proxy_sid=18,localsid=23,retcode=0,blIsGM=0,func=0,funcparam=0,free_left=0,remain_time=0,creatime=1272115524
TRACE : gdelivery:Userlogin:PostProcess: SendOnlineAnnounce userid=***localsid=23
TRACE : GetUser, userid=32.
TRACE : StockExchange::OnLogin, userid=***cash=0,money=0,orders=0,cash_pwd=0
TRACE : GetRoleInfo, roleid=32.
TRACE : GetRoleInfo, roleid=33.
TRACE : GetRoleInfo, roleid=34.
TRACE : gdelivery::receive playerlogin from link,roleid=34,linkid=1,localsid=23
TRACE : gdeliveryserver::statusannounce,online=1,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=1,fakemax=6000,load=0,attr=268435456
TRACE : gdelivery::statusannounce: user disconnected,gs=-1,uid=***sid=18,manager=0x82ea6c0
TRACE : gdelivery:: statusannounce: user 32 offline, onlineuser count is 1
Prepare procedure call:{call recordoffline(?,?,?,?,?)}
I can't figure out how to get this working, all the setting should be correct, and yet it dosn't work.(for me)
My internal ip address is 192.168.0.50, and by defualt the server is configed with that ip address.Code:random@ubuntu:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:0c:f1:d2:c3:74 inet addr:192.168.0.50 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:f1ff:fed2:c374/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:498757 errors:0 dropped:0 overruns:0 frame:0 TX packets:321837 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:525819973 (525.8 MB) TX bytes:33231641 (33.2 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5094220 errors:0 dropped:0 overruns:0 frame:0 TX packets:5094220 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:341923090 (341.9 MB) TX bytes:341923090 (341.9 MB)
All the files are in place, lammpp is working. i have a dbo database set up.
i added:
to my /root/.profile.Code:export USERNAME BASH_ENV PATH export CLASSPATH=.:/usr/java/jdk1.5.0_05/lib/dt.jar:/usr/java/jdk1.5.0_05/lib/tools.jar:/usr/java/jdk1.5.0_05/lib/mysql-connector-java-3.0.16-ga-bin.jar:/usr/java/msSQLjdbc/lib/msbase.jar:/usr/java/msSQLjdbc/lib/mssqlserver.jar:/usr/java/msSQLjdbc/lib/msutil.jar export PATH=$JAVA_HOME/bin:$PATH export JAVA_HOME=/usr/java/jdk1.5.0_05 export CATALINA_HOME=/usr/local/jakarta-tomcat-5.5.9/bin
and i get this when i start up:
after a bit it starts spaming this as its starting everything else and dosn't even stopCode:./start.sh === XAMPP === XAMPP: XAMPP-Apache is already running. Apache Started === DONE == XAMPP: XAMPP-MySQL is already running. MySQL Started === DONE == === Jakarta Tomcat === exec: 42: ./catalina.sh: not found Iweb Started === DONE == === LOGSERVICE === info : program started with 6 threads. info : OnAddSession === DONE! === === UNIQUENAMED === info : program started with 8 threads. info : logclient: OnAddSession info : logclienttcp: OnAddSession info : OnAddSession === DONE! === === AUTH === 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) authd:: add PollIO task. === DONE! ===
i do get:Code:TRACE : gdelivery::connect gfactionserver successfully. TRACE : gdelivery::gfactionclient: disconnect from server. reconnecting... TRACE : gdelivery::connect gfactionserver successfully. TRACE : gdelivery::gfactionclient: disconnect from server. reconnecting... TRACE : gdelivery::connect gfactionserver successfully. TRACE : gdelivery::gfactionclient: disconnect from server. reconnecting... TRACE : gdelivery::connect gfactionserver successfully. TRACE : gdelivery::gfactionclient: disconnect from server. reconnecting...
but http://192.168.0.50/register/status.php outputs offline. any ideas?Code:=============================================================== = ALL INSTANCES LOADED = = SERVERS ARE UP AND RUNNING! = ===============================================================
When i try to connect to the server via 192.168.0.50:29000 with the PWHGN client it says it's up, but says under maintenance.Code:Linux ubuntu 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
Last edited by random777; 25-04-10 at 01:52 PM.
the java bind address is in use is because you didnt kill java when you shutdown the server
try typing this in the terminal
pkill -9 java
you can add that to the begining of your start.sh file to kill java before it has a chance to bind again.
as for the webpages I am not sure my iweb was working but now i cant get jakarta to work :-(.
catalina not found is mostlikely due to it being written in dos. youre using ubuntu install tofrodos its a program that converts from dos to unix.
you can find it through synaptic package manager .
you can also add it to g edit. after it is installed.
in gedit go to edit, preferences, plugins
check external plugins then click configure.
in the new window look for the new button to create a new plugin.
name it fromdos and hit enter
then in the big window type in fromdos
in the input tab choose current document.
in the poutput tab choose replace current document.
then save and close
now you can access it in the tool menu of gedit
tools-external plugins -fromdos
open catalina.sh in gedit and then use fromdos on it, you may also have to do the same with setclasspath.sh, and im suprised you didnt have to do with with every text file in this package because i did :-)
Last edited by thebigba; 26-04-10 at 04:42 AM.
Thanks, i'll test that jave thingy, for the file changing, i did it a little different, loaded all the .sh in vim then ":set ff=unix" save and close.
Hi,
Anyone has this problem:
Also with dos2unix(Already installed tofrodos):Code:root@*******:~# ./start.sh bash: ./start.sh: /bin/sh^M: bad interpreter: No such file or directory
Thanks,Code:root@*******:~# dos2unix ./start.sh dos2unix command not found
Last edited by luckyrock; 07-07-10 at 06:16 AM.
Problem fixed...
---------- Post added at 06:09 AM ---------- Previous post was at 06:07 AM ----------
I'm having this error when starting the server:
ThanksCode:=== XAMPP === XAMPP: XAMPP-Apache is already running. Apache Started === DONE == XAMPP: XAMPP-MySQL is already running. MySQL Started === DONE == === Jakarta Tomcat === : not foundjakarta-tomcat-5.5.9/bin/setclasspath.sh: 6: : not foundjakarta-tomcat-5.5.9/bin/setclasspath.sh: 9: /usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh: 74: Syntax error: word unexpected (expecting "do") Iweb Started === DONE == === LOGSERVICE === info : program started with 6 threads. === DONE! === === UNIQUENAMED === info : program started with 8 threads. info : logclient: OnAddSession === DONE! === === AUTH === info : logclienttcp: OnAbortSession /libjvm.so'.sr/java/jdk1.6.0_12/jre/lib/i386/server ./authd: 9: Syntax error: "done" unexpected info : logclienttcp: OnAbortSession === DONE! === === GAMEDBD === info : Begin import clsconfig ... info : ClsConfig Imported . info : InitGameDB, Role delete time is 604800. info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0]. info : Init GameDB successfully. TRACE : init SellDataImage. maxSellID=0,rolenum=0 info : program started with 18 threads. info : logclient: OnAddSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession === DONE! === === GACD === info : program started with 1 threads. === DONE! === === GFACTIOND === info : program started with 1 threads. info : logclient: OnAddSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession === DONE! === === GDELIVERYD === TRACE : gdeliveryd::Max player allowed is 6000 info : program started with 1 threads. info : logclient: OnAddSession === DONE! === === GLINKD === info : program started with 1 threads. info : logclient: OnAddSession info : program started with 1 threads. info : program started with 1 threads. info : logclient: OnAddSession info : program started with 1 threads. info : logclient: OnAddSession info : logclient: OnAddSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. === DONE! === === MAIN WORLD === info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456 info : logclienttcp: OnAbortSession err : gdelivery::connect to GAuth server failed. Reconnecting.... TRACE : ganticheatclient:: connect to GACD failed! err : gdelivery:: connect GameDB failed TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession TRACE : checkpoint begin. TRACE : checkpoint end. TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456 err : glinkd::Connect to delivery failed. err : gdelivery::connect to GAuth server failed. Reconnecting.... TRACE : ganticheatclient:: connect to GACD failed! err : gdelivery:: connect GameDB failed info : logclienttcp: OnAbortSession TRACE : checkpoint begin. TRACE : checkpoint end. info : logclienttcp: OnAbortSession err : gdelivery::connect to GAuth server failed. Reconnecting.... err : gdelivery:: connect GameDB failed info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... info : logclienttcp: OnAbortSession TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456 TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. ....................
I did everything right, but the server does not start
the start.sh not start
someone help?
get another start.sh files
Need to be converted into a linux format (dos2unix):
Code:/usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh /PWServer/authd/authd![]()
I have converted, but to no avail
converted using
dos2unix: convert text files from MS-DOS/Windows to Unix
okay?
------------------------------------------------------------------------
thanks man, I converted using the tr command and apparently is working.
------------------------------------------------------------------------
another error
=== Jakarta Tomcat ===
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
and the server closes after a while
help?
Last edited by rferrari; 18-07-10 at 08:46 PM.
I have my server is running and up
but when i login it keeps saying "server in maintenance mode"
when i login into iweb i don't know the username and password
please someone help me...
Installed all as described, changed all to 777, mysql start on "lampp start" is fine but in start_full.sh it says Permission denied.
No matter, i start lampp on my own but now i have another problem. There is something wrong with the java. Can sum1 help me with this please ?
I am pretty sure this release comes with java, have you tried to install your own, or 'update' ???
That is kinda what this looks like to me...
So if that may be the case my first recommendation would be
'nano /PWServer/authd/authd'
and make sure authd points to the proper java location ;)
Last edited by 343; 08-09-10 at 12:58 AM.
here is a screenie of my authd:
The authd.class is the binary file. authd itself is text.
But still nothing works. I use the 1.6.0_12 java that is included in this paket and it just fails. Now it fails at all, had to reinstall the whole server because it didnt even startup after reboot. I guess the files are not working on now opensuse 11 ( ubuntu sucks, more bugs than every other Linux).
I still whould love to get sum1 on skype that is able to take a look at the server and maybe help me.
lol what?
Debian and Ubuntu are by far the most commonly used distro's of Linux, and to kill any Linux to the point of it not booting is something that the user did, not the people that worked in it, and anyone that has ever used windows knows that even the alpha versions of releases are a lot more stable then windblows.
Source: Ubuntu Bug tracker
38620 New bugs
78953 Open bugs
917 In-progress bugs
31 Critical bugs
1073 High importance bugs
5332 Incomplete bugs (can expire)
2207 Bugs with patches
2468 Bugs fixed elsewhere
100 Open CVE bugs - CVE reports
So whatever, back to Topic.
I changed system back to Ubuntu 8.04 LTS now ( i have no other choice, its Strato server). Clean install. Copied all Files of that pack into it. All are set to 777. And guess what, it still fails. Now gauth doesnt start.
---edit:---
restarted the server and now i am near to eat mah keyboard. see screenshot![]()
Last edited by Zorno; 08-09-10 at 09:27 PM.
Not all of those are specifically for the OS itself, and like I said it is the most commonly used therefore the most will show up as more people use it duh.
And how many of those do you think are duplicates? probably more then half, those numbers don't mean anything anyway, SuSE and every other major distro has numbers just as high so out of context arguments really mean nothing at all.
And you do know what setting to 777 does to it right?if you knew anything about servers youd know a lot of times they whine about that because it is horribly insecure, 343 and I can both vouch for Beastie that, there is nothing wrong with the files, you just need to set them up properly. Your screenshot also only says you don't have JRE_HOME defined, define it somewhere and it will start... simple as that... Its amazing how many people come here and have no clue how to run a server and then blame other people when it doesn't work >_>
Last edited by das7002; 09-09-10 at 03:19 AM.
sure. But i also know that they work on things that are minor bugs and they dont fix some major bugs, maybe because they dont want to or maybe because they cant. Im not a dev of ubuntu so i dont know
Never said that SuSE is good. Im a big fan of Mandriva btw. And yes i know Mandriva is buggy like hell.And how many of those do you think are duplicates? probably more then half, those numbers don't mean anything anyway, SuSE and every other major distro has numbers just as high so out of context arguments really mean nothing at all.
No, i do not. I dont know that everybody can write to Files when i set them on 777. Come on, di you relly think im that stupid while renting out Servers ?And you do know what setting to 777 does to it right?![]()
How could i when i dont know where ? As said in one of the first posts here, its enough to copy all Files to the Server and set them up to the IP of the Server. This seems not to work for me, i never said that it dont work somewhere else, it just dont work for me and i dont know why.if you knew anything about servers youd know a lot of times they whine about that because it is horribly insecure, 343 and I can both vouch for Beastie that, there is nothing wrong with the files, you just need to set them up properly.
seems to be not that simple because Beastie wrote that its enough when its set in the .profile file. So it IS in there and it dont work. But i try to find the right location mahself. Its ok.Your screenshot also only says you don't have JRE_HOME defined, define it somewhere and it will start... simple as that...
True. But i never blamed someone, i just said its not working for MEIts amazing how many people come here and have no clue how to run a server and then blame other people when it doesn't work >_>
Maybe my problem is just simple, im renting windows servers. Im not new to linux, i just never used it for servers and never had to configure things on it on mah own. Always used the Drakes and all was good. So dont be too hard to me, everybody is doing something the first time and then asks stupid questions
---edit:---
copied the "userspecific" part of .profiles to /etc/bash.bashrc and now all runs fine. Changed all Files to 755 btw![]()
Only thing is that the client now shows the server is in maintenance.
Last edited by Zorno; 09-09-10 at 01:22 PM.