Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May 2020 fails on Debain 9 (AWS LightSail) #19

Open
hdavy2002 opened this issue May 29, 2020 · 2 comments
Open

May 2020 fails on Debain 9 (AWS LightSail) #19

hdavy2002 opened this issue May 29, 2020 · 2 comments

Comments

@hdavy2002
Copy link

admin@ip-172-26-13-62:~$ ./vector_install.sh
Would you like to have the installation also create an NGinX Rerverse Proxy with LetsEncrypt Certificates? (Y/N)
y

Please enter your domain name for this server:


  •                            *
    
  • First we clean up a bit *
  •                            *
    

**** Kill the node server


**** Install and set some settings
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Install OpenResolv
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Load the Modules for WireGuard
--> modprobe wireguard
./vector_install.sh: line 51: modprobe: command not found
--> modprobe iptable_nat
./vector_install.sh: line 54: modprobe: command not found
--> modprobe ip6table_nat
./vector_install.sh: line 57: modprobe: command not found

Enable IP Packet Forwarding
./vector_install.sh: line 65: sysctl: command not found
./vector_install.sh: line 66: sysctl: command not found


  •                                 *
    
  • WireGuard is necessary for Vector *
  •       to work for you.          *
    
  •                                 *
    

**** Ok, we will install wireguard

sudo: add-apt-repository: command not found
Ign:1 http://cdn-aws.deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-aws.deb.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wireguard


  •                                 *
    
  • NGinX is used as a reverse proxy *
  • for the Vector install. *
  •                                 *
    

**** Ok, we will install NGinX

Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://cdn-aws.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-aws.deb.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.10.3-1+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: active (running) since Fri 2020-05-29 16:11:16 UTC; 35s ago
Docs: man:nginx(8)
Process: 1623 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code
Process: 1621 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process
Main PID: 1626 (nginx)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/nginx.service
├─1626 nginx: master process /usr/sbin/nginx -g daemon on; master_pro
└─1627 nginx: worker process

May 29 16:11:16 ip-172-26-13-62 systemd[1]: Starting A high performance web serv
May 29 16:11:16 ip-172-26-13-62 systemd[1]: nginx.service: Failed to read PID fr
May 29 16:11:16 ip-172-26-13-62 systemd[1]: Started A high performance web serve
lines 1-15/15 (END)...skipping...
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-05-29 16:11:16 UTC; 35s ago
Docs: man:nginx(8)
Process: 1623 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1621 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1626 (nginx)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/nginx.service
├─1626 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─1627 nginx: worker process

May 29 16:11:16 ip-172-26-13-62 systemd[1]: Starting A high performance web server and a reverse proxy server...
May 29 16:11:16 ip-172-26-13-62 systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
May 29 16:11:16 ip-172-26-13-62 systemd[1]: Started A high performance web server and a reverse proxy server.

@MDHMatt
Copy link
Contributor

MDHMatt commented Jun 9, 2020

does your account have root permissions? looks like not.

@hdavy2002
Copy link
Author

Will try today. I have a dedicated server now. Will use root account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants