Solved

Restarting Sybase SQL Anywhere Database

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now