LDAP Error Getaddrinfo Name or Service Not known In Gitlab

LDAP Error Getaddrinfo Name, You will face this issue when you do not have a DNS Server or you didn’t make an entry in the Hosts file. This is because GitLab is not able to make a connection to your AD Server for achieving this you have to insert an entry in your server hosts file in case if there is no DNS server. You can check GitLab service status, authentication, and might be GitLab service not found & sometimes LDAP error in GitLab. 

Check out: Install Gitlab

LDAP Error Getaddrinfo Name or Service Not known In Gitlab:

you can also authenticate your users with the LDAP server by configuring with the GitLab server to provide the security on the GitLab. There must be connectivity between your LDAP and the Gitlab server.

ldap error in gitlab

You have to make these entries in your LDAP server in /etc/hosts file. 

{your_gitlab_server_ip            gitlab_server_Hostname}

Check out: How To Install MySQL Workbench 8.0.16 On Ubuntu

Now try to run below command to check the connection to your LDAP server.

Check out: Push Data To Github Repository

gitlab service status

As you can see LDAP has made a connection to your gitlab server.

You’re done ldap error in gitlab gitlab authentication gitlab service status gitlab.service not found

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment