Solved

Restarting Sybase SQL Anywhere Database

Posted on 1998-06-24
3
428 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Sybase - How to edit cron schedule for sybase backups 3 903
Sybase SQL Syntax 2 289
Problems writing binary files to Sybase from PHP 2 191
MS SQL Linked server 3 140
Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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