İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
22155 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç

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...

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

En İyi Yanıt

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Oca 18
19160
2
Şub 17
6834
1
Mar 15
4086
1
Mar 15
4325
0
Mar 15
3521