Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
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…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

910 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

20 Experts available now in Live!

Get 1:1 Help Now