On 10/26/14 23:03, Zbyniu Krzystolik wrote:
Grzegorz Sójka wrote:
Witam serdecznie.
Jest tak:
[root@Hercules ~]# ps ax | grep postg
1201 ? SNs 0:00 /usr/sbin/postgrey -d
--unix=/var/spool/postfix/postgrey/socket
30806 pts/3 S+ 0:00 grep postg
[root@Hercules ~]# /etc/rc.d/init.d/postgrey restart
Stopping postgrey
service......................................................................[
DIED ]
Starting postgrey
service......................................................................[
DONE ]
I co ciekawe postgrey działa normalnie. WTF??
https://github.com/schweikert/postgrey/commit/569dd044840a075127ddcf9d92c7791677d118e2
Do kompletu zdefiniuj pidfile w pliku /etc/rc.d/init.d/postgrey tak:
daemon /usr/sbin/postgrey -d --pidfile /var/run/postgrey.pid $OPTIONS
Program nie zostaje znaleziony, bo 1. nie ma pidfile'a, 2. exe jako taki
to perl (ls -l /proc/<pid>/exe). W dodatku programy perlowe nie
ustawiają ładnego comm (cat /proc/<pid>/comm), co tutaj nie pomogłoby
akurat, ale czasem dodatkowo przeszkadza.
Dzięki za info.
To może ktoś (najlepiej z rw do cvs'a, ja nie mam) by po prostu skrypty
startowe poprawił??
_______________________________________________
pld-users-pl mailing list
pld-users-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl