コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5788 ビュー

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?

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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

著作者 最善の回答

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

アバター
破棄
著作者

Not enough points to accept my own answer..

関連投稿 返信 ビュー 活動
2
2月 24
11457
1
4月 25
6921
0
3月 21
2465
4
2月 17
14210
0
9月 16
3573