MortezaBashsiz / CFAnsible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no v2ray in netstat

amofogh opened this issue · comments

سلام
من یه یوزر ایجاد کردم ولی تو netstat -ltnp
v2ray
وجود نداره ؟

netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN 987/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7422/nginx: master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 847/sshd: /usr/sbin
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 7422/nginx: master
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 738/redis-server 12
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 986/postgres
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 987/mysqld
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 686/systemd-resolve
tcp6 0 0 :::22 :::* LISTEN 847/sshd: /usr/sbin
tcp6 0 0 ::1:6379 :::* LISTEN 738/redis-server 12

از v2ray status گرفتم status failed داده

systemctl status v2ray
× v2ray.service - V2Ray Service
Loaded: loaded (/lib/systemd/system/v2ray.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-04-23 15:39:10 UTC; 959ms ago
Docs: https://www.v2ray.com/
https://www.v2fly.org/
Process: 7974 ExecStart=/usr/bin/v2ray -config /etc/v2ray/config.json (code=exited, status=2)
Main PID: 7974 (code=exited, status=2)
CPU: 82ms
Apr 23 15:39:10 vpn1 systemd[1]: v2ray.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 23 15:39:10 vpn1 systemd[1]: v2ray.service: Failed with result 'exit-code'.
Apr 23 15:39:10 vpn1 systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Apr 23 15:39:10 vpn1 systemd[1]: Stopped V2Ray Service.
Apr 23 15:39:10 vpn1 systemd[1]: v2ray.service: Start request repeated too quickly.
Apr 23 15:39:10 vpn1 systemd[1]: v2ray.service: Failed with result 'exit-code'.
Apr 23 15:39:10 vpn1 systemd[1]: Failed to start V2Ray Service.

cat /etc/v2ray/config.json
{
"inbounds": [{
"port": 10086,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "62267942-9429-4c1e-bb23-e5258e0fcca5",
"level": 1,
"alterId": 64
}
]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}]
}