Details
A list of useful commands for troubleshooting operations.
Requirements/Conditions/Restraints
Instructions
Database configuration:
In order to change any user password:
In order to view the content of the db log file:
Database statistics:
License:
- rcs-db-license -n [licenseName]
- e.g. rcs-db-license -n LICENSE-1952843504-v9.2.lic
In order to change the server name:
- rcs-db-config -n [newName]
- e.g. rcs-db-config -n rcsbackend
Worker statistics:
Worker queue:
Collector configuration:
Collector statistics:
Collector queue:
Collector log:
Statistics:
Diagnostic:
- rcs-[serviceName]-diagnostic (db or collector)
- Creates a ZIP file containing logs and info.
In order to repair Mongo DB if it is corrupted:
- stop the services;
- create a backup;
- run the command rcs-db-mongo-repair
- restart the services in this order:
a. Master Config;
b. Master Shard;
c. Master Router;
d. all other.
Log analysis benefits
Component |
Logs analysis is useful in order to: |
Master Node |
Check for problems in RCS Console. |
Collector |
Check for the data transmitted by the agent. |
Carrier |
Check for the data transmitted to the shards and Master Node. |
Module OCR |
Check for any delays in the indexing of extracted contents. |
Module Translate |
Check for any delays in the contents translation. |
Network Controller |
Check the status of Network Injector or Anonymizer. |
Network Injector |
Check the run operations. |
Anonymizer |
Check the data stream ingoing from the agent. |