Suite et fin…
En ssh depuis mon PC client et en root :
1) J’ai réussi à faire un sudo apt update
sans cette fois le fichu message :
You don’t have enough free space in /var/cache/apt/archives/
2) Puis un sudo apt upgrade
qui m’a indiqué :
sudo: ldap_sasl_bind_s(): Can’t contact LDAP server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
base-files ca-certificates certbot dnsmasq dnsmasq-base dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd dovecot-managesieved dovecot-sieve file grub-common grub-efi-amd64
grub-efi-amd64-bin grub-efi-amd64-signed grub2-common intel-microcode iproute2 ldap-utils libcairo-gobject2 libcairo2 libdbi-perl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev
libgnutls30 libgnutlsxx28 libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libnss-myhostname libnss-systemd libpam-systemd libpq5 libsystemd0 libudev1 linux-libc-dev postgresql-11
postgresql-client-11 postsrsd python-bottle python3-bottle python3-certbot slapd systemd systemd-sysv tzdata udev unzip yunohost
52 upgraded, 0 newly installed, 0 to remove and 7 not upgrade
…
Setting up slapd (2.4.47+dfsg-3+deb10u5) …
Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.47+dfsg-3+deb10u4… done.
Job for slapd.service failed because the control process exited with error code.
See “systemctl status slapd.service” and “journalctl -xe” for details.
invoke-rc.d: initscript slapd, action “restart” failed.
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
Loaded: loaded (/etc/init.d/slapd; generated)
Drop-In: /etc/systemd/system/slapd.service.d
└─ynh-override.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2021-02-08 18:25:00 CET; 7ms ago
Docs: man:systemd-sysv-generator(8)
Process: 13390 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)
Feb 08 18:25:00 mondomaine.tld systemd[1]: slapd.service: Failed with result ‘exit-code’.
Feb 08 18:25:00 mondomaine.tld systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
dpkg: error processing package slapd (–configure):
installed slapd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
slapd
Updating loolwsd systemplate
E: Sub-process /usr/bin/dpkg returned an error code (1)
Toujours donc mon second problème d’accès à ldap…
3) Enfin un sudo apt autoremove
qui me renvoie :
sudo: ldap_sasl_bind_s(): Can’t contact LDAP server
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
ldap-utils : Depends: libldap-2.4-2 (= 2.4.47+dfsg-3+deb10u4) but 2.4.47+dfsg-3+deb10u5 is installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
4) Donc un apt --fix-broken install
qui me dit :
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
ldap-utils
Suggested packages:
libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
The following packages will be upgraded:
ldap-utils
1 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
5 not fully installed or removed.
Need to get 0 B/199 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Reading changelogs… Done
Setting up slapd (2.4.47+dfsg-3+deb10u5) …
Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.47+dfsg-3+deb10u4… done.
Job for slapd.service failed because the control process exited with error code.
See “systemctl status slapd.service” and “journalctl -xe” for details.
invoke-rc.d: initscript slapd, action “restart” failed.
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
Loaded: loaded (/etc/init.d/slapd; generated)
Drop-In: /etc/systemd/system/slapd.service.d
└─ynh-override.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2021-02-08 18:26:11 CET; 10ms ago
Docs: man:systemd-sysv-generator(8)
Process: 14128 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)
Feb 08 18:26:11 mondomaine.tld systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
dpkg: error processing package slapd (–configure):
installed slapd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
slapd
Updating loolwsd systemplate
E: Sub-process /usr/bin/dpkg returned an error code (1)
5) Et là, surprise… df -h
me renvoie :
Size Used Avail Use% Mounted on
udev 3.7G 0 3.7G 0% /dev
tmpfs 745M 74M 671M 10% /run
/dev/mapper/gen10–ssd-root 23G 15G 6.9G 69% /
tmpfs 3.7G 0 3.7G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
/dev/sda2 237M 49M 176M 22% /boot
/dev/sda1 511M 9.0M 502M 2% /boot/efi
/dev/mapper/gen10–ssd-home 178G 22G 147G 13% /home
/dev/mapper/gen10–ssd-tmp 1.8G 5.8M 1.7G 1% /tmp
/dev/mapper/gen10–ssd-var 9.2G 3.3G 5.4G 38% /var
/dev/md0 7.3T 308G 6.6T 5% /media/stockage
tmpfs 745M 0 745M 0% /run/user/0
Va comprendre Charles…
Enfin un problème de réglé même si j’ai pas compris le pourquoi du comment (et ça m’énerve un peu…). Reste mon soucis avec ldap…
Merci pour l’attention consacrée et l’aide apportée
Longue vie à Yunohost