The CAS GUI is unavailable; the website cannot be reached. |
The "Admin" service is one of two critical services that run on your hosted server. The admin service enables remote browser access for administration of your CAS settings.
If you cannot connect to CAS using your web browser, then the problem may lie within your CAS server.
BATMs do not use or rely on the Admin service. If the GUI is available, abandon this article.
See instead: Master Service Issues
BATMs do not use or rely on the Admin service. If the GUI is available, abandon this article.
See instead: Master Service Issues
If the Admin service is disrupted, your BATMs will continue to operate, but you won't be able to view or make changes to their settings remotely. Here are some solutions to the most common problems.
Your computer, your router, your internet provider, your CAS host, or your CAS server may be down (or any combination of these possible failure points).
Read this article regarding insecure connections: Insecure Browser Connections
If you've never used CAS before, be sure to read the article.
From your server's command line interface (CLI), copy/paste or type:
wget -qO - ipv4.icanhazip.com |
|
It should match the IP address reported using:
hostname -I |
If the same numbers are NOT listed, then you are behind a router/firewall.
|
First, identify if the Admin service is running. From your server's command line interface (CLI), type:
sudo /batm/batm-manage info |
The status of the Master and Admin services (running/stopped) should be displayed. |
Ensure that your public IP address (as identified in Step 2) is correct!
If the public IP address is WRONG, then copy/paste (or type):
sudo echo "public_ip="$( wget -qO - ipv4.icanhazip.com ) > /batm/config/network |
Alternatively, manually edit the IP in the "/batm/config/network" file.
If you open a support ticket, include all the listed information.
Send a screenshot or picture of this info.
sudo /batm/batm-manage start admin |
Permit the service time to startup (90+ seconds)
Use the "info" command again to see if it is working:
sudo /batm/batm-manage info |
If the admin service still won’t start, the explanation will almost always be caught in the logs.
Start the admin service using this special command:
sudo /batm/batm-manage fg admin |
the admin service will attempt to start - but it will display ALL messages onscreen - successes AND failures. Not all failures are unexpected or unwanted; they are merely reporting tools and the information is used for complex debugging.
Errors reported towards the end are the most relevant.
If the admin service is started without the “fg
" switch (using “start
"), then the admin log will be concatenated to any previous admin log, and can be examined by typing:
sudo cat /var/log/batm/admin.log |
NO OTHER SOFTWARE SHOULD INITIALLY BE RUNNING ON YOUR SERVER.
|
Our recommended configurations are tested over and over.
See: CAS CLI Installation
sudo df -h |
Should report at least 5GB free drive space for both services to run reliably.
A custom extension may cause the admin service to stop. If you’ve tried everything else, disable any custom extensions that you’ve installed. If you’ve never installed an extension - then there’s nothing to disable - but if you have? Try disabling it to eliminate it as a possible cause.
Instructions: https://generalbytes.atlassian.net/l/cp/hd1zafYZ
Include the results of "batm-manage info"
Other potential causes include:
CPU overloading, resulting in random intermittent server reboots,
Insufficient memory,
Hardware failure,
Attacks by malicious actors overloading your server.
These problems are outside the scope of General Bytes support.
Please contact your hosting provider or a third-party trusted vendor to address server issues and/or required upgrades. Watch your server usage graphs (if available). Use the "top" utility to watch processor load. It should stay well below 50% on a normal system.
The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.
|