复制wdcp面板文件后,无法启动wdapache,提示找不到 libiconv.so.2
过程:
1.图个方便,直接复制wdcp相关的文件后,尝试手动启动面板(wdapache),提示 Starting httpd: /www/wdlinux/wdapache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
2.在 https://centos.pkgs.org 站点上搜索libiconv.so.2,本例是CentOS 6 32位的,所以下载这个 https://forensics.cert.org/centos/cert/6/i386//libiconv-1.15-1.el6.i686.rpm
3.rpm -ivh libiconv-1.15-1.el6.i686.rpm # 下载后,可通过rpm安装,也可直接在线文件安装
4.再次启动wdapache,成功。如提示未知用户,请添加wdcpu的用户