下午一台机器怀疑中了木马,于是从 centos 7 拷贝 常用的用具 , ps , netstat 和打包所需的运行库,结果将运行库加载入系统的配置文件,/etc/ld.so.conf 后 ldconfig 发现所有命令都无法使用了, 打 ls cat 等等都不行,好像就 cd 和 export 了
下面是报错详情
root@tomcat3 lib64]# ls
ls: relocation error: /mnt/hui/unix_antivr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[root@tomcat3 lib64]# rm -rf /mnt/hui/unix_antivr/
rm: relocation error: /mnt/hui/unix_antivr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[root@tomcat3 lib64]# cat
cat: relocation error: /mnt/hui/unix_antivr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[root@tomcat3 lib64]# cat /tmp/
conf.n hsperfdata_BDld2017/ .ICE-unix/ ns
gates.lod hsperfdata_root/ moni.lod yum.log
[root@tomcat3 lib64]# cat /tmp/yum.log
cat: relocation error: /mnt/hui/unix_antivr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[root@tomcat3 lib64]# last
last: relocation error: /mnt/hui/unix_antivr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[root@tomcat3 lib64]#