Categories
Solution

restart CyberPanel

Restart CyberPanel service:

systemctl restart lscpd
Categories
Solution

Adding already registered domain to WHMCS without creating invoice

If you already have a domain registered, you can add it to WHMCS without creating another invoice or renewing it for another year.

Instructions: https://whmcs.community/topic/295587-add-domain-to-client-panel/

Categories
Solution

[fix] At least xMB more space needed on the /boot filesystem

How to fix: At least xMB more space needed on the /boot filesystem:
https://haydenjames.io/fix-least-xmb-space-needed-boot-filesystem/

Categories
Solution

[solution] cmake 3.1 or higher is required. you are running version 2.8

If you are getting the error “cmake 3.1 or higher is required. you are running version 2.8” while trying to compile znc or something else on CentOS, follow the solution given here to upgrade your cmake from cmake 2 to cmake 3:
https://stackoverflow.com/a/59689105

If you get the error “Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.” while compiling cmake, you can try installing cmake 3.9.6 instead of the latest
https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6.tar.gz

If cmake --version gives you error:
-bash: /usr/bin/cmake: No such file or directory
run hash -r and then check again.

Issues covered over this solution:
cmake 3.1 or higher is required. you are running version 2.8.12.2
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
-bash: /usr/bin/cmake: No such file or directory

Categories
Solution

znc error: Your browser does not have cookies enabled for this site!

If you are getting the error “Your browser does not have cookies enabled for this site!” when visiting znc web console, simply delete that cookie from your browser and try again

Categories
Solution

[solution] Unable to bind: Address already in use

When trying to run an app if you are getting the error “Unable to bind: Address already in use”, you can use this command on linux to check which process is already using that port:

netstat -tulpn

Then you can kill the process with:

kill <pid>

If you are on windows you can check the port usage with:

netstat -a -o -n

And kill process on windows with:

taskkill /F /PID <pid>