安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory 解决方法: <P>type the following</P> <P>apt-get install libaio1 libaio-dev</P> <P…
[root@test153 ~]# /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql_data1 /usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such fi…
启动zabbix_server时报错: /application/zabbix/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 解决办法: [root@test88 etc]# ln -s /application/mysql/lib/libmysqlclient.so.…
报错详细信息 构建错误 - “#include嵌套太深” /usr/local/include/stdint.h:2:10: error: #include nested too deeply #include <stddef.h> ^ /usr/local/include/stdint.h:59:11: error: #include nested too deeply # include <stdint.h> ^ /usr/local/include/stdint.h:72:1…
      笔者使用Spark streaming读取Kakfa中的数据,做进一步处理,用到了KafkaUtil的createDirectStream()方法:该方法不会自动保存topic partition的offset到zk,需要在代码中编写提交逻辑,此处介绍了保存offset的方法.  当删除已经使用过的kafka topic,然后新建同名topic,使用该方式时出现了"numRecords must not be negative"异常  详细信息如下图:  是不合法的参数异常…
出现这种情况多数是找不到data目录,还有就是对data目录没有写入权限.…
执行 npm install socket.io安装时报错: [root@WEB node_modules]# npm install socket.ionpm WARN enoent ENOENT: no such file or directory, open '/usr/local/nodejs/bin/package.json' npm WARN bin No description npm WARN bin No repository field. npm WARN bin No RE…
could not find java; set JAVA_HOME or ensure java is in PATH 首先需要安装java 1.yum list installed |grep java  查看当前有没有装 有的话先卸载 yum -y remove java-1.8.0-openjdk*        *表时卸载所有openjdk相关文件输入 yum -y remove tzdata-java.noarch         卸载tzdata-java 安装java yum  …
报错(如下),但是使用mysqld直接启动没有问题. 150718 00:03:38 mysqld_safe Logging to '/var/log/mysqld.log'. 150718 00:03:38 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart t…
mysqldumpslow报错:Died at /usr/local/mysql/bin/mysqldumpslow line 161, <> chunk 236. 总结:是由于top数目太多了.mysqldumpslow遍历只是来的缘故. /usr/local/mysql/bin/mysqldumpslow -s -t 15 /root/db01-102-slow.log 1.把r去掉试试,还是报错,參数不识别. [root@slave ]# /usr/local/mysql/bin/mys…
centos下php cli模式报错 /usr/bin/php: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/bin/php) 解决办法: 删除对应目录下的ibxml2.so.2文件…
在php扩展memcached中执行./configure --with-php-config=/usr/local/php/bin/php-config 报错: error: memcached support requires libmemcached. Use --with-lib memcached-dir...... 然后去安装libmemcached,但是yum安装的方式还是报错, 然后就考虑源码编译安装:(下载目录:)https://launchpad.net/libmemcach…
在linux启动startup命令报Cannot find /usr/local/tomcat/bin/setclasspath.sh  使用: unset CATALINA_HOME命令得以解决   再次启动即可,问题解决…
windows 7 下面 安装memcached 报错 两种情况: 一:服务确实已经安装过 .如需要重新安装,当然是先memcached.exe -d uninstall 二:奇怪的是服务确实没有安装过的情况,在memcached.exe -d install也会出现上面定位报错.此时关掉cmd窗口  然后以管理员身份运行cmd,在执行上面的install,不出意外你会顺利的执行成功. 常用命令: 安装.卸载.启动.配置相关 -p 监听的端口 -l 连接的IP地址, 默认是本机 -d start…
使用yum安装mysql服务端: [root@centos ~]# yum -y install mysql-server Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile epel | : extras | : os | : updates | : Resolving Dependencies --> Running tran…
xampp in ubuntu下命令行启动mysql报错: reddevil@reddevil-Lenovo:/opt/lampp$ ./bin/mysql -u root -p Enter password: ERROR (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) 启动mysql服务: reddevil@reddevil-Lenovo:/opt…
启动项目报错如下: java.lang.UnsatisfiedLinkError: D:\Java\apache-tomcat-8.0.17\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader…
一.调用python脚本报错 /usr/bin/env: python: No such file or directory 二.解决方法 原因是在windows上编写的脚本,使用dos2unix对脚本格式化一下 # yum install dos2unix -y # dos2unix sendSMS.py…
转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:The archive: C:/Program Files(x86)/Java/jdk1.7.0_10/lib/tools.jar which is referenced by the classpath, doesnot exist. 2.原因: 这是因为我中途移动过tomcat的位…
错误如下: [root@RSP-DEVWEB03 bin]#sh startup.sh Cannot find /usr/local/tomcat8081/bin/setclasspath.sh This file is needed to run this program 执行语句: [root@RSP-DEVWEB03 bin]#unset CATALINA_HOME2 [root@RSP-DEVWEB03 bin]#unset CATALINA_BASE2 即可解决错误.…
前言 今天重启了服务器,发现supervisor管理的rabbitmq的进程居然启动失败了,查看日志发现老是报错,记录一下解决的办法. 报错:erlexec:HOME must be set 找了网上的许多人的博客,一般的说法是在进程的启动的脚本中加入: export HOME=/usr/local/erlang export PATH=$PATH:$HOME/bin 系统默认的HONE是/root,可能造成erlang语言环境获取不到HOME参数:上述修改可以用在chkconfig管理和ser…
1 : An another FPM instance seems to already listen on /tmp/php-cgi.sock有关/tem/php-cgi.sock问题查看进程可以或者log文件可以看到php-fpm已正常运行 service php-fpm stop Gracefully shutting down php-fpm warning,no pid file found – php-fpm is not running? 查看进程可以看到php-fpm进程未被关闭…
启动uwsgi时候报错: [root@ richie]# /usr/bin/uwsgi --ini /usr/local/nginx/conf/uwsgi.ini /usr/bin/uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 解决办法:64位系统 [root@ richie]# ln -s /usr/loca…
参考资料:http://blog.csdn.net/happyteafriends/article/details/8290950 一.问题 在Ubuntu下安装了java并在~/.bashrc配置了环境变量,在终端可运行java等命令,但启动eclipse报错说缺少jre或jdk: ”a java runtime environment jre or java development kit jdk....“ 二.解决 在在/etc/environment里补充上jdk bin的路径即可. 三…
安装好PHP之后启动报错: 启动php-fpm报错:please specify user and group other than root, pool 'default 修改 php-fpm.conf (/usr/local/php/etc/php-fpm.conf) Unix user of processes Unix group of processes 换成 Unix user of processeswww Unix group of processeswww 即去掉 启动php-…
centos7.5 安装mysql数据库报错 问题: [root@db04-54 scripts]# /etc/init.d/mysqld start /etc/init.d/mysqld: line 244: my_print_defaults: command not found /etc/init.d/mysqld: line 264: cd: /usr/local/mysql: No such file or directory Starting MySQL ERROR! Couldn'…
win10 64位系统生成没问题,测试都没问题,结果换到win7 64位系统上,点开就出现,网上搜了下,通过以下方式解决, 必须把bin 文件夹全部删除,重新生成.要不还是会报错. Solve it. Change my platform to x86 Output path to "bin\" Downloaded the x86 of SharpSVN (1.7008.2243.14245) Add SharpSVN.dll in GAC. Delete the bin folde…
首先看下报错代码: Cannot find /usr/local/tomcat1/bin/setclasspath.sh This file is needed to run this program 这个可能是没有在 /etc/profile 中配置环境,这是第一种可能:如果是这种情况的话,可以这样做: vi /etc/profile 并在文件末尾加上 export CATALINA_HOME=/usr/local/tomcat export CATALINA_BASE=/usr/local/…
Eclipse启动Tomcat报错,系统缺少本地apr库. Tomcat中service.xml中的设置情况. 默认情况是HTTP协议的值:protocol="HTTP/1.1" 由于将tomcat改为了支持高并发,设置为如下图所示: Tomcat在Eclipse中启动出现以下错误,但是使用startup.bat启动方式是可以启动的. 实际这是建议使用apache的apr. 下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/…