http://www.vmware.com/vmtn/appliances/directory/320
A virtual machine appliance featuring Fedora (LDAP) Directory Server 1.02 on Fedora Core 5
I'm getting this error when I put the address of the server and the port into a browser, I don't even get a login prompt; I just automatically get the error.
I'm getting this error when I put the address of the server and the port into a browser, I don't even get a login prompt; I just automatically get the error.
This is rather strange for several people to be getting this error. I can speak from experience of having no difficulties logging in after following the install steps in one of the above posts.
Unfortunately, this is not enough information for me to see what is going on. Could you post, or look though the logs for more information?
The FDS logs are at /opt/fedora-ds/slapd- is the node portion of your VM's hostname.
The Admin Server logs are at /opt/fedora-ds/admin-serv/logs.
In both cases the log files are name "access" and "error."
\[slapd-fedora5]: starting up server ...
\[slapd-fedora5]: \[28/Sep/2006:02:02:47 -0400] - Fedora-Directory/1.0.2 B2006.111.2147 starting up
\[slapd-fedora5]: \[28/Sep/2006:02:02:47 -0400] - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
\[slapd-fedora5]: \[28/Sep/2006:02:02:49 -0400] - slapd started. Listening on All Interfaces port 389 for LDAP requests
NMC_Status: 0
NMC_Description: Success! The server has been started.
Start Slapd Starting Slapd server reconfiguration.
Info Slapd No old nsperl references found
Configuring Administration Server...
InstallInfo: Apache Directory "ApacheDir" is missing.
You can now use the console. Here is the command to use to start the console:
cd /opt/fedora-ds
./startconsole -u admin -a http://fedora5.home.mymjb.com:60053/
INFO Finished with setup, logfile is setup/setup.log
admin access log
10.0.0.45 - - \[28/Sep/2006:02:29:25 -0400] "GET / HTTP/1.1" 401 467
admin error log
\[Thu Sep 28 02:27:23 2006] \[notice] Access Host filter is: *.home.mymjb.com
\[Thu Sep 28 02:27:23 2006] \[notice] Access Address filter is: *
\[Thu Sep 28 02:27:24 2006] \[notice] Access Host filter is: *.home.mymjb.com
\[Thu Sep 28 02:27:24 2006] \[notice] Access Address filter is: *
\[Thu Sep 28 02:27:24 2006] \[notice] Apache/2.2 configured -- resuming normal operations
\[Thu Sep 28 02:29:25 2006] \[notice] \[client 10.0.0.45] admserv_host_ip_check: ap_get_remote_host could not resolve 10.0.0.45
\[Thu Sep 28 02:29:25 2006] \[warn] \[client 10.0.0.45] admserv_host_ip_check: failed to get host by ip addr \[10.0.0.45] - check your host and DNS configuration
\[Thu Sep 28 02:29:25 2006] \[notice] \[client 10.0.0.45] admserv_host_ip_check: Unauthorized host ip=10.0.0.45, connection rejected
\[Thu Sep 28 02:31:41 2006] \[notice] \[client 10.0.0.45] admserv_host_ip_check: ap_get_remote_host could not resolve 10.0.0.45
\[Thu Sep 28 02:31:41 2006] \[warn] \[client 10.0.0.45] admserv_host_ip_check: failed to get host by ip addr \[10.0.0.45] - check your host and DNS configuration
\[Thu Sep 28 02:31:41 2006] \[notice] \[client 10.0.0.45] admserv_host_ip_check: Unauthorized host ip=10.0.0.45, connection rejected
slapd access log
Fedora-Directory/1.0.2 B2006.111.2147
fedora5.home.mymjb.com:389 (/opt/fedora-ds/slapd-fedora5)
\[28/Sep/2006:02:27:15 -0400] conn=0 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
\[28/Sep/2006:02:27:15 -0400] conn=0 op=0 BIND dn="cn=Directory Manager" method=128 version=2
\[28/Sep/2006:02:27:15 -0400] conn=0 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory manager"
\[28/Sep/2006:02:27:15 -0400] conn=0 op=1 SRCH base="dc=home,dc=mymjb,dc=com" scope=0 filter="(objectClass=*)" attrs=ALL
\[28/Sep/2006:02:27:15 -0400] conn=0 op=1 RESULT err=32 tag=101 nentries=0 etime=0
\[28/Sep/2006:02:27:15 -0400] conn=0 op=2 SRCH base="dc=home,dc=mymjb,dc=com" scope=0 filter="(objectClass=*)" attrs=ALL
\[28/Sep/2006:02:27:15 -0400] conn=0 op=2 RESULT err=32 tag=101 nentries=0 etime=0
\[28/Sep/2006:02:27:15 -0400] conn=0 op=3 ADD dn="dc=home,dc=mymjb,dc=com"
\[28/Sep/2006:02:27:15 -0400] conn=0 op=3 RESULT err=0 tag=105 nentries=0 etime=0
\[28/Sep/2006:02:27:15 -0400] conn=0 op=4 MOD dn="dc=home,dc=mymjb,dc=com"
\[28/Sep/2006:02:27:15 -0400] conn=0 op=5 MOD dn="dc=home,dc=mymjb,dc=com"
\[28/Sep/2006:02:27:15 -0400] conn=0 op=4 RESULT err=0 tag=103 nentries=0 etime=0
\[28/Sep/2006:02:27:15 -0400] conn=0 op=6 MOD dn="dc=home,dc=mymjb,dc=com"
\[28/Sep/2006:02:27:15 -0400] conn=0 op=5 RESULT err=0 tag=103 nentries=0 etime=0
\[28/Sep/2006:02:27:16 -0400] conn=0 op=7 SRCH base="cn=Directory Administrators, dc=home,dc=mymjb,dc=com" scope=0 filter="(objectClass=*)" attrs=ALL
\[28/Sep/2006:02:27:16 -0400] conn=0 op=7 RESULT err=32 tag=101 nentries=0 etime=1
\[28/Sep/2006:02:27:16 -0400] conn=0 op=8 ADD dn="cn=Directory Administrators, dc=home,dc=mymjb,dc=com"
\[28/Sep/2006:02:27:16 -0400] conn=0 op=6 RESULT err=0 tag=103 nentries=0 etime=1
\[28/Sep/2006:02:27:16 -0400] conn=0 op=9 MOD dn="cn=config"
\[28/Sep/2006:02:27:16 -0400] conn=0 op=8 RESULT err=0 tag=105 nentries=0 etime=0
\[28/Sep/2006:02:27:16 -0400] conn=0 op=10 MOD dn="cn=config"
\[28/Sep/2006:02:27:16 -0400] conn=0 op=9 RESULT err=0 tag=103 nentries=0 etime=0
\[28/Sep/2006:02:27:16 -0400] conn=0 op=11 MOD dn="cn=config"
\[28/Sep/2006:02:27:16 -0400] conn=0 op=10 RESULT err=0 tag=103 nentries=0 etime=0
\[28/Sep/2006:02:27:16 -0400] conn=0 op=12 MOD dn="cn=schema"
slapd error log
Fedora-Directory/1.0.2 B2006.111.2147
fedora5.home.mymjb.com:389 (/opt/fedora-ds/slapd-fedora5)
\[28/Sep/2006:02:27:14 -0400] - Fedora-Directory/1.0.2 B2006.111.2147 starting up
\[28/Sep/2006:02:27:15 -0400] - slapd started. Listening on All Interfaces port 389 for LDAP requests
admin error log
\[Thu Sep 28 02:27:23 2006] \[notice] Access Host
filter is: *.home.mymjb.com
...
10.0.0.45] admserv_host_ip_check: Unauthorized host
ip=10.0.0.45, connection rejected
Excellent. I think that is the info needed. It looks like a failure to resolved the hostname of the client with a reverse lookup. Please check How to set the hosts/IP addresses allowed to access the Admin Server[/url] for a solution.
Message was edited by:
ken.cline@hp.com to shorten the URL
Thanks, that fix the problem.
I downloaded the torrent and unzipped it into the /var/lib/vmware/Virtual Machines/ directory.
I then open the vmx file and start the virtual machine. All I get is a black screen. I can't click in the window and type to bring up the machine. I am a little lost. Am I missing something??
Also, how big is the HD for this VM?
Thanks
I downloaded the torrent and unzipped it into the
/var/lib/vmware/Virtual Machines/ directory.
I then open the vmx file and start the virtual
machine. All I get is a black screen. I can't click
in the window and type to bring up the machine. I am
a little lost. Am I missing something??
No, you are not missing anything, it just sounds wrong. It should boot up like any Linux box, you should see the messages scroll by, etc.
Can you check the md5sum of the package? It should be 1009520d55a9e732a58352b04f8f1ec4.
Also, how big is the HD for this VM?
60GB is the maximum size. Its uncompressed size as-is in the package is about 1.2GB.
Thanks
No problem!
Figured it out. The .vmx file was missing an execute flag. Added that and all worked as expected.
When you say 60GB, does that mean it can grow to that if needed, but only uses as much disk space as needed?
Thanks for the quick response.
Shredder
When you say 60GB, does that mean it can grow to that
if needed, but only uses as much disk space as
needed?
Yep, you've got it exactly right. If even more space is needed, VMWare Server or Workstation can add additional virtual harddrives as well. The info could then be copied to the larger drive, or perhaps extended via logical volume management.
Incidentally, the harddrive file tends to reflect a high watermark. That is, if one downloaded a 5GB file into the appliance, and then deleted it, the 5GB of space that the virtual disk file grew would not automatically shrink away. There is a shrink action in VMWare to do that as required though.
Nice, thanks! Works perfect now!!!!
Just got the VMWare image installed and got another FC5 instance authenticating against the fedora-ds. Still having some issues with automount maps.
Any chance of getting the 1.1 version in a VMWare image? :smileygrin:
Thanks a bunch for creating this image.
First I would like to thank you for your time and efforts with this. We would like to use this to evaluate FDS. The problem I am having is that when I login I do not get any wizard to set this up. I went ahead and assigned an IP and put a record in DNS for the box. Is there a command I can run to start the wizard?
Charlie
So how the heck does one download it if there are no torrent providers?
Hi,
After several difficult adventures with LDAP I'm trying the Fedora Dir Serv appliance.
Had some trouble I could overcome searching this forum topic.
I'v taken the initial snapshot, but needed to install Gnome and X and Java..
After that I can see things are starting to get working, but...
I'm not sure about the randomly chosen port anymore, searched throught the adm.conf and think I found it, but I cannot connect to the console.
How can I rerun the configuration setup without needing to install all the previous?
I tried touch /reconfigure but this doesn't seem to reset completely..
I have following error on reboot:
Start Slapd Starting Slapd server reconfiguration.
Info Slapd No old nsperl references found
Configuring Administration Server...
InstallInfo: Apache Directory "ApacheDir" is missing.
Thanks for your suggestions!
Erwin
Hi,
We want to connect OPENFILER (exists also as a vmware appliance) to the Fedora Dir Server appliance.
We have Fed Dir Srv running, but we lack information to properly setup OPENFILER connexion. This is what we need to fill in:
Server: IP or host or FQDN
Base DN:
Authenticated bind DN:
Authenticated bind password:
Root bind DN:
Root bind password:
Until now I can connect to Fed Dir Srv with LDAPBrowser, the root and root pwd is okay, but what about the authenticated bind ....
Also:
I can only connect / configure Fed Dir Srv via the running X-server on the appliance and not remotely.
So basically how do I create an authenticated bind user?
Thanks for helping out and thanks for this appliance!!
Erwin
Sounded great.. I downloaded, powered on, got a blank screen and "Your version of VMware Tools is out of date" message.. Useless.
Yep, you've got it exactly right. If even more space
is needed, VMWare Server or Workstation can add
additional virtual harddrives as well. The info
could then be copied to the larger drive, or perhaps
extended via logical volume management.
And if i need to export the vm on a phisical machine... Considered that i have a 13GB hd... In wich way i can export the appliance?
I searched tools to dump the hd but i don't know the lvm system...
I've just tried a lvreduce operation on the LogVolume00... Fortunately i've a copy of the working vm!!! 😄
Some ideas?
Thanks in advance!!
The torrent is not seeded. I got 99.98% and then I'm stuck. There are 11 seeds but not one of them has the complete file. Can you please re-seed the complete file? I will keep seeding afterwards so that it can propagate a bit better.
Right now this appliance cannot be downloaded!