Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

odoo12 will be crash every 1 or 2 days. Status shows error message "exit-code"

Subscribe

Get notified when there's activity on this post

This question has been flagged
6 Replies
7413 Views
Avatar
Homer

Hi Guys, 

I installed odoo12 on CentOS7 service. It works fine after installation, but it went to crash nearly every 1 or 2 days, I test it for a week. Crash occurred 5-6 times at least. 

When I use command "systemctl status odoo12.server" to check status and re-start odoo12, it will show below message.

Does anybody know how to solve this problem? 

add more info:CentOS7, Odoo12,Python3.6


=========================

odoo12.service - Odoo12

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

   Active: failed (Result: exit-code) since Mon 2018-12-17 18:03:18 CST; 14h ago

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

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

0
Avatar
Discard
Homer
Author

Thank you for your timely and effective advice..

I check the remaining disk size. It is as below. 14G remaining. I asked a vitural service, just for Odoo usage.

And I also use "journalctl -u odoo12.service" cmd to check logs, it is useful, I will read the logs carefully, and try to figure out the possible reason.

Homer
Author

Hello, everybody.

Seems it works fine now, it can be running over 5 days without any problem.

The changes I did is

disable the mail service function. I removed my own mail settings from odoo12.

Then it seems work fine.

Avatar
Badr Elboudour Zahmoul
Best Answer

Hello,

what you posted can't point to a specific problem.

I suggest you try to check the remaining disk size, I had a similar behavior months ago due to this

2
Avatar
Discard
Avatar
Cayprol
Best Answer

Like others said, what you posted isn't helping to troubleshoot.

post your system journalctl output when odoo crash

So far since v12 released, I haven't read any major stability issues regarding running on Linux machines (Debian/Ubuntu & CentOS/REHL)

For now,

  1. Make sure your system hardware is fully functioning.

  2. Make sure odoo is the only service interacting with your database, and remove unnecessary databases if possible. 

  3. Check all your cron jobs on the machine or scripts that may start services that interfere.

1
Avatar
Discard
Avatar
Danylo Popov
Best Answer

Have you looked in journalctl? 

journalctl -u odoo12.service
1
Avatar
Discard
Avatar
Mark Byham
Best Answer

Hi, I have the same issue and I looked at results from, Danylo's post, thanks, (journalctl -u odoo12.service)
I don't really know what I'm looking at but I see a lot of fetchmail and imap references.

Jan 23 07:19:09 MyServer odoo12[18692]: connection.login(self.user, self.password)

Jan 23 07:19:09 MyServer odoo12[18692]: File "/opt/rh/rh-python36/root/usr/lib64/python3.6/imaplib.py", line 593, in login

Jan 23 07:19:09 MyServer odoo12[18692]: raise self.error(dat[-1])

Jan 23 07:19:09 MyServer odoo12[18692]: imaplib.IMAP4.error: b'LOGIN failed.'

I wonder if this is due to ..email server is Office 365 /Exchange Online. I will investigate further and report but if someone has resolved this without disabling mail service, I need the mail service, can you please post?

Thanks,

Mark


0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now