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

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 7075 | 回復(fù): 5
打印 上一主題 下一主題

[FastDFS] ngnix 加入fastdfs-nginx-module出錯(cuò) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2014-01-09 16:06 |只看該作者 |倒序?yàn)g覽
通過(guò)查看nginx可以看到啟動(dòng)nginx時(shí)就報(bào)如下錯(cuò)誤。
/usr/fastdfs-nginx-module/src//common.c, line: 103, section: group1, you must set parameter: group_name!

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

目前通過(guò)客戶(hù)端,可以確定tracker和storage可以正常運(yùn)行

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2014-01-09 16:17 |只看該作者
回復(fù) 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


   

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2014-01-09 17:19 |只看該作者
搞定通過(guò)看源碼,排查到問(wèn)題。是groupcount配置錯(cuò)誤

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2014-02-27 19:39 |只看該作者
myheartcalmdown 發(fā)表于 2014-01-09 17:19
搞定通過(guò)看源碼,排查到問(wèn)題。是groupcount配置錯(cuò)誤



請(qǐng)問(wèn)樓上是怎么改的,我也遇到了,百思不得其解...

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2014-03-14 11:16 |只看該作者
回復(fù) 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

   

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-04-08 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-05-26 06:20:00
6 [報(bào)告]
發(fā)表于 2016-04-09 18:20 |只看該作者
其實(shí) error.log說(shuō)的挺清楚了。我是粗心,沒(méi)有全部打開(kāi)注釋?zhuān)琜group1]這個(gè)標(biāo)簽忘了打開(kāi)了。。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP