Before even trying to connect to the shard, you might get an error similar to the one above that says you should request a new version. To fix this:
There is no error message for this.
If you are using client_ryzom_r.exe provided in the client archive, it connects to Open Shard ignoring what you set for StartupHost. It's probably why you don't see users in your database. They're being created in the Open Shard database. |
Symptoms of this error are:
This occurs when you are not DIRECTLY following the instructions on Build Source on Windows.
This error occurs when you use the client_ryzom_r.exe provided in the client archive rather than using the version in PATH/code/build/bin/ (where PATH is the path where your source is installed)
Note: Using the version packaged with the source may cause the at-launch error described above.
Apache is showing mysql_connect() or mysql_pconnect() error in the log.
The MySQL module is disabled.
Edit php.ini and uncomment:
extension=mysql.so
You will find php.ini on Ubuntu 10.04 by default here: /etc/php5/apache2/php.ini
PHP login script on your web server can't connect to Ryzom Login Server (which is a module integrated in Shard Unifier Service).
Check code/ryzom/tools/server/www/login/r2_login_*.log for details.
mysql -ushard nel SELECT * FROM domain;
If it shows open:49998 in login_address or there's an error connecting to the database, check Configure Linux Web Services and reference the sections on configuring MySQL and Apache/PHP.
If you built the client in debug mode, replace:
Application = { "ryzom_open", "./ryzom_client_r.exe", "./" };
with:
Application = { "ryzom_open", "./ryzom_client_d.exe", "./" };
SU-0 module_manager.cpp 759 cmdHandler_createModule : Creating module 'ls' of class 'LoginService' with params 'ring_db(host=localhost user=shard password= base=) web(port=49998) nel_db(host=localhost user= password= base=nel)' SU-0 login_service.cpp 190 onModuleUp : LS : adding WS 'localhost:3955:ws'
DisableNLDebug = 0;
PHP login script on your web server can't connect to the database.
3004 - mysql_connect failed
3005 - mysql_select_db failed
3006 - mysql_query failed
mysql -ushard nel mysql -ushard ring_open
SELECT * FROM domain; mysql -ushard nel
If there's a problem connecting to database, check Configure Linux Web Services and reference the sections on configuring MySQL and Apache/PHP.
Error 4xxx are related to Ring and shouldn't occur. If it does, check your MySQL config.
You can try the following config:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGNjdkMTJlZDItMzZlNy00Y2M0LTg0ODctMGI5MTExNjEzNTlk
2010/07/13 19:47:42 INF 104 client_ryzom_r.exe network_connection.cpp 646 CNetworkConnection::connect : CNET[014D8610]: Connecting to 'open.ryzom.com:47851' with cookie ''0C01A8C0|6AB47002|00000001''
2010/07/13 19:52:12 INF d94 client_ryzom_r.exe network_connection.cpp 1005 CNetworkConnection::sendSystemLogin : CNET[014D8610]: sent LOGIN cookie='0C01A8C0|7BF89003|00000001'
2010/07/13 19:52:12 INF d94 client_ryzom_r.exe network_connection.cpp 1005 CNetworkConnection::sendSystemLogin : CNET[014D8610]: sent LOGIN cookie='0C01A8C0|7BF89003|00000001'
Edit .../code/ryzom/server/frontend_service.cfg
FSListenHost = "open.ryzom.com";
Replace open.ryzom.com by your server domain name