clean build giving me errors

Added by nimbus3 over 7 years ago

I had to perform a clean build this week and now I am getting a very confusing error from all services!

Just to out line a couple I am receiving these messages:

LGS logger_service
INF f78 module_gateway_transport.cpp 539 NLNET::CGatewayL3ClientTransport::update: Server 192.168.1.106:46702 (192.168.1.106) still not available for connection
INF 1090 unified_network.cpp 487 NLNET::CAliveCheck::run: HNETL5: can't connect to BS-256 now (Socket error: Connection to 192.168.1.106:49990 (192.168.1.106) failed (10060: Connection timed-out))

SBS session_browser
INF 218 service.cpp 1096 NLNET::IService::main: SERVICE: Could not connect to the Naming Service (192.168.1.106:50000 (192.168.1.106)). Retrying in a few seconds...

FS frontend_service
INF 157c service.cpp 1096 NLNET::IService::main: SERVICE: Could not connect to the Naming Service (192.168.1.106:50000 (192.168.1.106)). Retrying in a few seconds...

SU shard_unifier
INF 90c unified_network.cpp 487 NLNET::CAliveCheck::run: HNETL5: can't connect to BS-256 now (Socket error: Connection to 192.168.1.106:49990 (192.168.1.106) failed (10060: Connection timed-out))
INF d0c module_gateway_transport.cpp 539 NLNET::CGatewayL3ClientTransport::update: Server 192.168.1.106:46702 (192.168.1.106) still not available for connection

MFS mail_forum_service
INF 15f4 module_gateway_transport.cpp 539 NLNET::CGatewayL3ClientTransport::update: Server 192.168.1.106:46702 (192.168.1.106) still not available for connection

AIS ai_service
INF 14ec service.cpp 1096 NLNET::IService::main: SERVICE: Could not connect to the Naming Service (192.168.1.106:50000 (192.168.1.106)). Retrying in a few seconds...

The IP address these messages are refering to is my old one and is NOT in any of my configuration files, I have searched my sql DB and there is no reference to this IP there either.

All my config files are set to either localhost or 127.0.0.1 and one is set to 192.168.1.101, which is why I am very confused, As I said 192.168.1.106 is pre new build.

I havn't had to do a clean OS install, I deleated my original core code folder and built with a fresh download of the source, but kept my original sql DB. Is this the possible issue, but if so how because there is not reference to 192.168.1.106 ip address in any of the 3 DB's used.

Any help is, as always, greatly appreciated.

nimbus3


Replies (17)

RE: clean build giving me errors - Added by molator over 7 years ago

Isn't that the current ip of your machine ?
Did you change FSHost in frontend_service.cfg ?

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Hi molator

Nope. This is not my current ip. It is a really strange thing I have double and triple checked all the config files and 192.168.1.106, my old ip, is not in any of them. My current ip is 192.168.1.101.

The only thing left from my old build was the db everything else including source was a fresh download and build. So config files could have no reference my old ip anyway but somehow it is there in the errors.

I have cleared out my cookies, history, checked the db again but still getting the same problem.

Seems the story of my life that nothing is ever as simple as it should be lol.

Regards.

RE: clean build giving me errors - Added by molator over 7 years ago

If you checked /etc/hosts, ifconfig and frontend_service.cfg,
i don't see where it can come from.
In the db, i have only localhost.

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Yet again molator to the rescue, thanks.

I forgot to check etc/hosts

/embarrassed

But now I'm getting crashes all over the place, oh well. back to the drawing board.

I think I might go back to your everything windows tut, for some reason every time I follow the cmake tut it screws my build up.

Thanks again

RE: clean build giving me errors - Added by molator over 7 years ago

Don't forget to set WITH_STATIC and WITH_STATIC_DRIVERS if your services are chain crashing.

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Just giving it a go now. Will update progress in an hour or so

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Right, took a little longer than an hour but I think I have it now, the servers starts with only one problem, it creates rd graphs with ext .hrd rather than .rrd, just relabeling the ext should sort that out ?

Client config has to match address:port in the fs config correct?

thanks again Molator.

RE: clean build giving me errors - Added by molator over 7 years ago

Client config has to match fs config, true.

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Cool almost all runs as expected.

Just have a couple of access violations to look at tomorrow sometime.

1 from the logger client service and 1 from the ryzom tick service

The logger error happened when I logged out and the tick error when I stopped the server. will give more details later if I can't work it out.

Thanks Molator

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Molator

I think the EGS issue is related to the missing sheets, the ticker problem is still there too, but I will test it once I have recompiled the latest release.

On a similar note. I have tested all my armour sheets now, all the light armours work fine but when it comes to medium, heavy and special armours it seems that the textures are either missing, miss labelled or not in the correct location. I am using your client from last year, are all the textures etc present or do I need to update the client? I will update anyway, but was just curious about the build I am using.

And finally I know this might be a bit cheeky, but do you have a copy of the create account scripts that comes with open.ryzom.com so I can have a play and tweek with them.

I only ask this because when you press create account on the open shard it, or did, redirect you to the account creation screen and these files are no longer present in the source or do you have some scripts I could take a look at at-all or a place that will give a me a head start.

I know you have already been a great help so far with providing aid in getting me set up, but if this is not possible it is ok, I will take the time to work it out just like everyone else :)

Thx and regards

Nimbus3

Edit: I have just updated my source and rebuilt again and my sheet_packer is spitting out thiese errors ??
Edit 2: Never mind just realised I was trying to run it from a location other than its containing folder!

But now this is what the sheets_packer is saying (please read attached log) sorry I know its quite large

BTW I'm not keeing everything I find out or learn to my self I am just waiting till I have enough to create complete tut's and guides. I feel it's not worth posting much on here right now because I only have bits and pieces or I am repeating information from 3 or 4 other guides.

sheets_packer.log - Sheets_packer log (2.4 MB)

RE: clean build giving me errors - Added by molator over 7 years ago

I've got no probleme with the armors, light, medium or heavy.
You have to create some parent sheets for medium and heavy armors.
I've updated the client yesterday, to add the missing textures (water and ruins), if you want to update it.

I'm not sure to understand your question about the create account script.
Ace is the only one to have access to the Open Shard.
If you build your own shard, you can create the account the same way as the Open Shard.
It's just a matter of php/mysql.
You should find everything in:

code\ryzom\tools\server\www\login

If you are talking about the page used on the live server to create an account, it's not included in the repository.

About sheet_packer, aquiles recreated some of the missing sheets (those for invisible yubos, etc).
sheet_packer might display some warnings about sheets we can't figure out yet.
But i believe that your packed_sheets were properly created ?

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Hi Molator

I think I am discovering why my some of my armours are not working properly (for got to add map_variant to some armour sheets) and I had a browse around and realised I was too eager to post, doh.

Regarding the create account scripts I was talking about, it might be a case of contacting ACE. I remember pressing the create account button, to see what happened, when connecting to open shard and it opened a create account screen which ofcourse didn't actually do anything, but my point is that it was there on open shard just non-functional. So I was not sure if you or anyone else had these files to tweek or make use of?

Anyway never mind, I think I am getting a bit ahead of myself again or thinking of starting too many things at once, which is a really bad habit of mine lol..

The sheets_packer were just warnings, but they are ok yes, they are just telling me that it has to create the files that it cannot find?

Edit: ok I am still having issues with my medium and heavy armour at the moment.
I get no warnings or errors but they are still not visible when equiped.

I have three brick sheets for each armour piece low, medium and high quality maps.
The numbering under indexinfamily, does it go something like this:

armour (example)
Basic = 1-4/5/6 medium = 1-4/5/6 high = 1-4/5/6
Light = 1-4/5 medium = 1-4/5 heavy = 1-6
(The number matching the sheet number in essence)
Or
Basic = 1-6 medium = 7-12 high = 13-18
And light armour starts at 1 or 19?
I have probably made it sound more complicated than its lol

Sorry for all the edits and changes, I know it's sad, but I wake up thinking something and use my phone to post.

Thx

RE: clean build giving me errors - Added by molator over 7 years ago

I've got 2 sheets per armor part (sbrick and sitem), 1 parent sheet per armor weight and 1 parent sheet per race per weight.

The answer for the indexfamily is in the wiki:

http://dev.ryzom.com/wiki/ryzom/AddingGameEntities#File-Naming-Skill-Families-Icons-etc

The number in the sbrick is the indexfamily.

You will find the complete list in the language file:

code\ryzom\server\data_shard\language\sbrick_words_en.txt

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Thx,

Yay I have the invisible armour issue solved, it helps if I spell armour the right way lol, "armor" not armour

Ok so that answers the question for basic quality sbricks:

<ATOM Name="IndexInFamily" Value="11"/>
the value relates to the sbrick number.

but how about medium and high quality sbrick.

The file names have _2 and _3 added to them, so does this mean that the indexinfamily will begin like this:

bcfaea01_2 = 1.2 and bcfaea01_3 = 1.3

or would they begin back at 1 like this:

bcfaea01_2 = 1
bcfaea01_3 = 1

or do they start where the basic quality left off like this:
(Assuming the last brick in the basic quality is 19)

bcfaea01_2 = 20 and bcfaea01_3 = 39

Is it that the indexinfamily is worked out by the quality, this is where I am confused, I assumed that it was worked out by item type (i.e. light armour 1 - 4, medium armour 1 - 4 and heavy armour 1 - 6).

Really sorry for dragging this out.

RE: clean build giving me errors - Added by molator over 7 years ago

In fact, you can use whatever you want for the indexfamily,
but it must be a unique number.

So for example, i'm using 22-37 for the 2nd variant,
and 43-58 for the 3rd variant.

I left some gap for futher use.

RE: clean build giving me errors - Added by nimbus3 over 7 years ago

Ah ok, everything clear up now :) sorry it took so much of your time :)

I should think your a very happy chappy now, I'm another customer off your case lol..

much thanks and regards

Nimbus3

RE: clean build giving me errors - Added by molator over 7 years ago

You're welcome.
And yeah, the more people on the case the more results :).

(1-17/17)