Results 1 to 3 of 3

Thread: ProtonVPN failing with new protonvpn.service

  1. #1
    Join Date
    Jan 2024
    Beans
    1

    ProtonVPN failing with new protonvpn.service

    Hi,
    I am running Ubuntu 22:04
    Bodhi Distrubution
    Protonvpn

    I am trying to start ProtonVPN at startup .
    I have created /etc/systemd/system/protonvpn.service

    which protonvpn-app
    /usr/bin/protonvpn-app

    users
    glb


    # Buttitta added this to start protonvpn at startup
    # 2/17/2024
    # to start it at boot
    #run below to activate
    #sudo systemctl daemon-reload
    #sudo systemctl enable protonvpn
    #sudo systemctl start protonvpn
    #
    #
    [Unit]
    Description=Proton VPN
    Wants=network-online.target
    [Service]
    Type=forking
    ExecStart=/usr/bin/protonvpn-app c --cc ch
    Environment=PVPN_WAIT=300
    Environment=PVPN_DEBUG=1
    Environment=SUDO_USER=<glb>
    [Install]
    WantedBy=multi-user.target

    When I run:
    sudo systemctl start protonvpn.service
    Job for protonvpn.service failed because the control process exited with error code.
    See "systemctl status protonvpn.service" and "journalctl -xeu protonvpn.service" for details.

    systemctl status protonvpn.service
    × protonvpn.service - Proton VPN
    Loaded: loaded (/etc/systemd/system/protonvpn.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2024-02-17 13:50:59 AKST; 1min 0s ago
    Process: 6038 ExecStart=/usr/bin/protonvpn-app c --cc ch (code=exited, status=1/FAILURE)
    CPU: 123ms

    Feb 17 13:50:59 Mario systemd[1]: Starting Proton VPN...
    Feb 17 13:50:59 Mario protonvpn-app[6038]: 2024-02-17T22:50:59.474060 | proton.vpn.connection.vpnconnector:168 | INFO | CONN:STATE_CHANGED | Disconnected (initial state)
    Feb 17 13:50:59 Mario protonvpn-app[6038]: 2024-02-17T22:50:59.474306 | proton.vpn.app.gtk.app:57 | INFO | APPROCESS_START | self=<app.App object at 0x7fe975f0cb40 (proton+vpn+app+gtk+app+>
    Feb 17 13:50:59 Mario protonvpn-app[6038]: Unknown option --cc
    Feb 17 13:50:59 Mario systemd[1]: protonvpn.service: Control process exited, code=exited, status=1/FAILURE
    Feb 17 13:50:59 Mario systemd[1]: protonvpn.service: Failed with result 'exit-code'.
    Feb 17 13:50:59 Mario systemd[1]: Failed to start Proton VPN.

    and

    b 17 13:36:29 Mario systemd[1]: protonvpn.service: Control process exited, code=exited, status=1/FAILURE
    ░░ Subject: Unit process exited
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ An ExecStart= process belonging to unit protonvpn.service has exited.
    ░░
    ░░ The process' exit code is 'exited' and its exit status is 1.
    Feb 17 13:36:29 Mario systemd[1]: protonvpn.service: Failed with result 'exit-code'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ The unit protonvpn.service has entered the 'failed' state with result 'exit-code'.
    Feb 17 13:36:29 Mario systemd[1]: Failed to start Proton VPN.
    ░░ Subject: A start job for unit protonvpn.service has failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ A start job for unit protonvpn.service has finished with a failure.
    ░░
    ░░ The job identifier is 2253 and the job result is failed.
    Feb 17 13:50:59 Mario systemd[1]: Starting Proton VPN...
    ░░ Subject: A start job for unit protonvpn.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ A start job for unit protonvpn.service has begun execution.
    ░░
    ░░ The job identifier is 2682.
    Feb 17 13:50:59 Mario protonvpn-app[6038]: 2024-02-17T22:50:59.474060 | proton.vpn.connection.vpnconnector:168 | INFO | CONN:STATE_CHANGED | Disconnected (initial state)
    Feb 17 13:50:59 Mario protonvpn-app[6038]: 2024-02-17T22:50:59.474306 | proton.vpn.app.gtk.app:57 | INFO | APPROCESS_START | self=<app.App object at 0x7fe975f0cb40 (proton+vpn+app+gtk+app+>
    Feb 17 13:50:59 Mario protonvpn-app[6038]: Unknown option --cc
    Feb 17 13:50:59 Mario systemd[1]: protonvpn.service: Control process exited, code=exited, status=1/FAILURE
    ░░ Subject: Unit process exited
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ An ExecStart= process belonging to unit protonvpn.service has exited.
    ░░
    ░░ The process' exit code is 'exited' and its exit status is 1.
    Feb 17 13:50:59 Mario systemd[1]: protonvpn.service: Failed with result 'exit-code'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ The unit protonvpn.service has entered the 'failed' state with result 'exit-code'.
    Feb 17 13:50:59 Mario systemd[1]: Failed to start Proton VPN.
    ░░ Subject: A start job for unit protonvpn.service has failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ A start job for unit protonvpn.service has finished with a failure.
    ░░
    ░░ The job identifier is 2682 and the job result is failed.


    I'm pretty new at this having given up on windows.
    Any Ideas why this is happening?
    Thanks

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: ProtonVPN failing with new protonvpn.service

    Thread moved to the "Ubuntu/Debian BASED" forum.

  3. #3
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: ProtonVPN failing with new protonvpn.service

    Maybe remove the auto start stuff you added, also show this:
    Code:
     protonvpn-app status
    Please use Code tags for terminal returns ie:
    [Code] your copied paste here[/Code]
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •