Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Issues with installing LMS #36

Closed
mikeoke2k4 opened this issue Sep 20, 2019 · 8 comments
Closed

Issues with installing LMS #36

mikeoke2k4 opened this issue Sep 20, 2019 · 8 comments

Comments

@mikeoke2k4
Copy link

Docker: Docker version 19.03.2, build 6a30dfc
Linux: PRETTY_NAME="Ubuntu 18.04.3 LTS"
Logstash config: 0.2
Nginx config: 0.1
Having issues when trying to install LME:

supp-moke@vmgubappe94:~/lme/Chapter 3 Files$ sudo ./deploy.sh install
Reading package lists... Done
Building dependency tree
Reading state information... Done
net-tools is already the newest version (1.60+git20161116.90da8a0-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Enter the IP that winlogbeat will use to communicate with this box: 10.10.245.4210.10.245.42
Enter the DNS name that winlogbeat uses to communicate with this box: cmgubappe94
Configuring winlogbeat config and certificates to use 10.10.245.4210.10.245.42 as the IP and cmgubappe94 as the DNS
This OS was detected as: ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
unattended-upgrades is already the newest version (1.1ubuntu1.18.04.11).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
grep: grep: No such file or directory
grep: APT::Periodic::Update-Package-Lists "1";: No such file or directory
grep: grep: No such file or directory
grep: APT::Periodic::Unattended-Upgrade "1";: No such file or directory
grep: grep: No such file or directory
grep: APT::Periodic::Download-Upgradeable-Packages "1";: No such file or directory
This script will use self signed certificates for communication and encryption, Do you want to continue with self signed certificates? ([y]es/[n]o): yy
Not a valid option
Generating kibana password
2avyqbgum7jo1rb8j18da0i0i
yufu21vyoo12q0evm96am68jx

1y2qzfccr8d9l664idqgjdqmb
wqiyknua9niqhrmva45v2ppsq
qgmuhvmgdzbwyjviu9e3v7go4
vm.max_map_count = 262144
We think your main disk is 16G on /dev/mapper/ubuntu--vg-ubuntu--lv
We are assigning 12 G for log storage
Sending build context to Docker daemon 4.608kB
Step 1/5 : FROM alpine:3.7
Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Creating network lme_esnet
service nginx: secret not found: nginx.crt
nothing found in stack: lme
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Waiting for 1 minute before configuring elasticsearch
must specify at least one container source
Error: No such container: bash
Error: No such container: bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
zip is already the newest version (3.0-11build1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mkdir: cannot create directory ‘/tmp/lme’: File exists
cp: cannot stat '/home/cc.cornwallonline.net/supp-moke/lme/Chapter 3 Files/certs/wlbclient.crt': No such file or directory
cp: cannot stat '/home/cc.cornwallonline.net/supp-moke/lme/Chapter 3 Files/certs/wlbclient.key': No such file or directory
cp: cannot stat '/home/cc.cornwallonline.net/supp-moke/lme/Chapter 3 Files/certs/root-ca.crt': No such file or directory
updating: tmp/lme/ (stored 0%)
updating: tmp/lme/wlbclient.key (deflated 24%)
updating: tmp/lme/winlogbeat.yml (deflated 42%)
updating: tmp/lme/wlbclient.crt (deflated 25%)
updating: tmp/lme/root-ca.crt (deflated 25%)
chown: invalid user: ‘ubuntu:ubuntu’
####################################################################

KIBANA Credentials are (these will not be accesible again!!!!)

User: admin

@duncan-ncc
Copy link
Contributor

Hi,

It looks like there is a number of issues here

  1. Enter the IP that winlogbeat will use to communicate with this box: 10.10.245.4210.10.245.42
    You appear to have entered the IP twice (the first one was probably pre populated for you)
  2. Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
    Do you have a proxy that is preventing connection to the docker.io site?

@mikeoke2k4
Copy link
Author

HI Duncan,

Wow! Thank you for a VERY prompt reply!
There is a proxy yes, My network team had assured me they had opened up everything... I'll go back to them and see what's what.

I am assuming my next step is to fix the proxy issue, then run deploy.sh uninstall followed by deploy.sh install?

@duncan-ncc
Copy link
Contributor

Hi,

Did the proxy issue fix your problems?

@a-d-a-m-b
Copy link
Contributor

Hi @mikeoke2k4 - did the proxy changes fix your issue?

Thanks

Adam

@mikeoke2k4
Copy link
Author

@duncan-ncc Apologies Duncan, our Network team is being very slow moving in checking proxy rules for us. I'm hoping they look at this for me soon!

@duncan-ncc
Copy link
Contributor

@mikeoke2k4 Has this been resolved now?

@a-d-a-m-b
Copy link
Contributor

hi @mikeoke2k4 - is this now resolved?

@adam-ncc
Copy link
Collaborator

adam-ncc commented Jul 22, 2021

Closing this as we haven't had a response, feel free to open a new issue if this is still a problem.

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

No branches or pull requests

4 participants