logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 21-08-2020 13:35:33

Sloup
Membre
Distrib. : Window 10 et vwmare Kali-Linux
Noyau : Debian 10.x 64 bits
Inscription : 28-03-2020

[RESOLU] Problème démarrage de Apache2 sous Kali-Linux

Bonjour à tous .

J'ai un petit souci avec un logiciel Kali dont l'origine peut être tout simplement que je n'ai pas "starté" , j'ai donc décidé de le faire en passant simplement par la commande

root@kali:/etc/apache2/sites-enabled# service apache2 start



Voici le message que j'ai reçu à mon étonnement :

Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.


J'ai donc suivi les instructions :

root@kali:/etc/apache2/sites-enabled# systemctl status apache2.service



Première commande qui m'a donné le résultat suivant :

août 21 07:07:46 kali systemd[1]: Starting The Apache HTTP Server...
août 21 07:07:46 kali apachectl[1287]: AH00526: Syntax error on line 9 of /etc/apache2/sites-enabled/098-xplico.conf:
août 21 07:07:46 kali apachectl[1287]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the serve
août 21 07:07:46 kali apachectl[1284]: Action 'start' failed.
août 21 07:07:46 kali apachectl[1284]: The Apache error log may have more information.
août 21 07:07:46 kali systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
août 21 07:07:46 kali systemd[1]: apache2.service: Failed with result 'exit-code'.
août 21 07:07:46 kali systemd[1]: Failed to start The Apache HTTP Server.


Je me suis aperçu que le problème venait peut être de cette ligne 9 citée sur 098-xplico.conf donc :

root@kali:/etc/apache2/sites-enabled# ls
000-default.conf  098-xplico.conf
 



Puis :

root@kali:/etc/apache2/sites-enabled# gedit 098-xplico.conf
 




Ce qui me donne cet écran où j'ai bien du mal à voir pour quelle raison cette ligne 9 poserait des problèmes :

Listen 9876

<VirtualHost *:9876>
    DocumentRoot /opt/xplico/xi/
    <Directory "/opt/xplico/xi/">
        Options All
        AllowOverride All
        DirectoryIndex index.html index.php
        php_admin_value open_basedir /opt/xplico/xi:/opt/xplico:/run:/tmp:/usr/bin:/etc/php/:/etc/php5/
        php_admin_value post_max_size 500M
        php_admin_value upload_max_filesize 500M
        php_admin_value short_open_tag  On
        php_admin_value date.timezone  US/Eastern
        RewriteEngine On
        Require all granted
    </Directory>


    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride All
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Require local
            </Directory>



    ErrorLog /var/log/apache2/xplico_error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn


    CustomLog /var/log/apache2/xplico_access.log combined

</VirtualHost>



La ligne 9 étant php_admin_value open_basedir /opt/xplico/xi:/opt/xplico:/run:/tmp:/usr/bin:/etc/php/:/etc/php5


Je poursuis avec :

root@kali:/etc/apache2/sites-enabled# journalctl -xe



qui me donne :

L'unité (unit) apache2.service a commencé à démarrer.
août 21 11:23:21 kali systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support


An ExecStart= process belonging to unit apache2.service has exited.

The process' exit code is 'exited' and its exit status is 1.
août 21 10:41:08 kali systemd[1]: apache2.service:Failed with result 'exit-code'.
Defined-By: systemd
░░ Support: https://www.debian.org/support
L'unité (unit) apache2.service a échoué, avec le résultat failed.
août 21 10:41:47 kali dbus-daemon[435]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.54' (uid=0 pid=1375 comm="/usr/bin/gdbus call --system --dest org.freedeskto")
août 21 10:41:47 kali systemd[1]: Starting PackageKit Daemon...
░░ Subject: L'unité (unit) packagekit.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) packagekit.service a commencé à démarrer.
août 21 10:41:48 kali PackageKit[1378]: daemon start
août 21 10:41:48 kali dbus-daemon[435]: [system] Successfully activated service 'org.freedesktop.PackageKit'
août 21 10:41:48 kali systemd[1]: Started PackageKit Daemon.
░░ Subject: L'unité (unit) packagekit.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) packagekit.service a terminé son démarrage, avec le résultat done.
août 21 10:45:01 kali CRON[1399]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 10:45:01 kali CRON[1400]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
août 21 10:45:02 kali CRON[1399]: pam_unix(cron:session): session closed for user root
août 21 10:46:53 kali PackageKit[1378]: daemon quit
août 21 10:46:53 kali systemd[1]: packagekit.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit packagekit.service has successfully entered the 'dead' state.
août 21 10:52:09 kali systemd[1]: Starting Cleanup of Temporary Directories...
░░ Subject: L'unité (unit) systemd-tmpfiles-clean.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) systemd-tmpfiles-clean.service a commencé à démarrer.
août 21 10:52:09 kali systemd-tmpfiles[1410]: /usr/lib/tmpfiles.d/iodined.conf:1: Line references path below legacy directory /var/run/, updating /var/run/iodine → /run/iodine; please update the tmpfiles.d/ drop-in file accordingly.
août 21 10:52:10 kali systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit systemd-tmpfiles-clean.service has successfully entered the 'dead' state.
août 21 10:52:10 kali systemd[1]: Finished Cleanup of Temporary Directories.
░░ Subject: L'unité (unit) systemd-tmpfiles-clean.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) systemd-tmpfiles-clean.service a terminé son démarrage, avec le résultat done.
août 21 10:55:01 kali CRON[1414]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 10:55:01 kali CRON[1415]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
août 21 10:55:01 kali CRON[1414]: pam_unix(cron:session): session closed for user root
août 21 10:55:18 kali sudo[1417]: pam_unix(sudo:auth): Couldn't open /etc/securetty: Aucun fichier ou dossier de ce type
août 21 10:55:20 kali sudo[1417]: pam_unix(sudo:auth): Couldn't open /etc/securetty: Aucun fichier ou dossier de ce type
août 21 10:55:20 kali sudo[1417]:     kali : TTY=pts/0 ; PWD=/home/kali ; USER=root ; COMMAND=/usr/bin/su
août 21 10:55:20 kali sudo[1417]: pam_unix(sudo:session): session opened for user root by (uid=0)
août 21 10:55:20 kali su[1418]: (to root) kali on pts/0
août 21 10:55:20 kali su[1418]: pam_unix(su:session): session opened for user root by (uid=0)
août 21 10:57:28 kali groupadd[1972]: group added to /etc/group: name=haclient, GID=153
août 21 10:57:28 kali groupadd[1972]: group added to /etc/gshadow: name=haclient
août 21 10:57:28 kali groupadd[1972]: new group: name=haclient, GID=153
août 21 10:57:28 kali useradd[1979]: new user: name=hacluster, UID=144, GID=153, home=/var/lib/pacemaker, shell=/usr/sbin/nologin, from=/dev/pts/2
août 21 10:57:29 kali usermod[1987]: change user 'hacluster' password
août 21 10:57:29 kali chage[1994]: changed password expiry for hacluster
août 21 10:57:49 kali systemd[1]: Reloading.
août 21 10:57:49 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:49 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:50 kali systemd[1]: Reloading.
août 21 10:57:50 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:50 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:51 kali systemd[1]: Reloading.
août 21 10:57:52 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:52 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:54 kali systemd[1]: Reloading.
août 21 10:57:55 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:55 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:55 kali systemd[1]: Reloading.
août 21 10:57:56 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:56 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:57 kali systemd[1]: Reloading.
août 21 10:57:57 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:57:57 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:57:59 kali systemd[1]: Reloading.
août 21 10:58:00 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:00 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:01 kali systemd[1]: Reloading.
août 21 10:58:01 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:01 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:03 kali systemd[1]: Reloading.
août 21 10:58:04 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:04 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:05 kali systemd[1]: Reloading.
août 21 10:58:05 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:05 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:05 kali systemd[1]: Reloading.
août 21 10:58:06 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:06 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:07 kali systemd[1]: Reloading.
août 21 10:58:08 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:08 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:08 kali systemd[1]: Reloading.
août 21 10:58:09 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:09 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:10 kali systemd[1]: Reloading.
août 21 10:58:11 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:11 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:13 kali systemd[1]: Reloading.
août 21 10:58:14 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:14 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:14 kali systemd[1]: Reloading.
août 21 10:58:15 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:15 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:15 kali systemd[1]: Reloading.
août 21 10:58:16 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
lines 2168-2248/2391 93%
août 21 10:58:18 kali systemd[1]: Reloading.
août 21 10:58:19 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:19 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:19 kali systemd[1]: Reloading.
août 21 10:58:20 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:20 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:20 kali systemd[1]: Reloading.
août 21 10:58:21 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:21 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:22 kali systemd[1]: Reloading.
août 21 10:58:22 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:22 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:23 kali systemd[1]: Reloading.
août 21 10:58:24 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:24 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:24 kali systemd[1]: Reloading.
août 21 10:58:25 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:25 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:58:35 kali systemd[1]: Reloading.
août 21 10:58:36 kali systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
août 21 10:58:36 kali systemd[1]: /lib/systemd/system/smartmontools.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
août 21 10:59:29 kali dbus-daemon[435]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.58' (uid=0 pid=4673 comm="/usr/bin/gdbus call --system --dest org.freedeskto")
août 21 10:59:29 kali systemd[1]: Starting PackageKit Daemon...
░░ Subject: L'unité (unit) packagekit.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) packagekit.service a commencé à démarrer.
août 21 10:59:29 kali PackageKit[4676]: daemon start
août 21 10:59:30 kali dbus-daemon[435]: [system] Successfully activated service 'org.freedesktop.PackageKit'
août 21 10:59:30 kali systemd[1]: Started PackageKit Daemon.
░░ Subject: L'unité (unit) packagekit.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) packagekit.service a terminé son démarrage, avec le résultat done.
août 21 11:04:35 kali PackageKit[4676]: daemon quit
août 21 11:04:35 kali systemd[1]: packagekit.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
lines 2209-2289/2391 96%
oût 21 10:59:30 kali systemd[1]: Started PackageKit Daemon.
░░ Subject: L'unité (unit) packagekit.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) packagekit.service a terminé son démarrage, avec le résultat done.
août 21 11:04:35 kali PackageKit[4676]: daemon quit
août 21 11:04:35 kali systemd[1]: packagekit.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit packagekit.service has successfully entered the 'dead' state.
août 21 11:05:01 kali CRON[4697]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 11:05:01 kali CRON[4698]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
août 21 11:05:01 kali CRON[4697]: pam_unix(cron:session): session closed for user root
août 21 11:08:08 kali dbus-daemon[4709]: [session uid=0 pid=4707] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=0 pid=4703 comm="gedit apache2.conf ")
août 21 11:08:08 kali dbus-daemon[4709]: [session uid=0 pid=4707] Successfully activated service 'ca.desrt.dconf'
août 21 11:09:01 kali CRON[4718]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 11:09:01 kali CRON[4719]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
août 21 11:09:01 kali CRON[4718]: pam_unix(cron:session): session closed for user root
août 21 11:09:01 kali su[1418]: pam_unix(su:session): session closed for user root
août 21 11:09:01 kali sudo[1417]: pam_unix(sudo:session): session closed for user root
août 21 11:09:01 kali systemd[1]: Starting Clean php session files...
░░ Subject: L'unité (unit) phpsessionclean.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) phpsessionclean.service a commencé à démarrer.
août 21 11:09:02 kali systemd[1]: phpsessionclean.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit phpsessionclean.service has successfully entered the 'dead' state.
août 21 11:09:02 kali systemd[1]: Finished Clean php session files.
░░ Subject: L'unité (unit) phpsessionclean.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) phpsessionclean.service a terminé son démarrage, avec le résultat done.
août 21 11:15:01 kali CRON[4769]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 11:15:01 kali CRON[4770]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
août 21 11:15:01 kali CRON[4769]: pam_unix(cron:session): session closed for user root
août 21 11:17:01 kali CRON[4773]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 11:17:01 kali CRON[4774]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
août 21 11:17:02 kali CRON[4773]: pam_unix(cron:session): session closed for user root
août 21 11:17:40 kali dbus-daemon[4782]: [session uid=0 pid=4780] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=0 pid=4776 comm="gedit 098-xplico.conf ")
août 21 11:17:40 kali dbus-daemon[4782]: [session uid=0 pid=4780] Successfully activated service 'ca.desrt.dconf'
août 21 11:23:21 kali systemd[1]: Starting The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) apache2.service a commencé à démarrer.
août 21 11:23:21 kali systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
août 21 11:23:21 kali systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
août 21 11:23:21 kali systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
août 21 11:23:21 kali apachectl[4812]: AH00526: Syntax error on line 9 of /etc/apache2/sites-enabled/098-xplico.conf:
août 21 11:23:21 kali apachectl[4812]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
août 21 11:23:21 kali apachectl[4809]: Action 'start' failed.
août 21 11:23:21 kali apachectl[4809]: The Apache error log may have more information.
août 21 11:25:01 kali CRON[4819]: pam_unix(cron:session): session opened for user root by (uid=0)
lines 2279-2359/2391 99%
août 21 11:23:21 kali apachectl[4809]: The Apache error log may have more information.
août 21 11:25:01 kali CRON[4819]: pam_unix(cron:session): session opened for user root by (uid=0)
août 21 11:25:01 kali CRON[4821]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
août 21 11:25:01 kali CRON[4819]: pam_unix(cron:session): session closed for user root
août 21 11:25:26 kali systemd[1]: Starting The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) apache2.service a commencé à démarrer.
août 21 11:25:26 kali apachectl[4834]: AH00526: Syntax error on line 9 of /etc/apache2/sites-enabled/098-xplico.conf:
août 21 11:25:26 kali apachectl[4834]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
août 21 11:25:26 kali apachectl[4831]: Action 'start' failed.
août 21 11:25:26 kali apachectl[4831]: The Apache error log may have more information.
août 21 11:25:26 kali systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
août 21 11:25:26 kali systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
août 21 11:25:26 kali systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
lines 2311-2391/2391 (END)


Voilà je compte sur votre aide .

Merci

Dernière modification par Sloup (21-08-2020 17:09:34)

Hors ligne

#2 21-08-2020 17:10:41

Sloup
Membre
Distrib. : Window 10 et vwmare Kali-Linux
Noyau : Debian 10.x 64 bits
Inscription : 28-03-2020

Re : [RESOLU] Problème démarrage de Apache2 sous Kali-Linux

J'ai désinstallé et réinstallé Apache2 ce qui a reglé mon problème ..... Il fallait y penser

Hors ligne

Pied de page des forums