Solved

Directory Server in Solaris 10 5/8 x86 installed in Vmware 6.5 Windows Vista

Posted on 2008-10-27
4
1,076 Views
Last Modified: 2013-12-19
I am trying to instal Sun Java Directory Server 5

I have installed Vmware 6.5:
Host: Windows Vista
Guest: Solaris 10 5/8 x86

Network:
DHCP enable
Subnet IP: 192.168.255.0
Subnet Mask: 255.255.255.0
Start IP: 192.168.255.128
End IP: 192.168.255.254
Broadcast Address: 192.168.255.255
NAT
Gateway IP address: 192.168.255.2

My internet conection is working.

# showrev
Hostname: unknown
Hostid: 7c6e0da
Release: 5.10
Kernel architecture: i86pc
Application architecture: i386
Hardware provider:
Domain:
Kernel version: SunOS 5.10 Generic_127128-11

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.225.128 netmask ffffff00 broadcast 192.168.225.255
        ether 0:c:29:ce:69:ee

But the Sun Java Directory Server 5 (DS), ask me for FQDN, I don't have a hostname or DNS (just because my DHCP is enable).

So I cannot to complete the install for DS.
Somebody can help me.


0
Comment
Question by:arodmon
[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
  • 3
4 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 22819557
Enter expected FQDN hostname in /etc/hosts for 127.0.0.1 besides localhost.
hostname command lets you view and reset kernel setting.
If still no luck we will proceed to setting up full-fledged BIND locally to server for installation

0
 

Author Comment

by:arodmon
ID: 22833213
After many install/uninstall:
I have installed the Sun Java System Directory Server 5.2 P4 and updated to 5.2 P6
All the process of instalation was OK, without errors or warnings.
Obvious I use the fake FQDN in the /etc/hosts
I included the following line:
127.0.0.1      srdt1.test.com

But my hostname continue been unknown
# hostname
unknown

Before install the product, I needed to execute the following:
I didn't find the files: /usr/sbin/directoryserver, /usr/sbin/mpsadmserver
So I didn't execute "/usr/sbin/directoryserver configure" and "/usr/sbin/mpsadmserver configure"

When I execute the console (Sun Java System Server Console Login)
./startconsole &
This show me the the login dialog box, but I cannot to enter.
User ID: admin
Password: *****
Administration URL: http://srdt1.test.com:6390
And I don't get to connect to the console.
Error:
Cannot logon because of an incorrect User ID, incorrect password or Directory problem
java.io.interruptedIOException: HTTP response timeout

# more /var/opt/mps/serverroot/admin-serv/config/admpw
admin:{SHA}XXXXXXXXXXXXXXXXXXXXXXXXX

When I instaled the upgrade, it asked me for the user/pass for the admin and I didn't have problem, but it don't ask me for "Administration URL".

In spide of this, I didn't have problems with a LDAP browser/editor. I can connect from my guest/host and navigate and manage entries.

My host (Windows Vista) have the DHCP enabled with my network.
And my guest (Solaris 10) was instaled with DHCP enabled. Using NAT in the vmware.

So I have tried to comunicate to Directory Server (LDAP) instaled in my guest using other PC in my network and I cannot to connect. I need use a static IP address in my guest?
Anyway, how I can configured the network, so my LDAP in my guest can be seen for other PC in my network. And how I can access to the console.

0
 

Author Comment

by:arodmon
ID: 22843094
I just founded the solution myself.

VMWare:
I did a Port Forwarding in the NAT setting of my Virtual Network Editor.
Just Associate the host port (you create a new one or the same one) with the guest port(the same used in the instalation of the Directory Server), and everyone in my public network can access to my guet LDAP Server.

Console Access:
I needed to change my /etc/host
127.0.0.1      srdt1.test.com
 by this one:
192.168.255.128 srdt1.test.com


0
 

Author Closing Comment

by:arodmon
ID: 31510444
Thanks mate...
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

734 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