• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Bayes error messages when updating

A

ashopandreas

Guest
When I updated from 7.5.4 to 8 using the auto installer, I got a lot of error messages like this one:

bayes: cannot open bayes databases /var/qmail/mailnames/adomain.com/mailname/.spamassassin/bayes_* R/W: tie failed: Inappropriate ioctl for device

I got one of these for each mailbox on the machine.

The update still continued and everything seems to work but I'm worried that there might be something wrong that I haven't discovered yet. Does anyone know what this error message means and if something needs to be fixed?
 
We are getting the same errors, not sure if anything is wrong yet though. Did you find anything out?
 
We also are getting this error after the upgrade any idea's?
 
Ok I think I figuired it out.

To solve this issue, you need to remove the bayes files from the previous version of spamassassin and then rebuild the email addresses using the follwoing commands:

rm -f /var/qmail/mailnames/*/*/bayes_toks
rm -f /var/qmail/mailnames/*/*/auto-whitelist
rm -f /var/qmail/mailnames/*/*/auto-whitelist.lock
rm -f /var/qmail/mailnames/*/*/bayes_seen
rm -R -f /var/qmail/mailnames/*/*/.spamassassin
rm -f /var/qmail/mailnames/*/*/user_prefs
rm -f /var/qmail/mailnames/*/*/spamcheck*

/usr/local/psa/admin/bin/mchk --with-spam
 
This seemed to fix it for me. YMMV.
Code:
find /var/qmail/mailnames -name bayes_toks -exec chown popuser.popuser {} \;
The problem was that the bases_toks files had changed ownership to root.root.
 
Back
Top