Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread: CentOS2Alma discussion
Hi,
Thank you for your reply. I ran these command this is the output:
apt-get install gnupg
apt-get install gpg
and I try this one also, this is the output:
sa-update --nogpg
I am a little bit confuse and I don't know why it is not working.
Do you have any clue?
Hi @Bence98,
Seems that the reinstallation of SpamAssassin didn't help you. Most likely the packages are not configured now.
You can check it by running: dpkg -l | grep spamassassin dpkg -l | grep sa-compile
The packages will be marked either with iU or iF flags.
There can be 2 different issues here.
1st one:
1. Try to log in to under another user in CLI, e.g.: su plesk.test
Check if you can switch to it or you get an error like: su: Module is unknown
2. Go back to the root user and check the file /var/log/auth.log, there can be something like: q-server CRON[30816]: PAM unable to dlopen(pam_limits.so-session): /lib/security/pam_limits.so-session: Cannot open shared object file <C3><B6>: File or directory not found
q-server CRON[30816]: PAM adding faulty module: pam_limits.so-session
If you see smth like that there can be a misconfiguration of /etc/pam.d/common-session file.
Try to fix it like that:
Create a backup of /etc/pam.d/common-session file. cp -p /etc/pam.d/common-session /root/common-session_backup
Edit /etc/pam.d/common-session file so it looks like mine:
#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive).
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules. See
# pam-auth-update(8) for details.
# here are the per-package modules (the "Primary" block)
session [default=1] pam_permit.so
# here's the fallback if no module succeeds
session requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
session required pam_permit.so
# The pam_umask module will set the umask according to the system default in
# /etc/login.defs and user settings, solving the problem of different
# umask settings with different shells, display managers, remote sessions etc.
# See "man pam_umask".
session optional pam_umask.so
# and here are more per-package modules (the "Additional" block)
session required pam_unix.so
session optional pam_systemd.so
# end of pam-auth-update config
To fix packages run the command below: apt-get install -f
2nd one:
The issue can be related to the bash script being interpreted by the wrong shell, e.g. /bin/sh.
1. Check the shell: grep spamassassin /etc/passwd
[B]debian-spamd[/B]:x:111:117::/var/lib/spamassassin:[B]/bin/sh[/B]
2. Try to change the shell and complete the installation: usermod -s /bin/bash debian-spamd apt-get install -f
Thank you for your message.
I tried all the solutions that you wrote here, but they didn't help.
I attached the log.
Do you have any idea? I don't have any clue.