Error Cyrus SASL Authentication Server

Hello.
I bought a new vps server. I installed Ubuntu 24.04 lts, and I reinstalled virtualmin with the command cd /tmp/;wget https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh;sh virtualmin-install.sh

This error comes out. How can I fix it???

|Operating system|Ubuntu Linux 24.04.1|
| — | — | — | — |
|Webmin version|2.202|Usermin version|2.102|
|Virtualmin version|7.30.3|

You need to check log files for errors then we may have something to go on.

Have you clicked the play button next to it to restart the server?

I think people have had this issue with this version of Ubuntu before, it is something to do with the config location being different.

Sorry I don’t have the link but it is on the forum.
.

As far as I know this only applied when you upgraded 22.04 to 24.04 - the OP installed a fresh 24.04

See if this fixes your issue:

I didn’t do an upgrade, just a fresh install. The play button doesn’t do anything.

I will look at the link you posted. Which log files should I see?

Try: journalctl -u saslauthd

Maybe it’s a bug for Ubuntu 24.04???

.I fixed the Cyrus SASL Authentication Server and restarted the server, the ssh service also stopped working. I saw that in the services after the clean installation of Ubuntu it was not configured to start automatically.

Now everything is ok.

sas

@Ilia Do the Virtualmin install scripts need to be updated to fix the SASL issue. This has been a regular issue with Ubuntu 24.04

@dimgr what did you do to fix the SSH?

Webmin/Bootup and Shutdown/ssh.service >Start on boot The service was set to NO by the ubuntu installation.

The same goes for the service >Cyrus SASL Authentication Server

1 Like

sudo systemctl enable saslauthd;sudo systemctl enable ssh

2 Likes

Which SASL issue specifically? To be clear, if the Virtualmin installation script ran on a clean Ubuntu 24.04, it will work as expected.

After posting there seems to be 2 issues.

  • the config location sometimes needs to be set to the correct location of SASL
    Ubuntu 22.04 LTS to Ubuntu 24.04 LTS upgrade
    granted this was after an upgrade.
  • This one in the thread seems a new one so might not be a pattern where the SASL and SSH were not starting. After reading the top, I am not sure if it was a fresh install as he said “I re-installed virtuamin” but this might just be lost in translation as it was a new VPS server.

The service does not start automatically after a clean installation of Ubuntu 24.04.

The same goes for the ssh service, which stops when the server reboots.

Yes, this can be an issue and may require a manual fix. Though, most likely, running the following will resolve it with minimal efforts:

virtualmin-config-system -i SASL

Keep it simple—one topic, one thread.

I was, I proposed the SASL config location as a potential solution :smile:

1 Like

Which service? If you talk about saslauthd then run the following to start and enable the service:

systemctl enable --now saslauthd

To solve the problem, I did what is written in the message below.

I’d need to look into the distro upgrade from 22.04 to 24.04 deeper and see if it can be automated. But I expect that running virtualmin-config-system -i SASL should fix the issue—wan’t it the case for you?

I didn’t upgrade. The server is new and I did a clean install of unubtu 24.04.
I fixed the problems.

root@cp:~# virtualmin-config-system -i SASL
[1/1] Configuring SASL :heavy_check_mark:
root@cp:~#