Bug 29551 - Postgrey "падает" после его запуска
Summary: Postgrey "падает" после его запуска
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: postgrey (show other bugs)
Version: unstable
Hardware: x86 Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 17:50 MSK by Viktor Tomilov
Modified: 2017-10-15 15:40 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Tomilov 2013-11-03 17:50:05 MSK
Установлен Postgrey.
Запускам сервис:
service postgrey start
Starting postgrey service:                                             [ DONE ]
Проверяем работу сервиса:
service postgrey status
postgrey is dead, but stale PID file exists
Повторный запуск сервиса выдает ошибку:
service postgrey start
Starting postgrey service: Pid_file already exists for running process (9302)... aborting
ERROR: Pid_file already exists for running process (9302)... aborting   [FAILED]
Если запускать Postgrey "вручную":
postgrey -v --inet=127.0.0.1:60000 --lookup-by-host
2013/11/03-23:23:05 postgrey (type Net::Server::Multiplex) starting! pid(9140)
Binding to TCP port 60000 on host 127.0.0.1 with IPv4
Setting gid to "453 453"
Setting uid to "469"
никаких ошибок не выдает и не падает.
Comment 1 Vitaly Lipatov 2017-10-15 15:39:39 MSK
Причина в том, что в /proc/PID/stat запись такого вида:
20635 (postgrey -d --u) S 
соответственно, даже killall postgrey не находит процесс.

Видимо, это следы борьбы  с
# readlink /proc/20635/exe 
/usr/bin/perl5.22.3

-d --u[ser] — это начало командной строки из /etc/init.d/postgrey.