Solved

How to properly shutdown ASE Server

Posted on 2002-07-22
3
1,140 Views
Last Modified: 2010-08-05
Hello,
I have two questions:

1.
  I am running ASE 12 on WINNT.
Is there a proper way to shutdown the server?
What do I need to do to properly stop the server
before shutdown/restart the computer so that ASE won't
try to "recover" when the computer is back online.

2.  Is there a way you can set the server so that it would automatically purge/clean up the log files?
The way I do it now is once in a while I have to issue
the dump trans/database <dbname> with no_log.  

Regards.
0
Comment
Question by:johnchan2000
3 Comments
 
LVL 2

Accepted Solution

by:
ajith_29 earned 100 total points
ID: 7193253
1)Throught the isql prompt to shutdown the server will be

checkpoint
go
shutdown with wait
go


2)The command for having your logs purged is  
use master
go
sp_dboption database ,'trunc log on chkpt'
go

0
 
LVL 1

Expert Comment

by:bkumar
ID: 7414270
1. Make the services Automatic for the ASE Server and Backup Server.

2. For All the databases you run this seprately from the isql prompt:

use master
go
sp_dboption <database name>,'trunc log on chkpt'
go



0
 
LVL 1

Author Comment

by:johnchan2000
ID: 7416637
ajith_29,
Sorry for the delay.  I lost track of the question.

bkumar  -- your answer should also be accepted.

Thanks
johnchan2000
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A short film showing how OnPage and Connectwise integration works.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

18 Experts available now in Live!

Get 1:1 Help Now