$ srvbuildres -r ./SYBASE.rs
Building Adaptive Server 'V1503B64':
Writing entry into directory services...
Directory services entry complete.
Building master device...
Master device complete.
Writing RUN_V1503B64 file...
RUN_V1503B64 file complete.
Starting server...
$ cat /qa/sybase/15.0.3/ASE-15_0/install/SYBASE.log
.
.
.
00:00000:00000:2009/04/17 01:52:07.76 kernel SySAM: Using licenses
from: /qa/sybase/15.0.3/SYSAM-2_0/licenses:/qa/sybase/15.0.3/SYSAM-2_0/
licenses/license.dat
00:00000:00000:2009/04/17 01:52:07.92 kernel SySAM: Checked out
license for 1 ASE_CORE (2009.06090/permanent/08DE D2AC 7DBB F064).
00:00000:00000:2009/04/17 01:52:07.92 kernel This product is licensed
to: BMC SOFTWARE, INC.
00:00000:00000:2009/04/17 01:52:07.92 kernel Checked out license
ASE_CORE
00:00000:00000:2009/04/17 01:52:07.92 kernel Adaptive Server
Enterprise (Enterprise Edition)
00:00000:00000:2009/04/17 01:52:07.93 kernel basis_dlock: file '/qa/
data/sbt/V1503B64/dat/master.dat' already in use by an ASE
00:00000:00000:2009/04/17 01:52:07.93 kernel kdconfig: unable to read
primary master device
00:00000:00000:2009/04/17 01:52:07.93 server kiconfig: read of config
block failed
$ showserver
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY
TIME CMD
1 S abcqa 12091 1 0 78 0 - 33973 - 02:18 ?
00:00:00 /qa/sybase/15.0.3/ASE-15_0/bin/dataserver -d/qa/data/abc/
SYBASE/dat/master.dat -b300M -z2048 -sSYBASE -e/qa/sybase/15.0.3/
ASE-15_0/install/SYBASE.log -T1623
1 S abcqa 12087 1 0 80 0 - 33973 pipe_w 02:18 ?
00:00:00 /qa/sybase/15.0.3/ASE-15_0/bin/dataserver -d/qa/data/abc/
SYBASE/dat/master.dat -b300M -z2048 -sSYBASE -e/qa/sybase/15.0.3/
ASE-15_0/install/SYBASE.log -T1623
1 S abcqa 12086 1 0 75 0 - 33973 - 02:18 ?
00:00:00 /qa/sybase/15.0.3/ASE-15_0/bin/dataserver -d/qa/data/abc/
SYBASE/dat/master.dat -b300M -z2048 -sSYBASE -e/qa/sybase/15.0.3/
ASE-15_0/install/SYBASE.log -T1623
-Neelesh
You need to kill off the other dataserver processes that hold the master device open.
--
Cory Sane
[TeamSybase]
Certified Sybase Associate DBA for ASE 15.0
"Neelesh" <neelesh...@gmail.com> wrote in message news:f090cddb-a19e-481d...@b6g2000pre.googlegroups.com...
Thanks Cory,
But I am creating new Sybase instance. Ideally while creating sybase
instance multiple dataserver processes get started until next reboot.
In ASE 15.0.2 and earlier releases I never had this issue on the same
machine.
-Neelesh
Maybe maybe not, but this line in the error log ...
"kernel basis_dlock: file '/qa/data/sbt/V1503B64/dat/master.dat'
already in use by an ASE"
... says that more than one instance is trying to use the same
master database file. I can not conceive of any circumstance
where that can possibly work. Perhaps there is something wrong
in the "RUN_{database}" scripts between the two instances?
Maybe you should run "srvbuild" again and take care to be sure
the data files are in a unique location?
/:-/
The issue was not at all related to RUN_ file.
It got resolved after unsetting variable LD_ASSUME_KERNEL :P
-Neelesh