benbenlover62 发表于 2014-01-14 16:17

/etc/init.d/fdfs_storaged start报错,急!

/etc/init.d/fdfs_storaged: line 12: /etc/init.d/functions: No such file or directory
Starting FastDFS storage server:

INFO - FastDFS v4.06, base_path=/home/fastdfs/storage, store_path_count=1, subdir_count_per_path=256, group_name=group1, run_by_group=fastdfs, run_by_user=fastdfs, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=, client_bind=1, max_connections=256, work_threads=4, disk_rw_separated=1, disk_reader_threads=1, disk_writer_threads=1, buff_size=256KB, heart_beat_interval=30s, stat_report_interval=60s, tracker_server_count=1, sync_wait_msec=50ms, sync_interval=0ms, sync_start_time=00:00, sync_end_time=23:59, write_mark_file_freq=500, allow_ip_count=-1, file_distribute_path_mode=0, file_distribute_rotate_count=100, fsync_after_written_bytes=0, sync_log_buff_interval=10s, sync_binlog_buff_interval=10s, sync_stat_file_interval=300s, thread_stack_size=512 KB, upload_priority=10, if_alias_prefix=, check_file_duplicate=0, file_signature_method=hash, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=, use_access_log=0, rotate_access_log=0, access_log_rotate_time=00:00, rotate_error_log=0, error_log_rotate_time=00:00, rotate_access_log_size=0, rotate_error_log_size=0, file_sync_skip_invalid_record=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
ERROR - file: storage_func.c, line: 807, mkdir "=/home/fastdfs/storage/data" fail, errno: 2, error info: No such file or directory
CRIT - file: storage_func.c, line: 1755, storage_check_and_make_data_dirs fail, program exit!
CRIT - exit abnormally!

happy_fish100 发表于 2014-01-15 09:21

请确认运行storage程序的用户是否可以访问到目录/home/fastdfs/storage/。

benbenlover62 发表于 2014-01-15 16:43

我运行storage的用户是root,
请问:安装tracker的机器和安装storage的机器必须是同一台服务器吗?或者,安装tracker的机器必须能访问storage上的这个目录?
谢谢!
回复 2# happy_fish100


   

benbenlover62 发表于 2014-01-15 17:08

fish老师,问题已解决:在storage.conf里store_path0==/home/fastdfs/storage,这里多写了一个等号,非常感谢你的回帖!
页: [1]
查看完整版本: /etc/init.d/fdfs_storaged start报错,急!