报错如下: [root@master scripts]# /usr/local/zabbix/bin/zabbix_get -s 127.0.0.1 -k web.site.code[www.baidu.com] timeout while executing a shell script 解决: ...
分类:
其他好文 时间:
2018-09-20 17:25:49
阅读次数:
284
使用presto的时候以mysql为presto的数据源 安装的presto是0.95版本;使用的presto-jdbc是0.202的,这里使用jdbc去访问时候,connection可以链接成功,但是在执行excuteQuery时候抛出 java.sql.SQLException: Error e ...
分类:
数据库 时间:
2018-09-14 19:52:52
阅读次数:
617
错误1: Executing the query "ALTER INDEX [IX_liveConfigState_Service_ServiceId_..." failed with the following error: "The index "IX_liveConfigState_Servi ...
分类:
数据库 时间:
2018-08-29 17:57:42
阅读次数:
180
一、GIL全局解释器锁 In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Python bytecodes at once. ...
分类:
编程语言 时间:
2018-08-28 00:59:32
阅读次数:
165
具体为什么必须这么写呢?stackoverflow上面的以为阿三大兄弟给出了答案: Would it be safe to use result.next() or result.first() when executing a simple COUNT query because it shoul ...
分类:
数据库 时间:
2018-08-16 15:41:26
阅读次数:
173
数据库安装后执行命令ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
分类:
其他好文 时间:
2018-08-10 15:53:41
阅读次数:
102
Ubuntu用sudo apt-get update出错: E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/ap ...
分类:
系统相关 时间:
2018-08-05 18:35:00
阅读次数:
473
一、线程与进程 线程定义:线程是操作系统能够进行运算调度的最小单位。它被包含在进程之中,是进程中的实际运作单位。一条线程指的是进程中一个单一顺序的控制流,一个进程中可以并发多个线程,每条线程并行执行不同的任务。 进程定义:An executing instance of a program is c ...
分类:
编程语言 时间:
2018-07-20 22:38:06
阅读次数:
241
Python的方法主要有3个,即静态方法(staticmethod),类方法(classmethod)和实例方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 def foo(x): print "executing foo(%s)"%(x) class A(obje ...
分类:
编程语言 时间:
2018-07-12 23:49:52
阅读次数:
240
DB2 的应用最常见的状态为UOW Executing, UOW Waiting, Connect Completed等,这里做一个简单的介绍。 UOW全称是Unit Of Work, 可以认为是事务。 补充解释1: 如果应用状态是UOW Waiting,如何判断它是“等着执行同一事务中下一条SQL ...
分类:
数据库 时间:
2018-07-04 10:41:39
阅读次数:
532