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 while starting or stopping openerp server

By
Jaime
on 3/11/13, 8:21 PM 5,555 views

Hello...

I have installed Openerp server in my CentOS machine.

When I start the server, I got this output:

root@des [~]# /etc/init.d/openerp start Starting OpenERP Server Daemon (openerp-server): [ OK ] root@des [~]# execvp: No such file or directory

When execute the stop command, this is the output:

Stopping OpenERP Server Daemon (openerp-server): cat: /var/run/openerp/openerp-server.pid: No such file or directory [FAILED]

Any help will be greatly appreciated

Thanks Jaime

7

Sandeep

--Sandeep--
6083
| 6 5 8
Delhi, India
--Sandeep--
Python OpenERP Developer http://in.linkedin.com/pub/sandeep-rana/3b/a16/786/
Sandeep
On 5/6/13, 5:17 AM

Hello Jaime

1). you need to give access to root if you are from root

first of all you need to login as super user (root)

give access like

chmod 777 -R /your DIR of openerp

2). Directly form openerp user you need to give access to openerp user for /var/run/openerp from root like

chmod 777 -R /var/run/openerp then login via openerp like sudo su - openerp -s /bin/bash

and then just run server

/etc/init.d/openerp-server start

above is based on linux

This is REALLY BAD advice. NEVER, NEVER recursively chmod everything to 777 just for the sake of it.

Please do not suggest things if you do not know what you are doing...

Alan Lord
on 5/8/13, 11:43 AM

man ,, 777 is just example , as he buddy know that ....

Sandeep
on 5/10/13, 9:54 AM
1
Alan Lord
On 3/24/13, 6:35 AM

There is a clue in the error. Looks like your start up script cannot find the openerp-server file.

First of all I would "su" to the openerp user then try and run the server from the command line to diagnose the issue.

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

0 follower(s)

Stats

Asked: 3/11/13, 8:21 PM
Seen: 5555 times
Last updated: 3/16/15, 8:10 AM