- 论坛徽章:
- 2
|
大哥,你这个问题我还没有遇到,因为我的上传还没有成功。。我查不到,你可以帮我看一下吗?
各软件版本:
libfastcommon-master
FastDFS V5.05
fastfdfs_nginx_module_master
nginx V1.9.1(后来换成了ngx_openresty-1.7.10.1)
[root@localhost fdfs]# ls
a.txt http.conf mod_fastdfs.conf tracker.conf
client.conf mime.types storage.conf
[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
[root@localhost fdfs]#
配置文件应该没有问题的,我看了好几遍。第一次装的时候上传成功了,但是第二天我又上传它就报错了,而且根据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 09:51:46] ERROR - file: ../common/sockopt.c, line: 616, bind port 23000 failed, errno: 98, error info: Address already in use.
[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
我想也许和nginx的安装有关吧,我是采用的fdfs + nginx_module + nginx 来装的,安装过程没有报任何错(应该说都解决了),可是nginx无论如何都启动不了,报错如下:
刚刚确认了以下:
[root@localhost logs]# /usr/local/openresty/nginx/sbin/nginx
/usr/local/openresty/nginx/sbin/nginx: symbol lookup error: /usr/local/openresty/nginx/sbin/nginx: undefined symbol: g_fdfs_base_path
上面这个我是用openresty nginx +lua包安装的,之前单独用nginx源码包安装,启动也报这个错,google后面这个参数都搜不到信息。。
难道和我之前用yum install 安装过nginx 有关吗?可是我已经卸载,但是留了一个启动文件在 /etc/init.d/nginx ,然后直接用
systemctl start nginx 可以启动成功。。。我真是凌乱了。昨天都不能的
|
|