正在加载……
有些系统(比如AS或者64位的操作系统)在做命令netstat时会出现类似下面的提示:
[root@opt1 ~]# netstat -ae
warning, got duplicate tcp line.
[root@opt1 ~]#
对该问题的解决方法是:
1、 检查设置systtl的值:
检查当前指定的值是否为0,如果不是则更改为0:
使用以下命令:
#sysctl net.ipv4.tcp_tw_recycle
#sysctl net.ipv4.tcp_tw_reuse
如果输出是1则表明他们被使能了,可以使用如下命令关闭核心参数
Vi /etc/sysctl
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0
另外也可以不用修改sysctl文件做修改对应的值:
#echo 0 > /proc/sys/net/ipv4/net.ipv4.tcp_tw_reuse = 0
#echo 0 > /proc/sys/net/ipv4/net.ipv4.tcp_tw_recycle = 0
2、 使sysctl生效:
#sysctl -p
执行 sysctl -p 使这些设置生效。这些消息本质上说明存在这两个完全一样的TCP连接,这会发生在一个连接被迅速的断开并且重新连接,而且使用的端口和地址相同。他们不应该发生,无论如何,使能上述设置会增加重现机会。这个提示不会有人和危害,而且也不会降低系统性能,目前正在进行工作,是在将来的红帽企业Linux版本上消除这个错误信息。但这个不是一个高优先级的问题,对计算机没有危害。
如果以上要彻底杜绝此类现象的话则需要做net-tool包的版本更新:
3、 安装rpm包:
[root@root2 opt]# rpm -Uvh net-tools-1.60-62.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:net-tools              ########################################### [100%]
[root@root2 opt]#
对于下载的是源码的rpm则需要使用以下方法安装:

4、 安装rpm源码包方法:
a)         安装src.rpm:
# [root@root1 opt]# rpm -i net-tools-1.60-62.1.src.rpm
……
b)        制作rpm安装包:
[root@root1 opt]# cd /usr/src/redhat/SPECS/
[root@root1 SPECS]# rpmbuild -bb net-tools.spec
c)        rpm包的升级安装:
[root@root1 SPECS]# pwd
/usr/src/redhat/SPECS
[root@root1 SPECS]# cd ../RPMS/x86_64/
[root@root1 x86_64]# rpm -Uvh net-tools-1.60-62.1.x86_64.rpm
5、 再使用netstat来检查时系统正常:

I thought switching to Xampp would allow me to be exposed to other languages such as Python and Perl, but alas it seems not to have been so yet.

For the past few weeks I've been trying to get innodb tables to work on Xampp, without much luck until today. I went from forum to forum, tried everything and was on the verge of giving up and doing a normal separate installation. Worst of all, it came down to one character!

On this forum for example, it says:

Go to your mysql/bin folder and edit the "my" file and uncomment the innodb lines --

skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = e:/apachefriends/xampp/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = e:/apachefriends/xampp/mysql/
innodb_log_arch_dir = e:/apachefriends/xampp/mysql/

The last step in all of this should be comment skip-innodb, so the final listing will look like this:


#skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = e:/apachefriends/xampp/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = e:/apachefriends/xampp/mysql/
innodb_log_arch_dir = e:/apachefriends/xampp/mysql/

Thank God I managed to get this to work, as well as Python now. The steps for that is much much more clearer.

分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]