Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Unable to run instmstr on my XP for SYBASE ASE

Posted on 2004-03-25
5
498 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to query constraints in Sybase 3 1,745
Sybase initialize new disk in Solaris 10 failed 2 948
My first ASE 15.7 developer edition installation. 12 2,192
SQL Query Syntax 5 185
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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