Solved

Unable to run instmstr on my XP for SYBASE ASE

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This problem is more common than not and I will show you some things to check to solve this problem.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

832 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