2021-01-08 14:48:48 ====================================================================
2021-01-08 14:48:48 ===dcache-install****===
2021-01-08 14:48:48 ====================================================================
2021-01-08 14:48:48 ===>print config info >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021-01-08 14:48:48 PARAMS: 172.16.10.180 3306 root 123456 172.16.10.180 3306 root 123456 true 172.16.10.180:3000 7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618 172.16.10.180
2021-01-08 14:48:48 TARS_MYSQL_IP: 172.16.10.180
2021-01-08 14:48:48 TARS_MYSQL_PORT: 3306
2021-01-08 14:48:48 TARS_MYSQL_USER: root
2021-01-08 14:48:48 TARS_MYSQL_PASSWORD: 123456
2021-01-08 14:48:48 DCACHE_MYSQL_IP: 172.16.10.180
2021-01-08 14:48:48 DCACHE_MYSQL_PORT: 3306
2021-01-08 14:48:48 DCACHE_MYSQL_USER: root
2021-01-08 14:48:48 DCACHE_MYSQL_PASSWORD: 123456
2021-01-08 14:48:48 CREATE: true
2021-01-08 14:48:48 WEB_HOST: 172.16.10.180:3000
2021-01-08 14:48:48 WEB_TOKEN: 7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
2021-01-08 14:48:48 WORKDIR: /data/soft/soft/DCache-master/deploy
2021-01-08 14:48:48 NODE_IP: 172.16.10.180
2021-01-08 14:48:48 ===<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< print config info finish.
CMAKE_SOURCE_DIR: /data/soft/soft/DCache-master
CMAKE_BINARY_DIR: /data/soft/soft/DCache-master/build
PROJECT_SOURCE_DIR: /data/soft/soft/DCache-master
CMAKE_BUILD_TYPE: Release
PLATFORM: linux
TARS2CPP: /usr/local/tars/cpp/tools/tars2cpp
TARS_MYSQL: ON
TARS_HTTP2: OFF
TARS_SSL: OFF
TARS_WEB_HOST: 172.16.10.180:3000
TARS_TOKEN: 7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
in src CombinDbAccessServer...
-- Configuring done
-- Generating done
-- Build files have been written to: /data/soft/soft/DCache-master/build
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/ConfigServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/CombinDbAccessServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
DCacheServerGroup/
DCacheServerGroup/KVCacheServer
DCacheServerGroup/
DCacheServerGroup/KVCacheServer
DCacheServerGroup/
DCacheServerGroup/MKVCacheServer
DCacheServerGroup/
DCacheServerGroup/MKVCacheServer
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/DCacheOptServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/PropertyServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/ProxyServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/RouterServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/ConfigServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/CombinDbAccessServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
DCacheServerGroup/
DCacheServerGroup/KVCacheServer
DCacheServerGroup/
DCacheServerGroup/KVCacheServer
DCacheServerGroup/
DCacheServerGroup/MKVCacheServer
DCacheServerGroup/
DCacheServerGroup/MKVCacheServer
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/DCacheOptServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/PropertyServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: Removing leading /' from member names tar: /data/soft/soft/DCache-master/build/ProxyServer: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: Removing leading
/' from member names
tar: /data/soft/soft/DCache-master/build/RouterServer: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Built target tar
2021-01-08 14:48:54 ===>install DCacheOptServer:
{"data":{"server_conf":{"id":52,"application":"DCache","server_name":"DCacheOptServer","node_name":"172.16.10.180","server_type":"tars_cpp","enable_set":false,"set_name":null,"set_area":null,"set_group":null,"setting_state":"inactive","present_state":"inactive","bak_flag":false,"template_name":"tars.default","profile":"","async_thread_num":3,"base_path":"","exe_path":"","start_script_path":"","stop_script_path":"","monitor_script_path":"","patch_time":"1970-01-01T05:00:00.000Z","patch_version":"","process_id":0,"posttime":"2021-01-08 01:38:21"},"tars_node_rst":[]},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
2021-01-08 14:48:54 ===>install DCacheConfigServer:
{"data":{"server_conf":{"id":53,"application":"DCache","server_name":"ConfigServer","node_name":"172.16.10.180","server_type":"tars_cpp","enable_set":false,"set_name":null,"set_area":null,"set_group":null,"setting_state":"inactive","present_state":"inactive","bak_flag":false,"template_name":"tars.default","profile":"","async_thread_num":3,"base_path":"","exe_path":"","start_script_path":"","stop_script_path":"","monitor_script_path":"","patch_time":"1970-01-01T05:00:00.000Z","patch_version":"","process_id":0,"posttime":"2021-01-08 01:38:21"},"tars_node_rst":[]},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
2021-01-08 14:48:54 ===>install PropertyServer:
{"data":{"server_conf":{"id":54,"application":"DCache","server_name":"PropertyServer","node_name":"172.16.10.180","server_type":"tars_cpp","enable_set":false,"set_name":null,"set_area":null,"set_group":null,"setting_state":"inactive","present_state":"inactive","bak_flag":false,"template_name":"DCache.Cache","profile":"","async_thread_num":3,"base_path":"","exe_path":"","start_script_path":"","stop_script_path":"","monitor_script_path":"","patch_time":"1970-01-01T05:00:00.000Z","patch_version":"","process_id":0,"posttime":"2021-01-08 01:38:21"},"tars_node_rst":[]},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
2021-01-08 14:48:54 ===>install DCacheOptServer.conf:
{"data":{"id":1,"server_name":"DCache.DCacheOptServer","set_name":"","set_area":"","node_name":"","set_group":"","filename":"DCacheOptServer.conf","config":"
\n # admin registry obj\n AdminRegObj = tars.tarsAdminRegistry.AdminRegObj\n \n \n charset = utf8mb4\n dbname = db_tars\n dbhost = 172.16.10.180\n dbport = 3306\n dbuser = root\n dbpass = 123456\n \n \n charset = utf8mb4\n dbname = db_dcache_relation\n dbhost = 172.16.10.180\n dbport = 3306\n dbuser = root\n dbpass = 123456\n \n \n \n # 发布服务线程数\n ThreadCount = 5\n \n \n # 通知node下线服务超时时间(秒)\n Timeout = 20\n # 下线服务备份目录\n BakPath = /data/dcacheuninstall/\n # 下线服务线程数\n ThreadCount = 2\n \n ","level":2,"posttime":"2021-01-08 01:38:21","lastuser":null},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
2021-01-08 14:48:54 ===>install ConfigServer.conf:
{"data":{"id":3,"server_name":"DCache.ConfigServer","set_name":"","set_area":"","node_name":"","set_group":"","filename":"ConfigServer.conf","config":"\n \n dbhost= 172.16.10.180\n dbpass= 123456\n dbuser= root\n dbname= db_dcache_relation\n charset=utf8mb4\n dbport= 3306\n \n ","level":2,"posttime":"2021-01-08 01:38:21","lastuser":null},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
2021-01-08 14:48:54 ===>install PropertyServer.conf:
{"data":{"id":5,"server_name":"DCache.PropertyServer","set_name":"","set_area":"","node_name":"","set_group":"","filename":"PropertyServer.conf","config":"\n \n #可监控属性数量的最大值\n PropertyFieldNum=48\n TbNamePre=t_property_realtime\n AppName=dcache_idc5min_147\n #特性监控数据库信息\n \n dbhost=172.16.10.180\n dbname=db_dcache_property\n dbuser=root\n dbpass=123456\n dbport=3306\n charset=utf8mb4\n \n #db_dcache_relation的数据库信息\n \n charset=utf8mb4\n dbname=db_dcache_relation\n dbhost=172.16.10.180\n dbpass=123456\n dbport=3306\n dbuser=root\n \n \n \n #数据入库的时间间隔,单位分钟\n InsertInterval=5\n \n \n # value1 to value20 for obj and tars server fixed property\n CacheObjAdapter.queue = value1\n WCacheObjAdapter.queue = value2\n BinLogObjAdapter.queue = value3\n RouterClientObjAdapter.queue = value4\n ControlAckObjAdapter.queue = value5\n BackUpObjAdapter.queue = value6\n sendrspqueue = value7\n asyncqueue = value8\n memsize = value9\n reservedPro10 = value10\n reservedPro11 = value11\n reservedPro12 = value12\n reservedPro13 = value13\n reservedPro14 = value14\n reservedPro15 = value15\n reservedPro16 = value16\n reservedPro17 = value17\n reservedPro18 = value18\n reservedPro19 = value19\n reservedPro20 = value20\n # value21 for dcache property\n CacheMemSize_MB = value21\n DataMemUsage = value22\n CacheHitRatio = value23\n TotalCountOfRecords = value24\n ProportionOfDirtyRecords = value25\n CountOfDirtyRecords = value26\n CountOfOnlyKey = value27\n M/S_ReplicationErr = value28\n M/S_ReplicationLatency = value29\n CacheError = value30\n ProgramException = value31\n ReadRecordCount = value32\n WriteRecordCount = value33\n evictedRecordCount = value34\n evictedCountOfUnexpiredRecord = value35\n expiredRecordCount = value36\n ChunkUsedPerRecord = value37\n MaxMemUsageOfJmem = value38\n ProportionOfColdData = value39\n DbError = value40\n DbException = value41\n BackupError = value42\n MKV_MainkeyMemUsage = value43\n \n ","level":2,"posttime":"2021-01-08 01:38:22","lastuser":null},"ret_code":200,"err_msg":""}
2021-01-08 14:48:54
mysql: [Warning] Using a password on the command line interface can be insecure.
2021-01-08 14:48:55 exec_dcache create database db_dcache_relation, ret: 0
mysql: [Warning] Using a password on the command line interface can be insecure.
2021-01-08 14:48:55 exec_dcache create database db_dcache_property, ret: 0
mysql: [Warning] Using a password on the command line interface can be insecure.
2021-01-08 14:48:59 curl 172.16.10.180:3000/api/upload_and_publish?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=ConfigServer -Fcomment=dcache-install
upload and patch err:TypeError: Cannot read property 'map' of undefined
2021-01-08 14:49:01 curl 172.16.10.180:3000/api/upload_and_publish?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=DCacheOptServer -Fcomment=dcache-install
upload and patch err:TypeError: Cannot read property 'map' of undefined
2021-01-08 14:49:03 curl 172.16.10.180:3000/api/upload_and_publish?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=PropertyServer -Fcomment=dcache-install
upload and patch err:TypeError: Cannot read property 'map' of undefined
2021-01-08 14:49:05 curl 172.16.10.180:3000/api/upload_patch_package?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=RouterServer -Fcomment=dcache-install
{"data":{"id":85,"server":"DCache.RouterServer","tgz":"DCache.RouterServer_suse_1610087913327.tgz","comment":"dcache-install","posttime":"2021-01-08 01:38:33"},"ret_code":200,"err_msg":""}
2021-01-08 14:49:06 curl 172.16.10.180:3000/api/upload_patch_package?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=CombinDbAccessServer -Fcomment=dcache-install
{"data":{"id":86,"server":"DCache.CombinDbAccessServer","tgz":"DCache.CombinDbAccessServer_suse_1610087913499.tgz","comment":"dcache-install","posttime":"2021-01-08 01:38:33"},"ret_code":200,"err_msg":""}
2021-01-08 14:49:06 curl 172.16.10.180:3000/api/upload_patch_package?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=ProxyServer -Fcomment=dcache-install
{"data":{"id":87,"server":"DCache.ProxyServer","tgz":"DCache.ProxyServer_suse_1610087913698.tgz","comment":"dcache-install","posttime":"2021-01-08 01:38:33"},"ret_code":200,"err_msg":""}
2021-01-08 14:49:06 curl 172.16.10.180:3000/api/upload_patch_package?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=DCacheServerGroup -Fcomment=dcache-install -Fpackage_type=1
{"data":{"id":88,"server":"DCache.DCacheServerGroup","tgz":"DCache.DCacheServerGroup_suse_1610087913893.tgz","comment":"dcache-install","posttime":"2021-01-08 01:38:33"},"ret_code":200,"err_msg":""}
2021-01-08 14:49:06 curl 172.16.10.180:3000/api/upload_patch_package?ticket=7677d4ecb9a7d5c6c3013defd8ff35ea12b1d618
[email protected] -Fapplication=DCache -Fmodule_name=DCacheServerGroup -Fcomment=dcache-install -Fpackage_type=2
{"data":{"id":89,"server":"DCache.DCacheServerGroup","tgz":"DCache.DCacheServerGroup_suse_1610087914050.tgz","comment":"dcache-install","posttime":"2021-01-08 01:38:34"},"ret_code":200,"err_msg":""}
这是脚本执行时的输出,DCache ConfigServer DCacheOptServer PropertyServer 这三个服务起不来,求大佬指教!!!