"No Swap" message still appearing after configuring swap space

I’ve installed FreePBX manually on an EC2 image, and configured swap as well. swap shows with free -m and exists in fstab. It’s definitely working normally.

So, after several service restarts and server reboots, the message still shows on the FreePBX dashboard. Any idea why?

OS: CentOS 7
FreePBX 14.0.2.5
Asterisk 14.7.6

I had a similar problem on GCP and learned that fallocate and swap don’t play well together. If that’s your issue, try something like this to set up swap:

dd if=/dev/zero of=/swapfile count=1024 bs=1MiB
chmod 600 /swapfile
mkswap /swapfile
echo '/swapfile               none                    swap    sw              0 0' >> /etc/fstab
swapon -a

Thanks @Stewart1, but that’s not my particular issue. I have swap correctly configured and recognized in the OS as swap. Not sure why FreePBX isn’t also recognizing it.

I had a similar experience, I updated the modules and the error went away.

Thanks @lzcantrell, all modules are fully updated.

Fixed.
The OS was in fact not properly recognizing the swap with free -m. I fixed it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.