fdfs_trackerd和fdfs_storaged正常,php无法上传
fdfs_trackerd和fdfs_storaged正常,php无法上传
- storage_upload_by_filename fail, result=28
- Warning: unpack() [function.unpack]: Type N: not enough input, need 4, have 0 in /usr/vhost/192.168.2.227/fdfs/fdfs_common.php on line 304
- tracker_query_storage_list fail, errno: 22
复制代码
- Active Internet connections (servers and established)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- tcp 0 0 0.0.0.0:22122 0.0.0.0:* LISTEN 15334/fdfs_trackerd
- tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2272/mysqld
- tcp 0 0 192.168.2.223:11211 0.0.0.0:* LISTEN 16270/memcached
- tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 15334/fdfs_trackerd
- tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 15928/fdfs_storaged
- tcp 0 0 0.0.0.0:23000 0.0.0.0:* LISTEN 15928/fdfs_storaged
- tcp 0 0 192.168.2.223:3306 192.168.2.223:20995 ESTABLISHED 2272/mysqld
- tcp 0 0 192.168.2.223:13367 192.168.2.223:22122 ESTABLISHED 15928/fdfs_storaged
- tcp 0 0 192.168.2.223:22122 192.168.2.223:13367 ESTABLISHED 15334/fdfs_trackerd
复制代码
- [root@test03 data]# fdfs_monitor /etc/fdfs/storage.conf
- group count: 1
- Group 1:
- group name = group1
- free space = 1 GB
- storage server count = 1
- active server count = 1
- storage_port = 23000
- storage_http_port = 8888
- store path count = 1
- subdir count per path= 256
- current write server index = 0
- Host 1:
- ip_addr = 192.168.2.223 ACTIVE
- total storage = 9GB
- free storage = 1GB
- total_upload_count = 0
- success_upload_count = 0
- total_set_meta_count = 0
- success_set_meta_count = 0
- total_delete_count = 0
- success_delete_count = 0
- total_download_count = 0
- success_download_count = 0
- total_get_meta_count = 0
- success_get_meta_count = 0
- total_create_link_count = 0
- success_create_link_count = 0
- total_delete_link_count = 0
- success_delete_link_count = 0
- last_heart_beat_time = 2010-01-30 12:01:20
- last_source_update = 1970-01-01 07:00:00
- last_sync_update = 1970-01-01 07:00:00
- last_synced_timestamp= 1970-01-01 07:00:00
复制代码
状态正常
fdfs_test.php
- storage_upload_by_filename fail, result=28
- Warning: unpack() [function.unpack]: Type N: not enough input, need 4, have 0 in /usr/vhost/192.168.2.227/fdfs/fdfs_common.php on line 304
- tracker_query_storage_list fail, errno: 22 storage_upload_by_filename fail, result=5 tracker_query_storage_fetch fail, errno: 5 storage_download_file_to_file fail, errno: 5 storage_download_file_to_buff fail, errno: 5
- Warning: fopen() [function.fopen]: Filename cannot be empty in /usr/vhost/192.168.2.227/fdfs/fdfs_test.php on line 165
- set metadata result: 5 storage_get_metadata fail, errno: 5 delete file result: 5
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
靠,居然是空间太小导致的诡异事件
建议使用php扩展,不要使用纯PHP版本的客户端API。
可以下载V1.23。
V1.25本周末将发布,修改了几个bug,功能更加强大。