Solved

Restarting Sybase SQL Anywhere Database

Posted on 1998-06-24
3
427 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 100 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most MSPs worth their salt are already offering cybersecurity to their customers. But cybersecurity as a service is wide encompassing and can mean many things.  So where are MSPs falling in this spectrum?
Read about why it is more lucrative for an IT company to participate in government projects.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 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