Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

error Traceback (most recent call last): ?

By
Madura
on 9/26/14, 1:01 AM 1,757 views

Hello All,

When I try to Start openerp server using "./openerp-server -s -c /etc/environment " it gives the following error, could anyone help me? 

Thank You.

Traceback (most recent call last):
  File "./openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/opt/odoo/odoo-server/openerp/cli/__init__.py", line 71, in main
    o.run(args)
  File "/opt/odoo/odoo-server/openerp/cli/server.py", line 174, in run
    main(args)
  File "/opt/odoo/odoo-server/openerp/cli/server.py", line 139, in main
    openerp.tools.config.parse_config(args)
  File "/opt/odoo/odoo-server/openerp/tools/config.py", line 335, in parse_config
    self._parse_config(args)
  File "/opt/odoo/odoo-server/openerp/tools/config.py", line 381, in _parse_config
    self.load()
  File "/opt/odoo/odoo-server/openerp/tools/config.py", line 576, in load
    p.read([self.rcfile])
  File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /etc/environment, line: 1
'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"\n'

0
Quentin THEURET
On 9/26/14, 3:21 AM

The '-c' option is to give a a configuration file to your server. So with your command, you give '/etc/environment' as configuration file !!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/26/14, 1:01 AM
Seen: 1757 times
Last updated: 3/16/15, 8:10 AM