Brian Timares wrote:
> Looking at the latest (1.3) instructions, on the quickstart-idoutils.html, I 
> see
> PostgreSQL:
>
> Create database and User:
>
>   #>  su - postgres
>   $psql
>   postgres=# CREATE USER icinga;
>   postgres=# ALTER USER icinga WITH PASSWORD 'icinga';
>   postgres=# CREATE DATABASE icinga;
>
>
> When I type psql at the $ prompt I get:
> psql: FATAL: Ident authentication failed for user "postgres"

then you'd have to edit/setup your pg_hba.conf correctly in order to 
allow the postgres on the local machine without password. but that's 
merely a standard postgresql setup question, not really icinga idoutils 
related.
furthermore, the quickstart is intended as short info how it would work 
by default. mostly, systems differ in their way and their sysadmins 
taking care of the software installed. so bringing your postgresql in 
shape for creating a user, a database and importing a schema could be 
done in various ways - not only the one described in the quickstart guides.

Kind regards,
Michael


> OK, maybe the instructions don't include a prompt, although they do in the 
> section above and below.  Sloppy.  So I try:
> $psql
> or if you prefer
> -bash-3.2$ $psql
> and that does work, or at least it doesn't complain.
>
> Then I type at the -bash-3.2$ prompt
> postgres=# CREATE USER icinga;
> and I get
> -bash: CREATE: command not found
>
> Am I missing something (e.g. correct instructions)?
>
> CentOS 5.5 and a load of frustration.
>
>
> Brian
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
fax:    +43 1 4277 14338
web:    http://www.univie.ac.at/zid
        http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to