1 |
On Wed, Mar 12, 2014 at 2:33 AM, Adam Carter <adamcarter3@×××××.com> wrote: |
2 |
> Two things; |
3 |
> 1. systemctl --all doesnt show the courier-authdaemond service |
4 |
> 2. The service runs fine when i start it manually, is enabled, but is dead |
5 |
> when started by /usr/lib/systemd/systemd |
6 |
> |
7 |
> How do i fix this? |
8 |
> |
9 |
> proxy adam # systemctl --all | grep -i courier |
10 |
> courier-imapd.service |
11 |
> loaded active running Courier IMAP Daemon |
12 |
> proxy adam # systemctl status courier-authdaemond |
13 |
> courier-authdaemond.service - Courier Authentification Daemon |
14 |
> Loaded: loaded (/usr/lib64/systemd/system/courier-authdaemond.service; |
15 |
> enabled) |
16 |
> Active: inactive (dead) |
17 |
> |
18 |
> Mar 12 19:22:48 proxy systemd[1]: Collecting courier-authdaemond.service |
19 |
> proxy adam # systemctl restart courier-authdaemond |
20 |
> proxy adam # systemctl status courier-authdaemond |
21 |
> courier-authdaemond.service - Courier Authentification Daemon |
22 |
> Loaded: loaded (/usr/lib64/systemd/system/courier-authdaemond.service; |
23 |
> enabled) |
24 |
> Active: active (running) since Wed 2014-03-12 19:22:58 EST; 1s ago |
25 |
> Process: 2878 ExecStart=/usr/sbin/courierlogger |
26 |
> -pid=/var/run/authdaemon.pid -start |
27 |
> /usr/lib/courier/courier-authlib/authdaemond (code=exited, status=0/SUCCESS) |
28 |
> Main PID: 2880 (courierlogger) |
29 |
> CGroup: /system.slice/courier-authdaemond.service |
30 |
> ├─2880 /usr/sbin/courierlogger -pid=/var/run/authdaemon.pid |
31 |
> -start... |
32 |
> ├─2881 /usr/lib/courier/courier-authlib/authdaemond |
33 |
> ├─2885 /usr/lib/courier/courier-authlib/authdaemond |
34 |
> ├─2886 /usr/lib/courier/courier-authlib/authdaemond |
35 |
> ├─2887 /usr/lib/courier/courier-authlib/authdaemond |
36 |
> ├─2888 /usr/lib/courier/courier-authlib/authdaemond |
37 |
> ├─2889 /usr/lib/courier/courier-authlib/authdaemond |
38 |
> ├─2890 /usr/lib/courier/courier-authlib/authdaemond |
39 |
> ├─2891 /usr/lib/courier/courier-authlib/authdaemond |
40 |
> ├─2892 /usr/lib/courier/courier-authlib/authdaemond |
41 |
> ├─2893 /usr/lib/courier/courier-authlib/authdaemond |
42 |
> ├─2894 /usr/lib/courier/courier-authlib/authdaemond |
43 |
> ├─2895 /usr/lib/courier/courier-authlib/authdaemond |
44 |
> ├─2896 /usr/lib/courier/courier-authlib/authdaemond |
45 |
> ├─2897 /usr/lib/courier/courier-authlib/authdaemond |
46 |
> ├─2898 /usr/lib/courier/courier-authlib/authdaemond |
47 |
> └─2899 /usr/lib/courier/courier-authlib/authdaemond |
48 |
> |
49 |
> Mar 12 19:22:58 proxy systemd[1]: courier-authdaemond.service got final |
50 |
> SIG...rt |
51 |
> Mar 12 19:22:58 proxy systemd[1]: Main PID loaded: 2880 |
52 |
> Mar 12 19:22:58 proxy systemd[1]: courier-authdaemond.service changed |
53 |
> start...ng |
54 |
> Mar 12 19:22:58 proxy systemd[1]: Job courier-authdaemond.service/start |
55 |
> fin...ne |
56 |
> Mar 12 19:22:58 proxy systemd[1]: Started Courier Authentification Daemon. |
57 |
> Mar 12 19:22:58 proxy authdaemond[2880]: modules="authpam authshadow", |
58 |
> daemo...5 |
59 |
> Mar 12 19:22:58 proxy authdaemond[2880]: Installing libauthpam |
60 |
> Mar 12 19:22:58 proxy authdaemond[2880]: Installation complete: authpam |
61 |
> Mar 12 19:22:58 proxy authdaemond[2880]: Installing libauthshadow |
62 |
> Mar 12 19:22:58 proxy authdaemond[2880]: Installation complete: authshadow |
63 |
> Hint: Some lines were ellipsized, use -l to show in full. |
64 |
> proxy adam # |
65 |
|
66 |
(I don't use courier-authdaemond.service.) |
67 |
|
68 |
From /usr/portage/net-mail/courier-imap/files/courier-authdaemond.service: |
69 |
|
70 |
[Install] |
71 |
WantedBy=courier-imap.service |
72 |
|
73 |
That means that if you do: |
74 |
|
75 |
systemctl enable courier-authdaemond.service |
76 |
|
77 |
Then it will be enabled... if courier-imap.service it's also enabled. |
78 |
Do you have courier-imap.service enabled? If you have |
79 |
courier-imap.service enabled, it is correctly started when booting the |
80 |
machine? |
81 |
|
82 |
Independently of your answers to those questions, could you please |
83 |
post the full exit from systemctl --full --all? |
84 |
|
85 |
Regards. |
86 |
-- |
87 |
Canek Peláez Valdés |
88 |
Posgrado en Ciencia e Ingeniería de la Computación |
89 |
Universidad Nacional Autónoma de México |