[2018-09-26 05:18:14] error - file: connection_pool.c, line: 130, connect to 10.15.24.109:23000 fail, errno: 113, error info: no route to host
upload file fail, error no: 113, error info: no route to host
原因:是storage那台機器沒有開啟23000埠。
解決:開啟該埠即可。
[2018-01-04 16:37:54] error - file: tracker_proto.c, line: 48, server: 192.168.146.111:22122, response status 2 != 0
[2018-01-04 16:37:54] error - file: tracker_proto.c, line: 48, server: 192.168.146.111:22122, response status 2 != 0
tracker_query_storage fail, error no: 2, error info: no such file or directory
經查詢是
錯誤配置:store_path0=/home/fastdfs/storager
正確配置:store_path0=/home/fastdfs/storage
修改配置重啟後上傳成功
原因為storage磁碟空間不足造成的,storage預設的保留磁碟空間大小為reserved_storage_space = 10% # storage server 上保留的空間,保證系統或其他應用需求空間。可通過 storage.conf 配置。
另外還可以通過水平(增加group和storage節點數)和垂直(增加當前storage的磁碟大小)來解決該問題!
第一台tracker日誌
[2018-09-25 21:57:12] info - file: tracker_relationship.c, line: 383, selecting leader...
[2018-09-25 21:57:12] error - file: tracker_proto.c, line: 48, server: 10.15.24.108:22122, response status 2 != 0
第二台tracker日誌
[2018-09-25 21:58:57] error - file: tracker_proto.c, line: 48, server: 10.15.24.107:22122, response status 5 != 0
[2018-09-25 21:58:57] info - file: tracker_mem.c, line: 4213, sys files loaded from tracker server 10.15.24.107:22122
[2018-09-25 21:58:57] error - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2018-09-25 21:58:57] error - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2
原因:因為兩邊的tracker裡面的配置檔案不一致
解決:先兩邊都停掉,然後把全的那邊(或者leader)那邊的配置檔案覆蓋到另外乙個tracker,最後重啟就可以了。
當所有fastdfs伺服器關閉後重啟,最開始的時候,防火牆沒有關閉,這時
關閉防火牆之後,上傳仍然報這個錯
關閉防火牆之後
systemctl status firewalld
systemctl stop firewalld
再重啟所有服務,這個時候
[2018-10-16 21:53:39] info - file: tracker_relationship.c, line: 383, selecting leader...
[2018-10-16 21:53:39] info - file: tracker_relationship.c, line: 401, i am the new tracker leader 10.15.24.108:22122
然後再上傳檔案,則報
再關閉 防火牆
~]# service iptables stop
redirecting to /bin/systemctl stop iptables.service
[root@localhost ~]# service iptables status
!暈,乙個伺服器開了兩個防火牆!
然後再上傳,就ok了
FastDFS安裝過程中出現的問題
問題一 無法找到libevent 1.4.so.2庫 root localhost conf usr local bin fdfs trackerd home yuqing fastdfs conf tracker.conf usr local bin fdfs trackerd error whi...
chocolatey 的安裝與安裝過程中的注意事項
cmd安裝 直接複製貼上下面的text,然後按下enter鍵 powershell noprofile executionpolicy bypass command iex new object system.net.webclient downloadstring set path path al...
cp abe安裝過程中的問題
在ubuntu在安裝cp abe的過程中往往會遇到很多問題,由於cpabe庫依賴於其他很多庫,例如gmp pbc glib openssl libbswabe庫等。在安裝的過程中會出現這樣的錯誤 the library libbswabe was not found on your system p...