Oracle ORA-24408: could not generate unique server group name PHP on Ubuntu

Posted on 2012-03-19
Medium Priority
Last Modified: 2012-03-20
I am trying to setup a PHP (Ubuntu) server to connect to an Oracle database.  Installed oci8 PHP extension by following these directions:


When I try to make my connection with oci_connect, I get:

ORA-24408: could not generate unique server group name

This article suggests downgrading to 10g, but I'd like to get it working with the latest client if possible:


Comments suggest it might be related to a hostname problem--but I'm not clear from comments how to address the issue.  Any help much appreciated.
Question by:scotru
  • 2
  • 2
LVL 78

Accepted Solution

slightwv (䄆 Netminder) earned 2000 total points
ID: 37743229
I'm only responding to a neglected question alert.  I'm not a PHP or Ubuntu person but have a lot of Unix in a previous life.

Check for a loopback.  Look at the following link in the section:  Loopback Interface


Author Comment

ID: 37744072
Definitely on the right track.  I had to add a hosts entry for the server's host name in the /etc/hosts file for the loopback address.    server-hostname

This fixed the problem.  I'm not clear on the difference between and (maybe this should be the later, but it works with the 0.0.1).
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37744206 is the universal loopback address.  technically anything with 127. is also considered 'local'.

Author Comment

ID: 37744303
Ah, I see-- yea, I'm familiar with, just didn't realize the whole class A was local.  


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article discusses how to create an extensible mechanism for linked drop downs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question