启动/停止 CRM 系统

Stop CRM server

CRM is a JEE application and runs on JEE application server like Tomcat. There are two way to shut down the CRM service, first is stop CRM web application only, the other is stop all CRM applications includes web server and database. We assume the CRM application runs on Tomcat and Linux server.

Stop application only

If CRM runs in Tomcat then you could login tomcat manager screen to shutdown CRM.

   Step 1: Open http://crm.clientvision.cn/manager/html and type admin user name and password to login as manager.
           Please note that your crm url may be differnt here.
   Step 2: Find CRM in the list of applications, usually it names "/openjades". 
           There are four operations in the commands, they are Start, Stop, Reload and Undeploy.
   Step 3: Click "Stop" to stop CRM application.

Tomcat manager
Tomcat manager

Stop all CRM applications

If you would like to stop all CRM processes then you should following the steps below:

   Shutdown Tomcat JEE application server
           Step 1: Login CRM linux server with ssh terminal 
           Step 2: Go to tomcat bin directory, like /usr/local/tomcat5.5/bin
           Step 3: Type command: sudo ./shutdown.sh
                   After a while, tomcat server should be shutdown.
                   As a verify, you could type "ps -ef | grep Tomcat" to check the process exists or not
   Shutdown PostgreSQL database
           Step 1: On the same linux server, go to postgres bin directory, like /usr/local/psql/bin
           Step 2: Type command: sudo ./pg_ctl stop
                   After a while, postgres database server should be shutdown. 
                   As a verify, you could type "ps -ef | grep postgres" to check the process exists or not
   Shutdown eXist XML database
           Step 1: On the same linux server, go to eXist bin directory, like /usr/local/eXist/bin
           Step 2: Type command: sudo ./shutdown.sh -u <admin user> -p <admin password>
                   After a while, eXist XML database server should be shutdown. 
                   As a verify, you could type "ps -ef | grep eXist" to check the process exists or not

Start CRM server

Start application only

If you only stop CRM application in JEE application server, then you could follow the steps below to start CRM

   Step 1: Open http://crm.clientvision.cn/manager/html and type admin user name and password to login as manager.
           Please note that your crm url may be differnt here.
   Step 2: Find CRM in the list of applications, usually it names "/openjades". 
           There are four operations in the commands, they are Start, Stop, Reload and Undeploy.
   Step 3: Click "Start" to start CRM application.


Start all CRM applications

If CRM server is shutdown totally or just new, then you should follow the steps below to start it

   Start PostgreSQL database
          Step 1: Login CRM linux server with ssh terminal
          Step 2: Go to postgres bin directory, like /usr/local/psql/bin
          Step 2: Type command: sudo ./pg_ctl start
                  After a while, postgres database server should be started. 
                  As a verify, you could type "ps -ef | grep postgres" to check the process exists or not
   Start eXist XML database
          Step 1: On the same linux server, go to eXist bin directory, like /usr/local/eXist/bin
          Step 2: Type command: sudo ./startup.sh
                  After a while, eXist XML database server should be started. 
                  To run exist on backgroup process, you could type "Ctrl+z" then type "bg"
   Start Tomcat JEE application server
          Step 1: On the same linux server, go to tomcat bin directory, like /usr/local/tomcat5.5/bin
          Step 2: Type command: sudo ./startup.sh
          Step 3: Open CRM login page (http://crm.clientvision.cn/openjades) and login CRM.
                  Please note that your crm url may be differnt here.


After start CRM application successfully, you should see the login page on web browser

ClientVision CRM login
ClientVision CRM login