Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

warning: failed to kill 30449: No such process

Odebírat

Get notified when there's activity on this post

This question has been flagged
serverpostgresqlbash
5 Odpovědi
63610 Zobrazení
Avatar
Tomas Parnarauskas

I have script that runs OpenERP server, but I seems to be not working on new server for some reason (I use same script on another server and it works fine).

when I enter command such as:

openerp-server-7.0 start

I get:

Starting openerp-server-7.0:

But actually nothing starts. No openerp runs and no log file is created. When I enter:

openerp-server-7.0 stop

I get this:

Stopping openerp-server-7.0: start-stop-daemon: warning: failed to kill 30449: No such process

If I check pid files directory. There is pid file with pid number that error says there is no such process. It seems postgress can't find that location where new pid process is being created.

My script:

#! /bin/sh

### BEGIN INIT INFO
# Provides:             openerp-server
# Required-Start:       $syslog
# Required-Stop:        $syslog
# Should-Start:         $network
# Should-Stop:          $network
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# Short-Description:    Enterprise Resource Management software
# Description:          Tiny ERP is a complete ERP and CRM software.
### END INIT INFO

DAEMON=/home/user/openerp/7.0/server/openerp-server
VERSION=7.0
USER=user


PATH=/sbin:/bin:/usr/sbin:/usr/bin
NAME=openerp-server-$VERSION
DESC=$NAME
GROUP=$USER
DAEMON_DIR="/home/$USER/openerp/$VERSION/server"
CONFIG="/home/$USER/etc/openerp-server-$VERSION.conf"
DAEMON_OPTS="$DAEMON_DIR/openerp-server --config=$CONFIG"
DATA_BASE_DIR="/home/$USER/var/run"

test -x $DAEMON || exit 0

set -e

make_dir()
{
  DIR=$1
  if [ -d "$DIR" ]; then
    return 0;
  fi
  mkdir -p -m 0755 "$DIR"
  chown "$USER:$GROUP" "$DIR"
}

make_dir $DATA_BASE_DIR

case "$1" in
        start)
                echo -n "Starting $DESC: "

                cd $DAEMON_DIR
                start-stop-daemon --start --quiet --pidfile $DATA_BASE_DIR/$NAME.pid \
                        --chuid $USER --background --make-pidfile \
                        --exec $DAEMON -- $DAEMON_OPTS

                echo "$NAME."
                ;;

        stop)
                echo -n "Stopping $DESC: "

                start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $DATA_BASE_DIR/$NAME.pid \
                        --oknodo

                echo "$NAME."
                ;;

        restart|force-reload)
                echo -n "Restarting $DESC: "

                start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $DATA_BASE_DIR/$NAME.pid \
                        --oknodo

                sleep 1

                cd $DAEMON_DIR
                start-stop-daemon --start --quiet --pidfile $DATA_BASE_DIR/$NAME.pid \
                        --chuid $USER --background --make-pidfile \
                        --exec $DAEMON -- $DAEMON_OPTS

                echo "$NAME."
                ;;
 *)
                N=/etc/init.d/$NAME
                echo "Usage: $N {start|stop|restart|force-reload}" >&2
                exit 1
                ;;
esac

exit 0
0
Avatar
Zrušit
Avatar
Brett Lehrer
Nejlepší odpověď

USER=user

Is your username and group actually named 'user'?  Make sure the username is accurate and that the server code has permissions and the owner set correctly.  If you repeat this start/stop process a few times, is the error message always the same PID?

1
Avatar
Zrušit
Avatar
Ryno Meyer
Nejlepší odpověď

Hi,

I ended up in a similar position. I was able to resolve it by typing 'top' in linux to see the services running. I got the id (lets say it was 11122). Then I killed the process in linux using 'kill 11122' (which is simply kill and the id). I checked, and the service was not running anymore. There after I used the regular 'service openerp-server start' and voila! Alternatively you can use 'etc/init.d/openerp start'

 

Hope it helps :)

0
Avatar
Zrušit
Avatar
Ivan
Nejlepší odpověď

Tomas and Ryno, if your operating system is complaining that it cannot find the process, then most probably it is the case.  In Tomas' case, the OS cannot find the process because it has not started or killed prematurely as indicated that "nothing starts" when you start OpenERP.

Tomas, In your script list DAEMON_OPTS contains the name of the script as well which is defined as DAEMON and then when it is called in start BOTH are used.  Drop the $DAEMON_DIR/openerp-server part from DAEMON_OPTS and see if it works.  There might be other problems too.

0
Avatar
Zrušit
Avatar
Paulo Matos‏
Nejlepší odpověď

Hi Tomas,

I had the same problem as you on odoo v7.

On ubuntu 12.04 never had such problem, but when started using it on ubuntu 14.04 sometimes I had this problem. The script I use is from "The Open Sourcerer" and you can get it here, but the instructions I will send you may work with your script also (or use the one I send with the required changes).

I found that for some reason the entry for auto startup had a problem which I do not know what is it. To solve it:

  • Disable openerp-server from startup:

sudo update-rc.d openerp-server disable

  • Remove openerp-server entry from startup:

sudo update.rc.d –f openerp-server remove

(-f means force)

  • Add the entry to the startup once again:

sudo update-rc.d openerp-server defaults

  • Start/restart openerp-server:

sudo /etc/init.d/openerp-server start

sudo /etc/init.d/openerp-server restart

Test the system accessing yourhost:8069

Restart the system

Hope this can help you.

Regards

Paulo

0
Avatar
Zrušit
Avatar
Mitul
Nejlepší odpověď

I had the same issue as because dependencies were not installed properly when initially I installed the package.

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
When should Database be separated on Separate Server. Vyřešeno
server database postgresql
Avatar
Avatar
1
čvc 25
4407
ODOO SERVER AND POSTGRESQL OPTIMIZATION
server postgresql odoo
Avatar
Avatar
Avatar
2
kvě 25
29961
Howto use 2 databases on the same Vitual Private Server (without mixing up content).
server postgresql administration
Avatar
0
dub 15
4748
error on localhost 8069 and postgresql service doesn't exist ?
server postgresql localhost
Avatar
0
bře 15
8313
2 postgresql server on the same station : conflict?
server postgresql compatibilty
Avatar
Avatar
1
bře 15
6091
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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