Bug 737680 - Cannot export any database
Cannot export any database
Status: CLOSED DUPLICATE of bug 730015
Product: Fedora
Classification: Fedora
Component: 389-ds-console (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Rich Megginson
Fedora Extras Quality Assurance
: screened
Depends On:
  Show dependency treegraph
Reported: 2011-09-12 17:05 EDT by Michael Cronenworth
Modified: 2011-11-07 16:57 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-10-24 17:37:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
java exception output during export (9.29 KB, text/plain)
2011-09-12 18:16 EDT, Michael Cronenworth
no flags Details

  None (edit)
Description Michael Cronenworth 2011-09-12 17:05:37 EDT
Description of problem: I typically export my LDAP database using the 389 console program. With the latest version of 389 I no longer can get a file to export.

Version-Release number of selected component (if applicable):
$ rpm -qa | grep ^389 | sort

$ rpm -qa | grep ^389 | sort

How reproducible: Always

Steps to Reproduce:
1. Run 389-console
2. Connect to 389 Admin server
3. Open Directory Server console
4. Click on Export Databases task.
5. Select output file. Any path. (local file system, not NFS)
6. Click OK.
Actual results:
Nothing happens.

Expected results:
Creation of file and exported data.
Comment 1 Nathan Kinder 2011-09-12 17:50:27 EDT
Are you running SELinux in enforcing mode?  The SELinux policy will only allow ns-slapd to write the LDIF file to a location that is properly labelled as dirsrv_var_lib_t.  It is intended that you use the /var/lib/dirsrv/slapd-<instance>/ldif directory for exports.

If the problem is not related to SELinux, it would be good to see if there are any errors in your DS errors log when you attempt to export.
Comment 2 Michael Cronenworth 2011-09-12 18:14:41 EDT
Nathan, please re-read my bug report. I am using the console on a remote workstation. Not on the ldap server. I am not using a remote X session. Yes, the server is in enforcing mode. Disabling SELinux does not make a difference.

It appears that a java exception is thrown when I press OK on the Export Databases window. I will attach it.

Please note: This worked great several months ago when I made my last backup. My LDAP server is at least 3 years old now and I have never had this problem before.
Comment 3 Michael Cronenworth 2011-09-12 18:16:17 EDT
Created attachment 522816 [details]
java exception output during export

Exception is thrown when I press "Yes" on the warning window that is presented when I try to export a database on a remote workstation.
Comment 4 Nathan Kinder 2011-10-24 17:17:41 EDT
I believe that this is a bug in java.  In particular, it looks to be the same as bug 730015, which has the same exception.  Try updating your java-1.6.0-openjdk package on the systym that you are running Console on.
Comment 5 Michael Cronenworth 2011-10-24 17:37:11 EDT
Using the latest java package (from October 18th) does indeed fix this issue. Thanks.

*** This bug has been marked as a duplicate of bug 730015 ***

Note You need to log in before you can comment on or make changes to this bug.