There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

以上为报错信息,下面是解决办法

原因可能是安装lnmp时,安装了libcurl。
输出ldconfig -v | grep libcurl,发现有2个libcurl

ldconfig: 无法对 /usr/local/mysql/lib 进行 stat 操作: 没有那个文件或目录
ldconfig: 多次给出路径“/usr/local/lib”
ldconfig: 多次给出路径“/lib”
ldconfig: 多次给出路径“/usr/lib”
ldconfig: 多次给出路径“/usr/lib64”
ldconfig: 无法对 /usr/lib/libmcrypt.so 进行 stat 操作: 没有那个文件或目录
        libcurl.so.4 -> libcurl.so.4.4.0
        libcurl.so.4 -> libcurl.so.4.1.1

直接将/usr/local/lib/libcurl.so.4 软连接到旧有libcurl中

find / -name libcurl.so.4 看一下
一般系统安装的libcurl目录是 /usr/lib64/libcurl.so.4 或 /usr/lib/libcurl.so.4
把另外一个删除,然后ldconfig 应该就可以

rm  /usr/local/lib/libcurl.so.4
rm -rf /usr/local/lib/libcurl*

ln -s /usr/lib64/libcurl.so.4.1.1 /usr/local/lib/libcurl.so.4