Ciao, è da un po' che sto lottando con l'installazione di openerp versione 6.0.1 su ubuntu 10.10
Credo che la parte server sia su, mentre ho l'errore in locale se accedo da client.
Ho installato come modulo, come da procedura del sito openerp e poi ho iniziato a leggere nel forum per cambiare e aggiustare le cose ...
Di seguito la mia situazione:
FILE .openerprc
[printer]
path = None
softpath_html = None
preview = True
softpath = None
[logging]
output = stdout
level = error
[help]
index =
doc.openerp.com/
context =
doc.openerp.com/index.php?model=%(model)s&lang=%(lang)s
[form]
submenu = True
toolbar = True
autosave = False
[support]
recipient =
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
support_id =
[tip]
position = 0
autostart = False
[client]
lang = False
form_text_spellcheck = True
default_path = /home/ghostdog
filetype = {}
theme = None
form_tab = top
timeout = 3600
form_tab_orientation = 0
toolbar = both
[path]
pixmaps = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.1-py2.6.egg/share/pixmaps/openerp-client
share = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.1-py2.6.egg/share/openerp-client
[login]
db =
login = openerp
protocol = socket://
port = 8070
server = localhost
QUANDO LANCIO IL SERVER HO
ghostdog@MACHINE:~$ openerp-server --db_user=openerp --db_password=DB_PASSWORD --db_host=localhost
[2011-03-11 11:01:25,674][?] INFO:server:OpenERP version - 6.0.1
[2011-03-11 11:01:25,674][?] INFO:server:addons_path - /usr/local/lib/python2.6/dist-packages/openerp-server/addons
[2011-03-11 11:01:25,675][?] INFO:server:database hostname - localhost
[2011-03-11 11:01:25,675][?] INFO:server:database port - 5432
[2011-03-11 11:01:25,675][?] INFO:server:database user - openerp
[2011-03-11 11:01:25,675][?] INFO:server:initialising distributed objects services
[2011-03-11 11:01:25,988][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-03-11 11:01:25,989][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-03-11 11:01:25,990][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-03-11 11:01:25,991][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-03-11 11:01:25,992][?] INFO:server:Starting 3 services
[2011-03-11 11:01:25,992][?] INFO:server:OpenERP server is running, waiting for connections...
E QUANDO LANCIO IL CLIENT ghostdog@MACHINE:~$ openerp-client HO
[2011-03-11 11:01:48,654][template1] ERROR:db.connection_pool:Connection to the database failed
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 303, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: password authentication failed for user "openerp"
FATAL: password authentication failed for user "openerp"
[2011-03-11 11:02:15,236][template1] ERROR:db.connection_pool:Connection to the database failed
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 303, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: password authentication failed for user "openerp"
FATAL: password authentication failed for user "openerp"
configurazione /etc/postgresql/8.4/main$ sudo gedit pg_hba.conf:
# Database administrative login by UNIX sockets
# local all postgres ident
#local all postgres ident
local all postgres md5
# TYPE DATABASE USER CIDR-ADDRESS METHOD
local all openerp md5
# "local" is for Unix domain socket connections only
#local all all ident
local all all md5
#local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all xxx.xxx.0.0 255.255.255.0 md5
# IPv6 local connections:
host all all ::1/128 md5
ghostdog@MACHINE:/etc/postgresql/8.4/main$ sudo netstat -nap | grep 8069
tcp 0 0 0.0.0.0:8069 0.0.0.0:* LISTEN 6195/python
ghostdog@MACHINE:/etc/postgresql/8.4/main$ sudo netstat -nap | grep 8070
tcp 0 0 0.0.0.0:8070 0.0.0.0:* LISTEN 6195/python
ghostdog@MACHINE:/etc/postgresql/8.4/main$ sudo netstat -nap | grep 8071
tcp 0 0 0.0.0.0:8071 0.0.0.0:* LISTEN 6195/python