Bonjour, j'installe spamassasin et je ne comprend pas ce comportantement:

lorsque que je redémarre spamassasin et que je fait un status, il n'y pas d'erreur,

par contre lorsque je lance une deuxième fois, il y a des erreurs:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
févr. 16 14:49:24 testmail spamd[9772]: spamd: cannot run as nonexistent user or root with -u option
si je recommance un restarte c'est le même manège , le comportement est t'il normal ?

merci de vos réponse :)



Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
root@testmail:/etc/spamassassin# systemctl restart spamassassin
root@testmail:/etc/spamassassin# systemctl status spamassassin -l
● spamassassin.service - Perl-based spam filter using text analysis
   Loaded: loaded (/lib/systemd/system/spamassassin.service; disabled)
   Active: active (running) since jeu. 2017-02-16 14:49:06 CET; 8s ago
  Process: 7373 ExecStart=/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 7376 (/usr/sbin/spamd)
   CGroup: /system.slice/spamassassin.service
           ├─7376 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           ├─8558 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           ├─8559 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           ├─8560 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           └─8562 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
 
févr. 16 14:49:15 testmail spamd[7376]: prefork: child states: SS
févr. 16 14:49:15 testmail spamd[7376]: spamd: server successfully spawned child process, pid 8559
févr. 16 14:49:15 testmail spamd[7376]: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 8559 started.
févr. 16 14:49:15 testmail spamd[7376]: prefork: child states: SSS
févr. 16 14:49:15 testmail spamd[7376]: spamd: server successfully spawned child process, pid 8560
févr. 16 14:49:15 testmail spamd[7376]: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 8560 started.
févr. 16 14:49:15 testmail spamd[7376]: prefork: child states: SSSS
févr. 16 14:49:15 testmail spamd[7376]: spamd: server successfully spawned child process, pid 8562
févr. 16 14:49:15 testmail spamd[7376]: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 8562 started.
févr. 16 14:49:15 testmail spamd[7376]: spamd: handled cleanup of child pid [8557] due to SIGCHLD: exit 255
févr. 16 14:49:15 testmail spamd[7376]: prefork: child states: SSSS
févr. 16 14:49:15 testmail spamd[7376]: spamd: server successfully spawned child process, pid 8563
root@testmail:/etc/spamassassin# systemctl status spamassassin -l
● spamassassin.service - Perl-based spam filter using text analysis
   Loaded: loaded (/lib/systemd/system/spamassassin.service; disabled)
   Active: active (running) since jeu. 2017-02-16 14:49:06 CET; 29s ago
  Process: 7373 ExecStart=/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 7376 (/usr/sbin/spamd)
   CGroup: /system.slice/spamassassin.service
           ├─ 7376 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           ├─11288 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           ├─11289 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
           └─11290 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir=/var/lig/spamassassin -u spamd -g spam
 
févr. 16 14:49:24 testmail spamd[9772]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9773]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9774]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9775]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9776]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9777]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9778]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9779]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9780]: spamd: cannot run as nonexistent user or root with -u option
févr. 16 14:49:24 testmail spamd[9781]: spamd: cannot run as nonexistent user or root with -u option
root@testmail:/etc/spamassassin#