由于更换硬盘没有删除系统自启动读取挂载硬盘导致系统报错:fsck.ext4 unable to resolve 'UUID=a4a7a0f7-b54f-4774-9fb1' 此时进入系统已root模式进去就只是只读的模式: 启动进入系统: cat /etc/fstab UUID=a4a7a0f7-b54f-4774-9fb1 对应的是/data   系统现在是只读状态: mount -o remount rw / chmod a+rw /etc/fstab vi /etc/fstab 删除UUI…
1.Xcode自带头文件的路径 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers 2.修改了系统自带头文件后,Xcode会报错 解决方案:删掉下面文件夹的缓存即可(aplle是电脑的用户名) /Users/aplle/…
参考文章:https://blog.csdn.net/realjh/article/details/82026160 Redis下载: https://github.com/MicrosoftArchive/redis/releases https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100 注:. msi方式可以直接安装,方便快捷,不过需要在redis.windows.conf设置密码.手动配置请下载.zip压缩包.…
在复制的时候执行命令:cp /TEST/test1 /TEST/test2 结果报错:cp:omitting directior 报错原因:test1下面还有文件,不能删除 解决办法:cp -r  /TEST/test1 /TEST/test2   即在cp后面添加-r命令(表示递归)…
先说一下在读取配置文件时报错的问题--ConfigParser.MissingSectionHeaderError: File contains no section headers 问题描述: 在练习ConfigParser读取配置文件时,cmd一直报一个错:ConfigParser.MissingSectionHeaderError: File contains no section headers.如图: D:\test_python>python task_test.pyTracebac…
[hadoop@datanode3 logs]$ kafka-topics.sh --delete --zookeeper datanode1:2181 --topic firstTopic first is marked for deletion.Note: This will have no impact if delete.topic.enable is not set to true. [hadoop@datanode3 logs]$ kafka-topics.sh  --create…
原 因:某一个字段本为varchar2(1024),但是实际要插入的值超过varchar2允许的最大长度4000时,oracle自动将该字段值转化为Long类型,然后提示插入操作失败. 解决办法: 1)是不是真的要插入超过定义长度的值?否则对长度做判断,截取等. 2)若是,则将字段采用clob.blob,或者使用文件代替,字段保存文件地址即可. 对于clob.blob CLOB 定义 数据库中的一种保存文件所使用的类型. Character Large Object SQL 类型 CLOB 在…
今天发现在一个服务商提供的设备的WIN7系统里,一个稳定运行的程序打开时报错,且界面汉字变乱码. 经测试发现程序放在英文名称的文件夹中可以正常打开,但界面上的汉字仍为乱码. 后检查“控制面板“--”区域语言选项“--”管理“中,”非Unicode程序的语言“项设置的为”英语(美国)“,改为”中文(简体中国)“后即恢复正常.…
1.找到以”FKXXX“为外键的表A的子表,直接运行select a.constraint_name, a.table_name, b.constraint_name from user_constraints a, user_constraints bwhere a.constraint_type = 'R' and b.constraint_type = 'P' and a.r_constraint_name = b.constraint_nameand a.constraint_name…
在我们lvextend扩容完之后,想动态扩容时出现错误.我们可以用以下命令来进行操作. 若不是xfs我们可以用resize2fs,这里报错了 [root@Mysql01-213-66 ~]# resize2fs -f /dev/mapper/vg_mysql0121366-LogVol01 resize2fs 1.41.12 (17-May-2010) resize2fs: Bad magic number in super-block while trying to open /dev/map…