之前运行wmic命令正确,今天在服务器上出现Invalid XSL format (or) file name的提示,搜索了一下,在这里找到了答案: http://www.ctkn.net/2011/10/fix-for-windows-7-wmic-invalid-xsl-format-or-file-name/ 我的环境是:windows 2008 sp2 把那几个xls文件,从C:\Windows\System32\wbem\zh-CN 复制到 C:\Windows\System32\wb…
这里说一下,如果复制了虚拟机,设置新的MAC地址为什么? 在虚拟机的网络设置中--->高级.然后找到如下窗口,生成新的MAC地址即可. -------------------------------------------------------------------------------- 一.问题描述VMware中克隆虚拟机是经常的事情,虽然如此,用到虚拟机时,本人还是喜欢新安装一个操作系统,针对服务器的应用,在安装操作系统时,一并安装好,并且也花不了多少时间.但最近需要大量的配置一样的…
>一.写在前面: 因为是我刚学习linux好多问题需要解决,bolg仅作为记录自己的在技术这条道路上的点点滴滴. 二.事件起因: 最近因为女友的原因消沉的好长时间,在马哥那里的课程的结束到现在已经将近45天时间都没有温习,今天拿出来突然老师问我会不会配置lvs,顿时傻眼了.忘记光了,看来这温故而知新的道理不是白来的,然后就出现今天的的事情了. 今天在安装REdhat的时候遇见和网卡有关的问题,起初没有解决系统级别的经验就是最原始的办法,重启虚拟机,不然就是重装.来来回回折腾了好多次都没有成功(没…
参考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such file or directory 解决方法 根据使用的Python版本安装python-dev库. sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x i…
参考: numa.h:No such file or directory numa.h:No such file or directory 解决方法 Ubuntu: $ apt-get install libnuma-dev 2017.12…
提示错误信息 www@iZ236j3sofdZ:~$ ifconfig Command 'ifconfig' is available in '/sbin/ifconfig' The command could not be located because '/sbin' is not included in the PATH environment variable. This is most likely caused by the lack of administrative privil…
参考: Bibliography is not printed using Kile on Ubuntu Tex: The top-level auxiliary file: *.aux I couldn't open style file IEEEtran.bst 解决方法 系统: Deepin 在使用TexMaker添加.bib引用文献的时候,出现以下问题: ...The top-level auxiliary file: *.aux I couldn't open style file I…
说明: 看了网上很多关于alt-minion dead but pid file exists 的解决方法,千篇一律的写一个shell脚本 killproc salt-minion 见链接:http://732233048.blog.51cto.com/9323668/1693483 但是并没有什么用,我如何解决这个问题的呢,请容我慢慢道来. 系统版本:CentOS_6.7_64bit 环境已优化. 重装(第一次装)salt-minion,但是客户端却无法正常启动,如下报错: [root@nam…
Centos7解压.tar.bz2提示tar (child): bzip2: Cannot exec: No such file or directory解决方法 原因是因为该centos没有bzip2解压工具解决方法如下:yum -y install bzip2 即可解决. 原文来源:http://www.xuecan.net/wenku/17355.html…
今天用pdo连接mysql遇到一个奇怪的问题,host设为127.0.0.1可以连接成功,设为localhost就会报如下的错误: PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /usr/share/nginx/html/test.php:2 Stack trace: #0 /usr/share/nginx…
在执行一个shell脚本时,遇到了“-bash: ./killSession.sh: /bin/bash: bad interpreter: Text file busy”错误提示,如下所示: [oracle@DB-Server bin]$ ./killSession.sh      -bash: ./killSession.sh: /bin/bash: bad interpreter: Text file busy 此时只需要在#!/bin/bash,加一空格#! /bin/bash即可解决问…
Source insight有最新版3572.3.50.0076 下载连接:http://www.sourceinsight.com/down35.html,   http://www.sourceinsight.com/distribute/Si3570Setup.exe 注册号:SI3US-205035-36448 1.卸载掉旧版安装新版, 可能会有提示" An invalid source insight serial number was detected",然后不能使用. 解…
sass文件编译时候使用ruby环境,无论是界面化的koala工具还是命令行模式的都无法通过,真是令人烦恼. 容易出现中文注释时候无法编译通过,或者出现乱码,找了几天的解决方法终于解决了. 这个问题的奇葩之处在于在xp环境中没有任何问题,只是在windows7环境中才出现的这个. sass编译时候出现如下错误的解决方法: Syntax error: Invalid GBK character "\xE5" on line 8 of E:\work\sass\sass\_big_box.…
前言 多人任务基本都会用到SVN,于是提交的时候如果不先更新在提交或者操作顺序不对,会经常出现错误,其中File already exists: filesystem这个就是个常见问题,上网找了半天没找到解决办法,经过摸索,经解决办法分享于此. 解决方法 不同情况对应不同的解决方法: 1.通用的.直接先备份,然后将本地删除,然后充仓库里面checkout出最新的文件,然后将备份的修改加入最新的文件,然后提交就搞定啦 .. 2.localy new,本地新建.这写内容在被commit之前,可以做任…
/etc/init.d/mysql start无法启动MySQL错误信息如下: ERROR! MySQL server PID file could not be found! Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/AYXXXXXXXXXXX.pid). 启动会报错Starting MySQL.. ERROR! The server quit without…
安装coreseek 出现了cannot find input file: src/Makefile.in 解决方法如下 >autoheader >automake --add-missing --copy >autoconf 然后再执行./configure --prefix=/usr/local/mmseg 即可解决.…
问题现象: alter table portal_app_xxxx_xxx add devno varchar(64) NOT NULL DEFAULT '' COMMENT '设备机编',add serialno varchar(64) NOTNULL DEFAULT '' COMMENT '绑定流程流水号',Error_code: 1034  MySQL error code 1034 (ER_NOT_KEYFILE): Incorrect key file for table 'XXXXX…
error: opening /home/cacti/rra/url-2 no such file or directory 在看Cacti Graph Debug Mode发现如下报错 RRDTool Says: ERROR: opening '/data/local/nginx/html/cacti/rra/dns-cnc_ucd_load1min_461.rrd': No such file or directory 图片显示为红叉叉 经过一番网络搜,发现原来是Perl少了组件,解决方法如…
在某服务器上用FileZilla Server搭建了一个FTP服务器.开始使用没有发现任何问题,后来在向服务器传送大文件的时候,发现总是传输到固定的百分比的时候出现 ”550 can’t access file.” 的错误,后来找到了解决方法如下. 打开FileZilla Server的管理界面,Edit->Settings->Miscellaneous选项卡,勾选上”Allow downloading of files which are open for writing by anothe…
问题描述 十三在 GitHub 仓库中开源了一个 Spring Boot 技术栈开发的 My-Blog 项目: 因为功能比较多,数据的存储就选择了 MySQL 数据库,该项目的表结构也放到了仓库中,方便大家运行和使用这个开源博客项目,期间一直有人提到题目中的这个问题,在导入 SQL 语句到 MySQL 数据库中的时候会报如下错误: Invalid default value for 'create_time' ,错误截图如下: 由于不止一个朋友在群里或者仓库里给我提这个问题,因此今天就整理一下解…
仔细想想,这个问题遇到很多次了,之前一直以为很复杂,一搜索发现解决这么简单,记录一下做备忘. grep test XXX.log Binary file app.log matches 此时使用-a参数接口. grep -a test XXX.log -a, --text equivalent to --binary-files=text,即让二进制文件等价于文本. 注:zgrep遇到同样问题,解决方法也是类似.…
linux服务器上编辑 .ini 文件时卡死,关闭连接工具后重新进入操作该 .ini 文件时,会提示: E325: ATTENTION Found a swap file by the name ".xxx.ini.swp" (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the…
在NFS客户端挂载rpc共享服务的时候出现这个问题 # mount -t nfs 192.168.20.6:/data /mnt mount.nfs: Stale file handle 原因是当client端mount上了server端的directory之后,假如server端又将这个directory unshare了或者删除了,那么就会在client端出现这个错误.我前面确实删除过NFS服务端的/data目录,所以在再次挂载的时候出现了这个问题.那么应该怎么做呢? 解决方法: 其实解决办…
服务器重启之后,执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number "" in "/run/nginx.pid" 出现原因:nginx未开启所以无法重启 解决方法: 需要先执行 sudo nginx -c /etc/nginx/nginx.conf nginx.conf文件的路径可以从nginx -t的返回中找到. sudo nginx -s reload…
错误: huny@DESKTOP-N1EBKQP:/mnt/c/Users/Administrator$ sudo apt-get updata E: Invalid operation updata 解决方法: sudo apt update && sudo apt full-upgrade…
CentOS6系统下,普通用户使用sudo执行命令时报错: xxx is not in the sudoers file.This incident will be reported" 解决方法就是在/etc/sudoers文件里给该用户添加权限.如下: 1.切换到root用户下 2./etc/sudoers文件默认是只读的,对root来说也是,因此需先添加sudoers文件的写权限,命令是:chmod u+w /etc/sudoers 3.编辑sudoers文件vim /etc/sudoers…
运行wireless.tcl 文件时报错:couldn't read file "../../uAMPS/ns-leach.tcl": no such file or directory    while executing"source.orig ../../uAMPS/ns-leach.tcl"    ("uplevel" body line 1)这是由于文件的路径问题,在目录中找不到文件.最佳的解决方法就是在wireless.tcl文件的目…
有时候在提交的时候,中间提交出错,导致有文件被lock,所以会报下面的错误: fatal: Unable to create ‘/msg/.git/index.lock’: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is…
昨天还用的好好的VSS今天早上一来就提示: Cannot find SS.INI file for user *** 度娘了一下,好像都是说的: 1,vss\users\***\  下无文件SS.INI若无从别处copy一个2,vss\users\***\  下有文件SS.INI修改vss下users.txt文件添加:*** = users\***\ss.ini 但是我的就没有users这个目录,更没有SS.INI或者users.txt这个文件,我的是VSS2005的版本,不知道是不是其他版本才…
初次使用CodeBlocks,好不容易把环境配好, 编译没有错误了,但是程序并不生成exe,提示以下问题: mingw32-g++.exe: /W3: No such file or directorymingw32-g++.exe: /EHsc: No such file or directorymingw32-g++.exe: /MD: No such file or directorymingw32-g++.exe: /Ox: No such file or directorymingw3…