Linux查看已经分好的区[root@linuxidc ~]# fdisk -l /dev/sda   Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280bytes Sector size (logical/physical): 512 bytes /512 bytes I/O size (m…
分区的过程正常: [root@db1 /]# fdisk -l   Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes      Device Boot      Start         End      Blocks   Id  System /dev/sda1   *  …
我在编写内核驱动模块的时候报了一个非常奇怪的错误,如下图: 在目录下看了一下确实没有发现这个文件,感觉很奇怪,因为我记得之前编译模块是没有错误的,所以不可能是我代码写的有问题. 查阅了资料很多说要清除配置重新生成.config之类的,我也照做了但是并没有什么卵用. 最后发现是因为我执行了make mrproper(或make distclean),执行make mrproper的打印信息如下: 很明显make mrproper这条指令清除了generated底下的东西. 解决办法是重新编译一遍内…
启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 原文:http://blog.51cto.com/11863547/1905929            http://blog.csdn.net/debimeng/article/details/74296152?utm_source=itdadao&utm_medium=referral  Failed to start LSB: Bring up/down networ…
搭建elsticsearch集群 报错with the same id but is a different node instance解决办法 学习了:https://blog.csdn.net/qq_24879495/article/details/77718032 删除data文件夹,或者改个名字:…
MySQL8.0报错Can't connect to MySQL server on 'localhost' (10061)的解决办法 事情的起因     今天课堂上要展示小组项目,需要用一个软件叫WPS-Interactive来投屏,我打开后发现不好使.     所以我就卸载了准备重新下载一个.     在卸载的时候360管家提醒:"注册表中有残留文件是否清除",我的手快于大脑,"开心的"点了确定.     然后我的IDEA就连不上数据库了.然鹅我们组马上就要展示…
nginx 启动报错“var/run/nginx/nginx.pid" no such file or directory 今天刚搭建的nginx服务器启动时,报错“var/run/nginx/nginx.pid" no such file or directory,按照他的意思我在var/run/新建了一个文件夹nginx,重新启动,启动成功. 但是当我虚拟机重启后依然报错“var/run/nginx/nginx.pid" no such file or directory…
shell 执行报错: ./test.sh: /bin/bash^M: bad interpreter: No such file or directory 原因:window和linux 的文件格式不同,这个问题是:linux换行只需要 /n windows的换行是 /r/n 导致文件不能识别. vim 查看文件格式: set ff? fileformat=dos 就是window 的文件格式 修改: set fileformat=unix 搞定…
问题描述 在linux上,欲将OpenSSH_6.4p1编译升级到OpenSSH_8.0p1时,执行了./configure --prefix=/usr --sysconfdir=/etc/ssh --with-zlib --without-openssl-header-check --with-ssl-dir=/usr/local/ssl --with-privsep-path=/var/lib/sshd编译命令后报错,报错信息如下: configure: error: *** working…
Mac OS X 10.11.6, curl 命令报错,错误如下: dyld: lazy symbol binding failed: Symbol not found: _SSL_load_error_strings Referenced from: /usr/local/lib/libcurl.4.dylib Expected in: flat namespace dyld: Symbol not found: _SSL_load_error_strings Referenced from:…