Skip to Content
Menú
This question has been flagged
2 Respostes
5688 Vistes

Hello,

I installed OpenERP V7 on a fresh Debian Squeeze install, everything is working except that the config file located at /etc/openerp/openerp-server.conf doesn't seem to be taken into account, i.e. when I change the db_password value it still connect to the database although the pass is not the valid one, same for the db_user..

Any thought on this issue?

Avatar
Descartar
Best Answer

include -c and the path/file name of your config file when you start the server

Avatar
Descartar
Autor

Thank you for your answer. Indeed it works when I launch it from command line, however I want to use the given init script, which does not seem to load the config file

Autor Best Answer

Ok I got it, in /etc/init.d/openerp simply replacing:

start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid --chuid ${USER} --background --make-pidfile --exec ${DAEMON} -- --config=${CONFIG} --logfile=${LOGFILE}

By:

start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid --chuid ${USER} --background --make-pidfile --exec ${DAEMON} -- --config=/etc/openerp/openerp-server.conf --logfile=${LOGFILE}

did the trick

Avatar
Descartar
Autor

Not enough points to accept my own answer..

Related Posts Respostes Vistes Activitat
2
de febr. 24
11343
1
d’abr. 25
6779
0
de març 21
2345
4
de febr. 17
14075
0
de set. 16
3515