Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ASE 15.0.3 Server creation fails on Linux-AMD64-RH4(update4)

169 views
Skip to first unread message

Neelesh

unread,
Apr 17, 2009, 3:22:35 AM4/17/09
to
Hi,
I am not able to create sybase instance of ASE 15.0.3.
System configuration
OS: RH4 update 4, 2.6.9-55.0.2.ELsmp x86_64
Memory: 2GB
Disk: Enough disk space

$ 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

Cory Sane [TeamSybase]

unread,
Apr 17, 2009, 7:48:32 AM4/17/09
to
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...

Neelesh

unread,
Apr 20, 2009, 1:50:20 AM4/20/09
to
On Apr 17, 4:48 pm, "Cory Sane [TeamSybase]" <cory!=sane> wrote:
> 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
>

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

ThanksButNo

unread,
Apr 20, 2009, 5:32:41 AM4/20/09
to
On Apr 19, 10:50 pm, Neelesh <neelesh.pat...@gmail.com> wrote:
> On Apr 17, 4:48 pm, "Cory Sane [TeamSybase]" <cory!=sane> wrote:
>
> > Neelesh,
>
> > You need to kill off the other dataserver processes that hold
> > the master device open.
>
> > --
> > Cory Sane
>
> 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.

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?

/:-/

Neelesh

unread,
Apr 22, 2009, 12:57:17 AM4/22/09
to

The issue was not at all related to RUN_ file.
It got resolved after unsetting variable LD_ASSUME_KERNEL :P

-Neelesh

0 new messages