PS aggiungo che la consifigurazione degli accessi in pg_hba.conf è la seguente:
# "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust host all zope 0.0.0.0/0 md5 Il giorno 23 giugno 2015 12:33, Luca Gentili <luka.gent...@gmail.com> ha scritto: > Grazie Mauro della pronta risposta, > > in realtà ho attivo solo il servizio della 9.0 ed è in ascolto sulla porta > 5432, ma in netstat mi risulta postmaster > > Proto Recv-Q Send-Q Local Address Foreign Address > State PID/Program name > .... > tcp 0 0 127.0.0.1:5432 0.0.0.0:* > LISTEN 7779/postmaster > .... > > > > Il giorno 23 giugno 2015 12:27, Mauro Amico <mauro.am...@gmail.com> ha > scritto: > >> Ciao Luca, >> se hai più postgresql sullo stesso server probabilmente sono in ascolto >> su porte diverse >> puoi vedere nelle diverse configurazioni o con >> >> sudo netstat -ltnp >> >> poi ti basta probabilmente cambiare >> >> port 5432 >> >> con la porta corretta su cui gira postgresql 9.0 >> >> Mauro. >> >> On 23/06/2015 12:21, Luca Gentili wrote: >> >> Ciao a tutti, >> >> sto lavorando su macchina CentOS 6.6 con Plone 4.1.6. >> >> Sulla macchina ho installato postgres nelle versioni 8.4 e 9.0. Il mio >> database è sulla 9.0. >> >> Lanciando la mia istanza Plone ottengo il seguente trace: >> >> raise exc.NoSuchTableError(table.name) >> zope.configuration.config.ConfigurationExecutionError: <class >> 'sqlalchemy.exc.NoSuchTableError'>: mia_tabella >> in: >> File "/home/zope/.../configure.zcml", line 170.2-172.34 >> <utility provides="collective.lead.interfaces.IDatabase" >> factory=".database.mia_factory" >> name="mio_prodotto" /> >> >> Credo che il problema dipenda dall'impossibilità di accedere al DB >> corretto... nel mio zope.conf ho (tra le altre cose): >> >> <product-config mio_prodotto_db> >> drivername postgres >> username zope >> password xxxx >> host 127.0.0.1 >> port 5432 >> database mio_database >> </product-config> >> >> >> La domanda è devo sostituire il drivername con postgresql-9.0 (nome >> del servizio che lancio su CentOS)? >> >> Grazie in anticipo per suggerimenti e idee >> >> Luca >> >> -- >> >> *Luca Gentili *about.me <http://about.me/lucagent> >> >> *Pensa all'ambiente prima di stampare.* |* Consider the environment >> before printing. *| *Avant d'imprimer, pensez à l'environnement.* | >> *Considere >> el medio ambiente antes de imprimir. * >> >> >> >> _______________________________________________ >> Plone-IT mailing >> listPlone-IT@lists.plone.orghttps://lists.plone.org/mailman/listinfo/plone-plone-ithttp://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html >> >> >> -- >> Mauro >> >> >> _______________________________________________ >> Plone-IT mailing list >> plone...@lists.plone.org >> https://lists.plone.org/mailman/listinfo/plone-plone-it >> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html >> > > > > -- > > *Luca Gentili*about.me <http://about.me/lucagent> > > *Pensa all'ambiente prima di stampare.* |* Consider the environment > before printing. *| *Avant d'imprimer, pensez à l'environnement.* | *Considere > el medio ambiente antes de imprimir. * > > -- *Luca Gentili*about.me <http://about.me/lucagent> *Pensa all'ambiente prima di stampare.* |* Consider the environment before printing. *| *Avant d'imprimer, pensez à l'environnement.* | *Considere el medio ambiente antes de imprimir. *
_______________________________________________ Plone-IT mailing list plone...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-plone-it http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html