installing corrected. due to port 80 being redirected but ..

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
cbabgh
Posts: 1
Joined: Fri Jul 22, 2016 10:26 am

installing corrected. due to port 80 being redirected but ..

Post by cbabgh »

I edited the httpd.conf file to listen on port 99. Starts but when I logon to webpage get:


A Database Error Occurred

Error Number: 1054

Unknown column 'type' in 'field list'

SELECT `username`, `username`, `email`, `id`, `password`, `active`, `last_login`, `apiaccess`, `apikey`, `lang`, `type`, `auth_server_id`, `auth_server_data` FROM (`nagiosna_users`) WHERE `username` = 'nagiosadmin' LIMIT 1

Filename: /var/www/html/nagiosna/application/models/ion_auth_model.php

Line Number: 886

Please help.

Code: Select all

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'daemons'


telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
/GET
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://:8000/">here</a>.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at fuel.qocp.planofoundry.com Port 80</address>
</body></html>
Last edited by mcapra on Fri Jul 22, 2016 11:44 am, edited 1 time in total.
Reason: included content from previous post
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: installing corrected. due to port 80 being redirected bu

Post by bwallace »

I did the same here, edited httpd conf so it was listening on a port other than 80. Couldn't reach the web ui at all. To be clear, is your Network Analyzer installed on a clean, minimal system?
Refer to the 'Installation Prerequisites' section of this doc:
https://assets.nagios.com/downloads/nag ... 1456514247
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked