跳至主要内容

博文

目前显示的是 十一月, 2011的博文

Squid "SSL_CRTD" 错误(freebsd)

今天为了尝试做一个代理,目的是为了手机和ipad,但是在启动squid时有错误:  /var/squid/lib/ssl_db: (2) No such file or directory 2011/11/11 11:22:32| helperOpenServers: Starting 5/5 'ssl_crtd' processes 2011/11/11 11:22:32| Accepting  HTTP connections at [::]:139, FD 22. 2011/11/11 11:22:32| HTCP Disabled. 2011/11/11 11:22:32| Ready to serve requests. 2011/11/11 11:22:32| WARNING: ssl_crtd #1 (FD 12) exited 2011/11/11 11:22:32| WARNING: ssl_crtd #2 (FD 14) exited 2011/11/11 11:22:32| WARNING: ssl_crtd #3 (FD 16) exited 2011/11/11 11:22:32| WARNING: ssl_crtd #4 (FD 18) exited 2011/11/11 11:22:32| Too few ssl_crtd processes are running 2011/11/11 11:22:32| storeDirWriteCleanLogs: Starting... 2011/11/11 11:22:32|   Finished.  Wrote 0 entries. 2011/11/11 11:22:32|   Took 0.00 seconds (  0.00 entries/sec). FATAL: The ssl_crtd helpers are crashing too rapidly, need help! 解决办法: 1 创建目录 lib mkdir /var/squid/lib chown squid:squid /var/squid/lib 2 创建 ssl_db /usr/local/libexec/squid/ssl_crtd -c -s /var/squid/lib/ss...

HowTo resolve MPD5 error On FreeBSD

这些天,在FreeBSD上做PPTP Server,可是MPD5 一直有问题: can't create tee node at ".:"->"l1": No such file or directory Nov  7 07:20:00 mpd: [VPNLink-1] PPTP: attaching to peer's outgoing call Nov  7 07:20:00  mpd: [VPNLink-1] PPTP: can't attach pptpgre node: No such file or directory Nov  7 07:20:00  mpd: [VPNLink-1] PPTP call cancelled in state CONNECTING 查遍了互联网,连老外也没想出解决办法,这真是人间悲剧。不过没事,咱自己来解决。 首先,注意到出错提示中有 "Tee Node"这个字样,这也为解决问题提供了方法,查问了Netgrath 资料,知道 ng_tee 这个device,猜测应该是少了这个东西。 于是在我的另一台FreeBSD上使用: kldload ng_tee  kldload ng_tcpmss 问题得到解决。 不过,我的VPS只有2G的硬盘,因此不得不将上述模块编译进内核,所以需要在kernel里加入 options         NETGRAPH                #netgraph(4) system options         NETGRAPH_ASYNC options         NETGRAPH_BPF options         NETGRAPH_BRIDGE options         NETGRAPH_CISCO options         NETGRAPH_ECHO options         NETGRAPH_ETHER options         NETGRAPH_FRAME_RELAY options         NETGRAPH_HOLE options         NETGRAPH_IFACE options         NETGRA...