在mac上通过brew 安装php的memcache扩展(brew install php56-memcache)后运行 ~  php -mPHP Warning:  PHP Startup: memcache: Unable to initialize moduleModule compiled with build ID=API20131226,NTSPHP    compiled with build ID=API20131226,NTS,debugThese options need t…
版权声明:经验之谈,不知能否换包辣条,另,转载请注明出处.https://www.cnblogs.com/zmdComeOn/category/1295248.html [root@VM_0_2_centos phpredis-master]# /usr/local/php5.6/sbin/php-fpm reload [06-Sep-2018 18:19:35] NOTICE: PHP message: PHP Warning: PHP Startup: redis: Unable to in…
问题:再利用webuploader上传图片的时候发现,报错,打印了$_FILES["file"]["error"] 发现是6,找不到临时文件夹: $_FILES['file']['error']有以下几种类型: 1.UPLOAD_ERR_OK 其值为 0,没有错误发生,文件上传成功. 2.UPLOAD_ERR_INI_SIZE 其值为 1,上传的文件超过了 php.ini 中 upload_max_filesize选项限制的值. 3.UPLOAD_ERR_FORM_…
-------------------------------------------------------------------------------- mysql 备份报错mysqldump: [Warning] Using a password on the command line interface can be insecure. 备份某个表步骤如下 解决办法:修改my.ini配置添加以下语句 [mysqldump]user=root ----为备份用户名password=12…
打开终端,执行命令: 1.sudo chown -R XXX /usr/local  (XXX表示当前用户名) 2.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 提示报错: warning: unable to access '/Users/lucky/.config/git/attributes': Permission denied 出现此问题的原因…
maven install 或 package 时 ,执行警告报错: [WARNING] The POM for com.xx-base:jar:1.0 is missing, no dependency information available [ERROR] Failed to execute goal on project xx-mobi: Could not resolve dependencies for project com.xx-mobi:jar:1.0: Failed to…
问题阐述 一次停电之后,服务器停机,然后ip莫名被占用,修改新的ip之后,ssh能够连接上去,但是web服务访问不了,数据库访问不了,除了22端口,其它服务端口都不能telnet. 防火前.IPtables.selinux全都关闭,问题存在. 久经折腾之下,觉得Docker的那个端口映射是不是也要重新映射一次? 想到此,于是执行端口映射命令,却报错: WARNING: IPv4 forwarding is disabled. Networking will not work 1 有问题就好办,就…
ps -aux|grep mysql时候报错:Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ 解决办法,去掉-aux前面的“-”就好了. ps aux |grep mysql aux各选项的意思是: a-显示所有用户的进程 u-显示进程的用户和拥有者 x-显示不依附于终端的进程…
Python3 pip命令报错:Fatal error in launcher: Unable to create process using '"' 一.问题 环境:win7 同时安装python2 和 python3 执行pip 命令报错:Fatal error in launcher: Unable to create process using '"' 二.解决方案 采用命令:python3 -m pip install psycopg2 或者     python3 -m p…
php5.6ajax报错 Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unkno…
报错信息: Warning:Unable to make the module: reading, related gradle configuration was not found. Please, re-import the Gradle project and try again 解决办法: 开启步骤:View -> Tool Windows -> Gradle 点击refesh解决 不行的话你再看看,我是这样解决的,谢谢.…
目录 问题 解决 问题 一直以来用Eigensoft的smartpca来做群体遗传的PCA分析很顺畅,结果也比较靠谱. 但今天报错如下: $ ~/miniconda3/bin/smartpca -p smartpca.par parameter file: smartpca.par ### THE INPUT PARAMETERS ##PARAMETER NAME: VALUE genotypename: plink.ped snpname: plink.pedsnp indivname: pl…
在shell编写函数时,函数中有eof和EOF,如果是在sublime编写按照格式tab缩进会有以下报错 解决办法: 取消函数中的tab缩进,在运行即可…
解决方法: 通过sh find-in-jars 'HlsSampler' -d /data/apache-jmeter-3.0/lib/ext/确定这个class文件在哪个jar包 由于find-in-jars在linux平台使用,所以讲jmeter的jar包上传至linux平台 查询结果如下: 再重启jmeter 问题解决 JMeter3.0 jdk1.8启动报错 备份这个jar…
环境信息: python版本:V3.6.4 安装路径:D:\Program Files\python36 环境变量PATH:D:\Program Files\Python36;D:\Program Files\Python36\Scripts; 问题描述:命令行执行pip报错 解决方法: 1.切换到D:\Program Files\Python36\Scripts 2.执行python pip.exe install SomePackage进行安装 3.安装成功后执行pip仍报错 4.查看安装成…
错误原因: 使用ecplise构建的maven骨架默认支持的是web2.3的版本,当使用这个创建3.0版本的web项目时则会报这样的错误: Cannot change version of project facet Dynamic Web Module to 3.0 Error in Eclipse 解决方案: 1:更改项目中的xml配置文件:指定web项目是3.0版本 2:更改project facet中的dynamic的版本为3.0版本 3:‘refresh’该项目,clean该项目,这个…
做自动化时经常会遇到不兼容的问题,比如以下简单的脚本,主要是打开浏览器,然后最大化窗口,打开百度,输入内容搜索,代码如下: package com.gs.selenium; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOption…
django 迁移数据库报错 django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclient? 解决方案:在settings.py同级目录中的__init__.py文件中加入: import pymysql pymysql.install_as_MySQLdb()…
1.在启动CDH中master的服务cloudera-scm-server start并立刻挂掉了,提示如下错误 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while se…
pip安装包报错 解决方案: pip需要升级,可使用以下脚本: python -m pip install -U pip…
参考此文:https://blog.csdn.net/cjeric/article/details/73518782 win7笔记本安装了Python2.7,Python3.7,以及anaconda3.6,为了共存,将Python2.7,Python3.7的exe文件重命名为python2与python37,这时候在cmd输入pip3就会出问题,如下图: 但运行pip没问题. 所以这个错误应该是因为改动了python的执行文件的名字造成的. 网上看了很多方案都说直接运行 python3 -m p…
安装了python2,使用pip安装了selenium,但是在使用时,报了“selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.” 网上查了一下解决办法,此处做下记录: 原因:使用pip安装selenium,默认安装的是最新版本的selenium,使用pip list查了一下我的selenium版本,是3.5.0的,firefox版本,是47.0.…
Nagios--localhost报警:"WARNING: HTTP/1.1 403 Forbidden "解决方法: In dashboard it shows alert on localhost i.e our own newly set up nagios server. 在/var/www/html目录下新建文件index.html,命令如下 [root@localhost /var/www/html]# touch index.html [root@localhost /v…
初次使用树莓派,在使用树莓派本机网卡时被DHCP服务器分配到192.168.0.103,连接正常.于是乎很开心的将无线网卡插入树莓派,急于摆脱网线的束缚. ifconfig一下获取无线网卡的MAC地址,然后在路由端获取被分配的IP地址-192.168.0.104.同样SSH之,却发现报如下错误: GOOGLE了一下,可能是以前曾经用SSH练过104地址所致,但按查询到的方法: ssh -o 'StrictHostKeyChecking no' user@host 以及 修改/etc/ssh/ss…
问题: 客户环境12.2 dg备库环境,定时清理归档脚本并未正常清理归档日志文件. 观察日志可以发现存在如下信息 RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process . 一般情况下,如果在备库环境或者主库环境,配置归档清理测量后,DG环境未应用归档将不允许删除. 本次排查RMAN清理归档策略默认,且无法删除的归档日志在DG视图v$archived_log 中ap…
Ruby命令 $ git init $ git add . 系统出现如下错误:warning: LF will be replaced by CRLF 原因分析:CRLF -- Carriage-Return Line-Feed 回车换行就是回车(CR, ASCII 13, \r) 换行(LF, ASCII 10, \n).这两个ACSII字符不会在屏幕有任何输出,但在Windows中广泛使用来标识一行的结束.而在Linux/UNIX系统中只有换行符.也就是说在windows中的换行符为 CRL…
企鹅上朋友问我: 我这明明是11位的int 为啥还说超出范围了呢,然后发来报警截图 我看到是 buyer_tpl int(13)  unsigned NOT NULL,就知道是怎么回事了,打开dev.mysql.com/doc,找到int的章节,截图发给他 手机号码作为数字的话,已经超过了unsigned的峰值了,给他2个建议 1  将int类型换成bigint 2 将int类型换成varchar(11)的. 他问我 :“ bigint  和 varchar 存数字哪个好? 就11位手机这种.“…
运行命令webpack ./src/main.js ./dist/murenziwei.js后,目录上神马动静都没有,你以为在dist文件夹上会有murenziwei.js吗?毛都没有 警告和错误倒是有,警告说我没有设置mode?错误说我配置打包出入口有问题? 为了快点打包成功,我老老实实的服从,将上面webpack命令改为webpack ./src/main.js --output-filename ./dist/murenziwei.js --output-path . --mode dev…
最近做项目需要用java调用python,配置了jython后,运行了例子代码: 获得一个元组里面的元素: import org.python.util.PythonInterpreter; public class FirstJavaScript { public static void main(String args[]) { PythonInterpreter interpreter = new PythonInterpreter(); interpreter.exec("days=('…
1.使用netstat查看端口8080的使用情况: netstat -ano | findstr 8080 结果为: 最后一列表示使用8080端口的进程PID,如果返回结果为空则说明没有被使用. 2.可以使用takslist查看进程号对应的进程的信息 tasklist /fi "pid eq 10876" 结果: 3.强制结束进程 taskkill /f /pid 10876 结果: 4.重新运行tomcat,即可正常启动. 5.修改tomcat的端口为其他也可以.…