Nov 7
帮一朋友配置一下windows下的php环境。其系统是64位
IIS配置PHP出现1%不是有效WIN32应用程序
%1 is not a valid Win32 application


PHP程序在64位系统下跑时,需要执行
cscript "c:\InetPub\AdminScripts\adsutil.vbs" set w3svc/AppPools/Enable32bitAppOnWin64 1

查看iis运行状态是否支持32位程序。

cscript "c:\InetPub\AdminScripts\adsutil.vbs" get w3svc/AppPools/Enable32bitAppOnWin64

操作后又出现Service Unavailable 同时应用程序池挂掉。应该是其有调用了64位的isapi 在网站属性中,检查是否有其他的isapi去除即可。

Event Type:  Error
Event Source:  W3SVC-WP
Event Category:  None
Event ID:  2274
Date:    2011-11-7
Time:    9:08:45
User:    N/A
Computer:  407650A
Description:
ISAPI Filter 'c:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\\aspnet_filter.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: c1 00 00 00               Á...  
Oct 9

发现使用nfs的服务器。出现如下错误信息。错误信息每30秒出现一次
解决办法:
执行:/sbin/rpc.statd

Oct  9 21:28:05 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:28:05 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:28:35 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:28:35 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:29:05 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:29:05 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:29:35 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:29:35 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:30:05 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:30:05 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:30:35 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:30:35 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:31:05 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:31:05 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:38:36 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:38:36 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:39:06 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:39:06 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:39:36 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:39:36 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:40:06 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:40:06 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:40:36 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:40:36 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:41:06 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:41:06 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:46:16 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:46:27 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:46:46 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:47:09 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:47:16 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:47:16 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:47:46 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:47:46 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:48:16 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:48:16 bbs kernel: lockd: cannot monitor 192.168.0.251
Oct  9 21:48:46 bbs kernel: statd: server localhost not responding, timed out
Oct  9 21:48:46 bbs kernel: lockd: cannot monitor 192.168.0.251
Feb 21
很久很久没有整理过网站了。
近期清理了近200余个域名,清除了30余个备案号。重新搭起做网站运营相关的信息与资料。
发现有几个特性,稍记录如下:
1.本博客中,评论达1.5万多。等审核。全部清空。清空后不到半小时的时间,又新增了5篇待审核的评论。可见评论机器人的可怕。
2.本博客中的留言,达200余条,95%以上的是垃圾留言,其他的申请友链的留言,也是全部清理。
3.检查一年前的链接。初步估计达80%的友情链接中的网站内容做了变更。几乎所有的网站的pr值都下降了。
4.保留本博客的链接的,只有3个。
5.清理所有的无效友情链接。
6.发现统计代码丢失,重新添加了统计代码。
7.添加了一个PR3的链接过来。
8.新增了一个友情链接。
Jan 23
单网卡开启vpn使用的设定方式。

针对windows2003 实现vpn拨号上网。

优点:实现固定ip上网。方便有针对ip限制的网络环境中。

开启VPN需要的服务
------------------服务器----------------
服务里面:
  windows自带防火墙 (windows firewall/internet connection sharing(ICS))要停止(或允许1723端口)
  Workstation 服务 必需开启
  远程注册表服务(remote Registry) 必需开启
  server服务(Server)必需开启
  router路由服务(Routing and Remote Access)必需开启
----------------------------------------

1.然后 开始--设置--控制面版--管理工具--路由和远程访问
2.在路由和远程访问(本地) 右键选配置并启用路由和远程访问
3.下一步 选 自定义配置
[选这个可以使用单网卡的情况,默认单网卡是不给开VPN服务的]
4.再勾选 VPN访问 和 NAT/基本防火墙
5.下一步 完成 是
6.右击路由和远程访问(本地)属性 IP选项卡 默认是选择动态主机配置协议(DHCP)由服务器自动分配IP
也可以选择选静态地址池,随便添个内网IP范围 例如:起始IP地址:192.168.8.2 结束IP地址192.168.8.254
确定保存!
7.下一步找到IP路由选择 → NAT/基本防火墙 右键 选择第一个 新增接口 在这里选本地连接 公用接口连接到Internet 在此接口上启用NAT 前勾上
确定保存!退出
8.在到计算机管理→本地用户和组--用户 选一个要拨入的用户 点 右键 属性 拨入选项卡 选允许拨入 确定
这样VPN就基本设置就完成了。

分页: 2/35 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]