dimgr
December 31, 2024, 8:13am
1
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.
Steini
December 31, 2024, 9:36am
3
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.
.
Steini
December 31, 2024, 10:14am
5
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:
Just to let anyone interested know that on the 29th August 2024, Ubuntu released the 1st update of 24.04.1 LTS, and servers can be upgraded from 22.04 LTS to 24.04 LTS via terminal.
The JumpCloud website has a pretty good “how to” section, if anyone is interested.
How to Upgrade from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS - JumpCloud )
I have updated 6 servers so far (all using Virtualmin gpl), and each upgrade has taken about 20-30 minutes. I always back up offsite, just in case there are iss…
dimgr
December 31, 2024, 10:17am
6
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?
Steini
December 31, 2024, 10:34am
7
Try: journalctl -u saslauthd
dimgr
December 31, 2024, 10:47am
8
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.
@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?
dimgr
December 31, 2024, 11:10am
10
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
Steini
December 31, 2024, 11:14am
11
sudo systemctl enable saslauthd;sudo systemctl enable ssh
2 Likes
Ilia
December 31, 2024, 11:17am
12
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.
dimgr
December 31, 2024, 11:23am
14
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.
Ilia
December 31, 2024, 11:29am
15
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
1 Like
Ilia
December 31, 2024, 11:33am
17
Which service? If you talk about saslauthd
then run the following to start and enable the service:
systemctl enable --now saslauthd
dimgr
December 31, 2024, 11:40am
18
To solve the problem, I did what is written in the message below.
Just to let anyone interested know that on the 29th August 2024, Ubuntu released the 1st update of 24.04.1 LTS, and servers can be upgraded from 22.04 LTS to 24.04 LTS via terminal.
The JumpCloud website has a pretty good “how to” section, if anyone is interested.
How to Upgrade from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS - JumpCloud )
I have updated 6 servers so far (all using Virtualmin gpl), and each upgrade has taken about 20-30 minutes. I always back up offsite, just in case there are iss…
Ilia
December 31, 2024, 11:53am
19
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?
dimgr
December 31, 2024, 2:53pm
20
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
root@cp:~#