我使用repos在我的Ubuntu上安装了nginx服务器...
当我启动服务器时,我收到此错误:
starting nginx: /usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/sbin/nginx)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/sbin/nginx)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)``
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libxslt.so.1)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libexslt.so.0)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libexslt.so.0)
/usr/sbin/nginx: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/i386-linux-gnu/libexslt.so.0)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
这是我使用locate
看到的找到libxml2.so.2
/home/john/Downloads/libxml2-2.7.8/.libs/libxml2.so.2
/home/john/Downloads/libxml2-2.7.8/.libs/libxml2.so.2.7.8
/usr/lib/libxml2.so.2
/usr/lib/libxml2.so.2.9.1
/usr/local/lib/libxml2.so.2
/usr/local/lib/libxml2.so.2.7.8
问题是什么以及如何解决?
答案 0 :(得分:0)
您在/usr/local
中手动编译了libxml。也许Direct Admin?要么摆脱它,要么不使用ubuntu包并从源代码编译nginx。