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

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

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2594 | 回復(fù): 0
打印 上一主題 下一主題

[FastDFS] Wty:解決一個問題 [復(fù)制鏈接]

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-02-21 09:51 |只看該作者 |倒序瀏覽
Wty:我用一臺freebsd6的機(jī)器 tracker和storage同時啟動 然后客戶端調(diào)用存取正常
現(xiàn)在用了五臺機(jī)器
準(zhǔn)備96 和97 兩臺做tracker 我telnet了一下這兩個22122端口都正常 這兩天沒有啟動storage
98,99,100三臺做storage 用test測試upload 和delete操作均正常

然后我用java客戶端提取getStoreStorage fail, error code: 2 出錯

fdfs_client 配置文件如下

network_timeout = 200
charset = ISO8859-1

tracker_server = 192.168.1.96:22122
tracker_server = 192.168.1.97:22122

tracker配置文件如下(96.97兩臺一樣)

disabled=false
bind_addr=
port=22122
network_timeout=30
base_path=/data/fastdfs
max_connections=1024

#0: round robin
#1: specify group
#2: load balance
store_lookup=0

#when store_lookup set to 1, must set store_group to the group name
store_group=group1

#reserved storage space for system or other applications.
#if the free(available) space of any stoarge server in
file "/data/fastdfs/tracker.conf", 52 line

storage配置文件如下(98,99,100三臺一樣)

disabled=false
group_name=group1
bind_addr=
port=23000
network_timeout=20
heart_beat_interval=30
stat_report_interval=60
base_path=/data/fastdfs
sync_wait_msec=200
max_connections=1024

# tracker_server can ocur more than once, and tracker_server format is
#  "host:port", host can be hostname or ip address
tracker_server=192.168.1.96:22122
tracker_server=192.168.1.97:22122

#standard log level as syslog, case insensitive, value list:
file "/data/fastdfs/storage.conf", 42 lines


happy_fish100:FastDFS server端和java client API的版本分別是多少呢。
建議都升級到最新版本吧,Server為V1.9,Java客戶端為V1.2。
另外,出現(xiàn)這個錯誤后,可以查一下2臺tracker server上的日志/data/fastdfs/logs/tracker.log

Wty:換成1.2版的api
可以正常的使用了

Wty:機(jī)器重啟后怎么自動加載程序

happy_fish100:將啟動命令行加入到/etc/rc.local中即可
注意,命令行中的文件名一定要寫成絕對路徑方式。
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP