TelegramMessenger / MTProxy

4.97k stars 822 forks source link

Failed to start MTProxy #424

Open 1Bob2TM opened 3 years ago

1Bob2TM commented 3 years ago

● MTProxy.service - MTProxy Loaded: loaded (/etc/systemd/system/MTProxy.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-01-21 04:36:39 UTC; 4s ago Process: 80916 ExecStart=/root/MTProxy/objs/bin/mtproto-proxy -u nobody -p 8888 -H 808 -S 00000000000000000000000000000000 -P bc06908302fd18d18df3fd3dedf722ce --aes-pwd /root/MTProxy/objs/bin/proxy-secret /root/MTProxy/objs/bin/proxy-multi.conf -M 6 (code=exited, status=1/FAILURE) Main PID: 80916 (code=exited, status=1/FAILURE)

Jan 21 04:36:41 localhost mtproto-proxy[80916]: [pid 80916] [time 1611203799] mtproxy-0.01 compile at Jan 20 2021 10:27:36 by gcc 9.3.0 64-bit after commit dc0c7f3de40530053189c572936ae4fd1567269b[pid 80916] [time 1611203799] Jan 21 04:36:39 localhost systemd[1]: Started MTProxy. Jan 21 04:36:41 localhost mtproto-proxy[80920]: [pid 80920] [time 1611203799] SIGTERM handled immediately. Jan 21 04:36:39 localhost systemd[1]: MTProxy.service: Main process exited, code=exited, status=1/FAILURE Jan 21 04:36:39 localhost systemd[1]: MTProxy.service: Failed with result 'exit-code'. Jan 21 04:36:39 localhost systemd[1]: MTProxy.service: Scheduled restart job, restart counter is a 5. Jan 21 04:36:39 localhost systemd[1]: Stopped MTProxy. Jan 21 04:36:39 localhost systemd[1]: MTProxy.service: Start request repeated too quickly. Jan 21 04:36:39 localhost systemd[1]: MTProxy.service: Failed with result 'exit-code'. Jan 21 04:36:39 localhost systemd[1]: Failed to start MTProxy.

1Bob2TM commented 3 years ago

Building after the completion of the start-up success yesterday, but today I try to run "curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf" in the "/root/MTProxy/objs/bin/" to replace yesterday's "proxy-multi.conf", and then restart, the result is failed to start.

rz6agx commented 2 years ago

Reboot the system ;)