docker安装FastDFS问题
Tofloor
poster avatar
hexie
deepin
2020-01-11 03:39
Author
安装好season/fastdfs镜像后,创建容器开启tracker服务,tracker一直运行不了,有了解的童鞋吗
  1. sudo docker run -itd --name tracker -v ~/tracker_data:/fastdfs/tracker/data --network=host season/fastdfs tracker
Copy the Code
错误日志如下:
  1. [2020-01-10 11:24:16] INFO - FastDFS v4.08, base_path=/fastdfs/tracker, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=, max_connections=256, accept_threads=1, work_threads=4, store_lookup=2, store_group=, store_server=0, store_path=0, reserved_storage_space=10.00%, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s, check_active_interval=120s, thread_stack_size=64 KB, storage_ip_changed_auto_adjust=1, storage_sync_file_max_delay=86400s, storage_sync_file_max_time=300s, use_trunk_file=0, slot_min_size=256, slot_max_size=16 MB, trunk_file_size=64 MB, trunk_create_file_advance=0, trunk_create_file_time_base=02:00, trunk_create_file_interval=86400, trunk_create_file_space_threshold=20 GB, trunk_init_check_occupying=0, trunk_init_reload_from_binlog=0, use_storage_id=0, id_type_in_filename=ip, storage_id_count=0, rotate_error_log=0, error_log_rotate_time=00:00, rotate_error_log_size=0, store_slave_file_use_link=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
  2. [2020-01-10 11:24:16] INFO - local_host_ip_count: 3,  127.0.0.1  192.168.11.106  172.17.0.1
  3. [2020-01-10 11:24:16] ERROR - file: ../common/sockopt.c, line: 760, socket create failed, errno: 13, error info: Permission denied
  4. [2020-01-10 11:24:16] CRIT - exit abnormally!
Copy the Code



Reply Favorite View the author
All Replies

No replies yet