- 论坛徽章:
- 2
|
请问余大:
我按照教程 (无法发链接)
把东西都装好了,目前遇到两个大问题:
1.使用fdfs_upload_file client.conf a.txt 上传文件失败,但是用 fdfs_test client upload a.txt 却可以。
前者报错如下:
[root@localhost fdfs]# fdfs_upload_file client.conf a.txt
[2016-04-01 10:11:33] ERROR - file: tracker_proto.c, line: 37, server: 192.168.1.9:23000, recv data fail, errno: 107, error info: Transport endpoint is not connected
upload file fail, error no: 107, error info: Transport endpoint is not connected
配置文件应该没有问题的,我看了好几遍。第一次装的时候上传成功了,但是第二天我又上传它就报错了,而且根据a.txt的内容不一样 ,报错也不一样:
[root@localhost fdfs]# fdfs_upload_file client.conf a.txt
[2016-04-01 10:10:59] ERROR - file: tracker_proto.c, line: 48, server: 192.168.1.9:23000, response status 22 != 0
upload file fail, error no: 22, error info: Invalid argument
storage日志如下:
[2016-04-01 10:10:59] ERROR - file: storage_service.c, line: 1425, client ip: 192.168.1.9, pkg length is not correct, invalid file bytes: 8392585448953743978
[2016-04-01 10:11:33] ERROR - file: storage_service.c, line: 1425, client ip: 192.168.1.9, pkg length is not correct, invalid file bytes: 8392585448953743978
这个是空文件上传报错日志:
[2016-03-31 19:33:48] ERROR - file: storage_service.c, line: 1373, cmd=11, client ip: 192.168.1.9, package size 15 is not correct, expect length >= 23
[2016-03-31 19:36:09] ERROR - file: storage_service.c, line: 1425, client ip: 192.168.1.9, pkg length is not correct, invalid file bytes: 8392585448953743978
2.安装nginx与配置正常,但是启动的时候老报错:
[root@localhost sbin]# ./nginx
./nginx: symbol lookup error: ./nginx: undefined symbol: g_fdfs_base_path
说这个参数没有定义,我google 也没有答案。显然和fdfs 是相关的,可惜找不到解决办法,请指点一二~ |
|