It may happen that during normal operation NetVizura encounters an error from which it cannot recover on its own. In these cases you have to restart NetVizura's services.
Access the server via ssh and execute the following commands:
Execute commands in strict order to avoid improper application restart. Tomcat service must be started after PostgreSQL for instance. |
systemctl stop tomcat9
systemctl stop postgresql-12
systemctl start postgresql-12
systemctl start tomcat9
systemctl stop tomcat
systemctl stop postgresql-9.6
systemctl start postgresql-9.6
systemctl start tomcat
systemctl stop tomcat7
systemctl stop postgresql
systemctl start postgresql
systemctl start tomcat7
systemctl stop tomcat8
systemctl stop postgresql
systemctl start postgresql
systemctl start tomcat8
systemctl stop tomcat9
systemctl stop postgresql
systemctl start postgresql
systemctl start tomcat9
Check the names of your services before attempting stop and start commands.. Names of Tomcat and PostgreSQL services may differ on different installations. For Example Tomcat may be tomcat6 or tomcat7 and PostgreSQL may be postgresql-9.2 or higher. |
Execute commands in strict order to avoid improper application restart. Tomcat service must be started after PostgreSQL for instance |
1. Stop tomcat
Double click on Apache Tomcat Properties in system tray. In General tab, click Stop to stop tomcat service.
2. Stop postgresql
Open Command Prompt or Windows PowerShell with admin privileges and type: net stop postgresql-x64-9.5
3. Start postgresql
net start postgresql-x64-9.5
4. Start tomcat
In General tab of Apache Tomcat Properties, click Start to start tomcat service.
Version 9.5 of PostgreSQL service in these article is an example. Check which version of this service is installed on your server and use this name in the commands listed above. For example, if you have installed Postgresql 9.4 the command 2b will be net stop postgresql-x64-9.4
|
On the Start menu search for "cmd" or "powershell", right-click the program icon, and then click Run as Administrator. |