当linux设备上开启sonar6.2时, supervisorctl status报如下错误: error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/p ...
分类:
编程语言 时间:
2017-04-22 01:09:49
阅读次数:
1249
服务器安装protobuf-2.6.1包时,报错如下:[root@host73python]#pythonsetup.pyinstallDownloaderroronhttps://pypi.python.org/simple/google-apputils/:[Errno-2]Nameorservicenotknown--Somepackagesmaynotbefound!Couldn‘tfindindexpagefor‘google-apputils‘(maybemisspell..
分类:
编程语言 时间:
2017-04-21 18:12:22
阅读次数:
7265
Linux 获得机器的IP和网卡信息代码来自于网络, 我改写了, 有美不敢自专, 特分享之.使用方法非常easy,就3个函数.头文件getmac.h:/** * getmac.h * * 2014-07-08: init created */ #ifndef GETMAC_H_INCLUDED #d ...
分类:
系统相关 时间:
2017-04-21 09:28:55
阅读次数:
141
今天碰到一个大坑,差点要了老命! 之前装了ubuntu双系统,后来崩溃,想在就想装VMware虚拟机,再装ubuntu,一切进展顺利,直到在虚拟机的ubuntu中安装IDEA时出现了问题。 安装过程并没有报错,但是启动后运行一个项目,项目还没加载呢就直接退出,生成个错误日志,如下: OpenJDK ...
分类:
系统相关 时间:
2017-04-20 19:21:05
阅读次数:
2015
#include"soapH.h"#include"wsddapi.h"#include<stdio.h>#include<sys/types.h>/*SeeNOTES*/#include<sys/socket.h>#include<unistd.h>#include<errno.h>externintGetListenPort();void*main_probe(void*arg){intm,s;structip_mreqmcast;structs..
分类:
其他好文 时间:
2017-04-20 11:33:14
阅读次数:
231
pthread多线程编程整理 1 Introduction 不用介绍了吧… 2 Thread Concepts 1. Thread由下面部分组成: a. Thread ID b. Stack c. Policy d. Signal mask e. Errno f. Thread-Specific D ...
分类:
编程语言 时间:
2017-04-19 00:35:33
阅读次数:
280
问题1:[elk@storm2bin]$OpenJDK64-BitServerVMwarning:INFO:os::commit_memory(0x0000000094cc0000,1798569984,0)failed;error=‘Cannotallocatememory‘(errno=12)##ThereisinsufficientmemoryfortheJavaRuntimeEnvironmenttocontinue.#Nativememoryallocation(mmap)failedtoma..
分类:
其他好文 时间:
2017-04-18 20:02:54
阅读次数:
1984
测试结果: 附: shell中&&和||的使用方法 命令的返回结果:真(返回0),假(返回非0) command1 && command2: command1返回真时,command2才会被执行 command1 || command2:command1返回真时,command2就不会被执行 ...
分类:
其他好文 时间:
2017-04-15 20:18:19
阅读次数:
177
在实际项目开发中,我们经常需要得到用户的反馈信息并及时回复。普通的留言板有一定的内容限制,而邮件则能满足这个需求。今天给大家演示一下怎么利用PHP发送电子邮件。 1.创建表单 2.创建smtp.php文件 3.提交表单之后提取表单内容 ...
分类:
Web程序 时间:
2017-04-15 14:08:54
阅读次数:
238