cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 4

sbadmcl invalid database handle

I am trying to utilize the sbadmcl tool to do some mainenance chores, but every command I try, I get an "Invalid Database Handle" error.

I am running the tool on my server from the same admin account that I use for SafeBoot Administration. Not sure why I'm getting this, but it is driving me crazy. The main commands I am trying to use are MoveMachine and MoveUser.
3 Replies
SafeBoot
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 4

RE: sbadmcl invalid database handle

exactly what are you doing? trying to make a script, or using a bat file command line?

usually this means you didnt get a connection to the database, most often because in the <database> tag you're specifying an address (wrong) rather than a valid description as per the API spec.

post the fragment so we can see what you're trying to do, and if you're using COM/Script etc, try your command with a plain old command line to make sure the options are right.
Former Member
Not applicable
Report Inappropriate Content
Message 3 of 4

command structure

I was using a command line, just trying to get the syntax right. I used the followoing command from the SBAdmin directory:

c:\>sbadmcl -command:movemachine -machine:companycomputer1 -newgroup:agentmigrationgroup1

and that is when I get the error.
SafeBoot
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 4

RE: command structure

you forgot the -adminuser and -adminpwd tags 😉

see page 9 of the manual - they are not shown on the help as they are common to every command (nothing to do with the command itself).
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community