• Contact Us
  • copyright
  • About Us
  • Privacy Policy
  • Devops
  • Linux
Globedrill

*WARNING* TESTING mode is enabled – do not forget to disable it in the configuration

Linux/24 Dec, 16/5933/0
Linux

*WARNING* TESTING mode is enabled – do not forget to disable it in the configuration

 

I saw the above warning when I tried to restart CSF (ConfigServer Security & Firewall) installed on my Linux server. Do the below steps to fix the above warning.
 
FIX :

1. Log into your linux server via SSH as root user

You can download software like ‘putty’ to SSH to the server.

2. Take a backup of the CSF configuration file before making any changes.
 

root@server [~]# cp -a /etc/csf/csf.conf /etc/csf/csf.conf.backup

 
CSF configuration file backup is saved as csf.conf.backup. Restore this backup if you make any mistakes while editing the configuration file.

3. Open CSF configuration file /etc/csf/csf.conf using vi editor or nano

root@server [~]# vi /etc/csf/csf.conf

Change the line TESTING = “1” to TESTING = “0”

Make sure you are able to access the server from outside before changing Testing mode to 0. Make sure all the important ports are allowed in the CSF configuration file before disabling testing mode.

TESTING = “1” means CSF is in testing mode. Lfd will not start when testing mode is enabled in CSF.

TESTING = “0” means testing mode is disabled. Lfd will start when testing mode is disabled.

4. Do not forget to restart the CSF firewall after changing the above line

command to restart CSF : csf -r

You wont see TESTING mode enabled warning when you restart the firewall this time. Check the status of ‘lfd’ after restating the firewall.

root@server [~]# /etc/init.d/lfd status
Status of lfd:lfd (pid 23181) is running…

Leave a Reply Cancel reply

.

About Us

Globedrill.com is a website that publishes articles related to Linux and Devops. Globedrill was started on April 2016.

Contact Us

Email : globedrill.c@gmail.com

Globedrill

Copyright © 2016 Globedrill. All Rights Reserved. The content in this website is copyrighted to Globedrill.com and may not be republished either online or offline.

  • About Us
  • Privacy Policy
  • Contact Us
  • copyright