Skip to content

Instantly share code, notes, and snippets.

@shanku9
Created March 16, 2021 21:07
Show Gist options
  • Save shanku9/42a333f80ac99b320ca627cd852a8123 to your computer and use it in GitHub Desktop.
Save shanku9/42a333f80ac99b320ca627cd852a8123 to your computer and use it in GitHub Desktop.
14 install logs
root@ip-192-168-1-86:/home/magma# journalctl -fu agw_installation
-- Logs begin at Tue 2021-03-16 21:04:11 UTC. --
^C
root@ip-192-168-1-86:/home/magma# bash agw_install.sh
Checking if the script has been executed by root user
Checking if Debian is installed
Making sure magma user is sudoers
Need to check if both interfaces are named eth0 and eth1
Interfaces name are correct, let's check if network and DNS are up
PING google.com (172.217.10.206) from 192.168.1.93 eth0: 56(84) bytes of data.
64 bytes from atl14s76-in-f14.1e100.net (172.217.10.206): icmp_seq=1 ttl=113 time=80.7 ms
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 80.759/80.759/80.759/0.000 ms
Checking if the right kernel version is installed (4.9.0-9-amd64)
Making sure eth0 is connected to internet
Checking if magma has been installed
Magma not installed, processing installation
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Reading package lists... Done
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
agw_install.sh: line 151: pip3: command not found
fatal: destination path '/home/magma/magma' already exists and is not an empty directory.
M lte/gateway/deploy/agw_hosts
Already on 'v1.4'
Your branch is up-to-date with 'origin/v1.4'.
Generating localhost hostfile for Ansible
Triggering ovs_deploy playbook
agw_install.sh: line 168: [: ==: unary operator expected
-su: ansible-playbook: command not found
Deleting boot script if it exists
AGW installation is done, make sure all services above are running correctly.. rebooting
root@ip-192-168-1-86:/home/magma# Connection to 192.168.1.93 closed by remote host.
Connection to 192.168.1.93 closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment