Solved

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

Posted on 2008-10-27
4
1,075 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
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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.

679 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