ispmanager 6

/
/
Useful commands for ispmanager 6

Useful commands for ispmanager 6

Why?

To gain an understanding of the commands used for panel operation. These commands will enable you to access the required information and, if necessary, correctly restart the panel.

Instructions

Commands to restart the panel

The /usr/local/mgr5/sbin/mgrctl -m ispmgr exit command is used to send an API request to the panel to terminate the "ispmgr" module process, which is the main module of the panel. The module will be launched upon each instance of access, for example, when a page of the panel's web interface is loaded.

The /usr/local/mgr5/sbin/mgrctl -m core exit command is used to send an API request to the panel in order to terminate the panel core process.

The /usr/local/mgr5/sbin/mgrctl -m ispmgr -R is used to send an API request to the panel to restart the "ispmgr" module process. This ensures that the module will be started automatically after its completion.

The pkill core command will send a signal with the code "15" to the system, which terminates all processes with the word "core" in their name.

Commands to get information about the panel

The /usr/local/mgr5/bin/core ispmgr -i command will display information about the edition and version of the panel.

The /usr/local/mgr5/bin/core ispmgr -V command will display only the panel version.

Commands for working with a license 

The /usr/local/mgr5/sbin/licctl info ispmgr command is used to obtain information about the current licence on the server.

The /usr/local/mgr5/sbin/licctl fetch ispmgr command will send a request to the licensing server to obtain license information and download the license file corresponding to the IP address of the panel.

Commands for locking and unlocking the panel

PLEASE NOTE!

We do not recommend to perform these commands on your own. If you have any doubts about the consequences of the commands you want to execute, please contact our technical support team.

The /usr/local/mgr5/sbin/mgrctl -m ispmgr -u and /usr/local/mgr5/sbin/mgrctl -m core -u commands are intended to unlock the "ispmgr" module and the panel core, respectively.

Unlocking may be required if the panel returns the error "Access to the panel is blocked by the administrator". However, please be careful when unlocking it as the panel is often blocked during the installation of an update.

The /usr/local/mgr5/sbin/mgrctl -m ispmgr -l and /usr/local/mgr5/sbin/mgrctl -m core -l commands are intended to block the "ispmgr" module and the panel core, respectively.

Commands for obtaining information about installed components

To view the installed packages associated with a panel, use the following commands:

  • For RHEL-based systems: rpm -qa | grep manager | sort
  • For RHEL-based systems: dpkg -l | grep manager | sort

To obtain information about the native DBMS, use the following commands:

  • For RHEL-based systems: rpm -qa | grep -iE "(mysql|mariadb)" | grep -i server
  • For Debian-based systems: dpkg -l | grep -iE "(mysql|mariadb)" | grep -i server

To obtain information about the native PHP, use the php -nv command.

To check for CloudLinux license availability, use the cldetect -check-license command.