Fastdfs 와 nginx 통합 다운로드 시 브 라 우 저 400 오류
itcast@itcast:/usr/local/nginx/conf$ tail -20f /usr/local/nginx/logs/error.log [2018-12-14 22:34:53] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:54] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:54] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:54] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:54] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:58] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:59] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:34:59] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:35:00] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:35:05] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:35:06] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:35:06] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:15] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:16] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:16] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:16] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:16] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:17] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:17] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid [2018-12-14 22:36:17] ERROR - file: …/common/fdfs_global.c, line: 52, the format of filename “group1/M00/00/00/wKgheVwTuwiAKH_pAARn1TgqZeU344.png” is invalid
mod 입장fastdfs. conf, urlhave_group_name = false 를 url 로 변경have_group_name=true
itcast@itcast:/etc/fdfs$ sudo vi mod_fastdfs.conf
itcast@itcast:/etc/fdfs$ ls
client.conf http.conf mod_fastdfs.conf storage.conf.sample tracker.conf
client.conf.sample mime.types storage.conf storage_ids.conf.sample tracker.conf.sample
itcast@itcast:/etc/fdfs$ ps -ef | grep nginx
root 6598 1868 0 22:22 ? 00:00:00 nginx: master process nginx
nobody 6705 6598 0 22:33 ? 00:00:00 nginx: worker process
nobody 6706 6598 0 22:33 ? 00:00:00 nginx: worker process
itcast 6795 6553 0 22:41 pts/0 00:00:00 grep --color=auto nginx
itcast@itcast:/etc/fdfs$ sudo nginx -s stop
ngx_http_fastdfs_set pid=6798
itcast@itcast:/etc/fdfs$ sudo nginx
ngx_http_fastdfs_set pid=6801
itcast@itcast:/etc/fdfs$ ps -ef | grep nginx
root 6802 1868 0 22:41 ? 00:00:00 nginx: master process nginx
nobody 6803 6802 0 22:41 ? 00:00:00 nginx: worker process
nobody 6804 6802 0 22:41 ? 00:00:00 nginx: worker process
itcast 6806 6553 0 22:41 pts/0 00:00:00 grep --color=auto nginx
그리고 브 라 우 저 를 새로 고치 시 면 됩 니 다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Fastdfs 와 nginx 통합 다운로드 시 브 라 우 저 400 오류itcast@itcast:/usr/local/nginx/conf$ tail -20f /usr/local/nginx/logs/error.log [2018-12-14 22:34:53] ERROR - file: …/com...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.