Running "dsadm enable-service" Returns Error "Only root can run this command" (Doc ID 1531761.1)

Last updated on OCTOBER 23, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.5.1 and later
Microsoft Windows x64 (64-bit) - Version: 2008 R2

Symptoms

When trying to configure a new LDAP instance to run as a service, an error might occur: "Only root can run this command".

E:\Programs\Oracle\dsee7\bin>dsadm enable-service \path\to\instance
Only root can run this command

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms