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

Openerp server does not stop properly (SOLVED)

Subscribe

Get notified when there's activity on this post

This question has been flagged
serveropenerpstoprestart
4 Replies
17186 Views
Avatar
TEIMI Yassine

Hello, 

I'm Unable to restart my openerp-server, because i think that :

My openerp server doesn't stop properly, when I check the log file, it gives me :

openerp.service: Initiating shutdown

Hit CTRL-C again or send a second signal to force the shutdown.

it starts correctly but does'n stop properly. what is the solution ? 

Thanks

1
Avatar
Discard
Avatar
Brett Lehrer
Best Answer

It's waiting for threads to complete, there are concurrent users/jobs still running.  This is normal behavior, as long as it only lasts a few seconds.

1
Avatar
Discard
TEIMI Yassine
Author

I stopped the server, and After several minutes, it still running. It's True that there was several users loged on, but they logged off...

Brett Lehrer

Try sending signal 3 (also known as SIGQUIT) to the OpenERP server, it will dump a trace of all current threads. Find the PID using a command like "htop" or "ps aux | grep openerp". Say the PID for the root process is 12345. Then use the command "kill -3 12345".

OdooBot
HI, 

thank you very much, I've tried this before your email, wich I appreciate, and it worked, I published it on the odoo forum so as to other members can benefit from it.

Regards

2014-09-17 15:12 GMT+01:00 Brett Lehrer <bsphil-gmail-com@mail.odoo.com>:

Try sending signal 3 (also known as SIGQUIT) to the OpenERP server, it will dump a trace of all current threads. Find the PID using a command like "htop" or "ps aux | grep openerp". Say the PID for the root process is 12345. Then use the command "kill -3 12345".

--
Brett Lehrer
Sent by OpenERP S.A. using Odoo about Forum Post False



--


Yassine TEIMI

Ingénieur SI technico-fonctionnel

TEL : 06-27333078
Avatar
TEIMI Yassine
Author Best Answer

Hi all, 

Thank you for your great answers, I brought up all your answers together, and I realise that the issue is when several processes still running, the server can't stop, so I should wait a few seconds, if not, the key is to kill all openerp running processes, I found that the running processes are old, a wee ago and so on, so I killed them, and the server is stopped properly. 

Thank you for your collaboration.

Regards.

 

0
Avatar
Discard
Avatar
Ludo - 21South
Best Answer

If have not seen this problem since version 5.0, but what I did back then was to open up HTOP (or any similair TOP program) and then kill the proces according to the Pid.

0
Avatar
Discard
TEIMI Yassine
Author

what commande necessary to do that, I'm on ubuntu server. Thanks.

Ludo - 21South

http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/ Will help you out.

Avatar
Michael St-Georges
Best Answer

Do you wait some time after sending the stop signal to the process? It can take a few seconds for the whole process tree to come to a full stop.

0
Avatar
Discard
TEIMI Yassine
Author

I waited at least 2 minutes, after stopping the server. When I refresh the web page, the openerp server still running ...

Michael St-Georges

It can take quite some time to shutdown the processes depending on the setup. What I usually do when in a hurry is killall -9 python2.7 a few seconds after signaling the stop (or similar depending on the python binary you're using).

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
Related Posts Replies Views Activity
Is there a need to restart OpenERP-Server when we update a custom module Solved
server module custom update openerp restart
Avatar
Avatar
Avatar
Avatar
4
Jan 24
14540
Odoo 14: Odoo Server restarts requirements Solved
server restart v14
Avatar
Avatar
1
Dec 20
5573
OpenERP Server Error
server error openerp
Avatar
Avatar
2
Mar 15
7874
change pgAdmin password with openerp reflection
server openerp pgadmin
Avatar
0
Mar 15
5518
First time start up and got error Please help me to troubleshoot this.
server error openerp
Avatar
Avatar
1
Mar 15
5450
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