<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>our journaling</title>
	<atom:link href="http://www.ourjour.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ourjour.com</link>
	<description>To accumulate over a long period</description>
	<lastBuildDate>Fri, 18 May 2012 11:58:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>给suse10远程安装sysstat工具</title>
		<link>http://www.ourjour.com/177/</link>
		<comments>http://www.ourjour.com/177/#comments</comments>
		<pubDate>Fri, 18 May 2012 11:55:37 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[iostat]]></category>
		<category><![CDATA[sar]]></category>
		<category><![CDATA[sysstat]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=177</guid>
		<description><![CDATA[如果就在服务器边，又有suse10的光盘，可以用yast安装，方便快捷：
yast -i sysstat
执行以上命令后，安装完成。
2. 远程安装，先找到这几个rpm包(suse10的光盘里有)，上传到远程服务器上，一一安装：
rpm -ivh gd-2.0.32-23.2.x86_64.rpm
rpm -ivh plotutils-2.4.1-591.2.x86_64.rpm
rpm -ivh gnuplot-4.0.0-20.2.x86_64.rpm
rpm -ivh sysstat-6.0.2-16.4.x86_64.rpm
安装完毕之后就可以使用iostat、sar这些命令，监控CPU、内存使用情况，以及磁盘IO情况了。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/177/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no input file specified</title>
		<link>http://www.ourjour.com/171/</link>
		<comments>http://www.ourjour.com/171/#comments</comments>
		<pubDate>Fri, 11 May 2012 06:59:10 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/171/</guid>
		<description><![CDATA[环境：nginx + FastCGI + PHP
刚配置完的网站任何页面都显示“no input file specified”，查找代码，没有任何地方有这么一句话，不是代码的问题。
百度一下，才知道其实就是404，也就是文件不存在。因为任何对.php文件的请求，都简单地交给php-cgi去处理，但没有验证该php文件是否存在。PHP文件不存在，没办法返回普通的404错误，它返回 一个404,并带上一句”No input file specified”
检查一下nginx的配置文件，呵呵，是因为我临时起意改了网站目录名为website，而这里还是原来的“root /data/htdocs/site;”（题外话，写代码最忌临时起意改东西了，比如函数名，我最容易犯这错误，一定要注意。）
如果你的路径没错，那就有可能是文件或目录权限不够了，把目录权限给放开一下吧。
如果还是没解决，就请看下面转载网友的分析和他们遇到的情况，仔细看看，也许能找到你的问题，呵呵。
网友A：
个人的解决办法：
1. 更改php.ini
首先php.ini的配置中把
;cgi.fix_pathinfo=0   改为
cgi.fix_pathinfo=1
2. 在nginx/conf/nginx.conf   找到：
fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;  改为：
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
3. 重启nginx【killall -9 nginx   ，./sbin/nginx】
网友B：
解决NGINX PHP &#8220;No input file specified&#8221;
打开一个页面  然后在游览器下运行 结果显示 ：No input file specified.
FastCGI模式下访问php文件时，出现No input file specified.错误
查看access.log 发现是 404
原因分析：
任何对.php文件的请求，都简单地交给php-cgi去处理，但没有验证该php文件是否存在。PHP文件不存在，没办法返回普通的404错误，它返回 一个404,并带上一句”No input file [...]]]></description>
		<wfw:commentRss>http://www.ourjour.com/171/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco 3570G 升级IOS</title>
		<link>http://www.ourjour.com/162/</link>
		<comments>http://www.ourjour.com/162/#comments</comments>
		<pubDate>Fri, 11 May 2012 05:50:09 +0000</pubDate>
		<dc:creator>pest</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Switch]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[Cisco 3570G]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[rommon]]></category>
		<category><![CDATA[SET]]></category>
		<category><![CDATA[交换机]]></category>
		<category><![CDATA[升级IOS]]></category>
		<category><![CDATA[堆叠]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/162/</guid>
		<description><![CDATA[昨天对两台Cisco 3750G（堆叠）做了IOS升级，就这么点儿事儿我弄了近两个小时才搞定，有几点心得记录如下：
1.Cisco 3750不同型号的IOS是不通用的
为了节省时间，在电脑上随便找了个“C3750E-*”的IOS就给灌进去了，结果重启时两台机器都在读取完IOS后报IOS版本不支持，然后重新加载、报错&#8230; 靠！死循环了！（这会儿才想起来，当年把C3750X-*的IOS灌到3750E的机器里，结果疯狂报错，要求激活！不长记性呀！）
2.有的本本是没有Break键的
还好，原来的IOS还没删除，手工引导一下重新灌一个就得了，拔插电源，Ctrl+Break,Break? Break键呢？杯具了，我的电脑（Lenovo E40）竟然没有Break键！
3.Ctrl+Break也有进不了Rommon模式的时候（有说低端交换机不支持Ctrl+Break）
好吧，这年月本本还是不难找的，借了有Break键的电脑再来，可是三弄两弄还是中断不了，哎，瞧我这人品！
4.开机不断地按MODE键可进入SWITCH：模式
隐约记得开机时按机器前面板的Mode键可以中断启动，试试吧，还真成！（实践证明在整个启动过程中按Mode键都可以中断，至少在加载IOS时就可以）不过不是进入我熟悉的Rommon的模式，是Switch：模式。Switch就Switch吧，至少可以输入命令了，先打个“？”号看看，可用命令不多，看到有个Set，Set命令我可不熟，试着用Set boot 命令加个启动路径，竟然通过了，重启试试，哎，没用！再来，看“？”回显的第一行就是BOOT=路径，试着直接敲进去，报命令格式错误“=”号，不要“=”直接空格加路径试试，这下可以了，而且直接把原来那条替换了，呵呵，都省的删了（用Set配置的东东可以用Unset删除，这个我还真不知道怎么删除），重启机器可以了，让它启一会儿，我先下个能用的ISO去，打开手机的Wifi热点，上Cisco的网站上按设备找了下，有个3750-Ad*的，行了，就它了。等机器启得了，10M多的ISO也下完了。（安卓很强大，联通3G很给力！）
5.堆叠设备的Flash名称动态的
Copy tftp Flash，等着吧，眼瞅着要完成了，电脑屏幕一下黑了，晕！电池快没电了，插上电源再看，Copy已经中断了，重新再来吧，可算考完了，Dir Flash看一下，什么？没有！再看上面的记录，没错误，是完成了呀！再看下“3CDaemon”，也没问题！人品呀人品！没辙了再来吧！呵呵，这次有了，随手Dir Flash1看了下，嗯？怎么Flash1里也有了！呵呵，难道是刚才考没了那次考到这里了？不管了，有了最好，直接改启动路径！咦~，不对呀，DIR Flash1显示的内容却是Flash的！难道？赶紧Show Switch看看，晕呀，另一个叫Flash2了！刚才第一次升级时我看的还是一个Flash一个Flash1，当时还说Cisco怎么这么命名呀，都不统一，干吗不一个“0”，一个“1”呢，这下好了，一个“1”，一个“2”，2就2吧，给它一份不就得了。考完后又仔细看了看，应该没问题了，保存、重启！终于OK了！！
6.欲速则不达，做事情还是应该严谨的
本来20分钟可以完成的事情，为了图省事儿结果却费了大事，弄了近两个小时！不过倒也不是没有收获，长了不少见识，所谓的经验就是这么来的吧！哈哈！
7.不要直接在网页内在线写东西，至少要在提交前复制出来一份
本文就是例证（您目前看到的是在记事本重写的内容！），写完了一提交，报个错就没了&#8230;哭的心都有了！网络真是个不靠谱的东西！
另：网络上有说：“可以通过循环开机的方法进入rom状态，方法是：路由器开机后，将电源关闭，间隔5 s后重新开机，一般会进入rom状态。此方法适用于7500、12000等路由器。”
另2：网络上还有说：“将超级终端通信波特率设置为1200，数据位8，停止位1，无奇偶位。开启路由器电源，启动后关机，5s后重新开机，同时一直按住空格键12s后放开，等路由器启动完成后，重新更改超级终端为默认值，通信波特率设置为9600，数据位8，无奇偶位，停止位1。重新连接后，从终端上可以看到已经进入rom状态。注意：在波特率为1200时，终端上没有内容显示。此方法适用于1700、2500、2600、4500等系列路由器。”
另3：网络上还有说：“非windows终端（linux、mocos），可以使用Ctrl+C键中断启动进入Rommon模式”
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/162/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>主从数据库同步出错</title>
		<link>http://www.ourjour.com/155/</link>
		<comments>http://www.ourjour.com/155/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 15:26:35 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=155</guid>
		<description><![CDATA[查看状态：
mysql> show slave status\G;
如果有错误，可以设置跳过：
mysql> set global sql_slave_skip_counter = N;
启动同步：
mysql> start slave;
这样会导致主从数据不一致。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/155/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iptables的用法，用iptables封IP的方法</title>
		<link>http://www.ourjour.com/153/</link>
		<comments>http://www.ourjour.com/153/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 18:39:24 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[封IP]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=153</guid>
		<description><![CDATA[1、安装iptables防火墙
CentOS执行：yum install iptables
Debian/Ubuntu执行：apt-get install iptables
2、清除已有iptables规则
iptables -F
iptables -X
iptables -Z
3、开放指定的端口
#允许本地回环接口(即运行本机访问本机)
iptables -A INPUT -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
# 允许已建立的或相关连的通行
iptables -A INPUT -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT
#允许所有本机向外的访问
iptables -A OUTPUT -j ACCEPT
# 允许访问22端口
iptables -A INPUT -p tcp &#8211;dport 22 -j ACCEPT
#允许访问80端口
iptables -A INPUT -p tcp &#8211;dport 80 -j ACCEPT
#允许FTP服务的21和20端口
iptables -A INPUT -p tcp &#8211;dport 21 -j ACCEPT
iptables -A [...]]]></description>
		<wfw:commentRss>http://www.ourjour.com/153/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mySQL的tinytext, text, mediumtext, longtext长度限制</title>
		<link>http://www.ourjour.com/151/</link>
		<comments>http://www.ourjour.com/151/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 20:53:03 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=151</guid>
		<description><![CDATA[tinytext, tinyBlob: 最大长度255个字元(2^8-1)
text, Blob: 	最大长度65535个字元(2^16-1)
mediumtext, mediumBlob: 最大长度 16777215 个字元(2^24-1)
longtext, longBlob: 最大长度4294967295个字元 (2^32-1)
Blob (Binary large objects)储存二进位资料，且有分大小写
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/151/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>从sphinx的total、total_found到max_matches</title>
		<link>http://www.ourjour.com/145/</link>
		<comments>http://www.ourjour.com/145/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 22:55:43 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[sphinx]]></category>
		<category><![CDATA[sphinx max_matches]]></category>
		<category><![CDATA[sphinx total]]></category>
		<category><![CDATA[sphinx total_found]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=145</guid>
		<description><![CDATA[公司网站已经用sphinx很长一段时间了，一直没研究它，今天终于因为发现了一个分布问题了解了一点sphinx的基础知识。
问题是这样的，信息列表页的分页里显示有100多页，但到51页的时候不显示正确的信息列表了。按惯例，输出结果，查看可疑之处。发现返回的结果里total永远都是1000，total_found大概是分页中显示的页数和每页信息数的乘积，这说明total_found返回的是真正的信息数，但查询结果的时候又受到了total的限制。
百度sphinx total_found，得知sphinx有个max_matches是限制匹配结果数的，看了sphinx.conf，发现其中设置的max_matches远大于查询结果数，看来代码中有设置了，又查看sphinx的应用类，发现了SetLimits($start, $limit, 1000)这个东东，原来max_matches在这儿被定成了1000。
据说max_matches设定太大的话，查询速度会受影响，想了想把这个值设成变量，等于要查询的页数和每页信息数的乘积，这样就能得到正确的结果了，而且不会影响小页码的页面原查询速度。
Sphinx 0.9.9/Coreseek 3.2 参考手册
Sphinx 客户端手册
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/145/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL整型：TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT的范围</title>
		<link>http://www.ourjour.com/143/</link>
		<comments>http://www.ourjour.com/143/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 05:04:16 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/143/</guid>
		<description><![CDATA[TINYINT：有符号的范围是-128至127，无符号的范围是0到255，2的8次方
SMALLINT： 有符号的范围是-32768至32767，无符号的范围是0到65535，2的16次方
MEDIUMINT：有符号的范围是-8388608至8388607，无符号的范围是0到16777215，2的24次方
INT(integer)：有符号的范围是-2147483648至2147483647，无符号的范围是0到4294967295，2的32次方
BIGINT：有符号的范围是-9223372036854775808至9223372036854775807，无符号的范围是0到18446744073709551615，2的64次方
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/143/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于7609启动时进rommon</title>
		<link>http://www.ourjour.com/140/</link>
		<comments>http://www.ourjour.com/140/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 08:20:50 +0000</pubDate>
		<dc:creator>pest</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=140</guid>
		<description><![CDATA[故障现象：
 
设备开机不加载IOS，停止引导并进入ROMMON状态
System Bootstrap, Version 8.4(2) Release
Copyright (c) 1994-2005 by cisco Systems, Inc.
Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
rommon 1 &#62;
故障原因： 
Cisco IOS BUG。在非“-E”机框中安装两个硬件版本5.2或更高的720引擎，在线拔插引擎可能会引发Ethernet Out Band Channel (EOBC)卡死故障，进而导致引擎崩溃。故障一旦发生，就可能在此后的在线拔插操作时发生。
发生条件：

非“E”机框
两块720引擎硬件版本5.2或更高
引擎热拔插
IOS版本*12.2(18)SXF5及以下

解决方案：
升级IOS到12.2(18)SXF6或更高
故障信息：
*Jul 22 15:31:03: %EOBC-SP-0-EOBC_JAM_FATAL: Primary supervisor in slot 5 is jamming the EOBC channel.  It has been disabled.  Supervisor will return to ROMMON
参考资料：
http://www.cisco.com/en/US/ts/fn/620/fn62606.html
Here is no comments yet by [...]]]></description>
		<wfw:commentRss>http://www.ourjour.com/140/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为什么z-index不起作用？</title>
		<link>http://www.ourjour.com/136/</link>
		<comments>http://www.ourjour.com/136/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 06:39:38 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=136</guid>
		<description><![CDATA[最近做的页面，碰到两次z-index不起作用。
一次是IE6下不起作用，在网上查了一下，说是可能是这三个原因：1、父标签position属性为relative；2、问题标签无position属性（不包括static）；3、问题标签含有浮动(float)属性。
第一点，和我的相符，但我把它改成了position:absolute，问题依然存在。第二点、第三点和我的情况不符。
接着就是一层一层地追，发现把这个层（A）比较高一级的父层（B）加上&#8221;position:relative;z-index:100;&#8221;就好了，原来是B层比与相邻的层（C）低了，导致B层里的任何一层无论怎么设z-index，也高不过与B层相邻的那个C层。
第二次是任何浏览器都不起作用，还是一层一层的追，发现这一层的一个父层里有&#8221;overflow:hidden;&#8221;，这样这个父层下任何层使用z-index都会被与这个父层相邻的层遮住。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/136/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

