On Thu, Jun 20, 2013 at 8:14 AM, Michael Friedrich <
michael.friedr...@gmail.com> wrote:
> On 20.06.2013 14:04, Chris Curvey wrote:
> > Hey all,
> >
> > Is there a way to tell the Ubuntu version of icinga (1.9, installed from
> > the PPA) to use a non-standard port for communications with a Postgres
> > database? (I'm running on port 5434 rather than 5432, and I really
> > don't want to change.)
>
> http://docs.icinga.org/latest/en/configido.html#ido2dboptions
> look for "db_port".
>
Here's what I've done so far:
1) started the installation process through synaptic
2) gotten to the point where it asks what database engine to use
3) the installation failed at this point (but created the
/etc/icinga/ido2db.cfg file).
4) I've edited the ido2db.cfg file and set up host, user, password, port,
etc.
5) Tried using "retry (skip questions)" but that does not seem to have
worked.
So I jumped over to Postgres and set up
a) the icingaidoutils user, with create database permission
b) the icinga database, owned by icingaidoutils
c) I found the postgres installation script
in /usr/share/doc/icinga-idoutils/examples/pgsql/pgsql.sql, and I ran it.
Now my icinga database has 60 tables in it.
I tried browsing to http://locahost/icinga-web, but I'm getting
PDO Connection Error: SQLSTATE[08006] [7] could not connect to server:
Connection refused Is the server running on host "mu" (::1) and accepting
TCP/IP connections on port 5432? could not connect to server: Connection
refused Is the server running on host "mu" (127.0.0.1) and accepting TCP/IP
connections on port 5432? could not connect to server: Connection refused
Is the server running on host "mu" (127.0.1.1) and accepting TCP/IP
connections on port 5432?
is there another configuration file that I need to update? (One thing to
note -- my hostname is "mu", so at least that part of the configuration
change seems to have taken. I'm not sure why the port change has not
taken.)
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users