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

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

Chinaunix

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

[FastDFS] FastDFS 5.0.4安裝在mac上面storage連接tracker失敗 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2014-10-31 08:27 |只看該作者 |倒序?yàn)g覽
FastDFS 5.0.4安裝在mac上面storage連接tracker失敗,提示文件未找到
剛開(kāi)始單獨(dú)啟動(dòng)tracker是正常的,但啟動(dòng)storage之后  tracker的日志如下:
[2014-10-31 08:18:57] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:18:57] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:18:58] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:18:59] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:19:00] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:19:00] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:19:01] INFO - file: tracker_relationship.c, line: 383, selecting leader...
[2014-10-31 08:19:01] ERROR - file: tracker_nio.c, line: 423, ioevent_modify fail, errno: 2, error info: No such file or directory
[2014-10-31 08:19:01] ERROR - file: tracker_proto.c, line: 37, server: 192.168.10.113:22122, recv data fail, errno: 57, error info: Socket is not connected
[2014-10-31 08:19:08] INFO - file: tracker_relationship.c, line: 383, selecting leader...


這個(gè)錯(cuò)誤,不知道是tracker出現(xiàn)的,還是storage在連接trakcer時(shí),storage端的這個(gè)錯(cuò)誤。
查看了下源代碼,如下:


請(qǐng)各位幫忙看看,我從5.0.1 5.0.3 5.0.4都存在這個(gè)問(wèn)題
配置文件里面的base_path和store_path0 這兩個(gè)路徑都是存在的

@happyfish 5.0.4里面的安裝路徑問(wèn)題,默認(rèn)安裝到/usr/local/bin和/etc/fdfs目錄下面,這個(gè)不是很好,
我在生產(chǎn)環(huán)境上面部署的時(shí)候,是不會(huì)有這兩個(gè)目錄的權(quán)限的,需要安裝到自己的用戶目錄下面。
我一般采用的目錄結(jié)構(gòu)如下:
drwxr-xr-x 2 mixuan app    4096 Oct 23 19:50 bin
drwxr-xr-x 2 mixuan app    4096 Oct 30 20:19 conf
drwxr-xr-x 4 mixuan mixuan 4096 Oct 23 21:34 data
drwxr-xr-x 4 mixuan app    4096 Oct 20 13:10 include
drwxr-xr-x 2 mixuan app    4096 Oct 20 13:10 lib
drwxr-xr-x 2 mixuan mixuan 4096 Oct 20 13:13 logs
conf下面是配置文件,data里面是pid和同步信息,沒(méi)有數(shù)據(jù)
以上只是用作參考,希望余大能夠在這方面改進(jìn)一下。


只啟動(dòng)tracker的日志如下:
[2014-10-31 08:17:56] INFO - FastDFS v5.04, base_path=/Users/coral/fastdfs, 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=1, 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, trunk_compress_binlog_min_interval=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, log_file_keep_days=0, store_slave_file_use_link=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
[2014-10-31 08:17:56] INFO - local_host_ip_count: 2,  127.0.0.1  192.168.10.113


啟動(dòng)storage后storage.log:
[2014-10-31 08:18:58] INFO - FastDFS v5.04, base_path=/Users/coral/fastdfs, store_path_count=1, subdir_count_per_path=256, group_name=g1, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=, client_bind=1, max_connections=256, accept_threads=1, 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, log_file_keep_days=0, file_sync_skip_invalid_record=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
[2014-10-31 08:18:58] INFO - file: storage_param_getter.c, line: 191, use_storage_id=0, id_type_in_filename=ip, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=10.00%, use_trunk_file=1, 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, trunk_compress_binlog_min_interval=0, store_slave_file_use_link=0
[2014-10-31 08:18:58] INFO - file: storage_func.c, line: 175, tracker_client_ip: 192.168.10.113, my_server_id_str: 192.168.10.113, g_server_id_in_filename: 1896523968
[2014-10-31 08:18:58] ERROR - file: tracker_proto.c, line: 37, server: 192.168.10.113:22122, recv data fail, errno: 57, error info: Socket is not connected
[2014-10-31 08:18:59] ERROR - file: tracker_proto.c, line: 37, server: 192.168.10.113:22122, recv data fail, errno: 57, error info: Socket is not connected
[2014-10-31 08:19:00] ERROR - file: tracker_proto.c, line: 37, server: 192.168.10.113:22122, recv data fail, errno: 57, error info: Socket is not connected
[2014-10-31 08:19:01] INFO - local_host_ip_count: 2,  127.0.0.1  192.168.10.113
[2014-10-31 08:19:01] INFO - file: tracker_client_thread.c, line: 310, successfully connect to tracker server 192.168.10.113:22122, as a tracker client, my ip is 192.168.10.113

論壇徽章:
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
2 [報(bào)告]
發(fā)表于 2014-11-02 20:21 |只看該作者
到github下載或更新libfastcommon源碼,本周剛解決了一個(gè)基層bug。
你用最新的libfastcommon庫(kù)試試還有沒(méi)有問(wèn)題。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2014-11-04 21:59 |只看該作者
happy_fish100 發(fā)表于 2014-11-02 20:21
到github下載或更新libfastcommon源碼,本周剛解決了一個(gè)基層bug。
你用最新的libfastcommon庫(kù)試試還有沒(méi)有 ...


謝謝回復(fù),但是還是不對(duì)的  錯(cuò)誤信息依舊


使用的是新版的osx 10.10
昨天剛裝的系統(tǒng)

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2014-11-04 22:00 |只看該作者
我記得以前曾經(jīng)有安裝成功過(guò)的  那時(shí)使用的是osx10.9 的版本  fastdfs版本忘記了  好像是需要改動(dòng)態(tài)鏈接庫(kù)什么的

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2014-11-11 11:14 |只看該作者
請(qǐng)問(wèn)一下,F(xiàn)astDFS 5.04在哪里下載?在code.google.com上只找到v4.06

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2014-11-12 17:13 |只看該作者
回復(fù) 5# qifeitian


    在soureforge.net 上面

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2014-12-18 11:57 |只看該作者
回復(fù) 1# coraldane


   請(qǐng)問(wèn)樓主,這個(gè)問(wèn)題后來(lái)解決了嗎 我遇到了一樣的問(wèn)題

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2014-12-18 15:28 |只看該作者
本帖最后由 ty80style 于 2014-12-18 15:30 編輯

回復(fù) 2# happy_fish100

我下載的版本:libfastcommon-master.zip FastDFS_v5.05.tar.gz,也有這個(gè)問(wèn)題

我的操作系統(tǒng):OSX 10.9.5
   

論壇徽章:
1
寅虎
日期:2014-12-04 11:16:20
9 [報(bào)告]
發(fā)表于 2014-12-23 10:46 |只看該作者
樓主解決了米,在storage上ldd一下

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2015-01-06 11:05 |只看該作者
sudo ./make.sh install
mkdir -p /usr/local/FastDFS/bin
mkdir -p /etc/fdfs
cp -f fdfs_trackerd /usr/local/FastDFS/bin
if [ ! -f /etc/fdfs/tracker.conf.sample ]; then cp -f ../conf/tracker.conf /etc/fdfs/tracker.conf.sample; fi
mkdir -p /usr/local/FastDFS/bin
mkdir -p /etc/fdfs
cp -f fdfs_storaged  /usr/local/FastDFS/bin
if [ ! -f /etc/fdfs/storage.conf.sample ]; then cp -f ../conf/storage.conf /etc/fdfs/storage.conf.sample; fi
mkdir -p /usr/local/FastDFS/bin
mkdir -p /etc/fdfs
mkdir -p /usr/local/FastDFS/lib64
cp -f fdfs_monitor fdfs_test fdfs_test1 fdfs_crc32 fdfs_upload_file fdfs_download_file fdfs_delete_file fdfs_file_info fdfs_appender_test fdfs_appender_test1 fdfs_append_file fdfs_upload_appender /usr/local/FastDFS/bin
cp: fdfs_monitor: No such file or directory
cp: fdfs_test: No such file or directory
cp: fdfs_test1: No such file or directory
cp: fdfs_crc32: No such file or directory
cp: fdfs_upload_file: No such file or directory
cp: fdfs_download_file: No such file or directory
cp: fdfs_delete_file: No such file or directory
cp: fdfs_file_info: No such file or directory
cp: fdfs_appender_test: No such file or directory
cp: fdfs_appender_test1: No such file or directory
cp: fdfs_append_file: No such file or directory
cp: fdfs_upload_appender: No such file or directory
make: *** [install] Error 1
您需要登錄后才可以回帖 登錄 | 注冊(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