1
Internet, réseaux et serveurs / Re : phpMyAdmin config
c'est vers la ligne 800-900 dans ces eaux la
c'est ce qui me rend le truc plus cornélien d'ailleurs ;-(
Cette espace vous permet de voir toutes les Voir les messages réalisées par ce membre. Vous ne pouvez voir que les Voir les messages réalisées dans les espaces auxquels vous avez accès.
mariadb fonctionne via terminal ? C'est-à-dire ?
sudo systemctl status mariadb.service ?
sudo mysql_secure_installation ?
sudo systemctl status mariadb.service* mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2024-04-25 12:54:55 CEST; 4h 48min ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 8906 ExecStartPre=/usr/lib/mysql/mysql-systemd-helper install (code=exited, status=0/SUCCESS)
Process: 8912 ExecStartPre=/usr/lib/mysql/mysql-systemd-helper upgrade (code=exited, status=0/SUCCESS)
Main PID: 8918 (mysqld)
Status: "Taking your SQL requests now..."
Tasks: 8 (limit: 4915)
CGroup: /system.slice/mariadb.service
`- 8918 /usr/sbin/mysqld --defaults-file=/etc/my.cnf --user=mysql
Apr 25 12:54:55 localhost.localdomain systemd[1]: Starting MariaDB database server...
Apr 25 12:54:55 localhost.localdomain systemd[1]: Started MariaDB database server.
* mariadb.socket - MariaDB 10.6.15 database server (socket activation)
Loaded: loaded (/usr/lib/systemd/system/mariadb.socket; static)
Active: inactive (dead)
Triggers: * mariadb.service
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Listen: @mariadb (Stream)
/run/mysql/mysql.sock (Stream)
[::]:3306 (Stream)
[Thu Apr 25 12:55:02.493981 2024] [mpm_prefork:notice] [pid 8322] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 25 12:55:02.566487 2024] [ssl:warn] [pid 8945] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php8/extension/mysqli.so' (tried: /usr/lib64/php8/extension/mysqli.so (/usr/lib64/php8/extension/mysqli.so: cannot open shared object file: No such file or directory), /usr/lib64/php8/extensions///usr/lib64/php8/extension/mysqli.so.so (/usr/lib64/php8/extensions///usr/lib64/php8/extension/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib64/php8/extensions/mysqli (/usr/lib64/php8/extensions/mysqli: cannot open shared object file: No such file or directory), /usr/lib64/php8/extensions/mysqli.so (/usr/lib64/php8/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
[Thu Apr 25 12:55:02.569613 2024] [mpm_prefork:notice] [pid 8945] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l-fips PHP/8.0.30 configured -- resuming normal operations
[Thu Apr 25 12:55:02.569642 2024] [core:notice] [pid 8945] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND
Il manque l'extension mysqli. Merci de vérifier la configuration PHP. Voir la documentation pour plus de détails.Dans php.ini ligne 939
extension=mysqli
Tu as quoi comme packets de libvirt installés?Code: [Sélectionner]zypper se libvirtJe pense qu'il te faut libvirt-daemon (et probablement quelques autres).
Si tout à l'air bien vérifie le status du service associé à libvirtCode: [Sélectionner]sudo systemctl status libvirt[...](TAB pour compléter le nom dont je ne suis complètement sûr, si ça ne marche pas c'est peut-être virt[...])
Pour le démarrerCode: [Sélectionner]sudo systemctl start libvirt[...]Pour l'activer (pour qu'il démarre automatiquement)Code: [Sélectionner]sudo systemctl enable libvirt[...]
zypper in php7 php apache2-mod_php7 php7-curl php7-xmlreader php7-zip php7-pdo php7-gd php7-json php7-mysql php7-mbstring php7-opensslet en regardant avec Yast Serveur Web et Lamp, je me suis apercu que Apache2_Mod_Php n'etait pas coché.
AH00557: httpd-prefork: apr_sockaddr_info_get() failed for localhost.localdomain
AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK
░░ The job identifier is 6284.
Apr 23 18:29:10 localhost.localdomain systemd[1]: Reloading The Apache Webserver...
░░ Subject: A reload job for unit apache2.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A reload job for unit apache2.service has begun execution.
░░
░░ The job identifier is 6393.
Apr 23 18:29:10 localhost.localdomain start_apache2[25031]: AH00557: httpd-prefork: apr_sockaddr_info_get() failed for localhost.localdomain
Apr 23 18:29:10 localhost.localdomain start_apache2[25031]: AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive global>
Apr 23 18:29:10 localhost.localdomain systemd[1]: apache2.service: Main process exited, code=dumped, status=6/ABRT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'dumped' and its exit status is 6.
Apr 23 18:29:10 localhost.localdomain systemd[1]: apache2.service: Failed with result 'core-dump'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit apache2.service has entered the 'failed' state with result 'core-dump'.
Apr 23 18:29:10 localhost.localdomain systemd[1]: Reload failed for The Apache Webserver.
░░ Subject: A reload job for unit apache2.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A reload job for unit apache2.service has finished.
░░
[Tue Apr 23 15:24:49.726344 2024] [mpm_prefork:notice] [pid 4491] AH00170: caught SIGWINCH, shutting down gracefully
corrupted size vs. prev_size while consolidating
AH00557: httpd-prefork: apr_sockaddr_info_get() failed for localhost.localdomain
AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Tue Apr 23 15:24:50.007859 2024] [ssl:warn] [pid 13368] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Apr 23 15:24:50.032197 2024] [mpm_prefork:notice] [pid 13368] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l-fips PHP/7.4.33 PHP/8.0.30 configured -- resuming normal operations
[Tue Apr 23 15:24:50.032226 2024] [core:notice] [pid 13368] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[Tue Apr 23 15:25:07.050411 2024] [core:notice] [pid 13368] AH00052: child pid 13376 exit signal Segmentation fault (11)
localhost:/srv/www/htdocs> ls -al
total 20
drwxrwxr-x 2 eric web 94 23 avril 01:10 .
drwxr-xr-x 4 root root 35 21 avril 23:16 ..
-rw-r--r-- 1 eric web 302 23 juil. 2008 favicon.ico
-rw-rw-r-- 1 eric web 50 22 avril 12:00 index.html
-rwxrwxrwx 1 eric users 24 7 nov. 2022 index.php
-rw-r--r-- 1 eric web 26 30 oct. 15:43 robots.txt
-rwxr-xr-x 1 eric www 20 23 avril 01:10 test.php
localhost:/srv/www> ls -al
total 0
drwxr-xr-x 4 root root 35 21 avril 23:16 .
drwxr-xr-x 4 root root 33 21 avril 23:21 ..
drwxr-xr-x 2 root root 6 15 mars 2022 cgi-bin
drwxrwxr-x 2 eric web 94 23 avril 01:10 htdocs
127.0.0.1 n'a envoyé aucune donnée.
ERR_EMPTY_RESPONSE
apache2.service - The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2024-04-23 10:31:53 CEST; 14min ago
Main PID: 4491 (httpd-prefork)
Status: "Processing requests..."
Tasks: 6
CGroup: /system.slice/apache2.service
├─ 4491 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
├─ 4542 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
├─ 4556 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
├─ 4587 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
├─ 4777 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
└─ 8404 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd.pid" -C "Include /etc/apache2/sysconfig.d//loadmodule.conf" -C "Include /etc/apache2/sysconfig.d//global.conf" -f /etc/apache2/ht>
/ btrfs defaults 0 0Volontairement pas de montage Windows.
/var btrfs subvol=/@/var 0 0
/usr/local btrfs subvol=/@/usr/local 0 0
/tmp btrfs subvol=/@/tmp 0 0
/srv btrfs subvol=/@/srv 0 0
/root btrfs subvol=/@/root 0 0
/opt btrfs subvol=/@/opt 0 0
/home btrfs subvol=/@/home 0 0
/boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
/boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
swap swap defaults 0 0
/.snapshots btrfs subvol=/@/.snapshots 0 0
/Archives ext4 defaults,noatime 0 2
/Fichiers ext4 defaults,noatime 0 2