Steps to follow if the TFTP and SCP servers in the Site24x7 On-Premise Poller are not running
If you have chosen the TFTP and SCP protocols for network configuration management, the status of the TFTP and SCP servers should be
Running
for configuration backups to happen properly. If the status is
Not Running
, follow the steps below.
Windows
-
From your Windows machine, open
Resource Monitor
as an administrator.
-
Click the
Network
tab.
-
In the
Port
column under the
Listening Ports
section, check ports 22 and 69 for the SCP and TFTP servers, respectively.
-
Make a note of the PID for each port.
Port 22
Port 69
-
To stop a running process in Windows:
-
Run
Task Manager
as an administrator.
-
Click the
Details
tab.
-
Search for the process with the PID that you noted above.
-
Right-click the process and select
Properties
.
-
Check the process location and verify if it is important.
-
If not, right-click the process and select
End process tree
.
-
Restart the On-Premise Poller for the changes to take effect.
Linux
The SCP server is not running
The default SSH service used for remote login to the server on which the On-Premise Poller is installed runs on port 22. A conflict arises when another process uses the same port. Due to this, the SCP server status is shown as
Not Running
.
To resolve this issue, you must replace the SSH port number used for remote server login. Changing the port may impact your remote login to the server. So, we recommend using the SSH/TELNET or SSH - TFTP/TELNET - TFTP protocol before changing the SSH service port. As another option, you can try using the On-Premise Poller on a Windows server.
Nevertheless, if you must use the SCP protocol, follow the steps given below.
-
Select an unused port between 1024 and 65535. In this example, we will select port 2222. To verify if it is available, execute the following command on the terminal:
sudo netstat -tulpn | grep ':2222'
If the port is available, it will not be listed when the command is executed. Otherwise, select a different port within the specified range.
-
Next, we will change the default port 22 to 2222. For this, you must open the port in the firewall also.
Updating the SSH service port without opening the new port in the firewall might result in losing the remote connection to the server. Execute the appropriate command according to the Linux flavor and firewall type
-
For Uncomplicated Firewall (UFW) in Ubuntu-based systems:
-
To open the port, execute the following command:
sudo ufw allow [port-number]
For example: sudo ufw allow 2222
-
After adding the port to the firewall, restart the UFW service to apply the changes by executing the following command:
sudo systemctl restart ufw
-
For firewalld in CentOS- and RHEL-based systems:
-
To open the port, execute the following command:
sudo firewall-cmd --zone=public --add-port=[port-number]/[protocol] --permanent
For example: sudo firewall-cmd --zone=public --add-port=2222/tcp --permanent
-
Restart the firewalld service with the following command:
sudo systemctl restart firewalld
-
If you are using a SELinux-based system, execute the following command in addition to the previous commands:
semanage port -a -t ssh_port_t -p tcp [port_number]
For example: semanage port -a -t ssh_port_t -p tcp 2222
-
Next, open the /etc/ssh/sshd_config file.
-
Search for the #Port 22 line and add the line Port 2222 below it.
-
Save the file.
-
Then, reload the SSH service by executing the following command:
sudo systemctl restart sshd
-
Before closing this session, try connecting to the remote host with the newly configured port using the following command:
ssh {user}@{server_ip} -p 2222
If you still face any issues, delete the line added in step 5 and reload the SSH service as stated in step 7. After this, contact your sysadmin with the details to change the SSH service port.
-
The TFTP server is not running
This issue occurs when port 69 is already occupied by another process. You must end any unnecessary process using this port to resolve this issue.
-
Execute the following command to list all the programs on port 69 and fetch the process ID:
sudo netstat -tulpn | grep ':69'
Here, the process ID is 5908.
-
To know more about this process, execute the following command:
ps aux | grep '5908'
-
If the process is not required and is not related to the On-Premise Poller, verify it with your sysadmin, then end it by using the following command:
kill -9 '5908'
-
- Enabling Network Configuration Manager
Related Articles
Synthetic browser module prerequisite and troubleshooting guide for On-Premise Pollers
Introduction This document provides a structured troubleshooting guide for resolving issues encountered during the download process of On-Premise Poller for Synthetic (Browser) Module. It covers possible statuses, check-up steps, remedies, and ...
Monitors that require On-Premise Pollers in Site24x7
Certain monitor types in Site24x7 require the use of On-Premise Pollers for data collection, especially when monitoring internal, firewall-restricted, or private resources. Depending on the type of monitoring, additional modules like the Network ...
Resolving huge disk space issues with the On-Premise Poller and Network Module
Often huge disk space results from the heap dump files in the NetworkPlus/bin directory of the On-Premise Poller. What are HPROF files? HPROF files are used to store Java virtual machine (JVM) memory dumps. When a JVM runs out of memory (OOM), it ...
Exclude the selective SSH algorithms in On-Premise Poller during SFTP Transfer monitoring
By excluding SSH algorithms, you can restrict Site24x7 SSH Client from using the excluded algorithm while connecting to the SSH server during SFTP Transfer monitoring. Follow the steps mentioned below for SSH algorithm exclusion in On-Premise Poller ...
How to set up alerts for network device data collection issues
When your network monitoring interfaces are not collecting data due to issues in the Network Module, you'll want to be alerted. To set up alerts, you need to add or edit the threshold and availability profile of the On-Premise Poller, which is used ...