"systemd is the active init system, please switch to another before removing systemd"
Difficile de voir clair avec systemd...
Pour ceux qui veulent se débarrasser de systemd..
Suivez ces instructions du wiki "without systemd"
How to remove systemd from a Debian jessie/sid installation
First install the SysV init packages
# apt-get install sysvinit-core sysvinit sysvinit-utils
Then reboot your machine and remove all of the systemd packages.
BE AWARE that the following command removes packages that depend on systemd itself or things like libpam-systemd!
# apt-get remove --purge --auto-remove systemd
Ces deux commandes permettent de créer un fichier dans les préférences apt pour ignorer systemd dans les MAJ.
Prevent apt from installing systemd packages in the future.
# echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd
Prevent apt from installing any systemd like packages in the future (note the star before and after systemd)
# echo -e 'Package: *systemd*\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd
Librement vôtre,
David P.
Le 25/05/2015 16:34, Patrice Go a écrit :
Effectivement cette commande permet de connaitre là où est le problème dans le fichier de configuration. pour info, c'était le fichier de signature ssl .pem qui était mal nommé. dommage que le problème ne soit pas indiqué directement comme avant avec "service".merci pour l'aide.
Le 25 mai 2015 16:03, Frederic MASSOT <frederic@juliana-multimedia.com> a écrit :
Le 25/05/2015 13:52, Patrice Go a écrit :
Bonjour,
Depuis ce matin, je n'arrive pas à redémarrer apache2, ça m'indique ceci :
"# service apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob failed.
See system journal and 'systemctl status' for details.
failed!"
sur les logs de apache2 , "error":
[notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 mod_ssl/2.2.22
OpenSSL/1.0.1e mod_perl/2.0.7 Perl/v5.14.2 configured -- resuming normal
operations
[notice] caught SIGTERM, shutting down
Que donne la commande "sudo apache2ctl configtest" ?
--
==============================================
| FRÉDÉRIC MASSOT |
| http://www.juliana-multimedia.com |
| mailto:frederic@juliana-multimedia.com |
| +33.(0)2.97.54.77.94 +33.(0)6.67.19.95.69 |
===========================Debian=GNU/Linux===
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: [🔎] 55632BC0.7050309@juliana-multimedia.com" target="_blank">https://lists.debian.org/[🔎] 55632BC0.7050309@juliana-multimedia.com
-- Linuxement vôtre, ----- dptech ~ David Pinson jm2l 2015 ~ 9° édition http://jm2l.linux-azur.org