Solved

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

Posted on 2012-03-19
4
5,320 Views
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:

https://help.ubuntu.com/community/PHPOracle

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:

http://nickshontz.wordpress.com/2011/11/29/php-oracle/

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.
0
Comment
Question by:scotru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 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

https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html
0
 

Author Comment

by:scotru
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.

127.0.0.1    server-hostname

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

Expert Comment

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

Author Comment

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

Thanks!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This article discusses how to implement server side field validation and display customized error messages to the client.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

710 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