PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
Nota : Je n'ai pas besoin de peplocal.test. Je peux le supprimer s'il le faut.
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
/etc/apache2/sites-available$ journalctl -xeu apache2.service
févr. 08 09:44:38 aet3-lemien systemd[1]: Starting apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
févr. 08 09:44:38 aet3-lemien systemd[1]: Starting apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a commencé à démarrer.
févr. 08 09:44:38 aet3-lemien apachectl[1584]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name,>
févr. 08 09:44:38 aet3-lemien systemd[1]: Started apache2.service - The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a terminé son démarrage, avec le résultat done.
févr. 08 11:26:04 aet3-lemien systemd[1]: Reloading apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à recharger sa configuration
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a commencé à recharger sa configuration.
févr. 08 11:26:04 aet3-lemien apachectl[6848]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 1 o>
févr. 08 11:26:04 aet3-lemien systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
lines 1-23/139 18%...skipping...
févr. 08 09:44:38 aet3-lemien systemd[1]: Starting apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a commencé à démarrer.
févr. 08 09:44:38 aet3-lemien apachectl[1584]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
févr. 08 09:44:38 aet3-lemien systemd[1]: Started apache2.service - The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a terminé son démarrage, avec le résultat done.
févr. 08 11:26:04 aet3-lemien systemd[1]: Reloading apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à recharger sa configuration
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a commencé à recharger sa configuration.
févr. 08 11:26:04 aet3-lemien apachectl[6848]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/sites-enabled/peplocal.fr.conf: /etc/apache2/sites-enabled/peplocal.fr.conf:1: <Virtua>
févr. 08 11:26:04 aet3-lemien systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecReload= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
févr. 08 11:26:04 aet3-lemien systemd[1]: Reload failed for apache2.service - The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a terminé de recharger configuration
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a terminé de recharger configuration,
░░ avec le résultat failed.
févr. 08 11:26:32 aet3-lemien systemd[1]: Reloading apache2.service - The Apache HTTP Server...
░░ Subject: L'unité (unit) apache2.service a commencé à recharger sa configuration
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a commencé à recharger sa configuration.
févr. 08 11:26:32 aet3-lemien apachectl[6873]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/sites-enabled/peplocal.fr.conf: /etc/apache2/sites-enabled/peplocal.fr.conf:1: <Virtua>
févr. 08 11:26:32 aet3-lemien systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecReload= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
févr. 08 11:26:32 aet3-lemien systemd[1]: Reload failed for apache2.service - The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a terminé de recharger configuration
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
lines 1-55/139 40%
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
<VirtualHost *:80>
ServerName peplocal.fr
ServerAlias www.peplocal.fr
ServerAdmin webmaster@peplocal.fr
DocumentRoot /var/www/peplocal.fr/public_html
<Directory /var/www/peplocal.fr/public_html>
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
J'ai redémarré apache avec la modif mod_rewrite et il n'y a pas d'erreur.
Je vais continuer en reprenant ton tuto LAMP.
Encore merci.
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
avec le mdp compliqué que j'avais entré l'autre jour, j'obtiens l'accès à la console mysql.
Je quitte donc la console mysql. J'essaie avec ce même mot de passe root dans phpmyadmin.
Et là, j'ai l'erreur :
mysqli::real_connect(): (HY000/1698): Access denied for user 'root'@'localhost'
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Je viens de découvrir que le mot de passe saisi dans la console mysql pouvait être accepté ou refusé si j'utilise le pavé numérique à droite.
Je dispose d'un clavier étendu avec à droite le pavé numérique.
Comme mon mdp comprend un chiffre, même dans la console mysql, si j'utilise le pavé numérique, le mdp est refusé par mysql.
Si j'utilise au contraire pour taper le chiffre en question les chiffres situés au dessus des touches alpha numériques, le mot de passe est valide et accepté.
Je vais essayer avec adminer pour vérifier si le problème demeure ou pas.
Je reviendrai demain pour vous dire si adminer règle le problème ou pas.
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Je viens d'installer adminer.
Mais c'est le même problème.
Accès refusé donc avec adminer.
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Access denied for user 'root'@'localhost' (using password: YES)
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Donc désinstaller apache, mysql et php ?
Autre chose à désinstaller ?
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
Ok.
Mais comment purger les fichiers de conf : une commande console ?
PC1 : Asus Kernel: 6.17.0-20-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.3 Zena
Machine:
Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
CM ASRock AB350 Pro4 - CPU : AMD Ryzen 5 2600 - 64 - CG Sapphire Radeon HD 6450
Realtek RTL8111/8168/8411 PCI - Hdd : Seagate 1.82 TiB et Kingston SSD : 240 Go - RAM 2x 8 Go
Double boot : Win10-linuxmint
PC 2 : Linux Mint 21.1 Mate 64 - CM : Asus M3A - CPU: AMD Phenom 9350e - CG : MSI Radeon HD 5450 - Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter