Solved

Unable to run instmstr on my XP for SYBASE ASE

Posted on 2004-03-25
5
462 Views
Last Modified: 2007-12-19
After install, sp_help and other sp_ didn't work. I was advised to run:

sql -Usa -P -SROMAN001 -n -i%SYBASE%\%SYBASE_ASE%\scripts\instmstr

I got the message:

(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
Space available in the log segment has fallen critically low in database
'master'.  All future modifications to this database will be suspended until the
log is successfully dumped and space becomes available.
The transaction log in database master is almost full.  Your transaction is
being suspended until space is made available in the log.

======And it hangs here===============

When I try

DUMP TRANSACTION master
to disk1
go


I get the message:


Msg 2812, Level 16, State 5:
Line 1:
Stored procedure 'sp_help' not found. Specify owner.objectname or use sp_help to check whether the object exists
(sp_help may produce lots of output).
Msg 4205, Level 16, State 1:
Line 29:
Syslogs does not exist in its own segment in database 'master' with segmap '7'
with logical start page number of '0'. You cannot use DUMP TRANSACTION in this case, use DUMP DATABASE instead.

When I try

DUMP DATABASE master
to disk1
go

I get the message:

Msg 2812, Level 16, State 5:
Line 1:
Stored procedure 'sp_help' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).
WARNING: In order to LOAD the master database, the SQL Server must run in single-user mode.  If the master database dump uses multiple volumes, you must execute sp_volchanged on another SQL Server at LOAD time in order to signal volume changes.
Msg 7205, Level 17, State 2:
Line 29:
Can't open a connection to site 'SYB_BACKUP'.  See the error log file in the SQL Server boot directory.
Msg 7205, Level 18, State 3:
Line 29:
Can't open a connection to site 'SYB_BACKUP'.  See the error log file in the SQL Server boot directory.

So, I can't break the cycle
0
Comment
Question by:bibermar
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
bret earned 500 total points
ID: 10678690
Use

Dump database master with truncate_only


-bret
0
 
LVL 14

Expert Comment

by:Jan_Franek
ID: 11346351
It seems like your backup server is not running, so you cannot do dump tran. There should be RUN_ROMAN001_BACKUP skript In your $SYBASE/$SYBASE_ASE/install directory. Use it to start backup server and then try DUMP TRANSACTION master WITH TRUNCATE_ONLY. Check, if your master database is big enough to run instmstr.
0
 
LVL 14

Expert Comment

by:Jan_Franek
ID: 11346361
Sorry, DUMP DATABASE instead of DUMP TRANSACTION.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

12 Experts available now in Live!

Get 1:1 Help Now