Bug 20460 - Ошибка скрипта openerp-server.
Summary: Ошибка скрипта openerp-server.
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: openerp-server (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 18:30 MSD by Vasyĺ V. Vercynśkyj
Modified: 2010-10-05 14:31 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasyĺ V. Vercynśkyj 2009-06-15 18:30:16 MSD
Содержимое скрипта запуска сервера OpenERP /usr/bin/openerp-server:

#!/bin/sh
echo "OpenERP Setup - The content of this file is generated at the install stage
" 

По идее должно выглядеть так:

#!/bin/sh
cd /usr/lib/python2.5/site-packages/openerp-server
exec /usr/bin/python ./openerp-server.py $@


К тому же _возможна_ ошибка стартового сценария, поскольку проверка статуса запущенного процесса выдаёт:

# service openerp-server status
openerp-server is dead, but stale PID file exists

при этом openerp-server работает (правда как процесс python).
Comment 1 Denis Klimov 2009-06-15 20:59:56 MSD
исправлю в ближайшие пару дней.
Comment 2 Repository Robot 2010-10-05 14:31:06 MSD
openerp-server-5.0.14-alt1 -> sisyphus:

* Tue Oct 05 2010 Vitaly Lipatov <lav@altlinux> 5.0.14-alt1
- new version 5.0.14
- fix install run script (ALT bug #20460)
- fix requires (ALT bug #20497)