Solved

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

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

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks mate...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now