mkfs.ext4: symbol lookup error: mkfs.ext4: undefined symbol: ext2fs_numeric_progress_ops
vgextend vg_mysqlsoft /dev/sdc7 lvcreate -n lv_MariaDB_104 -L 3G vg_mysqlsoft mkfs.ext4 /dev/vg_mysqlsoft/lv_MariaDB_104 mkdir /usr/local/MariaDB_104mount /dev/vg_mysqlsoft/lv_MariaDB_104 /usr/local/MariaDB_104
报错:
[root@rhel6lhr ~]# mkfs.ext4 /dev/vg_mysqlsoft/lv_MariaDB_104mkfs.ext4: symbol lookup error: mkfs.ext4: undefined symbol: ext2fs_numeric_progress_ops[root@rhel6lhr ~]# ldd /sbin/mkfs.ext4linux-vdso.so.1 => (0x00007fffdad90000)libext2fs.so.2 => /lib64/libext2fs.so.2 (0x00007f53c9c61000)libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f53c9a5d000)libblkid.so.1 => /lib64/libblkid.so.1 (0x0000003a43800000)libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003a4a400000)libe2p.so.2 => /lib64/libe2p.so.2 (0x00007f53c9855000)libc.so.6 => /lib64/libc.so.6 (0x0000003a3f800000)libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a3fc00000)/lib64/ld-linux-x86-64.so.2 (0x0000003a3f000000)
解决:
找一个正确的相同版本的OS,然后拷贝/lib64/libext2fs.so.2和/lib64/libcom_err.so.2,覆盖有问题的OS,再次运行即可。
——————————————————————————————————————————
【干货来了|小麦苗IT资料分享】
★小麦苗DB职场干货:https://mp.weixin.qq.com/s/Vm5PqNcDcITkOr9cQg6T7w
★小麦苗数据库健康检查:https://share.weiyun.com/5lb2U2M
★小麦苗微店:https://weidian.com/s/793741433?wfr=c&ifr=shopdetail
★各种操作系统下的数据库安装文件(Linux、Windows、AIX等):https://pan.baidu.com/s/19yJdUQhGz2hTgozb9ATdAw 提取码:4xpv
★小麦苗分享的资料:https://share.weiyun.com/57HUxNi
★小麦苗课堂资料:https://share.weiyun.com/5fAdN5m
★小麦苗课堂试听资料:https://share.weiyun.com/5HnQEuL
★小麦苗出版的相关书籍:https://share.weiyun.com/5sQBQpY
★小麦苗博客文章:https://share.weiyun.com/5ufi4Dx
★数据库系列(Oracle、MySQL、NoSQL):https://share.weiyun.com/5n1u8gv
★公开课录像文件:https://share.weiyun.com/5yd7ukG
★其它常用软件分享:https://share.weiyun.com/53BlaHX
★其它IT资料(OS、网络、存储等):https://share.weiyun.com/5Mn6ESi
★Python资料:https://share.weiyun.com/5iuQ2Fn
★已安装配置好的虚拟机:https://share.weiyun.com/5E8pxvT
——————————————————————————————————————————
About Me
——————————————————————————————————————————
● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除
● 《数据库笔试面试宝典》作者
● OCP、OCM、高可用(RAC+DG+OGG)网络班开讲啦,有需要的小伙伴可以私聊我
● 本文在itpub、博客园、CSDN和个人微信公众号( xiaomaimiaolhr)上有同步更新
● 本文itpub地址: http://blog.itpub.net/26736162
● 本文博客园地址: http://www.cnblogs.com/lhrbest
● 本文CSDN地址: https://blog.csdn.net/lihuarongaini
● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/
● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/
● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826
——————————————————————————————————————————
● QQ群号: 230161599 、618766405
● 微信群:可加我微信,我拉大家进群,非诚勿扰
● 联系我请加QQ好友 ( 646634621 ),注明添加缘由
● 于 2019-10-01 06:00 ~ 2019-10-31 24:00 在西安完成
● 最新修改时间:2019-10-01 06:00 ~ 2019-10-31 24:00
● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解
● 版权所有,欢迎分享本文,转载请保留出处
——————————————————————————————————————————
●小麦苗的微店: https://weidian.com/s/793741433?wfr=c&ifr=shopdetail
●小麦苗出版的数据库类丛书: http://blog.itpub.net/26736162/viewspace-2142121/
●小麦苗OCP、OCM、高可用网络班: http://blog.itpub.net/26736162/viewspace-2148098/
●小麦苗腾讯课堂主页: https://lhr.ke.qq.com/
——————————————————————————————————————————
使用微信客户端扫描下面的二维码来关注小麦苗的微信公众号( xiaomaimiaolhr)
及QQ群(DBA宝典)、添加小麦苗微信, 学习最实用的数据库技术。
——————————————————————————————————————————