Hello,
I have recently done an
hg pull && hg update
And now I have the following errors when starting admin_service:
mkdir: cannot create `ras': The file already exists---------------------------------------------------------------------------------Starting service launcher---------------------------------------------------------------------------------CMDLINE = src/ryzom_admin_service/ryzom_admin_service --fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepidCTRL_FILE = ras/ras.launch_ctrlNEXT_CTRL_FILE = ras/ras.deferred_launch_ctrlSTATE_FILE = ras/ras.state---------------------------------------------------------------------------------Press ENTER to launch programcp: target `welcome_service_default.cfg' is not a directory-----------------------------------------------------------------------Launching ...INF b4b2e710 command.cpp 145 registerNamedCommandHandler <Unknown> : CCommandRegistry : adding commands handler for class 'CModuleManager'INF b4b2e710 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorService' factoryINF b4b2e710 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorServiceClient' factoryINF b4b2e710 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminService' factoryINF b4b2e710 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'LocalGateway' factoryINF b4b2e710 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'StandardGateway' factoryINF b4b2e710 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'ConfigDirectory' changed to '/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/'INF b4b2e710 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'LogDirectory' changed to '/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/'INF b4b2e710 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'ConfigDirectory' changed to '/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/'DBG b4b2e710 config_file.cpp 392 reparse AS : CF: Adding config file '/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg' in the config fileINF b4b2e710 i18n.cpp 592 _readTextFile AS : Preprocess: In file /export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg(8) : Including 'admin_service_default.cfg'INF b4b2e710 i18n.cpp 592 _readTextFile AS : Preprocess: In file admin_service_default.cfg(1) : Including 'common.cfg'WRN b4b2e710 config_file.cpp 426 reparse AS : CF: Parsing error in file (null) line 0, look in 'debug_admin_service.cfg' for a preprocessed version of the config fileINF b4b2e710 config_file.h 337 EParseError AS : CF: Exception will be launched: Parse error on the "/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg" file, line 0terminate called after throwing an instance of 'NLMISC::EParseError' what(): Parse error on the "/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg" file, line 0/home/torguet/home-vortex/ryzom/code/ryzom/tools/scripts/linux/service_launcher.sh: line 102: 24834 Abandon (core dumped) $CTRL_CMDLINE-----------------------------------------------------------------------Press ENTER to relaunch
I have looked in the config files but everything seems logical and exactly the same as in mercurial.
Here is the debug_admin_service.cfg:
#fileline "/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg" 1// Use with commandline: ryzom_admin_service --fulladminname=ryzom_admin_service --shortadminname=AS -C. -L. --nobreak --writepid// ---- config local variablesASWebPort="46700";ASPort="46701";#fileline "admin_service_default.cfg" 1#fileline "common.cfg" 1// ---- config local variables// Used by ConfigFile in EGS and WSShardId = 302; // Used by CVariable in WSPlayerLimit = 5000; // Used to connect to AES (this file) and to set up AES service (admin_executor_service.cfg)AESPort="46702";AESHost="localhost";// ---- service NeL variables (used by ConfigFile class)WindowStyle = "WIN";// don't connect to the old NeLNS AESDontUseAES = 1;// Configure module gateway for layer 5 module commStartCommands +={ // Create a gateway module "moduleManager.createModule StandardGateway gw", // add a layer 5 transport "gw.transportAdd L5Transport l5", // open the transport "gw.transportCmd l5(open)", /// Create default connection with admin executor service // Create a gateway module "moduleManager.createModule StandardGateway gw_aes", // create the admin executor service module "moduleManager.createModule AdminExecutorServiceClient aes_client", "aes_client.plug gw_aes", // create a layer 3 client to connect to aes gateway "gw_aes.transportAdd L3Client aes_l3c", "gw_aes.transportCmd aes_l3c(connect addr="+AESHost+":"+AESPort+")",};NSHost = "localhost";// A list of vars to graph for any serviceGraphVars +={ "ProcessUsedMemory", "60000", // every minute};IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };// Set a mainland SessionId.// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards// Dev: Can be non-zero to initially connect a client to a ring shardNoWSShardId = ShardId;// ---- service NeL variables (used by CVariable class)// Disable generation / display of nldebug messagesDisableNLDebug = 1;// Disable nel net verbose loggingVerboseNETTC = 0;VerboseLNETL0 = 0;VerboseLNETL1 = 0;VerboseLNETL2 = 0;VerboseLNETL3 = 0;VerboseLNETL4 = 0;VerboseLNETL5 = 0;VerboseLNETL6 = 0;// If the update loop is too slow, a thread will produce an assertion.// By default, the value is set to 10 minutes.// Set to 0 for no assertion.UpdateAssertionThreadTimeout = 6000000;// how to sleep between 2 network updates// 0 = pipe// 1 = usleep// 2 = nanosleep// 3 = sched_yield// 4 = nothingUseYieldMethod = 0;DefaultMaxExpectedBlockSize = 200000000; // 200 M !DefaultMaxSentBlockSize = 200000000; // 200 M !// Will SaveFilesDirectory will be converted to a full path?ConvertSaveFilesDirectoryToFullPath = 0;// Where to save specific shard data (ie: player backup), relatively to SaveShardRootSaveFilesDirectory = "";// where to save generic shard data (ie: packed_sheet)WriteFilesDirectory = "data_shard";// ---- service custom variables (used by ConfigFile class)// ---- service custom variables (used by CVariable class)#fileline "admin_service_default.cfg" 2DontUseNS = 1;RRDToolPath = "rrdtool";RRDVarPath = "save_shard/rrd_graphs";// Variables required to be defined by other cfgs//AESHost="localhost";//ASWebPort="46700";//ASPort="46701";StartCommands +={ // create the admin service module and open the web interface "moduleManager.createModule AdminService as webPort="+ASWebPort, // create a gateway for aes to connect "moduleManager.createModule StandardGateway as_gw", // create a layer 3 server "as_gw.transportAdd L3Server l3s", "as_gw.transportOptions l3s(PeerInvisible)", "as_gw.transportCmd l3s(open port="+ASPort+")", // plug the as "as.plug as_gw",};#fileline "/export/home/vortex/USERS/torguet/ryzom/code/ryzom/server/admin_service.cfg" 9// ---- service NeL variables (used by ConfigFile class)AESAliasName= "ras";Paths = { ".",};// ---- service NeL variables (used by CVariable class)// ---- service custom variables (used by ConfigFile class)// ---- service custom variables (used by CVariable class)
Thanks for any advice,
Patrice