Modifying the configuration and its integrity check [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:dpi_components:platform:dpi_admin:admin_chgconf:start [2018/04/12 18:19] kvazikraven:dpi:dpi_components:platform:dpi_admin:admin_chgconf:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== 5 Reconfiguration and configuration review ====== 
-{{indexmenu_n>5}} 
-Errors occured attempting to create or configure the dpi (by configuing the file: /etc/dpi/fastdpi.conf) 
-may cause the dpi fails to start, so it is highly recommended to back up the original configuration file (/etc/dpi/fastdpi.conf), edit this backup file, check it using diagnostic command, and only after that to replace the original file with newly created one and to restart dpi. 
- 
-Example of recommended actions: 
- 
-<code> 
-#create backup file (/etc/dpi/fastdpi.conf.new) 
-cp /etc/dpi/fastdpi.conf /etc/dpi/fastdpi.conf.new 
-#edit backup file 
-vi /etc/dpi/fastdpi.conf.new 
-#integrity test  
-fastdpi -p -c /etc/dpi/fastdpi.conf.new 
-#Result check configuration : SUCCESS means that configuration is valid 
-#replase the original configuration file by the newly created one 
-cp /etc/dpi/fastdpi.conf.new /etc/dpi/fastdpi.conf 
-#restart dpi 
-service fastdpi restart 
-</code> 
- 
-