No Suitable Servers Found

In some cases, the mongod service has been down and you get this error through the shell or GUI.

General Error: 
Error: No suitable servers found (serverSelectionTryOnce set): [connection refused calling ismaster on 'localhost:27217']

 


We also found cases where JetMongo fails to start due to this error which can be caused by having localhost set to ipv6 instead of ipv4 in the /etc/hosts file. 

# Do not remove the following line, or various programs
# that require network functionality will fail.
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Please try setting the localhost to the default ipv4 IP (127.0.0.1) 

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

and then restarting the jetbackup5d service:
systemctl restart jetbackup5d

It is important to also ensure that your server is not blocking localhost traffic over port 27217. You can use the Ncat command to verify that traffic is allowed:

nc -v localhost 27217
Ncat: Connected to 127.0.0.1:27217.

If instead you get the output nc: connect to localhost (127.0.0.1) port 27217 (tcp) failed: Connection refused, you will need to work with your qualified systems administrator to resolve this.

 

  • 1 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

Why are my Directories showing Invalid Dates when browsing?

Object-based storage such as AWS S3 destinations does not include any modified dates for...

Email Notifications Are Not Being Sent

JetBackup 5 uses Notification Integrations to send Notifications based on the configured...

What are the level of Alerts in JetBackup 5?

JetBackup 5 now has only 3 Alert levels compared to JetBackp 4. All 3 levels will appear on the...

Create Destination Error: This destination path is already owned by other destination

On JetBackup 5, you may notice the following error when creating a destination that uses the same...

Common Backup Job Exclude List for DirectAdmin Accounts

Information regarding how to exclude certain files/folders from a backup in JetBackup 5 can be...