콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6100 화면

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
11775
1
4월 25
7190
0
3월 21
2678
4
2월 17
14583
0
9월 16
3761