spoke too soon =(

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

spoke too soon =(

Post by benhank »

the install appears to work,
but this error still persists at the start of the install:

Code: Select all

./fullinstall
ERROR: unable to read system id.

Code: Select all

Nagios Log Server Installation
==============================
DATE: Thu Oct 23 13:56:17 EDT 2014

DISTRO INFO:
RedHatEnterpriseServer
6.5
x86_64

Running 'setup_local_syslog'...
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
setup_local_syslog step completed OK
Running 'prereqs'...
Loaded plugins: product-id, refresh-packagekit, security
Setting up Install Process
Package byacc-1.9.20070509-7.el6.x86_64 already installed and latest version
Package cairo-devel-1.8.8-3.1.el6.x86_64 already installed and latest version
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package glib2-devel-2.28.8-4.el6.x86_64 already installed and latest version
Package glibc-2.12-1.149.el6.x86_64 already installed and latest version
Package 1:java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el6.x86_64 already installed and latest version
Package libxml2-devel-2.7.6-17.el6_6.1.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package 1:net-snmp-5.5-50.el6_6.1.x86_64 already installed and latest version
Package 1:net-snmp-utils-5.5-50.el6_6.1.x86_64 already installed and latest version
Package ntp-4.2.6p5-1.el6.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package pango-devel-1.28.1-10.el6.x86_64 already installed and latest version
Package perl-ExtUtils-MakeMaker-6.55-136.el6.x86_64 already installed and latest version
Package php-5.3.3-38.el6.x86_64 already installed and latest version
Package php-cli-5.3.3-38.el6.x86_64 already installed and latest version
Package sendmail-8.14.4-8.el6.x86_64 already installed and latest version
Package sudo-1.8.6p3-15.el6.x86_64 already installed and latest version
Package unzip-6.0-1.el6.x86_64 already installed and latest version
Package zip-3.0-1.el6.x86_64 already installed and latest version
Nothing to do
23 Oct 13:56:21 ntpdate[51852]: adjust time server 204.9.54.119 offset 0.001834 sec
Requirement already up-to-date: pip in /usr/lib/python2.6/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.6/site-packages
Requirement already satisfied (use --upgrade to upgrade): jsonselect in /usr/lib/python2.6/site-packages
Requirement already satisfied (use --upgrade to upgrade): elasticsearch-curator==1.2.2 in /usr/lib/python2.6/site-packages
Requirement already satisfied (use --upgrade to upgrade): elasticsearch>=1.0.0,<2.0.0 in /usr/lib/python2.6/site-packages (from elasticsearch-curator==1.2.2)
Requirement already satisfied (use --upgrade to upgrade): urllib3>=1.8,<2.0 in /usr/lib/python2.6/site-packages (from elasticsearch>=1.0.0,<2.0.0->elasticsearch-curator==1.2.2)
Requirement already satisfied (use --upgrade to upgrade): unittest2 in /usr/lib/python2.6/site-packages (from elasticsearch>=1.0.0,<2.0.0->elasticsearch-curator==1.2.2)
Cleaning up...
prereqs step completed OK
Running 'sourceguardian'...
Installing sourceguardian...
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
sourceguardian step completed OK
Running 'timezone'...
timezone step completed OK
Running 'nagioslogserver'...
Loaded plugins: product-id, refresh-packagekit, security
Setting up Install Process
Package php-common-5.3.3-38.el6.x86_64 already installed and latest version
Nothing to do
nagioslogserver step completed OK
Running 'backend'...
Installing Elasticsearch...
Elasticsearch installed OK
Installing Logstash...
Applying Nagios patches to Logstash...
patching file logstash-1.4.2/lib/logstash/inputs/tcp.rb
Logstash installed OK
Installing Kibana...
Kibana installed OK
UUID file already exists
backend step completed OK
Running 'install_mibs'...
install_mibs step completed OK
Running 'sudoers'...
sudoers step completed OK
Running 'firewall'...
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]
firewall step completed OK
Running 'selinux'...
selinux step completed OK
Running 'test_cluster_connection'...
test_cluster_connection step completed OK
Running 'daemons'...
daemons step completed OK
Running 'webroot'...
webroot step completed OK

Nagios Log Server Installation Success!
i think that after the install this should point to my server by hostname

Code: Select all

You can finish the final setup steps for Nagios Log Server by visiting:
    http:///nagioslogserver/
the web error is:

Code: Select all

404 Not Found
I was going to manually install nginx, but I figured that NLS has its own custom cfg
nginx/1.0.15
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: spoke too soon =(

Post by scottwilkerson »

Nagios Log server uses Apache. Is nginx bound to port 80? you will likely need to remove nginx and then start apache
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: spoke too soon =(

Post by sreinhardt »

We don't use nginx, you should have apache as the web server, just like with XI and our other products. Can you try and access it then tailing the apache log files?

Code: Select all

files="ssl_access_log access_log ssl_error_log error_log"

for file in $(echo $files); do 
  echo -e "###### ${file} #####\n\n">> /tmp/httpd.log
  tail -n 200 /var/log/httpd/${file} >> /tmp/httpd.log
done
edit: looks like Scott beat me to it, but if we could still get the logs and make sure apache is running with:

service httpd status
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: spoke too soon =(

Post by benhank »

well fellas I would like to say : you pass!
Ethan called me and told me to test your skills. proud of yah fellas proud of yah!


(this message brought to you by the United association of OMGsaywhat!, foundation)

all set the nginx and httpd thing was the probs.







i was kidding about the ethan call.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: spoke too soon =(

Post by tmcdonald »

benhank wrote:i was kidding about the ethan call.
You legitimately had me worried because I have joked since day 1 that he was doing this on some of our more difficult tickets.
Former Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: spoke too soon =(

Post by benhank »

who you calling a difficult ticket willis....

Gary-Coleman-as-Arnold-diffrent-strokes-18022862-500-375.jpg


ok guys you can lock it up all set =D
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: spoke too soon =(

Post by slansing »

I dig the reference, :). Locking it up.
Locked