[CB-lug] configurare postgres

angelo morrone angelomorr@gmail.com
Lun 8 Ott 2007 16:08:26 CEST


grazie adesso ho avviato  il server. ma se provo ad installare il database
di promo gest mi da errore. i passi che ho fatto sono:
1 /etc/init.d/postgresql  start
Starting PostgreSQL                                                  done
2su postgres
postgres@linux-suse:/home/angelo/Scaricati/PromoGest/install_db> createuser
angelo
Shall the new role be a superuser? (s/n) s
CREATE ROLE
postgres@linux-suse:/home/angelo/Scaricati/PromoGest/install_db> exit
exit
3 ./install_db.sh
psql: FATAL:  Ident authentication failed for user "postgres"
psql: FATAL:  Ident authentication failed for user "angelo"
createlang: impossibile connettersi al database promogest_nightly: FATAL:
Ident authentication failed for user "postgres"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"
psql: FATAL:  Ident authentication failed for user "angelo"

e ancora non funziona :-(

Il 08/10/07, Francesco Steno <overdrive@linux.it> ha scritto:
>
>
> Il giorno 08/ott/07, alle ore 15:27, Francesco Steno ha scritto:
>
> >
> > Il giorno 08/ott/07, alle ore 15:09, angelo morrone ha scritto:
> >
> >> Salve uso opensuse 10.3 con amd sempron 3.2 non riesco a creare
> >> un database che serve per l'uso di promogest
> >> e questo e l'output di postgres se provo a creare l'utente.
> >>
> >>
> >> su postgres
> >> postgres@linux-suse :/home/angelo/Scaricati/PromoGest/install_db>
>
> do per scontato che questa sia un prompt di una shell
> altrimenti assicurati di avere il server postgres in esecuzione
> con i comandi appena detti
>
> /etc/init.d/postgres start
>
> (in alcune versioni di suse puoi trovare anche il file:
> /etc/init.d/postgres-suse-7.0   ... o roba simile.
>
> >> createuser angelo
> >> Shall the new role be a superuser? (s/n) s
> >> createuser: impossibile connettersi al database postgres:
> >> impossibile connettersi al server: No such file or directory
> >>         Controllare che il server sia in funzione e che
> >>         accetti connessioni sui Unix domain socket "/tmp/.s.PGSQL.
> >> 5432"?
> >
> > Hai in esecuzione il server?
> > (domanda stupida, dato che se lo avevi controllato, lo avresti detto )
> >
> >
> > postgres@linux-suse :/home/angelo/Scaricati/PromoGest/install_db> su
> > -  [digita la passwd di root]
> > postgres@linux-suse :/home/angelo/Scaricati/PromoGest/install_db# /
> > etc/init.d/postgres start
> > postgres@linux-suse :/home/angelo/Scaricati/PromoGest/install_db# exit
> > postgres@linux-suse :/home/angelo/Scaricati/PromoGest/install_db>
> > createuser angelo
> > ...
> > ...
> >
> > se hai un errore nel passo 2, vuol dire che non hai installato
> > postgres
> >
> >
>
> Saluti
>         Francesco Steno aka "oVERDRIVE"
>
>
> --
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-generated by /dev/over-=-=-=-=-=-=-=-=-=-=
>                                   oVERDRIVE
> <overdrive@OpenGeeks.it><overdrive@BitchX.it><overdrive@Linux.it>
>               GnuPG Public Key: http://cb.linux.it/lug/key/overdrive.asc
>   Key Fingerprint: 146A E13D 9E68 3B96 40FB  11F5 9A10 2D1F 3973 C203
>
>
>
>
>
> --
> Mailing list info: http://lists.linux.it/listinfo/lugcb
>
>
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.linux.it/pipermail/lugcb/attachments/20071008/a09899f5/attachment.htm 


Maggiori informazioni sulla lista Lugcb