CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • [solved] php_network_getaddresses: getaddrinfo failed: Name or service not known
Pages: [1]

Author Topic: [solved] php_network_getaddresses: getaddrinfo failed: Name or service not known  (Read 13145 times)

ClayWhipkey

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
[solved] php_network_getaddresses: getaddrinfo failed: Name or service not known
June 25, 2008, 11:02:24 am
I am moving my site to a VPS hosting account, and I have run into an odd problem with CiviCRM.  I have updated the civicrm.settings.php file, but I am currently seeing this non-recoverable error in CiviCRM:
Code: [Select]
Error Details:

[pear_error: message="php_network_getaddresses: getaddrinfo failed: Name or service not known" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]

My DSN settings are identical to the shared host server (which is working).  From what I can find through searching on Google and the dev mailing list, this problem is related to the ability to resolve an address somewhere.  I am curious if there is perhaps something on the server which must be enabled or installed to support the mysql DSN style that is used by CiviCRM.  Any idea what to look for?

Update: This is now fixed.  I'm not sure which was the problem, but I had not updated the DSN in the settings file in the Joomla frontend (I forgot there were two of them!)  Also, in the administrator version, I had mispelled the base URL.  I think it was probably that both the administrator and the frontend version of the settings file have to be updated.
« Last Edit: June 25, 2008, 04:24:01 pm by ClayWhipkey »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • [solved] php_network_getaddresses: getaddrinfo failed: Name or service not known

This forum was archived on 2017-11-26.