Discussion:
import an existing database
(too old to reply)
unknown
2008-08-22 09:49:55 UTC
Permalink
Hello together,

in the last week one colluege of me deleted the main server
in the "server config", but he did't delete the dat-files
with the data.

Now my question: How can I get access to this dat-files?
Is it possible to connect to this dat-files or import the
data?

Thank you
Michael
Bret Halford
2008-08-22 15:11:20 UTC
Permalink
Post by unknown
Hello together,
in the last week one colluege of me deleted the main server
in the "server config", but he did't delete the dat-files
with the data.
Now my question: How can I get access to this dat-files?
Is it possible to connect to this dat-files or import the
data?
Thank you
Michael
Is this ASE? I ask because I'm not sure what
you mean by "server config".

If this is ASE and you mean that the master device
was deleted then you have a few options.

You can create a new master device using the dataserver
binary. See the documentation on it in the ASE Utilities
guide for an example. Once rebuilt, you can start the server
with your existing RUN_SERVER file (assuming you used the
same device name). The server will then appear as a newly
installed server.

If you have a dump of the master device, boot using the -m
flag in the RUNSERVER file (single user mode) and load the
dump.

If you don't have a dump of the master device,
consult the earlier errorlog entries to learn the
device names for all the devices. Figure out how large the
devices are. Then use the DISK REINIT command (NOT disk init)
to add those device entries to the sysdevices table without
writing/initializing the devices. Once all the devices
are in place, use the DISK REFIT command. This will scan
the contents of all the devices and rebuild the sysdatabases
and sysusages tables from those devices. You will then be
largely recovered. Some information will have been lost, though.
You will need to add logins back in (the original passwords are
lost), and probably need to add an entry or two in sysservers,
such as the backupserver entry in particular. (then promptly take
a dump of the master database for next time!)
unknown
2008-08-24 06:46:11 UTC
Permalink
Dear Mr. Halfort,

Yes, you are right! We use the ASE 12.5. After deleting of
the main server by my colleague the windows service "Sybase
SQLServer BASE_SIAS" was lost.

What do you mean with the RUN_SERVER file?

Thank you for the pieces of advice. I'll try them on monday
morning and will give you a feedback.

Michael
Post by Bret Halford
Post by unknown
Hello together,
in the last week one colluege of me deleted the main
server in the "server config", but he did't delete the
dat-files with the data.
Now my question: How can I get access to this dat-files?
Is it possible to connect to this dat-files or import
the data?
Thank you
Michael
Is this ASE? I ask because I'm not sure what
you mean by "server config".
If this is ASE and you mean that the master device
was deleted then you have a few options.
You can create a new master device using the dataserver
binary. See the documentation on it in the ASE Utilities
guide for an example. Once rebuilt, you can start the
server with your existing RUN_SERVER file (assuming you
used the same device name). The server will then appear
as a newly installed server.
If you have a dump of the master device, boot using the -m
flag in the RUNSERVER file (single user mode) and load the
dump.
If you don't have a dump of the master device,
consult the earlier errorlog entries to learn the
device names for all the devices. Figure out how large
the devices are. Then use the DISK REINIT command (NOT
disk init) to add those device entries to the sysdevices
table without writing/initializing the devices. Once all
the devices are in place, use the DISK REFIT command.
This will scan the contents of all the devices and rebuild
the sysdatabases and sysusages tables from those devices.
You will then be largely recovered. Some information will
have been lost, though. You will need to add logins back
in (the original passwords are lost), and probably need to
add an entry or two in sysservers, such as the
backupserver entry in particular. (then promptly take a
dump of the master database for next time!)
Jason L. Froebe [TeamSybase]
2008-08-24 07:07:14 UTC
Permalink
Post by unknown
Dear Mr. Halfort,
Yes, you are right! We use the ASE 12.5. After deleting of
the main server by my colleague the windows service "Sybase
SQLServer BASE_SIAS" was lost.
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them on monday
morning and will give you a feedback.
Michael
Hi Michael,

Can you elaborate more on what occurred? Are you saying the the os on
the machine was rebuilt, the Sybase entries in the windows registry were
deleted, or that the Sybase software and settings were deleted?

It's not clear to us what happened so we're not exactly sure as to how
to help.
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine http://froebe.net/blog/mydatabases-magazine/
unknown
2008-08-26 07:54:20 UTC
Permalink
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Dear Mr. Halfort,
Yes, you are right! We use the ASE 12.5. After
deleting of the main server by my colleague the
windows service "Sybase SQLServer BASE_SIAS" was lost.
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them on
monday morning and will give you a feedback.
Michael
Hi Michael,
Can you elaborate more on what occurred? Are you saying
the the os on the machine was rebuilt, the Sybase
entries in the windows registry were deleted, or that
the Sybase software and settings were deleted?
It's not clear to us what happened so we're not exactly
sure as to how to help.
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine
http://froebe.net/blog/mydatabases-magazine/
Dear Mr. Froebe,
we changed nothing on the operation system (Windows Server
2000), but my colleague deleted in "server config" (ASE
12.5) the server. Consequently, we lost the windows
service "Sybase SQL Server BASE_SIAS", but the following
- devicedata1.dat with 8.192.000 KB and 2K
- devicedata2.dat with 8.192.000 KB and 2K
- devicedata3.dat with 8.192.000 KB and 2K
- devicedata4.dat with 8.192.000 KB and 2K
- devicedata5.dat with 8.192.000 KB and 2K
- deviceIndex1.dat with 8.192.000 KB and 2K
- deviceIndex2.dat with 8.192.000 KB and 2K
- deviceIndex3.dat with 8.192.000 KB and 2K
- deviceIndex4.dat with 8.192.000 KB and 2K
- deviceIndex5.dat with 8.192.000 KB and 2K
- devicelog.dat with 8.192.000 KB and 2K
- devicelog2.dat with 8.192.000 KB and 2K
- devicetemp1.dat with 8.192.000 KB and 2K
- master.dat with 30.720 KB and 2K
- sybprocs.dat with 102.400 KB and 2K
Currently, I test the pieces of advice from Mr. Halfort,
but we get an error during DISK REFIT.
For further information please see the attached errorlog.
Best regards
MichaelK
[Attachment: errorlog.zip]
Now we tried another way to recover our Data.
We have installed a new, empty database and then we ovewrote
the master.dat with our old. After fixing a few errors we
could start the server again. When we look in the
master..sysdatabases we can see our sias databse, but when
we try to select anything in there we get an error:

"Database `sias` has not been recovered yet"

The same, when we try to use the sp_help command:

"Database `sybsystemprocs` has not been recovered yet"

Is the Sybase Database able to recover the databases
automaticly or must we do anything to recover the data?

Best regards
MichaelK
Luc Van der Veurst
2008-08-26 08:52:35 UTC
Permalink
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Dear Mr. Halfort,
Yes, you are right! We use the ASE 12.5. After
deleting of the main server by my colleague the
windows service "Sybase SQLServer BASE_SIAS" was lost.
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them on
monday morning and will give you a feedback.
Michael
Hi Michael,
Can you elaborate more on what occurred? Are you saying
the the os on the machine was rebuilt, the Sybase
entries in the windows registry were deleted, or that
the Sybase software and settings were deleted?
It's not clear to us what happened so we're not exactly
sure as to how to help.
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine
http://froebe.net/blog/mydatabases-magazine/
Dear Mr. Froebe,
we changed nothing on the operation system (Windows Server
2000), but my colleague deleted in "server config" (ASE
12.5) the server. Consequently, we lost the windows
service "Sybase SQL Server BASE_SIAS", but the following
- devicedata1.dat with 8.192.000 KB and 2K
- devicedata2.dat with 8.192.000 KB and 2K
- devicedata3.dat with 8.192.000 KB and 2K
- devicedata4.dat with 8.192.000 KB and 2K
- devicedata5.dat with 8.192.000 KB and 2K
- deviceIndex1.dat with 8.192.000 KB and 2K
- deviceIndex2.dat with 8.192.000 KB and 2K
- deviceIndex3.dat with 8.192.000 KB and 2K
- deviceIndex4.dat with 8.192.000 KB and 2K
- deviceIndex5.dat with 8.192.000 KB and 2K
- devicelog.dat with 8.192.000 KB and 2K
- devicelog2.dat with 8.192.000 KB and 2K
- devicetemp1.dat with 8.192.000 KB and 2K
- master.dat with 30.720 KB and 2K
- sybprocs.dat with 102.400 KB and 2K
Currently, I test the pieces of advice from Mr. Halfort,
but we get an error during DISK REFIT.
For further information please see the attached errorlog.
Best regards
MichaelK
[Attachment: errorlog.zip]
Now we tried another way to recover our Data.
the master.dat with our old. After fixing a few errors we
could start the server again. When we look in the
master..sysdatabases we can see our sias databse, but when
"Database `sias` has not been recovered yet"
"Database `sybsystemprocs` has not been recovered yet"
Is the Sybase Database able to recover the databases
automaticly or must we do anything to recover the data?
If you look at the devices in the database :

select phyname from sysdevices where cntrltype = 0

are these the names of the devices you listed above and do
these still exist ? are the last-modified dates of the files
recent dates, of the date of when the server was still
functioning correctly ? Or have these been modified during
your disk refit attempts ?

It will probably be necessary to see the errors during server
startup. So my advice is that after you verified that the devices
are in the same state as your old master.data file, you restart
the server and post the errors about devices and database
recovery. (our virus scan software does not allow me to open
your previous errorlog file).

Luc.
unknown
2008-08-26 12:27:21 UTC
Permalink
wrote: >> > > Dear Mr. Halfort,
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Yes, you are right! We use the ASE 12.5. After
deleting of the main server by my colleague the
windows service "Sybase SQLServer BASE_SIAS" was
lost. >> > >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them
on >> > > monday morning and will give you a feedback.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Michael
Hi Michael,
Can you elaborate more on what occurred? Are you
saying >> > the the os on the machine was rebuilt, the
Sybase >> > entries in the windows registry were deleted,
or that >> > the Sybase software and settings were
deleted? >> >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
It's not clear to us what happened so we're not
exactly >> > sure as to how to help.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine
http://froebe.net/blog/mydatabases-magazine/
Dear Mr. Froebe,
we changed nothing on the operation system (Windows
Server >> 2000), but my colleague deleted in "server
config" (ASE >> 12.5) the server. Consequently, we lost
the windows >> service "Sybase SQL Server BASE_SIAS", but
Post by unknown
- devicedata1.dat with 8.192.000 KB and 2K
- devicedata2.dat with 8.192.000 KB and 2K
- devicedata3.dat with 8.192.000 KB and 2K
- devicedata4.dat with 8.192.000 KB and 2K
- devicedata5.dat with 8.192.000 KB and 2K
- deviceIndex1.dat with 8.192.000 KB and 2K
- deviceIndex2.dat with 8.192.000 KB and 2K
- deviceIndex3.dat with 8.192.000 KB and 2K
- deviceIndex4.dat with 8.192.000 KB and 2K
- deviceIndex5.dat with 8.192.000 KB and 2K
- devicelog.dat with 8.192.000 KB and 2K
- devicelog2.dat with 8.192.000 KB and 2K
- devicetemp1.dat with 8.192.000 KB and 2K
- master.dat with 30.720 KB and 2K
- sybprocs.dat with 102.400 KB and 2K
Currently, I test the pieces of advice from Mr. Halfort
, >> but we get an error during DISK REFIT.
Post by unknown
For further information please see the attached
errorlog. >>
Post by unknown
Best regards
MichaelK
[Attachment: errorlog.zip]
Now we tried another way to recover our Data.
We have installed a new, empty database and then we
ovewrote the master.dat with our old. After fixing a few
errors we could start the server again. When we look in
the master..sysdatabases we can see our sias databse,
but when we try to select anything in there we get an
error: >
Post by unknown
"Database `sias` has not been recovered yet"
"Database `sybsystemprocs` has not been recovered yet"
Is the Sybase Database able to recover the databases
automaticly or must we do anything to recover the data?
select phyname from sysdevices where cntrltype = 0
are these the names of the devices you listed above and do
these still exist ? are the last-modified dates of the
files recent dates, of the date of when the server was
still functioning correctly ? Or have these been modified
during your disk refit attempts ?
It will probably be necessary to see the errors during
server startup. So my advice is that after you verified
that the devices are in the same state as your old
master.data file, you restart the server and post the
errors about devices and database recovery. (our virus
scan software does not allow me to open your previous
errorlog file).
Luc.
Hello Luc,

all devices exists. We have the original device files so the
last modified dates are correct.

Here the log-file from start till stutdown:
00:00000:00000:2008/08/26 14:09:28.15 kernel Use license
file c:\sybase\SYSAM-1_0\licenses\license.dat.
00:00000:00000:2008/08/26 14:09:28.15 kernel Checked out
license ASE_SERVER
00:00000:00000:2008/08/26 14:09:28.17 kernel Using config
area from primary master device.
00:00000:00000:2008/08/26 14:09:28.17 kernel Warning: Using
default file 'c:\sybase\BASE_SIAS.cfg' since a configuration
file was not specified. Specify a configuration file name in
the RUNSERVER file to avoid this message.
00:00000:00000:2008/08/26 14:09:28.25 kernel Using 100000
file descriptors.
00:00000:00000:2008/08/26 14:09:28.25 kernel Adaptive
Server Enterprise/12.5/SWR 9616 GA/P/NT (IX86)/OS
4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Confidential
property of Sybase, Inc.
00:00000:00000:2008/08/26 14:09:28.25 kernel Copyright
1987, 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
All rights reserved.
00:00000:00000:2008/08/26 14:09:28.25 kernel Unpublished
rights reserved under U.S. copyright laws.
00:00000:00000:2008/08/26 14:09:28.25 kernel
00:00000:00000:2008/08/26 14:09:28.25 kernel This software
contains confidential and trade secret information of
Sybase,
00:00000:00000:2008/08/26 14:09:28.25 kernel Inc. Use,
duplication or disclosure of the software and documentation
by
00:00000:00000:2008/08/26 14:09:28.25 kernel the U.S.
Government is subject to restrictions set forth in a
license
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
between the Government and Sybase, Inc. or other
written
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
specifying the Government's rights to use the software and
any
00:00000:00000:2008/08/26 14:09:28.25 kernel applicable FAR
provisions, for example, FAR 52.227-19.
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
6475 Christie Avenue, Emeryville, CA 94608, USA
00:00000:00000:2008/08/26 14:09:28.25 kernel Using
'c:\sybase\BASE_SIAS.cfg' for configuration information.
00:00000:00000:2008/08/26 14:09:28.25 kernel Logging ASE
messages in file 'c:\sybase\ASE-12_5\install\errorlog'.
00:00000:00000:2008/08/26 14:09:28.26 kernel Initializing
MSDTC Connection
00:00000:00000:2008/08/26 14:09:28.28 kernel The DTC
Operation DtcGetTransactionManagerC failed with error DTC
Services not available (0x8004d01b)
00:00000:00000:2008/08/26 14:09:28.28 kernel MSDTC
Initialization failed
00:00000:00000:2008/08/26 14:09:28.28 kernel
kdcl_sess_open: connectivity library supports master/query
syntax.
00:00000:00000:2008/08/26 14:09:28.28 kernel Directory
Control Layer (DCL) using directory driver: InterfacesDriver
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server NT
process id is 0x39c.
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server was
started from a console window.
00:00000:00000:2008/08/26 14:09:28.29 kernel SSL Plus
security modules loaded successfully.
00:00000:00000:2008/08/26 14:09:28.29 kernel Network and
device connection limit is 99992.
00:00000:00000:2008/08/26 14:09:28.32 server Number of
blocks left for proc headers: 3232.
00:00000:00000:2008/08/26 14:09:28.34 server Proc header
memory allocated 1616 pages for each per engine cache
00:00000:00000:2008/08/26 14:09:28.34 server Memory
allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 server Size of the 2K
memory pool: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 kernel Failed to log
the current message in the Windows NT event log
00:00000:00000:2008/08/26 14:09:28.34 kernel Initializing
virtual device 0, 'F:\data\master.dat' with dsync 'on'.
00:00000:00000:2008/08/26 14:09:28.34 kernel Virtual device
0 started using asynchronous i/o.
00:00000:00000:2008/08/26 14:09:28.34 kernel Worker Thread
Manager is not enabled for use in SQL Server.
00:00000:00000:2008/08/26 14:09:28.34 kernel Either the
config parameter 'use security services' is set to 0, or ASE
does not support use of external security mechanisms on this
platform. The Security Control Layer will not be
initialized. No external security mechanisms will be
supported.
00:00000:00000:2008/08/26 14:09:28.35 kernel engine 0, os
pid 840 online
00:00000:00000:2008/08/26 14:09:28.35 server Active
traceflags: 3608
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services loaded; version 'libomni1 -
Component Integration Services/12.5/SWR 9616 GA/P/NT
(IX86)/OS 4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25
2001'.
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services: using 'Sybase
Client-Library/12.5/P/PC Intel/BUILD125-005/OPT/Sat May 19
14:48:00 2001'
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server SQL Server
booted single user mode - updates allowed to system catalogs
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server Opening Master
Database ...
00:00000:00001:2008/08/26 14:09:28.35 server Loading SQL
Server's default sort order and character set
00:00000:00001:2008/08/26 14:09:28.35 server Loaded default
Unilib conversion handle.
00:00000:00001:2008/08/26 14:09:28.35 server WARNING:
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
only master database
00:00000:00001:2008/08/26 14:09:28.35 server WARNING:
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
database 'master'.
00:00000:00001:2008/08/26 14:09:28.37 server Redo pass of
recovery has processed 1 committed and 0 aborted
transactions.
00:00000:00001:2008/08/26 14:09:28.40 server Checking
external objects.
00:00000:00001:2008/08/26 14:09:28.40 server Database
'master' is now online.
00:00000:00001:2008/08/26 14:09:28.40 server The
transaction log in the database 'master' will use I/O size
of 2 Kb.
00:00000:00001:2008/08/26 14:09:28.40 server Warning:
ASE_HA has no valid license and therefore is not
initialized.
00:00000:00001:2008/08/26 14:09:28.40 server server is
unnamed
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex1'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 10, 'F:\data\deviceIndex1.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
10 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 11, 'F:\data\deviceIndex2.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
11 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex3'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 12, 'F:\data\deviceIndex3.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
12 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex4'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 13, 'F:\data\deviceIndex4.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
13 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex5'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 14, 'F:\data\deviceIndex5.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
14 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceLog2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 9, 'e:\data\deviceLog2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
9 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata1'.g
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 2, 'F:\data\devicedata1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
2 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 3, 'F:\data\devicedata2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
3 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata3'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 4, 'F:\data\devicedata3.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
4 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata4'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 5, 'F:\data\devicedata4.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
5 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata5'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 6, 'F:\data\devicedata5.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
6 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicelog'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 8, 'F:\data\devicelog.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
8 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicetemp1'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 7, 'F:\data\devicetemp1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
7 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'sysprocsdev'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 1, 'f:\data\sybprocs.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
1 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
default unicode sort order is 'binary'.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
default sort order is:
00:00000:00001:2008/08/26 14:09:28.42 server 'bin_cp850'
(ID = 50)
00:00000:00001:2008/08/26 14:09:28.42 server on top of
default character set:
00:00000:00001:2008/08/26 14:09:28.42 server 'cp850' (ID =
2).
00:00000:00001:2008/08/26 14:09:28.42 server Master device
size: 30 megabytes, or 15360 virtual pages. (A virtual page
is 2048 bytes.)
00:00000:00002:2008/08/26 14:09:28.48 kernel network name
TOPHR, type ether, port 9000, filter NONE
00:00000:00009:2008/08/26 14:09:28.56 server Error: 7214,
Severity: 11, State: 1
00:00000:00009:2008/08/26 14:09:28.56 server No site name
received in server login packet. Server login rejected.
00:00000:00008:2008/08/26 14:09:28.57 server Error: 7221,
Severity: 14, State: 1
00:00000:00008:2008/08/26 14:09:28.57 server Login to site
'BASE_SIAS_XP' failed.
00:00000:00010:2008/08/26 14:13:20.29 kernel XP Server is
not running.
00:00000:00010:2008/08/26 14:13:20.29 server SQL Server
shutdown by request.
00:00000:00010:2008/08/26 14:13:20.31 kernel ueshutdown:
exiting

Thank you for you help!
MichaelK
Luc Van der Veurst
2008-08-26 12:42:33 UTC
Permalink
Post by unknown
wrote: >> > > Dear Mr. Halfort,
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Yes, you are right! We use the ASE 12.5. After
deleting of the main server by my colleague the
windows service "Sybase SQLServer BASE_SIAS" was
lost. >> > >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them
on >> > > monday morning and will give you a feedback.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Michael
Hi Michael,
Can you elaborate more on what occurred? Are you
saying >> > the the os on the machine was rebuilt, the
Sybase >> > entries in the windows registry were deleted,
or that >> > the Sybase software and settings were
deleted? >> >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
It's not clear to us what happened so we're not
exactly >> > sure as to how to help.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine
http://froebe.net/blog/mydatabases-magazine/
Dear Mr. Froebe,
we changed nothing on the operation system (Windows
Server >> 2000), but my colleague deleted in "server
config" (ASE >> 12.5) the server. Consequently, we lost
the windows >> service "Sybase SQL Server BASE_SIAS", but
Post by unknown
- devicedata1.dat with 8.192.000 KB and 2K
- devicedata2.dat with 8.192.000 KB and 2K
- devicedata3.dat with 8.192.000 KB and 2K
- devicedata4.dat with 8.192.000 KB and 2K
- devicedata5.dat with 8.192.000 KB and 2K
- deviceIndex1.dat with 8.192.000 KB and 2K
- deviceIndex2.dat with 8.192.000 KB and 2K
- deviceIndex3.dat with 8.192.000 KB and 2K
- deviceIndex4.dat with 8.192.000 KB and 2K
- deviceIndex5.dat with 8.192.000 KB and 2K
- devicelog.dat with 8.192.000 KB and 2K
- devicelog2.dat with 8.192.000 KB and 2K
- devicetemp1.dat with 8.192.000 KB and 2K
- master.dat with 30.720 KB and 2K
- sybprocs.dat with 102.400 KB and 2K
Currently, I test the pieces of advice from Mr. Halfort
, >> but we get an error during DISK REFIT.
Post by unknown
For further information please see the attached
errorlog. >>
Post by unknown
Best regards
MichaelK
[Attachment: errorlog.zip]
Now we tried another way to recover our Data.
We have installed a new, empty database and then we
ovewrote the master.dat with our old. After fixing a few
errors we could start the server again. When we look in
the master..sysdatabases we can see our sias databse,
but when we try to select anything in there we get an
error: >
Post by unknown
"Database `sias` has not been recovered yet"
"Database `sybsystemprocs` has not been recovered yet"
Is the Sybase Database able to recover the databases
automaticly or must we do anything to recover the data?
select phyname from sysdevices where cntrltype = 0
are these the names of the devices you listed above and do
these still exist ? are the last-modified dates of the
files recent dates, of the date of when the server was
still functioning correctly ? Or have these been modified
during your disk refit attempts ?
It will probably be necessary to see the errors during
server startup. So my advice is that after you verified
that the devices are in the same state as your old
master.data file, you restart the server and post the
errors about devices and database recovery. (our virus
scan software does not allow me to open your previous
errorlog file).
Luc.
Hello Luc,
all devices exists. We have the original device files so the
last modified dates are correct.
00:00000:00000:2008/08/26 14:09:28.15 kernel Use license
file c:\sybase\SYSAM-1_0\licenses\license.dat.
00:00000:00000:2008/08/26 14:09:28.15 kernel Checked out
license ASE_SERVER
00:00000:00000:2008/08/26 14:09:28.17 kernel Using config
area from primary master device.
00:00000:00000:2008/08/26 14:09:28.17 kernel Warning: Using
default file 'c:\sybase\BASE_SIAS.cfg' since a configuration
file was not specified. Specify a configuration file name in
the RUNSERVER file to avoid this message.
00:00000:00000:2008/08/26 14:09:28.25 kernel Using 100000
file descriptors.
00:00000:00000:2008/08/26 14:09:28.25 kernel Adaptive
Server Enterprise/12.5/SWR 9616 GA/P/NT (IX86)/OS
4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Confidential
property of Sybase, Inc.
00:00000:00000:2008/08/26 14:09:28.25 kernel Copyright
1987, 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
All rights reserved.
00:00000:00000:2008/08/26 14:09:28.25 kernel Unpublished
rights reserved under U.S. copyright laws.
00:00000:00000:2008/08/26 14:09:28.25 kernel
00:00000:00000:2008/08/26 14:09:28.25 kernel This software
contains confidential and trade secret information of
Sybase,
00:00000:00000:2008/08/26 14:09:28.25 kernel Inc. Use,
duplication or disclosure of the software and documentation
by
00:00000:00000:2008/08/26 14:09:28.25 kernel the U.S.
Government is subject to restrictions set forth in a
license
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
between the Government and Sybase, Inc. or other
written
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
specifying the Government's rights to use the software and
any
00:00000:00000:2008/08/26 14:09:28.25 kernel applicable FAR
provisions, for example, FAR 52.227-19.
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
6475 Christie Avenue, Emeryville, CA 94608, USA
00:00000:00000:2008/08/26 14:09:28.25 kernel Using
'c:\sybase\BASE_SIAS.cfg' for configuration information.
00:00000:00000:2008/08/26 14:09:28.25 kernel Logging ASE
messages in file 'c:\sybase\ASE-12_5\install\errorlog'.
00:00000:00000:2008/08/26 14:09:28.26 kernel Initializing
MSDTC Connection
00:00000:00000:2008/08/26 14:09:28.28 kernel The DTC
Operation DtcGetTransactionManagerC failed with error DTC
Services not available (0x8004d01b)
00:00000:00000:2008/08/26 14:09:28.28 kernel MSDTC
Initialization failed
00:00000:00000:2008/08/26 14:09:28.28 kernel
kdcl_sess_open: connectivity library supports master/query
syntax.
00:00000:00000:2008/08/26 14:09:28.28 kernel Directory
Control Layer (DCL) using directory driver: InterfacesDriver
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server NT
process id is 0x39c.
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server was
started from a console window.
00:00000:00000:2008/08/26 14:09:28.29 kernel SSL Plus
security modules loaded successfully.
00:00000:00000:2008/08/26 14:09:28.29 kernel Network and
device connection limit is 99992.
00:00000:00000:2008/08/26 14:09:28.32 server Number of
blocks left for proc headers: 3232.
00:00000:00000:2008/08/26 14:09:28.34 server Proc header
memory allocated 1616 pages for each per engine cache
00:00000:00000:2008/08/26 14:09:28.34 server Memory
allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 server Size of the 2K
memory pool: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 kernel Failed to log
the current message in the Windows NT event log
00:00000:00000:2008/08/26 14:09:28.34 kernel Initializing
virtual device 0, 'F:\data\master.dat' with dsync 'on'.
00:00000:00000:2008/08/26 14:09:28.34 kernel Virtual device
0 started using asynchronous i/o.
00:00000:00000:2008/08/26 14:09:28.34 kernel Worker Thread
Manager is not enabled for use in SQL Server.
00:00000:00000:2008/08/26 14:09:28.34 kernel Either the
config parameter 'use security services' is set to 0, or ASE
does not support use of external security mechanisms on this
platform. The Security Control Layer will not be
initialized. No external security mechanisms will be
supported.
00:00000:00000:2008/08/26 14:09:28.35 kernel engine 0, os
pid 840 online
00:00000:00000:2008/08/26 14:09:28.35 server Active
traceflags: 3608
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services loaded; version 'libomni1 -
Component Integration Services/12.5/SWR 9616 GA/P/NT
(IX86)/OS 4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25
2001'.
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services: using 'Sybase
Client-Library/12.5/P/PC Intel/BUILD125-005/OPT/Sat May 19
14:48:00 2001'
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server SQL Server
booted single user mode - updates allowed to system catalogs
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server Opening Master
Database ...
00:00000:00001:2008/08/26 14:09:28.35 server Loading SQL
Server's default sort order and character set
00:00000:00001:2008/08/26 14:09:28.35 server Loaded default
Unilib conversion handle.
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
only master database
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
database 'master'.
00:00000:00001:2008/08/26 14:09:28.37 server Redo pass of
recovery has processed 1 committed and 0 aborted
transactions.
00:00000:00001:2008/08/26 14:09:28.40 server Checking
external objects.
00:00000:00001:2008/08/26 14:09:28.40 server Database
'master' is now online.
00:00000:00001:2008/08/26 14:09:28.40 server The
transaction log in the database 'master' will use I/O size
of 2 Kb.
ASE_HA has no valid license and therefore is not
initialized.
00:00000:00001:2008/08/26 14:09:28.40 server server is
unnamed
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex1'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 10, 'F:\data\deviceIndex1.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
10 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 11, 'F:\data\deviceIndex2.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
11 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex3'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 12, 'F:\data\deviceIndex3.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
12 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex4'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 13, 'F:\data\deviceIndex4.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
13 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex5'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 14, 'F:\data\deviceIndex5.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
14 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceLog2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 9, 'e:\data\deviceLog2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
9 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata1'.g
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 2, 'F:\data\devicedata1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
2 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 3, 'F:\data\devicedata2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
3 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata3'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 4, 'F:\data\devicedata3.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
4 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata4'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 5, 'F:\data\devicedata4.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
5 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata5'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 6, 'F:\data\devicedata5.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
6 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicelog'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 8, 'F:\data\devicelog.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
8 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicetemp1'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 7, 'F:\data\devicetemp1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
7 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'sysprocsdev'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 1, 'f:\data\sybprocs.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
1 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
default unicode sort order is 'binary'.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
00:00000:00001:2008/08/26 14:09:28.42 server 'bin_cp850'
(ID = 50)
00:00000:00001:2008/08/26 14:09:28.42 server on top of
00:00000:00001:2008/08/26 14:09:28.42 server 'cp850' (ID =
2).
00:00000:00001:2008/08/26 14:09:28.42 server Master device
size: 30 megabytes, or 15360 virtual pages. (A virtual page
is 2048 bytes.)
00:00000:00002:2008/08/26 14:09:28.48 kernel network name
TOPHR, type ether, port 9000, filter NONE
00:00000:00009:2008/08/26 14:09:28.56 server Error: 7214,
Severity: 11, State: 1
00:00000:00009:2008/08/26 14:09:28.56 server No site name
received in server login packet. Server login rejected.
00:00000:00008:2008/08/26 14:09:28.57 server Error: 7221,
Severity: 14, State: 1
00:00000:00008:2008/08/26 14:09:28.57 server Login to site
'BASE_SIAS_XP' failed.
00:00000:00010:2008/08/26 14:13:20.29 kernel XP Server is
not running.
00:00000:00010:2008/08/26 14:13:20.29 server SQL Server
shutdown by request.
exiting
OK, the devices are recognized.

The server is started with traceflag 3608. This means that only the master
database is recovered.
So it's normal that you can't access your databases.
Remove the traceflag (in the RUN_<server> script) and restart your server.
Then see what the server does when opening the databases .....

Luc.
Jeff Tallman
2008-08-29 18:05:38 UTC
Permalink
Either the trace flag or -M (single user mode was also in the
log)....neither should be there....I suspect they were added when Bret
suggested how to get the devices back.....


HOWEVER - all that originally happened was that the person who removed
the server simply removed the NT Service that started the server. The
server still existed and was intact - all that needed to be done was to
restart it using the normal RUN_SERVER script. A new NT service could
also have been created via any number of utilities to do so.
Post by Luc Van der Veurst
Post by unknown
wrote: >> > > Dear Mr. Halfort,
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Yes, you are right! We use the ASE 12.5. After
deleting of the main server by my colleague the
windows service "Sybase SQLServer BASE_SIAS" was
lost. >> > >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
What do you mean with the RUN_SERVER file?
Thank you for the pieces of advice. I'll try them
on >> > > monday morning and will give you a feedback.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
Post by unknown
Michael
Hi Michael,
Can you elaborate more on what occurred? Are you
saying >> > the the os on the machine was rebuilt, the
Sybase >> > entries in the windows registry were deleted,
or that >> > the Sybase software and settings were
deleted? >> >
Post by unknown
Post by Jason L. Froebe [TeamSybase]
It's not clear to us what happened so we're not
exactly >> > sure as to how to help.
Post by unknown
Post by Jason L. Froebe [TeamSybase]
--
Jason L. Froebe
TeamSybase
http://www.froebe.net/blog
MyDatabases Free Magazine
http://froebe.net/blog/mydatabases-magazine/
Dear Mr. Froebe,
we changed nothing on the operation system (Windows
Server >> 2000), but my colleague deleted in "server
config" (ASE >> 12.5) the server. Consequently, we lost
the windows >> service "Sybase SQL Server BASE_SIAS", but
Post by unknown
- devicedata1.dat with 8.192.000 KB and 2K
- devicedata2.dat with 8.192.000 KB and 2K
- devicedata3.dat with 8.192.000 KB and 2K
- devicedata4.dat with 8.192.000 KB and 2K
- devicedata5.dat with 8.192.000 KB and 2K
- deviceIndex1.dat with 8.192.000 KB and 2K
- deviceIndex2.dat with 8.192.000 KB and 2K
- deviceIndex3.dat with 8.192.000 KB and 2K
- deviceIndex4.dat with 8.192.000 KB and 2K
- deviceIndex5.dat with 8.192.000 KB and 2K
- devicelog.dat with 8.192.000 KB and 2K
- devicelog2.dat with 8.192.000 KB and 2K
- devicetemp1.dat with 8.192.000 KB and 2K
- master.dat with 30.720 KB and 2K
- sybprocs.dat with 102.400 KB and 2K
Currently, I test the pieces of advice from Mr. Halfort
, >> but we get an error during DISK REFIT.
Post by unknown
For further information please see the attached
errorlog. >>
Post by unknown
Best regards
MichaelK
[Attachment: errorlog.zip]
Now we tried another way to recover our Data.
We have installed a new, empty database and then we
ovewrote the master.dat with our old. After fixing a few
errors we could start the server again. When we look in
the master..sysdatabases we can see our sias databse,
but when we try to select anything in there we get an
error: >
Post by unknown
"Database `sias` has not been recovered yet"
"Database `sybsystemprocs` has not been recovered yet"
Is the Sybase Database able to recover the databases
automaticly or must we do anything to recover the data?
select phyname from sysdevices where cntrltype = 0
are these the names of the devices you listed above and do
these still exist ? are the last-modified dates of the
files recent dates, of the date of when the server was
still functioning correctly ? Or have these been modified
during your disk refit attempts ?
It will probably be necessary to see the errors during
server startup. So my advice is that after you verified
that the devices are in the same state as your old
master.data file, you restart the server and post the
errors about devices and database recovery. (our virus
scan software does not allow me to open your previous
errorlog file).
Luc.
Hello Luc,
all devices exists. We have the original device files so the
last modified dates are correct.
00:00000:00000:2008/08/26 14:09:28.15 kernel Use license
file c:\sybase\SYSAM-1_0\licenses\license.dat.
00:00000:00000:2008/08/26 14:09:28.15 kernel Checked out
license ASE_SERVER
00:00000:00000:2008/08/26 14:09:28.17 kernel Using config
area from primary master device.
00:00000:00000:2008/08/26 14:09:28.17 kernel Warning: Using
default file 'c:\sybase\BASE_SIAS.cfg' since a configuration
file was not specified. Specify a configuration file name in
the RUNSERVER file to avoid this message.
00:00000:00000:2008/08/26 14:09:28.25 kernel Using 100000
file descriptors.
00:00000:00000:2008/08/26 14:09:28.25 kernel Adaptive
Server Enterprise/12.5/SWR 9616 GA/P/NT (IX86)/OS
4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Confidential
property of Sybase, Inc.
00:00000:00000:2008/08/26 14:09:28.25 kernel Copyright
1987, 2001
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
All rights reserved.
00:00000:00000:2008/08/26 14:09:28.25 kernel Unpublished
rights reserved under U.S. copyright laws.
00:00000:00000:2008/08/26 14:09:28.25 kernel
00:00000:00000:2008/08/26 14:09:28.25 kernel This software
contains confidential and trade secret information of
Sybase,
00:00000:00000:2008/08/26 14:09:28.25 kernel Inc. Use,
duplication or disclosure of the software and documentation
by
00:00000:00000:2008/08/26 14:09:28.25 kernel the U.S.
Government is subject to restrictions set forth in a
license
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
between the Government and Sybase, Inc. or other
written
00:00000:00000:2008/08/26 14:09:28.25 kernel agreement
specifying the Government's rights to use the software and
any
00:00000:00000:2008/08/26 14:09:28.25 kernel applicable FAR
provisions, for example, FAR 52.227-19.
00:00000:00000:2008/08/26 14:09:28.25 kernel Sybase, Inc.
6475 Christie Avenue, Emeryville, CA 94608, USA
00:00000:00000:2008/08/26 14:09:28.25 kernel Using
'c:\sybase\BASE_SIAS.cfg' for configuration information.
00:00000:00000:2008/08/26 14:09:28.25 kernel Logging ASE
messages in file 'c:\sybase\ASE-12_5\install\errorlog'.
00:00000:00000:2008/08/26 14:09:28.26 kernel Initializing
MSDTC Connection
00:00000:00000:2008/08/26 14:09:28.28 kernel The DTC
Operation DtcGetTransactionManagerC failed with error DTC
Services not available (0x8004d01b)
00:00000:00000:2008/08/26 14:09:28.28 kernel MSDTC
Initialization failed
00:00000:00000:2008/08/26 14:09:28.28 kernel
kdcl_sess_open: connectivity library supports master/query
syntax.
00:00000:00000:2008/08/26 14:09:28.28 kernel Directory
Control Layer (DCL) using directory driver: InterfacesDriver
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server NT
process id is 0x39c.
00:00000:00000:2008/08/26 14:09:28.28 kernel SQL Server was
started from a console window.
00:00000:00000:2008/08/26 14:09:28.29 kernel SSL Plus
security modules loaded successfully.
00:00000:00000:2008/08/26 14:09:28.29 kernel Network and
device connection limit is 99992.
00:00000:00000:2008/08/26 14:09:28.32 server Number of
blocks left for proc headers: 3232.
00:00000:00000:2008/08/26 14:09:28.34 server Proc header
memory allocated 1616 pages for each per engine cache
00:00000:00000:2008/08/26 14:09:28.34 server Memory
allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 server Size of the 2K
memory pool: 8192 Kb
00:00000:00000:2008/08/26 14:09:28.34 kernel Failed to log
the current message in the Windows NT event log
00:00000:00000:2008/08/26 14:09:28.34 kernel Initializing
virtual device 0, 'F:\data\master.dat' with dsync 'on'.
00:00000:00000:2008/08/26 14:09:28.34 kernel Virtual device
0 started using asynchronous i/o.
00:00000:00000:2008/08/26 14:09:28.34 kernel Worker Thread
Manager is not enabled for use in SQL Server.
00:00000:00000:2008/08/26 14:09:28.34 kernel Either the
config parameter 'use security services' is set to 0, or ASE
does not support use of external security mechanisms on this
platform. The Security Control Layer will not be
initialized. No external security mechanisms will be
supported.
00:00000:00000:2008/08/26 14:09:28.35 kernel engine 0, os
pid 840 online
00:00000:00000:2008/08/26 14:09:28.35 server Active
traceflags: 3608
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services loaded; version 'libomni1 -
Component Integration Services/12.5/SWR 9616 GA/P/NT
(IX86)/OS 4.0/main/1647/32-bit/OPT/Fri Jun 01 16:58:25
2001'.
00:00000:00001:2008/08/26 14:09:28.35 kernel libomni1 -
Component Integration Services: using 'Sybase
Client-Library/12.5/P/PC Intel/BUILD125-005/OPT/Sat May 19
14:48:00 2001'
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server SQL Server
booted single user mode - updates allowed to system catalogs
00:00000:00001:2008/08/26 14:09:28.35 server *** WARNING
******************
00:00000:00001:2008/08/26 14:09:28.35 server Opening Master
Database ...
00:00000:00001:2008/08/26 14:09:28.35 server Loading SQL
Server's default sort order and character set
00:00000:00001:2008/08/26 14:09:28.35 server Loaded default
Unilib conversion handle.
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
only master database
***************************
00:00000:00001:2008/08/26 14:09:28.35 server Recovering
database 'master'.
00:00000:00001:2008/08/26 14:09:28.37 server Redo pass of
recovery has processed 1 committed and 0 aborted
transactions.
00:00000:00001:2008/08/26 14:09:28.40 server Checking
external objects.
00:00000:00001:2008/08/26 14:09:28.40 server Database
'master' is now online.
00:00000:00001:2008/08/26 14:09:28.40 server The
transaction log in the database 'master' will use I/O size
of 2 Kb.
ASE_HA has no valid license and therefore is not
initialized.
00:00000:00001:2008/08/26 14:09:28.40 server server is
unnamed
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex1'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 10, 'F:\data\deviceIndex1.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
10 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 11, 'F:\data\deviceIndex2.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
11 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex3'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 12, 'F:\data\deviceIndex3.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
12 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex4'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 13, 'F:\data\deviceIndex4.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
13 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceIndex5'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 14, 'F:\data\deviceIndex5.dat' with dsync
'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
14 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'deviceLog2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 9, 'e:\data\deviceLog2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
9 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata1'.g
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 2, 'F:\data\devicedata1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Virtual device
2 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.40 server Activating
disk 'devicedata2'.
00:00000:00001:2008/08/26 14:09:28.40 kernel Initializing
virtual device 3, 'F:\data\devicedata2.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
3 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata3'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 4, 'F:\data\devicedata3.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
4 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata4'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 5, 'F:\data\devicedata4.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
5 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicedata5'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 6, 'F:\data\devicedata5.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
6 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicelog'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 8, 'F:\data\devicelog.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
8 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'devicetemp1'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 7, 'F:\data\devicetemp1.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
7 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server Activating
disk 'sysprocsdev'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Initializing
virtual device 1, 'f:\data\sybprocs.dat' with dsync 'on'.
00:00000:00001:2008/08/26 14:09:28.42 kernel Virtual device
1 started using asynchronous i/o.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
default unicode sort order is 'binary'.
00:00000:00001:2008/08/26 14:09:28.42 server SQL Server's
00:00000:00001:2008/08/26 14:09:28.42 server 'bin_cp850'
(ID = 50)
00:00000:00001:2008/08/26 14:09:28.42 server on top of
00:00000:00001:2008/08/26 14:09:28.42 server 'cp850' (ID =
2).
00:00000:00001:2008/08/26 14:09:28.42 server Master device
size: 30 megabytes, or 15360 virtual pages. (A virtual page
is 2048 bytes.)
00:00000:00002:2008/08/26 14:09:28.48 kernel network name
TOPHR, type ether, port 9000, filter NONE
00:00000:00009:2008/08/26 14:09:28.56 server Error: 7214,
Severity: 11, State: 1
00:00000:00009:2008/08/26 14:09:28.56 server No site name
received in server login packet. Server login rejected.
00:00000:00008:2008/08/26 14:09:28.57 server Error: 7221,
Severity: 14, State: 1
00:00000:00008:2008/08/26 14:09:28.57 server Login to site
'BASE_SIAS_XP' failed.
00:00000:00010:2008/08/26 14:13:20.29 kernel XP Server is
not running.
00:00000:00010:2008/08/26 14:13:20.29 server SQL Server
shutdown by request.
exiting
OK, the devices are recognized.
The server is started with traceflag 3608. This means that only the master
database is recovered.
So it's normal that you can't access your databases.
Remove the traceflag (in the RUN_<server> script) and restart your server.
Then see what the server does when opening the databases .....
Luc.
unknown
2008-09-01 16:55:21 UTC
Permalink
Hello together,

I have good news! Last week I could restore all data from
the database on my test enviroment and on friday I could
revive the database from our inspection system.
The revive was quite simple. Here are the important steps:
1. backup of the files master.dat and sybprocs.dat
2. creation a new database service in the same folder
3. override the new master.dat and sybprocs.dat with the
backup files
4. changing of the port settings
5. restart the server

If you have trouble, see the errorlog for a possible reason!

Thank you all for your pieces of advice!
Michael

Loading...