Coder Social home page Coder Social logo

network-logging-utils's People

Contributors

t-jones14 avatar

Watchers

 avatar  avatar

network-logging-utils's Issues

IP Address Prompt Logic Error

When install script gets to Graylog section, when prompted for the HTTP_BIND_ADDRESS input, if first input is incorrect it will correctly prompt for a valid IP address, however, if a correct IP is entered the second time it will correctly post entered IP address and then immediately overwrite it with the original bad IP.

My guess is HTTPADDR variable is not being assigned properly or something is getting held up (for lack there-of a better what to put it). Install log below as follows:

root@dev-ubunutu-server:/home/netlog-dev# bash install.sh

Getting Latest Packages
=======================


Done!



Adding Base Packages and Repositories
=====================================

Adding Universe Repository
==========================
'universe' distribution component is already enabled for all sources.


Done!

Finished Adding Base Packages and Repositories


Updating Package Lists
======================

Done!


Getting Required Utilities
==========================
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pwgen is already the newest version (2.08-2).
uuid-runtime is already the newest version (2.34-0.1ubuntu9.1).
apt-transport-https is already the newest version (2.0.5).
openjdk-8-jre-headless is already the newest version (8u282-b08-0ubuntu1~20.04).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wget is already the newest version (1.20.3-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Done!


Now for the fun stuff...


Installing MongoDB
==================
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mongodb-org is already the newest version (4.0.23).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
  mongod.service                     loaded active running MongoDB Database Server                     


MongoDB: Done!


Installing Elasticsearch
========================
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch
  elasticsearch.service              loaded active running Elasticsearch                               


Elasticsearch: Done!


Installing Graylog
==================


Please enter a password for Graylog admin user login...
Enter Password: 



To be able to connect to Graylog you should set http_bind_address to the public host name or a public IP address of the/this machine that you can connect to.
Enter an IP Address: 1.1.1.1111
=1.1.1.1111 is not a valid IP address. Try again.

Enter an IP Address: 192.168.1.37
=install.sh: line 20: local: `=': not a valid identifier
install.sh: line 20: local: `192.168.1.37': not a valid identifier
 is a valid IP address

install.sh: line 20: local: `=': not a valid identifier
install.sh: line 20: local: `1.1.1.1111': not a valid identifier
 is a valid IP address


Wrapping Up Graylog Installation...

Enter an IP Address: 192.168.1.37
install.sh: line 20: local: `=': not a valid identifier
install.sh: line 20: local: `192.168.1.37': not a valid identifier
sed: -e expression #1, char 74: unterminated `s' command
HTTP Bind Address Set To: = is a valid IP address


Synchronizing state of graylog-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable graylog-server
  graylog-server.service             loaded active running Graylog server                              
root@dev-ubunutu-server:/home/netlog-dev# 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.