Probleme avec postgresql

Bonjour @ tous,

Mon serveur YunoHost

Matériel: Brique Internet avec VPN
Version de YunoHost:

L’architecture du serveur est bare-metal armhf

Le modèle/architecture du serveur est Olimex A20-OLinuXino-LIME

Le serveur utilise le noyau Linux 4.19.62-sunxi

Le serveur utilise Debian 11.2

Le serveur utilise YunoHost 11.0.4 (testing)

yunohost version : 11.0.4 (testing)
yunohost-admin version : 11.0.4 (testing)
moulinette version : 11.0.2 (testing)
ssowat version : 11.0.2 (testing)

**Matériel:** Brique Internet avec VPN
**Version de YunoHost:**  x.x.x
**J'ai accès à mon serveur :** En SSH | Par la webadmin 
**Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ?** :  oui
**Si oui, expliquer:**
Testing

### Description du problème

Depuis ce matin cron m’envoie des messages pour me signaler un soucis avec le log postgresql. 

Cron <root@didiercl> /usr/lib/armbian/armbian-truncate-logs

truncate: cannot open '/var/log/postgresql/postgresql-13-main.log' for writing: Permission denied

pourtant le service est actif et diagnostic ne retourne aucun problème.

Si quelqu’un à une idée je suis preneur.

Bon après midi.

didier58

Tu peux partager la sortie de namei -l /var/log/postgresql/postgresql-13-main.log ?

Salut @ Alex,

Pas de problème voici le retour,

f: /var/log/postgresql/postgresql-13-main.log
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root log
drwxrwxr-t root postgres postgresql
-rw-r----- postgres adm postgresql-13-main.log

didier58

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.