[GH-ISSUE #9] Remote process on server crashed #1

Closed
opened 2026-10-13 20:10:37 +00:00 by bsakaguchi · 8 comments
Owner

Originally created by @ghost on GitHub (Mar 12, 2021).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/9

Hi, i try to install on clean ubuntu server 18.04, after first login on this server i receive this error
image
maybe somewhere i can find log about what process crashed?
p.s, i connecting to this server over Zerotier, i think, i need direct (white IP), because after enabling VPN, Amnezia vpn lost connection to my server over Zerotier

Originally created by @ghost on GitHub (Mar 12, 2021). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/9 Hi, i try to install on clean ubuntu server 18.04, after first login on this server i receive this error ![image](https://user-images.githubusercontent.com/20506433/110943655-2794a580-8344-11eb-89e3-637936f0bc67.png) maybe somewhere i can find log about what process crashed? p.s, i connecting to this server over Zerotier, i think, i need direct (white IP), because after enabling VPN, Amnezia vpn lost connection to my server over Zerotier
Author
Owner

@timofeika commented on GitHub (Mar 12, 2021):

i have same trouble, with same error

<!-- gh-comment-id:797729275 --> @timofeika commented on GitHub (Mar 12, 2021): i have same trouble, with same error
Author
Owner

@pokamest commented on GitHub (Mar 14, 2021):

you can open folder with log files by pressing L button on Amnezia client window, or open folder in C:\Users%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log

Amnezia service log is in C:\ProgramData\AmneziaVPN\log

<!-- gh-comment-id:798878780 --> @pokamest commented on GitHub (Mar 14, 2021): you can open folder with log files by pressing L button on Amnezia client window, or open folder in C:\Users\%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log Amnezia service log is in C:\ProgramData\AmneziaVPN\log
Author
Owner

@ghost commented on GitHub (Mar 25, 2021):

image

<!-- gh-comment-id:806803116 --> @ghost commented on GitHub (Mar 25, 2021): ![image](https://user-images.githubusercontent.com/20506433/112484855-fcb64280-8d82-11eb-8d6a-26e33270940a.png)
Author
Owner

@pokamest commented on GitHub (Apr 10, 2021):

Please provide full logs for this issue -
C:\Users%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log
and
C:\ProgramData\AmneziaVPN\log

<!-- gh-comment-id:817214807 --> @pokamest commented on GitHub (Apr 10, 2021): Please provide full logs for this issue - C:\Users\%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log and C:\ProgramData\AmneziaVPN\log
Author
Owner

@Cassadan commented on GitHub (Apr 14, 2021):

Same trouble

2021-04-14 17:38:20 info Started AmneziaVPN version 1.0.0.0
2021-04-14 17:38:20 info Windows 10 Version 2004 (x86_64)
2021-04-14 17:38:20 debug MainWindow::onConnectionStateChanged "Disconnected"
2021-04-14 17:38:20 debug Default config: C:/Users/Nexes/AppData/Roaming/AmneziaVPN.ORG/AmneziaVPN/config/AmneziaVPN.ovpn
2021-04-14 17:38:21 debug connectToVpn, CustomRouting is false
2021-04-14 17:38:21 debug Connect to VPN
2021-04-14 17:38:21 debug MainWindow::onConnectionStateChanged "Connecting..."
2021-04-14 17:38:21 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa"
2021-04-14 17:38:21 debug EasyRsa tmp path C:/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf
2021-04-14 17:38:21 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" init-pki"
2021-04-14 17:38:22 debug Init PKI
Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars

2021-04-14 17:38:22 debug Init PKI
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki

2021-04-14 17:38:22 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa"
2021-04-14 17:38:22 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" gen-req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd nopass"
2021-04-14 17:38:22 debug
Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars

2021-04-14 17:38:22 debug Using SSL: openssl OpenSSL 1.1.1f 31 Mar 2020

Common Name (eg: your user, host, or server name) [Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd]:
2021-04-14 17:38:23 debug
Keypair and certificate request completed. Your files are:
req: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/reqs/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req
key: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/private/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.key

2021-04-14 17:38:23 debug Server connected by ssh
2021-04-14 17:38:24 debug sudo: no tty present and no askpass program specified

2021-04-14 17:38:24 debug 2
2021-04-14 17:38:24 debug Run script
2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "cd /opt/amneziavpn_data && easyrsa import-req /opt/amneziavpn_data/clients/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd"
2021-04-14 17:38:24 debug stderr sudo: no tty present and no askpass program specified

2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "export EASYRSA_BATCH=1; cd /opt/amneziavpn_data && easyrsa sign-req client Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd"
2021-04-14 17:38:25 debug stderr sudo: no tty present and no askpass program specified

2021-04-14 17:38:25 debug ServerController::runScript finished

2021-04-14 17:38:25 debug Copy file from container
sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/ca.crt'"
2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started
2021-04-14 17:38:25 debug Copy file from container
sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/issued/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.crt'"
2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started
2021-04-14 17:38:25 debug Copy file from container
sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/ta.key'"
2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started
2021-04-14 17:38:25 debug Run script
2021-04-14 17:38:25 debug EXEC sudo sysctl -w net.ipv4.ip_forward=1
2021-04-14 17:38:25 debug stderr sudo:
2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified

2021-04-14 17:38:25 debug EXEC sudo iptables -P FORWARD ACCEPT
2021-04-14 17:38:25 debug stderr sudo:
2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified

2021-04-14 17:38:25 debug EXEC sudo iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
2021-04-14 17:38:25 debug stderr sudo:
2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified

2021-04-14 17:38:25 debug ServerController::runScript finished

2021-04-14 17:38:25 debug MainWindow::onConnectionStateChanged "Error"

<!-- gh-comment-id:819574082 --> @Cassadan commented on GitHub (Apr 14, 2021): Same trouble 2021-04-14 17:38:20 info Started AmneziaVPN version 1.0.0.0 2021-04-14 17:38:20 info Windows 10 Version 2004 (x86_64) 2021-04-14 17:38:20 debug MainWindow::onConnectionStateChanged "Disconnected" 2021-04-14 17:38:20 debug Default config: C:/Users/Nexes/AppData/Roaming/AmneziaVPN.ORG/AmneziaVPN/config/AmneziaVPN.ovpn 2021-04-14 17:38:21 debug connectToVpn, CustomRouting is false 2021-04-14 17:38:21 debug Connect to VPN 2021-04-14 17:38:21 debug MainWindow::onConnectionStateChanged "Connecting..." 2021-04-14 17:38:21 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" 2021-04-14 17:38:21 debug EasyRsa tmp path C:/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf 2021-04-14 17:38:21 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" init-pki" 2021-04-14 17:38:22 debug Init PKI Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars 2021-04-14 17:38:22 debug Init PKI init-pki complete; you may now create a CA or requests. Your newly created PKI dir is: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki 2021-04-14 17:38:22 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" 2021-04-14 17:38:22 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" gen-req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd nopass" 2021-04-14 17:38:22 debug Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars 2021-04-14 17:38:22 debug Using SSL: openssl OpenSSL 1.1.1f 31 Mar 2020 Common Name (eg: your user, host, or server name) [Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd]: 2021-04-14 17:38:23 debug Keypair and certificate request completed. Your files are: req: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/reqs/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req key: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/private/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.key 2021-04-14 17:38:23 debug Server connected by ssh 2021-04-14 17:38:24 debug sudo: no tty present and no askpass program specified 2021-04-14 17:38:24 debug 2 2021-04-14 17:38:24 debug Run script 2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "cd /opt/amneziavpn_data && easyrsa import-req /opt/amneziavpn_data/clients/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd" 2021-04-14 17:38:24 debug stderr sudo: no tty present and no askpass program specified 2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "export EASYRSA_BATCH=1; cd /opt/amneziavpn_data && easyrsa sign-req client Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd" 2021-04-14 17:38:25 debug stderr sudo: no tty present and no askpass program specified 2021-04-14 17:38:25 debug ServerController::runScript finished 2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/ca.crt'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/issued/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.crt'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/ta.key'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Run script 2021-04-14 17:38:25 debug EXEC sudo sysctl -w net.ipv4.ip_forward=1 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified 2021-04-14 17:38:25 debug EXEC sudo iptables -P FORWARD ACCEPT 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified 2021-04-14 17:38:25 debug EXEC sudo iptables -A INPUT -p icmp --icmp-type echo-request -j DROP 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified 2021-04-14 17:38:25 debug ServerController::runScript finished 2021-04-14 17:38:25 debug MainWindow::onConnectionStateChanged "Error"
Author
Owner

@pokamest commented on GitHub (Apr 14, 2021):

What is server OS, VPS hosting?
I found error "no tty present and no askpass program specified" - something wrong with sudo.

<!-- gh-comment-id:819722856 --> @pokamest commented on GitHub (Apr 14, 2021): What is server OS, VPS hosting? I found error "no tty present and no askpass program specified" - something wrong with sudo.
Author
Owner

@Cassadan commented on GitHub (Apr 21, 2021):

What is server OS, VPS hosting?
I found error "no tty present and no askpass program specified" - something wrong with sudo.

Self-hosted server, Ubuntu 18.04, created on proxmox, public IP.
For test in file etc/sudoers we used "user ALL=(ALL) NOPASSWD:ALL" when "user" is login for Amnesia client but same trouble

<!-- gh-comment-id:824075422 --> @Cassadan commented on GitHub (Apr 21, 2021): > What is server OS, VPS hosting? > I found error "no tty present and no askpass program specified" - something wrong with sudo. Self-hosted server, Ubuntu 18.04, created on proxmox, public IP. For test in file etc/sudoers we used "user ALL=(ALL) NOPASSWD:ALL" when "user" is login for Amnesia client but same trouble
Author
Owner

@pokamest commented on GitHub (May 19, 2021):

Amnezia can't perform such changes on the server. Please ask https://t.me/amnezia_vpn (ru) or https://t.me/amnezia_vpn_en for support if you need help with setting your server.

<!-- gh-comment-id:844095459 --> @pokamest commented on GitHub (May 19, 2021): Amnezia can't perform such changes on the server. Please ask https://t.me/amnezia_vpn (ru) or https://t.me/amnezia_vpn_en for support if you need help with setting your server.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1
No description provided.