头段时候在加拿大的一台server上配置ss5, 自己要用嘛, 都知道现在封了N多网站~~
后来出现了服务器的上的mysql挂掉, 我重启动了几次都失败, 看了下mysql的err log, 发现类似一下的错误:
/usr/sbin/mysqld: Error writing file
Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.
我修改了一下/etc/init.d/ss5
start)
# Start daemon.
echo -n "Starting ss5... "
if [ $OS = "Linux" ]; then
daemon /usr/sbin/ss5 -m -t $SS5_OPTS
touch /var/lock/subsys/ss5
if [ $OS = "SunOS" ]; then
/usr/sbin/ss5 -m -t
touch /var/lock/subsys/ss5
else
/usr/local/sbin/ss5 -m -t
fi
echo "done"
fi
;;