houzi- / tomato-shadowsocks

Automatic deployment ShadowSocks script on tomato
GNU General Public License v3.0
42 stars 14 forks source link

6.2-stable mipsel ss-redir failed. #16

Closed RockZhou8 closed 8 years ago

RockZhou8 commented 8 years ago

Your Choice: 3 Set programs_3... INFO: Configuring dnsmasq_custom... sed: /mnt/sda1/shadowsocks/dnsmasq.d/accelerated-domains.china.conf: No such file or directory Updating chnroutes... done. . Done. Starting ss-redir... failed. Starting chinadns... done. Starting dnscrypt-proxy... done. Starting cron... done. Loading ipset module... done. /mnt/sda1/shadowsocks/shadowsocks: line 1433: /opt/etc/init.d/S99ss-rules: Permission denied Loading iptables rules... done. INFO: Configuring ntp server... INFO: Configuring turn startup items and guard the capital... Commit... done. Starting dnscrypt-proxy... already running. You want to backup entware?(y/N) n PASS. Set successfully, please reboot the router. Set successfully, please reboot the router. Found a Bug? Plea se report at https://github.com/houzi-/tomato-shadowsocks/issues.

RockZhou8 commented 8 years ago

手动shadowsocks -S

Done. Starting ss-redir... failed. Starting chinadns... already running. Starting dnscrypt-proxy... done. Starting cron... already running.

houzi- commented 8 years ago

单独只执行看看错误

ss-redir -c /opt/etc/shadowsocks.json -v
houzi- commented 8 years ago

实在无法部署成功,联系我的邮箱,我远程看看什么问题!

ghost commented 8 years ago

我的R6300v2 部署后也是ss-redir failed.

root@unknown:/tmp/home/root# shadowsocks -S ..... Done. Starting ss-redir... failed. Starting chinadns... already running. Starting dnscrypt-proxy... done. Starting cron... already running.

houzi- commented 8 years ago

单独执行这个

ss-redir -c /opt/etc/shadowsocks.json -v

然后截取错误的信息给我!

houzi- commented 8 years ago

必须使用shadowsocks-libev提供中提供的最新的ss-rules和ss-watchdog

ghost commented 8 years ago

单独执行这个

ss-redir -c /opt/etc/shadowsocks.json -v 然后截取错误的信息给我! \

root@unknown:/tmp/home/root# ss-redir -c /opt/etc/shadowsocks.json -v -sh: ss-redir: Permission denied

ghost commented 8 years ago

好像是权限禁止了
楼主最新的5月22日的armv7_shadowsocks 无法执行,提示找不到文件,我用了5月18日的shadowsocks就继续下去了

houzi- commented 8 years ago

@wwwxxxz @RockZhou8 赋予可执行的权限就OK了!

houzi- commented 8 years ago

@wwwxxxz 请使用今天更新的armv7的脚本和shadowsocks-libev吧!