亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: ngnix 加入fastdfs-nginx-module出錯 [打印本頁]

作者: myheartcalmdown    時間: 2014-01-09 16:06
標題: ngnix 加入fastdfs-nginx-module出錯
通過查看nginx可以看到啟動nginx時就報如下錯誤。
/usr/fastdfs-nginx-module/src//common.c, line: 103, section: group1, you must set parameter: group_name!

通過錯誤,我檢查了mod_fastdfs.conf和storage.conf,已經(jīng)確定group_name=group1.

目前通過客戶端,可以確定tracker和storage可以正常運行

作者: myheartcalmdown    時間: 2014-01-09 16:17
回復 1# myheartcalmdown

[root@test002 usr]# /usr/local/bin/fdfs_test /etc/fdfs/client.conf  upload  test.txt
This is FastDFS client test program v4.06

Copyright (C) 2008, Happy Fish / YuQing

FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page http://www.csource.org/
for more detail.

[2014-01-09 16:11:08] DEBUG - base_path=/home/fastdfs/storage, connect_timeout=30, network_timeout=60, tracker_server_count=2, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0

tracker_query_storage_store_list_without_group:
        server 1. group_name=, ip_addr=192.168.41.160, port=23000

group_name=group1, ip_addr=192.168.41.160, port=23000
storage_upload_by_filename
group_name=group1, remote_filename=M00/00/00/wKgpoFLOWZyAanbIAAAADXj9r-s191.txt
source ip address: 192.168.41.160
file timestamp=2014-01-09 16:11:08
file size=13
file crc32=2029891563
file url: http://192.168.41.144/group1/M00 ... IAAAADXj9r-s191.txt
storage_upload_slave_by_filename
group_name=group1, remote_filename=M00/00/00/wKgpoFLOWZyAanbIAAAADXj9r-s191_big.txt
source ip address: 192.168.41.160
file timestamp=2014-01-09 16:11:08
file size=13
file crc32=2029891563
file url: http://192.168.41.144/group1/M00 ... ADXj9r-s191_big.txt

上傳正常,返回的路徑明明有g(shù)roup1


   
作者: myheartcalmdown    時間: 2014-01-09 17:19
搞定通過看源碼,排查到問題。是groupcount配置錯誤
作者: luxr123    時間: 2014-02-27 19:39
myheartcalmdown 發(fā)表于 2014-01-09 17:19
搞定通過看源碼,排查到問題。是groupcount配置錯誤



請問樓上是怎么改的,我也遇到了,百思不得其解...
作者: myheartcalmdown    時間: 2014-03-14 11:16
回復 4# luxr123
我是修改mod_fastdfs.conf里面的配置解決的。
group_count=2
[group1]
group_name=group1
storage_server_port=23000
store_path_count=1
store_path0=/home/fastdfs/storage
[group2]
group_name=group2
storage_server_port=23000
store_path_count=1
store_path0=/home/fastdfs/storage

   
作者: duoduoluo_z    時間: 2016-04-09 18:20
其實 error.log說的挺清楚了。我是粗心,沒有全部打開注釋,[group1]這個標簽忘了打開了。。




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2