×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Removing a non-existent database

Removing a non-existent database

Removing a non-existent database

(OP)
I successfully added a database to the application server running on my computer. The database was hosted on another computer from our local network, but now, this computer was taken away. Since the database no longer exists, I get an error message every time I start the application server and I have to use the -nodbcheck or -noexitondbcheck option.
I try to remove the database, but SilverCmd RemoveDatabase fails because it cannot connect to the database.
SilverStream Management Console also fails to display the list of databases, for the same reason.
If you know a method to remove this zombie database, please help me.

Thanks in advance,
Beryx

RE: Removing a non-existent database

you need to go into your SM dB.  if a server is not (NOT a S3 server) up and running for it you need to start one up.  If you are using Sybase Adaptive Server Anywhere then you can use Sybase Central to start up a server for it.

do a query on

select name from aginfo;

find the dB entries of the "dB" causing the problems and

delete from aginfo where name = '<whateverDBIsGivingTheProblem>';

(NOTE: you may have a front end dB entry for your code and a backend dB for your application's data; also REMEMBER exaclty the entries you deleted because you need to do the same in another table

then go to

select resource_name from agresources where resource_name =
'<theOnesYouDeletedFromTheAGInfoTable>';

delete from agresources where resource_name = '<theOnesYouDeletedFromTheAGInfoTable>';
and
commit;

you should be good to go.

RE: Removing a non-existent database

(OP)
Thanks a lot!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close