GithubHelp home page GithubHelp logo

Comments (5)

phlinhng avatar phlinhng commented on May 28, 2024

您好,我剛才重新試了一遍,發現復現不出來。(配置文件格式我從 0.6.0 開始就改了)在我的測試機上,用 v1.2.0 安裝 trojan-go 可以正常連接。
方便提供 systemctl status trojan-go/usr/bin/trojan-go/trojan-go -config /etc/trojan-go/config.json 的報錯信息給我參考嗎?

from v2ray-tcp-tls-web.

wangfeng35 avatar wangfeng35 commented on May 28, 2024

systemctl status trojan-go的信息:
● trojan-go.service - Trojan-Go - An unidentifiable mechanism that helps you bypass GFW
Loaded: loaded (/etc/systemd/system/trojan-go.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-06-28 12:17:23 UTC; 1s ago
Docs: https://p4gefau1t.github.io/trojan-go/
Process: 17592 ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json (code=exited,
status=203/EXEC)
Main PID: 17592 (code=exited, status=203/EXEC)
CPU: 583us

Jun 28 12:17:23 instance-3 systemd[1]: Started Trojan-Go - An unidentifiable mechanism that helps you b
ypass GFW.
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Main process exited, code=exited, sta
tus=203/EXEC
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Unit entered failed state.
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Failed with result 'exit-code'.

/usr/bin/trojan-go/trojan-go -config /etc/trojan-go/config.json 无错误 可以正常启动

from v2ray-tcp-tls-web.

wangfeng35 avatar wangfeng35 commented on May 28, 2024

systemctl status trojan-go的信息:
● trojan-go.service - Trojan-Go - An unidentifiable mechanism that helps you bypass GFW
Loaded: loaded (/etc/systemd/system/trojan-go.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-06-28 12:17:23 UTC; 1s ago
Docs: https://p4gefau1t.github.io/trojan-go/
Process: 17592 ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json (code=exited,
status=203/EXEC)
Main PID: 17592 (code=exited, status=203/EXEC)
CPU: 583us

Jun 28 12:17:23 instance-3 systemd[1]: Started Trojan-Go - An unidentifiable mechanism that helps you b
ypass GFW.
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Main process exited, code=exited, sta
tus=203/EXEC
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Unit entered failed state.
Jun 28 12:17:23 instance-3 systemd[1]: trojan-go.service: Failed with result 'exit-code'.

/usr/bin/trojan-go/trojan-go -config /etc/trojan-go/config.json 无错误 可以正常启动

ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json
bin的路径不对,应该是/usr/bin/trojan-go/trojan-go

from v2ray-tcp-tls-web.

phlinhng avatar phlinhng commented on May 28, 2024

ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json
bin的路径不对,应该是/usr/bin/trojan-go/trojan-go

感謝 @wangfeng35 大佬協助。這次故障的原因是 trojan-go v0.7.x 的 trojan-go.service 內的路徑與以往版本不同造成的,和配置文件無關,現己修復。

from v2ray-tcp-tls-web.

phlinhng avatar phlinhng commented on May 28, 2024

己修復,己經用 v1.2.0 版本安裝 trojan-go 的用戶請升級腳本後運行"更新 trojan-go"即可解決。

from v2ray-tcp-tls-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.