Client doesnt connect to running shard.
Added by Nephilin about 5 years ago
Here is my first asking of help, i'll hope not disturb to much :)
My problem, the client doesnt connect to my shard and keep connecting to the open shard u putted on.
I downloaded the client here : http://dev.ryzom.com/wiki/ryzom/RunClientOnWindows
and unzipped it on windows seven.
I changed the client.cfg file and added like asked in the tutorial the line StartupHost = "my.server.ip:40916"; with my own ip at the end.
For the server, i followed all the tutorial and all worked fine, the server is up and i access to my admin.
But it seems i have a problem with Apache :
[Fri May 28 13:00:04 2010] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results [Fri May 28 13:00:04 2010] [error] VirtualHost *:40916 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Anyway,when i go to http://my.server.ip:40916/login/r2_login.php
I have that : 0:Missing cmd (3002)
So i think the server is anyway listenning and working well.
For information, all the ports are open on my server and it is on Ubuntu 10.04.
I dont find an issue to my problem, thanks for your help.
Replies (7)
RE: Client doesnt connect to running shard. - Added by Krolock about 5 years ago
At the beginning the server adress was hard coded in the client sources. This has been fixed and moved into the config file, because otherwise the client had to be rebuilt after changing the server adress.
The downloadable binaries are a version with the hard coded server adress, so it ignores the host adress inside your config file. If the client binaries hasn't been updated yet, you have to build the client by yourself with the latest sources. Then it should work :)
RE: Client doesnt connect to running shard. - Added by Nephilin about 5 years ago
Thanks for your answer.
The thing to know, is that before to download the client, i tried to do my own client by following the tutorial. Again all worked fine and i didnt have any errors, but i dont find the file to launch on windows, maybe i missed a step, or there is something to do than i dont know after the last famous "make" of the tutorial.
Otherwise, is it normal to have that errors message from apache even if it still work ?
RE: Client doesnt connect to running shard. - Added by Krolock about 5 years ago
Are you compiling on Windows or on Linux?
On Linux you should find the binary after build success somewhere in "$RYHOME/ryzom/build" I think.
On Windows you should get a client_ryzom_r.exe somewhere in the release folder. I don't know the exact pathes, cause I'm not at home right now, so i couldn't check.
0:Missing cmd (3002) is fine, because your server connects to r2_login.php with appropriate commands. Typing this URL into the browser passes no commands, why this error appears. But it means, that your Apache and PHP is working well.
RE: Client doesnt connect to running shard. - Added by Nephilin about 5 years ago
Thanks again :)
So i'm totally working under Linux, i just use Windows to launch the client. So the compiling work is under Ubuntu 10.04.
For the error message, i was thinking the same about 0:Missing cmd (3002) but my question was about the apache error on Linux, i mean than i dont understand why it is working! beccause i got that 2 errors when i launched apache :
[Fri May 28 13:00:04 2010] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results [Fri May 28 13:00:04 2010] [error] VirtualHost *:40916 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
So i think it is weird ^^
RE: Client doesnt connect to running shard. - Added by kerozcak about 5 years ago
It seems that "undefined results" work good for you :)
You can also use binaries from http://dev.ryzom.com/wiki/ryzom/WindowsBinaries (just copy client+nel lib to the directory unpacked from openshard client). It's newer build that supports StartupHost in config file.
RE: Client doesnt connect to running shard. - Added by Nephilin about 5 years ago
Thank you too.
So i took like u told me the binaries, and so it stop to try to connect to the official open source server.
But it still wont work, "_the requested url /login/r2_login.php was not found on this server._", but it is !
If i put directly in my browser this address : http://my.server.ip:40916/login/r2_login.php it work : 0:Missing cmd (3002)
In my CFGs, i have:
StartupHost = "my.server.ip:40916"; StartupPage = "/login/r2_login.php";
I'm sure there is something wrong with the apache errors.. It cannot works well if there is even warnings from apache2.
Damn undefined results ^^
RE: Client doesnt connect to running shard. - Added by Nephilin about 5 years ago
I found :)
So i have to put that : "NameVirtualHost *:40916" just before my first (and only one) <VirtualHost *:40916> and not in the ports.conf.
Same for the *:80 and i have to change all my old <VirtualHost *> by <VirtualHost *:80> :)
It is working now, the client tell me than my account doesnt exist, etc etc, so all is normal.
Thank you 2 for your help :)
(1-7/7)