Forum Linux.pl

System => Administracja => Wątek zaczęty przez: mariuszad w 2021-09-21, 08:51:30

Tytuł: clamd@scan nie startuje po aktualizacji
Wiadomość wysłana przez: mariuszad w 2021-09-21, 08:51:30
Witam
Na CentOS Linux release 7.9.2009 (Core) po aktualizacji ClamAV mam poniższy komunikat:

# systemctl start clamd@scan.service
wrz 21 08:38:30 ns1.bipe.pl clamd[24567]: LOCAL: Could not create socket directory: /var/run/clamd.scan: Permission denied
wrz 21 08:38:30 ns1.bipe.pl clamd[24566]: ERROR: LOCAL: Could not create socket directory: /var/run/clamd.scan: Permission denied
wrz 21 08:38:30 ns1.bipe.pl clamd[24566]: ERROR: LOCAL: Socket file /var/run/clamd.scan/clamd.sock could not be bound: No such file or directory
wrz 21 08:38:30 ns1.bipe.pl clamd[24567]: LOCAL: Socket file /var/run/clamd.scan/clamd.sock could not be bound: No such file or directory
wrz 21 08:38:30 ns1.bipe.pl systemd[1]: clamd@scan.service: control process exited, code=exited status=1
wrz 21 08:38:30 ns1.bipe.pl systemd[1]: Failed to start clamd scanner (scan) daemon.

# ll /var/run
...
drwxr-x---  2 chrony   chrony     80 07-10 19:43 chrony
drwxr-xr-x  2 clamsmtp mail       40 09-21 08:37 clamd.clamsmtp
drwxr-xr-x  2 clamsmtp mail       40 09-21 08:37 clamsmtpd
drwxr-xr-x  2 root     root       40 07-10 19:43 console
...

Wygląda to tak jakby nie mógł założyć sobie folderu clamd.scan  a w nim pliku. To błąd konfiguracji czy jakiś inny problem?
Może mi ktoś pomóc rozwiązać ten problem ?

Pozdrawiam
M
Tytuł: Odp: clamd@scan nie startuje po aktualizacji
Wiadomość wysłana przez: robson75 w 2021-09-21, 12:40:35
https://www.howtoforge.com/community/threads/clamd-will-not-start.34559/ (https://www.howtoforge.com/community/threads/clamd-will-not-start.34559/)
https://forums.centos.org/viewtopic.php?t=64979 (https://forums.centos.org/viewtopic.php?t=64979)
Tytuł: Odp: clamd@scan nie startuje po aktualizacji
Wiadomość wysłana przez: mariuszad w 2021-09-22, 09:46:54
Dzięki. Już działa