This question has been flagged
2 Replies
69 Views

When i run the line: "


sudo systemctl status odoo17


The terminal shows this information



× odoo17.service - Odoo17

     Loaded: loaded (/etc/systemd/system/odoo17.service; enabled; vendor preset: enabled)

     Active: failed (Result: exit-code) since Tue 2024-04-02 16:36:57 CST; 10s ago

    Process: 29316 ExecStart=/opt/odoo17/odoo-venv/bin/python3 /opt/odoo17/odoo/odoo-bin -c /etc/odoo17.conf (code=exited, status=1/FAILURE)

   Main PID: 29316 (code=exited, status=1/FAILURE)

        CPU: 1.128s


Apr 02 16:36:57 odooserv odoo17[29316]: configparser.ParsingError: Source contains parsing errors: '/etc/odoo17.conf'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 10]: 'puerto alternativo.\n'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 13]: 'especificando este puerto para completar\n'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 16]: 'configuración.\n'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 18]: 'especifique\n'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 22]: 'datos.\n'

Apr 02 16:36:57 odooserv odoo17[29316]:         [line 25]: 'qué base de datos usar para la instancia.\n'

Apr 02 16:36:57 odooserv systemd[1]: odoo17.service: Main process exited, code=exited, status=1/FAILURE

Apr 02 16:36:57 odooserv systemd[1]: odoo17.service: Failed with result 'exit-code'.

Apr 02 16:36:57 odooserv systemd[1]: odoo17.service: Consumed 1.128s CPU time.


What can i do? DId i mess up?


Avatar
Discard
Best Answer

Hi,

The problem is that the Odoo service failed to start due to parsing errors in its configuration file, /etc/odoo17.conf. The error message indicates that there are syntax errors or formatting issues in specific lines of the configuration file. These errors prevent the Odoo service from starting properly. To resolve the issue, the parsing errors in the configuration file need to be identified and corrected. Once the errors are fixed, the Odoo service can be restarted, allowing it to function correctly.

Here are the steps to fix the issue:

  1. Open the configuration file /etc/odoo17.conf.
  2. Review the lines mentioned in the error message (lines 10, 13, 16, 18, 22, and 25) for parsing errors.
  3. Correct any syntax errors or formatting issues on those lines.
  4. Save the changes to the configuration file.
  5. Restart the Odoo service by running sudo systemctl restart odoo17.

Hope help you.


Avatar
Discard
Author Best Answer

Sir!! I just want to say: Thanks a lot!!!!

I was reviewing the .conf with no hope until I saw your message and I decided to do it again but this time avoiding copy and paste and doing it manually.

Thank you so much!!!

Avatar
Discard