Serving icon indicating copy to clipboard operation
Serving copied to clipboard

PaddleDetection+Serving部署,运行时提示:undefined symbol: _dl_sym, version GLIBC_PRIVATE

Open yootou opened this issue 1 year ago • 2 comments

Starting program: /root/anaconda3/envs/py39/lib/python3.9/site-packages/paddle_serving_server/serving-cpu-avx-mkl-0.9.0/serving [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralDetectionOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralDistKVInferOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralDistKVQuantInferOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralFeatureExtractOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralInferOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralPicodetOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralReaderOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralRecOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralRemoteOp I0100 00:00:00.000000 2187 op_repository.h:68] RAW: Succ regist op: GeneralResponseOp /root/anaconda3/envs/py39/lib/python3.9/site-packages/paddle_serving_server/serving-cpu-avx-mkl-0.9.0/serving: symbol lookup error: /root/anaconda3/envs/py39/lib/python3.9/site-packages/paddle_serving_server/serving-cpu-avx-mkl-0.9.0/serving: undefined symbol: _dl_sym, version GLIBC_PRIVATE [Inferior 1 (process 2187) exited with code 0177] (gdb) bt No stack.

yootou avatar Nov 15 '23 12:11 yootou

在另一台服务器采用GPU方式运行时: (gdb) run Starting program: /root/anaconda3/envs/paddleocr/bin/python -m paddle_serving_server.serve --model serving_server --port 9988 --gpu_ids 0 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff2dff640 (LWP 47090)] [New Thread 0x7ffff25fe640 (LWP 47091)] [New Thread 0x7fffefdfd640 (LWP 47092)] [New Thread 0x7fffed5fc640 (LWP 47093)] [New Thread 0x7fffeadfb640 (LWP 47094)] [New Thread 0x7fffe85fa640 (LWP 47095)] [New Thread 0x7fffe7df9640 (LWP 47096)] [New Thread 0x7fffe35f8640 (LWP 47097)] [New Thread 0x7fffe0df7640 (LWP 47098)] [New Thread 0x7fffdc5f6640 (LWP 47099)] [New Thread 0x7fffdbdf5640 (LWP 47100)] [New Thread 0x7fffd95f4640 (LWP 47101)] [New Thread 0x7fffd6df3640 (LWP 47102)] [New Thread 0x7fffd45f2640 (LWP 47103)] [New Thread 0x7fffd1df1640 (LWP 47104)] [New Thread 0x7fffcf5f0640 (LWP 47105)] [New Thread 0x7fffccdef640 (LWP 47106)] [New Thread 0x7fffca5ee640 (LWP 47107)] [New Thread 0x7fffc7ded640 (LWP 47108)] [New Thread 0x7fffc35ec640 (LWP 47109)] [New Thread 0x7fffc0deb640 (LWP 47110)] [New Thread 0x7fffc05ea640 (LWP 47111)] [New Thread 0x7fffbbde9640 (LWP 47112)] /root/anaconda3/envs/paddleocr/lib/python3.9/runpy.py:127: RuntimeWarning: 'paddle_serving_server.serve' found in sys.modules after import of package 'paddle_serving_server', but prior to execution of 'paddle_serving_server.serve'; this may result in unpredictable behaviour warn(RuntimeWarning(msg)) [Detaching after vfork from child process 47113] [Detaching after vfork from child process 47115] [Detaching after vfork from child process 47117] [Detaching after vfork from child process 47119] Going to Run Comand /root/anaconda3/envs/paddleocr/lib/python3.9/site-packages/paddle_serving_server/serving-gpu-112-0.9.0/serving -enable_model_toolkit -inferservice_path workdir_9988 -inferservice_file infer_service.prototxt -max_concurrency 0 -num_threads 4 -port 9988 -precision fp32 -use_calib=False -reload_interval_s 10 -resource_path workdir_9988 -resource_file resource.prototxt -workflow_path workdir_9988 -workflow_file workflow.prototxt -bthread_concurrency 4 -max_body_size 536870912 [Detaching after vfork from child process 47121] Segmentation fault (core dumped) [Thread 0x7fffc05ea640 (LWP 47111) exited] [Thread 0x7fffc35ec640 (LWP 47109) exited] [Thread 0x7fffc7ded640 (LWP 47108) exited] [Thread 0x7fffca5ee640 (LWP 47107) exited] [Thread 0x7fffbbde9640 (LWP 47112) exited] [Thread 0x7fffc0deb640 (LWP 47110) exited] [Thread 0x7fffccdef640 (LWP 47106) exited] [Thread 0x7fffcf5f0640 (LWP 47105) exited] [Thread 0x7fffd1df1640 (LWP 47104) exited] [Thread 0x7fffd45f2640 (LWP 47103) exited] [Thread 0x7fffd6df3640 (LWP 47102) exited] [Thread 0x7fffd95f4640 (LWP 47101) exited] [Thread 0x7fffdbdf5640 (LWP 47100) exited] [Thread 0x7fffdc5f6640 (LWP 47099) exited] [Thread 0x7fffe0df7640 (LWP 47098) exited] [Thread 0x7fffe35f8640 (LWP 47097) exited] [Thread 0x7fffe7df9640 (LWP 47096) exited] [Thread 0x7fffe85fa640 (LWP 47095) exited] [Thread 0x7fffeadfb640 (LWP 47094) exited] [Thread 0x7fffed5fc640 (LWP 47093) exited] [Thread 0x7fffefdfd640 (LWP 47092) exited] [Thread 0x7ffff25fe640 (LWP 47091) exited] [Thread 0x7ffff2dff640 (LWP 47090) exited] [Inferior 1 (process 47087) exited normally] (gdb) bt No stack.

yootou avatar Nov 15 '23 12:11 yootou

看着是GLIBC的版本不匹配,尝试使用一下Serving提供的镜像呢

heavengate avatar Feb 06 '24 03:02 heavengate