fastdfs icon indicating copy to clipboard operation
fastdfs copied to clipboard

nginx无法使用

Open FT19960715 opened this issue 4 years ago • 7 comments

当我按照Wiki的教程完场单机版安装之后,我不能使用我的nginx服务,nginx是运行这的,但是无法访问到。

FT19960715 avatar May 13 '20 00:05 FT19960715

遇到同样的问题

j4fan avatar Sep 22 '20 06:09 j4fan

我也是的

bigBrotherYang avatar Oct 12 '20 02:10 bigBrotherYang

没人回答么

xiaodianku avatar Apr 12 '21 05:04 xiaodianku

看下nginx错误日志

happyfish100 avatar Apr 12 '21 07:04 happyfish100

2021/04/13 23:36:17 [warn] 22039#0: conflicting server name "localhost" on 0.0.0.0:80, ignored ngx_http_fastdfs_process_init pid=22041 2021/04/13 23:36:21 [alert] 22040#0: worker process 22041 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22043 2021/04/13 23:36:23 [warn] 22044#0: conflicting server name "localhost" on 0.0.0.0:80, ignored 2021/04/13 23:36:23 [emerg] 22044#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2021/04/13 23:36:23 [emerg] 22044#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2021/04/13 23:36:24 [alert] 22040#0: worker process 22043 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22046 2021/04/13 23:36:23 [emerg] 22044#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2021/04/13 23:36:27 [alert] 22040#0: worker process 22046 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22049 2021/04/13 23:36:30 [alert] 22040#0: worker process 22049 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22051 2021/04/13 23:36:33 [alert] 22040#0: worker process 22051 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22055 2021/04/13 23:36:36 [alert] 22040#0: worker process 22055 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22057 2021/04/13 23:36:39 [alert] 22040#0: worker process 22057 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22060 2021/04/13 23:36:43 [alert] 22040#0: worker process 22060 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22065 2021/04/13 23:36:46 [alert] 22040#0: worker process 22065 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22067 2021/04/13 23:36:49 [alert] 22040#0: worker process 22067 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22069 2021/04/13 23:36:52 [alert] 22040#0: worker process 22069 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22071 2021/04/13 23:36:55 [alert] 22040#0: worker process 22071 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22073 2021/04/13 23:36:58 [alert] 22040#0: worker process 22073 exited on signal 11 (core dumped) ngx_http_fastdfs_process_init pid=22076 2021/04/13 23:37:02 [alert] 22040#0: worker process 22076 exited on signal 11 (core dumped) .......................

realize-me avatar Apr 13 '21 15:04 realize-me

估计是fastdfs client和libfastcommon动态库不匹配导致的,试试重新编译 nginx

happyfish100 avatar Apr 14 '21 01:04 happyfish100

如果重新编译nginx问题依然存在,重新编译和安装 fastdfs client和libfastcommon,然后重新编译和安装 nginx

happyfish100 avatar Apr 14 '21 01:04 happyfish100