Bad cookie, "not a directory", and egs segfault

Added by promethium about 8 years ago

Hello,

I'm running in a couple of problem, I don't think they are described here.

First, i was annoyed by a "LIBWWWZIP_LIBRARY" not found in client CMake build. I have built libwww from source but did not saw anything related to libwwwzip, although it might be related to the --with-zlib configure option that gave me some other amount of trouble. I worked that around with deleting the lines that mention it (around line 84 and 94) in code/ryzom/CMakeModules/FindLibwww.cmake

Beside that it built flawlessly.

2nd thing I worked around : "NF b63c9720 fe_receive_sub.cpp 281 readIncomingData ste-desktop/FS-133 : FEHACK: * User 3735928559 :56773 (127.0.0.1) --> 17 msg, reasons: Bad cookie;" on FS, and client stuck on "connecting". I got exactly the same message under windows, I uncommented "AcceptInvalidCookie = 1;" in frontend_service.cfg, i don't know if it fix the problem but it stop complaining about it :) If anyone can tell me what it is doing :)

Now for the unsolved problem. I noticed the `welcome_service_default.cfg' is not a directory but i guess it's more like a warning... However, EGS keep segfaulting and i don't really know what to do about it (i tried rebuilding without bison, cleaning up config file of \r, other superstitious stuff you do when you don't know what you are doing :)

-----------------------------------------------------------------------
Press ENTER to relaunch
cp: target `welcome_service_default.cfg' is not a directory
-----------------------------------------------------------------------
Launching ...

INF 2ea92720 command.cpp 145 registerNamedCommandHandler <Unknown> : CCommandRegistry : adding commands handler for class 'CModuleManager'
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorService' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorServiceClient' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminService' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AnimSessionManager' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'CharNameMapperClient' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'CharacterControl' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'ClientCommandForwader' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'GuildUnifier' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'LocalGateway' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'LoggerServiceClient' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'ShardUnifierClient' factory
INF 2ea92720 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'StandardGateway' factory
INF 2ea92720 service.cpp 256 cbDirectoryChanged EGS : SERVICE: 'ConfigDirectory' changed to '/home/ste/ryzom/code/ryzom/server/'
/home/ste/ryzom/code/ryzom/tools/scripts/linux/service_launcher.sh: line 100:  6057 Segmentation fault      (core dumped) $CTRL_CMDLINE
-----------------------------------------------------------------------
Press ENTER to relaunch

Ubuntu 10.10, x86_64, Q6600 with 4gb ram, used make_all for server and cmake for client.

I would appreciate any suggestions

Regards,

promethium / ste


Replies (1)

RE: Bad cookie, "not a directory", and egs segfault - Added by Enoril about 8 years ago

Hello promethium,

1) i've no problem with LIBWWWZIP_LIBRARY so i can help you on this point.

2) Check
- if you have set correctly the file /ryzom/ryzom_code_linux/code/ryzom/tools/server/www/login/config.php and create the log folder path with good rights (www-data must have write access inside)
- if you have set the good user/pwd for database connexion (used shard must have acces to databases nel, nel_tool, ring_open)
- check apache2 error log, perhaps you can find some lines to understand what's wrong with yours FS cookies

3) I've the same problem about egs crash. I've open this bug #987 to summarize this problem. Until today, i don't find a solution to fix this.

Eno

(1-1/1)