Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Restarting Sybase SQL Anywhere Database

Posted on 1998-06-24
3
Medium Priority
?
445 Views
Last Modified: 2008-03-04
When restarting the database (Customer.db) an error occurs. It looks for the (Customer.log) file (which was deleted).  How can I restart the database without the log file?  Can I create a generic log file and place it on the server? Is there some command line switch I can use to restart the database a different way? Looking for a step by step checklist to restart the database.
0
Comment
Question by:rickwinterkorn
3 Comments
 

Accepted Solution

by:
TomJenkins earned 400 total points
ID: 1098084
If you delete the log, you can force the engine to start without a log using the -f parameter to dbeng50.  ie,

dbeng50 -f customer.db

This will start customer.db and allow a new log to be created when needed.  If this database is part of a replication setup, this will break replication.
0
 

Author Comment

by:rickwinterkorn
ID: 1098085
Thanks Tom, worked well!
0
 

Expert Comment

by:stakhanov
ID: 1098086
>dbeng50 -f customer.db

If it does not work try undocumented key
dbeng50 -o ...
or
remove transaction log
     dblog -n customer.db
and start the database.
 
   
 

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Did you know there are services out there that can turn an Instagram feed into an RSS feed? I found some interesting exclusive Instagram content which I wanted to follow without signing up for yet another social media account. RSS to the rescue!
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question