Jump to content


Photo

php_network_getaddresses: getaddrinfo failed: Name or service not know


  • Please log in to reply
5 replies to this topic

#1 its_joy

its_joy

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 09 August 2009 - 10:11 PM

Hello,

We have WHM 11 + centos5 on server. I have rvsitebuilder license and trying to install it. But when i click on "RVSiteBuilder Installer" from WHM it gives following error

php_network_getaddresses: getaddrinfo failed: Name or service not known

firewall is off on server and port 80,443 are working fine. The ip and hostname of server are also resolving. Can anyone give any details on this issue.

/etc/hosts permissions as below.
[root@server ~]# ll /etc/hosts
-rw-r--r-- 1 root root 64 Aug 7 19:58 /etc/hosts

/etc/hosts contains below.
[root@server ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
<IP> server.domain.info server
(server IP is mentioned in the place <IP>)


waiting for the reply.

Regards
its_joy

#2 pairote

pairote

    Administrator

  • Admin
  • PipPipPip
  • 4,351 posts

Posted 10 August 2009 - 11:57 AM

Does your network work fine? Check configuration on /etc/resolv.conf.
If you SSH as root, and run these command. What's the result?

dig google.com

and

dig rvglobalsoft.com

and

dig cpanel.net


It should return the DNS information and resolve to the correct IP address.

#3 its_joy

its_joy

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 11 August 2009 - 06:23 AM

Hello,

The file /etc/resolv.conf is correct and we have correct gateway IP mentioned in it. This server has 600+ website running online. There is no problem with the network of the server.

Also tested the dig command and that is also working fine. It is resolving the IP and hostname .

Is there anything else needed to be checked.

Waiting for the reply.


its_joy

#4 pairote

pairote

    Administrator

  • Admin
  • PipPipPip
  • 4,351 posts

Posted 11 August 2009 - 10:20 AM

Please submit support ticket. We need to know the full error you get, and result of these command.

dig rvsitebuilder.com
dig rvglobalsoft.com
dig license.rvglobalsoft.com
dig download.rvglobalsoft.com

#5 its_joy

its_joy

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 11 August 2009 - 09:17 PM

Hello,

Thank you for your reply and following is result to commands you provided.

===================================================================
dig rvsitebuilder.com

; <<>> DiG 9.2.4 <<>> rvsitebuilder.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13677
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;rvsitebuilder.com. IN A

;; ANSWER SECTION:
rvsitebuilder.com. 14400 IN A 75.126.166.242

;; Query time: 291 msec
;; SERVER: 64.81.45.2#53(64.81.45.2)
;; WHEN: Tue Aug 11 07:14:47 2009
;; MSG SIZE rcvd: 51
=====================================================================
dig rvglobalsoft.com

; <<>> DiG 9.2.4 <<>> rvglobalsoft.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51366
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;rvglobalsoft.com. IN A

;; ANSWER SECTION:
rvglobalsoft.com. 14400 IN A 75.126.166.242

;; Query time: 83 msec
;; SERVER: 64.81.45.2#53(64.81.45.2)
;; WHEN: Tue Aug 11 07:15:13 2009
;; MSG SIZE rcvd: 50
=====================================================================
dig license.rvglobalsoft.com

; <<>> DiG 9.2.4 <<>> license.rvglobalsoft.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1498
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;license.rvglobalsoft.com. IN A

;; ANSWER SECTION:
license.rvglobalsoft.com. 13220 IN A 75.126.166.243

;; AUTHORITY SECTION:
license.rvglobalsoft.com. 8614 IN NS ns4.siaminterhost.com.
license.rvglobalsoft.com. 8614 IN NS ns3.siaminterhost.com.

;; ADDITIONAL SECTION:
ns3.siaminterhost.com. 139237 IN A 203.150.224.167
ns4.siaminterhost.com. 139237 IN A 69.93.151.78

;; Query time: 1 msec
;; SERVER: 208.87.241.170#53(208.87.241.170)
;; WHEN: Tue Aug 11 07:15:31 2009
;; MSG SIZE rcvd: 140
======================================================================
dig download.rvglobalsoft.com

; <<>> DiG 9.2.4 <<>> download.rvglobalsoft.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60677
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;download.rvglobalsoft.com. IN A

;; ANSWER SECTION:
download.rvglobalsoft.com. 11651 IN A 75.126.166.244

;; AUTHORITY SECTION:
rvglobalsoft.com. 14366 IN NS ns3.siaminterhost.com.
rvglobalsoft.com. 14366 IN NS ns4.siaminterhost.com.

;; ADDITIONAL SECTION:
ns3.siaminterhost.com. 139217 IN A 203.150.224.167
ns4.siaminterhost.com. 139217 IN A 69.93.151.78

;; Query time: 1 msec
;; SERVER: 208.87.241.170#53(208.87.241.170)
;; WHEN: Tue Aug 11 07:15:51 2009
;; MSG SIZE rcvd: 141
====================================================================

Please let us know if anything you required from our end to fix this issue.

Waiting for your reply.

Regards
its_joy

#6 pairote

pairote

    Administrator

  • Admin
  • PipPipPip
  • 4,351 posts

Posted 12 August 2009 - 01:23 PM

You should not have the problem at all. For your case,please submit support ticket at http://support.cpanellicense.com/, we need to access to your server as root to install it for you.