Ryzom core server build error

Added by ktaragorn almost 8 years ago

Hi i am following the instructions in BuildForLinux, but im failing at the final stages of the make all script. It used to work before(week or 2 back) dunno wat happened. Any help would be much appreciated. Platform is Ubuntu 10.10 x64

Thanks,
Karthik T


Replies (11)

RE: Ryzom core server build error - Added by ktaragorn almost 8 years ago

Hmm i took the easy way out and compiled in x86 machine :)
This is working for now, and i followed all the steps of the configure server page in wiki.
Now when i try to connect with the client, i am getting error 4000 when it is supposed to login, procedure goes as follows

new user name, password +connect x3
login created
permission created
privilege created
error 4000

any help would be much appreciated thanks
Karthik T

RE: Ryzom core server build error - Added by molator almost 8 years ago

Error 4xxx comes from Ring.
You shouldn't get them.

It could come from you mysql settings.
You can try with my own config here:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGOGRkZDUyMDEtY2UyZS00NjFjLWJmNTItYmZlNzhlYmE4MjVl

Could you provide us the client log ?
And clarify what you put in FSHost (frontend_service.cfg), in StartupHost (client.cfg) and if both the client and server are on the same network ?

RE: Ryzom core server build error - Added by ktaragorn almost 8 years ago

Client log
http://dl.dropbox.com/u/2819503/client.log

frontend_service.cfg (ssh onto server)
ryzom$ cat code/ryzom/server/frontend_service.cfg
// Use with commandline: frontend_service -C. -L. --nobreak --writepid

// ---- config local variables

// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
BandwidthRatio = 1;

FSUDPPort = 47851;
FSListenHost = "10.4.0.44";

#include "frontend_service_default.cfg"

// ---- service NeL variables (used by ConfigFile class)

client.cfg
ryzom_client_open$ tail client.cfg
FollowOnAtk = 0;
AtkOnSelect = 0;
SoundForceSoftwareBuffer = 1;
SoundOn = 1;
UseEax = 0;
MaxTrack = 32;
SoundSFXVolume = 1.0000000000;
SoundGameMusicVolume = 0.5000000000;
StartupHost = "10.4.0.44:40916";

Pingability
ryzom_client_open$ ping 10.4.0.44
PING 10.4.0.44 (10.4.0.44) 56(84) bytes of data.
64 bytes from 10.4.0.44: icmp_req=1 ttl=64 time=0.628 ms
64 bytes from 10.4.0.44: icmp_req=2 ttl=64 time=0.505 ms
64 bytes from 10.4.0.44: icmp_req=3 ttl=64 time=0.684 ms
^C
--- 10.4.0.44 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.505/0.605/0.684/0.079 ms

working on the mysql stuff now.

Thanks,
Karthik T

p.s. sry for spamesque link, but try out http://www.dropbox.com/referrals/NTExNjgyNDk5 if you have the time, easy to share files, among other things.

RE: Ryzom core server build error - Added by ktaragorn almost 8 years ago

Used ur sql file and now it works.. i think. I still get no console output from the shard.. is it normal it stays at

INF b734c6d0 service.cpp 1276 main 127.0.1.1/AS-0 : SERVICE: Service ready

RE: Ryzom core server build error - Added by molator almost 8 years ago

You can use the webtool to monitor the services state.
That's the tool link to the port 80 in the virtualhosts config.

In the console, each service is running in a virtual console (a screen).
You can switch to the next one using:
ctrl + a + n

It can help you to follow the services.

RE: Ryzom core server build error - Added by Nakarti almost 7 years ago

molator wrote:

Error 4xxx comes from Ring.
You shouldn't get them.

It could come from you mysql settings.
You can try with my own config here:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGOGRkZDUyMDEtY2UyZS00NjFjLWJmNTItYmZlNzhlYmE4MjVl

Could you provide us the client log ?
And clarify what you put in FSHost (frontend_service.cfg), in StartupHost (client.cfg) and if both the client and server are on the same network ?

Sure enough if it's a problem I am having, it is one I shouldn't be.
I tried the 'quick' sql config, but that turns out to still need some of the other SQLs and I suspected error 4k was related (since the server complains not and the dev shard connects fine, so obviously not client.)
Time to blow away my SQL and redo it. If I get the solution repeatable I'll add the steps to the wiki, and if I fix but can't repeat it, I will add a note to the quick sql that some extra work is needed to avoid error 4000.

RE: Ryzom core server build error - Added by molator almost 7 years ago

I've updated the file a little for windows seven some time ago, if you want to try:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGNjdkMTJlZDItMzZlNy00Y2M0LTg0ODctMGI5MTExNjEzNTlk

I said that issue shouldn't occur because 4xxx error are related to Ring.
So why a Ring issue occurs, when we don't use Ring.

RE: Ryzom core server build error - Added by Nakarti almost 7 years ago

(12, 'ryzom_open', '127.0.0.1', 46700, '/nax/ryzom/code/ryzom/server/save_shard/rrd_graphs', '', '', 'ryzom_open', 'mysql://[email protected]/ring_open', 0, '', 'mysql://[email protected]/atrium_forums');

[Apply face to palm]
Because wanting to be more secure I used a different username and password, but changed them after running the general .sql.

The reason I get problems that I shouldn't: I try to tweak things before I have them working.

Still dropping before character selection screen (fes is the last to have an update before dropping) though I think that's FSListenHost (I have different names for localhost|LAN|WAN, so I am sure that will cause even more headaches later.)

RE: Ryzom core server build error - Added by molator almost 7 years ago

By default the shard user can only be used call from localhost.
You can only use it from the machine where you placed the shard.
If noone except you has an account on the machine, no problem.

RE: Ryzom core server build error - Added by Nakarti almost 7 years ago

No the problem was I changed the ID from 'shard' but didn't change it in all instances, plus I set a password, but then didn't apply that properly either.
Running a pretty default config now and fighting IP issues, but think I have it sorted (I gave the wrong IP in hosts)
So I am getting connected now (yay) but having a different issue with the server-side that didn't exist before I fixed the bad IP... Loading the client on the netbook takes forever so maybe I'll find the fix before it finishes.
Offtopic here and its otherwise working (Killed a Yubo) so I'll search the forums or quintuple-check the configs.

(1-11/11)