Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
144 stars 60 forks source link

Error 0: php_network_getaddresses: getaddrinfo failed: Name or service not known linked to #280 #303

Closed Artapel closed 7 years ago

Artapel commented 7 years ago

Hi Shad. Im going to build another Ubuntu server, Would you mind assisting me with it?

Shad86 commented 7 years ago

Well, if your follow the guides there should be no Problems at all:

https://ts-n.net/ranksystem.php#requirements and https://ts-n.net/ranksystem.php#install

regards

Shad86 commented 7 years ago

This could be may relevant:

https://www.concrete5.org/community/forums/5-7-discussion/getaddrinfo-failed-name-or-service-not-known

so maybe there was a problem to connect to your mysql database sometimes localhost or sometimes 127.0.0.1 doesn't work. (depends on how you did set it up) But one of it should work

so if you want to connect to your mysql database to be sure to use the right address

Artapel commented 7 years ago

The Rankbot created the DB Automatically using the credentials I provided. This is could connect and authenticate it is did connect and create a DB

Im not ruling out that it could my the mysql or mariadb.

Keep in mind I tried this on different systems, different versions, different hardware, different networks and different physical locations. Even different teamspeak servers

I don’t see any entries in the mysql.err or mariadb error.log files

From: Shad86 [mailto:notifications@github.com] Sent: Sunday, May 14, 2017 9:29 AM To: Newcomer1989/TSN-Ranksystem TSN-Ranksystem@noreply.github.com Cc: Corne Kruger corne.kruger@canon-ct.co.za; Author author@noreply.github.com Subject: Re: [Newcomer1989/TSN-Ranksystem] Error 0: php_network_getaddresses: getaddrinfo failed: Name or service not known linked to #280 (#303)

This could be may relevant:

https://www.concrete5.org/community/forums/5-7-discussion/getaddrinfo-failed-name-or-service-not-known

so maybe there was a problem to connect to your mysql database sometimes localhost or sometimes 127.0.0.1 doesn't work. (depends on how you did set it up) But one of it should work

so if you want to connect to your mysql database to be sure to use the right address

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Newcomer1989/TSN-Ranksystem/issues/303#issuecomment-301296016, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARY-lkqY8w5aO_C_xc2Hb9DujdVLj9aGks5r5q1BgaJpZM4NaIwO.

NOTE: This e-mail is intended solely for the use of the individual(s) to whom it is addressed. If you are not an intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.

Artapel commented 7 years ago

But thank you very much for the help and im going to investigate the link you sent even further

From: Shad86 [mailto:notifications@github.com] Sent: Sunday, May 14, 2017 9:29 AM To: Newcomer1989/TSN-Ranksystem TSN-Ranksystem@noreply.github.com Cc: Corne Kruger corne.kruger@canon-ct.co.za; Author author@noreply.github.com Subject: Re: [Newcomer1989/TSN-Ranksystem] Error 0: php_network_getaddresses: getaddrinfo failed: Name or service not known linked to #280 (#303)

This could be may relevant:

https://www.concrete5.org/community/forums/5-7-discussion/getaddrinfo-failed-name-or-service-not-known

so maybe there was a problem to connect to your mysql database sometimes localhost or sometimes 127.0.0.1 doesn't work. (depends on how you did set it up) But one of it should work

so if you want to connect to your mysql database to be sure to use the right address

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Newcomer1989/TSN-Ranksystem/issues/303#issuecomment-301296016, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARY-lkqY8w5aO_C_xc2Hb9DujdVLj9aGks5r5q1BgaJpZM4NaIwO.

NOTE: This e-mail is intended solely for the use of the individual(s) to whom it is addressed. If you are not an intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.

Artapel commented 7 years ago

I would like to update this.

I managed to get the bot working after 5 months worth of fighting it. The error message has nothing at all to do with the problem.

The problem is that the server query password was to long and it seems the rankbot refused to accept it but did not display a error referring to this.

Changing the password to a shorter password resolved the issue.