Le vendredi 06 septembre 2013 à 14:48 +0200, Per Jessen a écrit :
Frederic Crozat wrote:
Le vendredi 06 septembre 2013 à 14:15 +0200, Per Jessen a écrit :
Frederic Crozat wrote:
Le vendredi 06 septembre 2013 à 11:14 +0200, Per Jessen a écrit :
I'm running apache 2.4 (although on 12.3), and restarting it take very long - systemctl restart apache2 appears to be hanging. I noticed that systemctl invokes "systemd-tty-ask-password-agent":
\_ /bin/systemctl restart apache2 \_ /usr/bin/systemd-tty-ask-password-agent --watch
Looks like you have an SSL certificate which is prompting for passphrase at startup..
That's what I thought too, but I'm pretty certain the passphrase is empty. It was before I upgraded to apache 2.4. If it is a passphrase it is waiting for, how do I get to the prompt?
Either in plymouth (graphical) or on the boot.
No plymouth here, it's a head-less server.
Try running systemctl to see if you get any prompt for passphrase, after being logged.
The funny thing is - after the first long wait, it now no longer waits when I do a restart. I presume that is because it defaulted to an empty passphrase when the first attempt timed out and this is now remembered? If so, can I clear it?
No, it should have timed-out (and when there is some caching, it is done
at plymouth level).
Nothing has changed in that regarder on systemd side, so whoever
maintains apache should have a look at what changed.
--
Frederic Crozat