Hello Sebastian,

please check, that your user is not only administrator but has also the
"logon-as-batch"-property. In newer versions the error message of
db_create is already improved.

I would expect 'dbSession.cmd("db_create TEST DBM,DBM
DOMAINNAME\\USERNAME,PASSWORD")' to work after the property is set for
the user.

Have a nice weekend,
Tilo Heinrich
SAP Labs Berlin


-----Original Message-----
From: okki [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 6:38 PM
To: Heinrich, Tilo
Subject: Re: ERR_NEEDADMI in com.sap.dbtech.powertoys.DBM


hi
impressive, the sap guys are still at work :) going to take in some sap 
shares...

i already tried that but got some error messages.
so far i've tried:

dbSession.cmd("db_create TEST DBM,DBM DOMAINNAME/USERNAME,PASSWORD");
dbSession.cmd("db_create TEST DBM,DBM DOMAINNAME\\USERNAME,PASSWORD");
dbSession.cmd("db_create TEST DBM,DBM USERNAME,PASSWORD");
dbSession.cmd("db_create TEST DBM,DBM LOCALHOST/USERNAME,PASSWORD");
dbSession.cmd("db_create TEST DBM,DBM LOCALHOST\\USERNAME,PASSWORD");

and yes: i'm admin :)


<DBMException -24965 ERR_SYSLOGON Logon to operating system failed
-24994,ERR_RTE: Runtime environment error
1,Anmeldung fehlgeschlagen: Dem Benutzer wurde der angeforderte 
Anmeldetyp auf diesem Computer nicht erteilt.
  (OS error code 1385)>
        at
com.sap.dbtech.powertoys.DBMException.create(DBMException.java:94)
        at com.sap.dbtech.powertoys.DBM.cmd(DBM.java:247)
        at com.sap.dbtech.powertoys.DBM.cmd(DBM.java:199)
        at de.netallied.rse.dbbuilder.main(dbbuilder.java:26)

thanks
sebastian

> Hello okki,
> 
> by using "localhost" you are using remote communication. When remote
> communication is used a database can only be created by specifying
also
> an operating system user.
> 
> String result = dbSession.cmd("db_create TEST DBM,DBM
> <OSUser>,<OSPassword>");
> 
> Best regards,
> Tilo Heinrich
> SAP Labs Berlin
> 
> -----Original Message-----
> From: okki [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 03, 2006 3:30 PM
> To: maxdb@lists.mysql.com
> Subject: ERR_NEEDADMI in com.sap.dbtech.powertoys.DBM
> 
> hi,
> 
> i want to administer my database using java rather than using the
dbmcli
> 
> interface. my code results in a error message:
> "-24875 ERR_NEEDADMI The operating system user is not a member of the 
> database administrators group>"
> 
> any ideas?
> 
> thanks
> 
> sebastian
> 
> /***********************/
> // running under windows
> 
> DBM dbSession;
> try {
>    dbSession = DBM.dbrootDBM("localhost", "c:\\maxdb\\7600\\");
> } catch (RTEException e) {
>    System.err.println("error: xserver running?");
>    return;
> }
> 
> try {
> 
>    String result = dbSession.cmd("db_create TEST DBM,DBM");
> } catch (RTEException e) {
>    e.printStackTrace();
> } catch (DBMException e) {
>    e.printStackTrace();
> }
> 
> /***********************/
> 


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to