Re: Get Segmentation Fault when Building Sybase



Further info - tried 32bit opensuse 10.2 on 32 bit machine and it still Seg Faults.

Looking at point of seg fault, its either where it processes traceflags (unlikely as it probably isnt doing anything special) or trying to load libomni1 for CIS services. This is where a lot of system calls as well as loading open client libs will be going on and prime territory for causing crashing. Doing ldd on the dataserver executable reveals that linux-gate is being used on 32 bit systems for system calls, but not on 64 bit, so any dodgy calls would be handled better on the 64 bit system.

Anyone got any thoughts on this?

Sybaseguru wrote:
I get exactly the same problem on opensuse 10.3 (32 BIT). Its not the installer as I've run the raw dataserver command to create the master and it seg faults at the same point as yours. I've tried with ESD#2 as well as the base 15.0.2 to no avail. Could be something to do with the gclib being version 2.6.1 rather than 2.5 for opensuse 10.2 which seems to work.

asdf wrote:
When trying to install sybase 15 on fedora core 8 get the following errors. I've created enough shared memory and also tried installing as
root. Any idea what's wrong and how do i troubleshoot it?

thanks
----------------------------------------------------------------------------------------- Building Adaptive Server 'LOCALHOST':
Writing entry into directory services...
Directory services entry complete.
Building master device...
sh: line 1: 10541 Segmentation fault /opt/sybase/ASE-15_0/bin/
dataserver
-d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST
-e/opt/sybase/ASE-15_0/install/LOCALHOST.log -T1623 -f > /tmp/sbPjxySp 2>&1
Task failed
dataserver: master device size for this server: 30.0 Mb
dataserver: master database size for this server: 13.0 Mb
dataserver: model database size for this server: 3.0 Mb
00:00000:00000:2007/12/25 00:12:46.50 kernel SySAM: Using licenses from:
/opt/sybase/SYSAM-2_0/licenses
00:00000:00000:2007/12/25 00:12:46.80 kernel SySAM: Checked out license for
1 ASE_CORE (2009.1231/permanent/19B3 47BC 0B7E 8DC3).
00:00000:00000:2007/12/25 00:12:46.80 kernel This product is licensed to:
ASE Developer Edition - For Development and Test use only
00:00000:00000:2007/12/25 00:12:46.80 kernel Checked out license ASE_CORE
00:00000:00000:2007/12/25 00:12:46.80 kernel Adaptive Server Enterprise
(Developer Edition)
00:00000:00000:2007/12/25 00:12:46.81 kernel Initializing device
/opt/sybase/data/master.dat from offset 0 with zeros.
00:00000:00000:2007/12/25 00:12:46.90 kernel Finished initialization.
00:00000:00000:2007/12/25 00:12:46.91 kernel Using config area from primary
master device.
Server 'LOCALHOST' was not created.
00:00000:00000:2007/12/25 00:12:46.91 kernel Warning: Using default file
'/opt/sybase/LOCALHOST.cfg' since a configuration file was not specified.
Specify a configuration file name in the RUNSERVER file to avoid this
message.
00:00000:00000:2007/12/25 00:12:46.93 kernel os_create_keyfile: Removed old
segment /opt/sybase/LOCALHOST.krg
00:00000:00000:2007/12/25 00:12:46.93 kernel Internal run-time model set for
Linux - Native
00:00000:00000:2007/12/25 00:12:46.93 kernel Using 10000 file descriptors.
00:00000:00000:2007/12/25 00:12:46.93 kernel Adaptive Server
Enterprise/15.0.2/EBF 14331/P/Linux Intel/Linux 2.4.21-47.ELsmp
i686/ase1502/2486/32-bit/FBO/Thu May 24 08:15:50 2007
00:00000:00000:2007/12/25 00:12:46.93 kernel Confidential property of
Sybase, Inc.
00:00000:00000:2007/12/25 00:12:46.93 kernel Copyright 1987, 2007
00:00000:00000:2007/12/25 00:12:46.93 kernel Sybase, Inc. All rights
reserved.
00:00000:00000:2007/12/25 00:12:46.93 kernel Unpublished rights reserved
under U.S. copyright laws.
00:00000:00000:2007/12/25 00:12:46.93 kernel 00:00000:00000:2007/12/25 00:12:46.93 kernel This software contains
confidential and trade secret information of Sybase,
00:00000:00000:2007/12/25 00:12:46.93 kernel Inc. Use, duplication or
disclosure of the software and documentation by
00:00000:00000:2007/12/25 00:12:46.93 kernel the U.S. Government is subject
to restrictions set forth in a license
00:00000:00000:2007/12/25 00:12:46.93 kernel agreement between the
Government and Sybase, Inc. or other written
00:00000:00000:2007/12/25 00:12:46.93 kernel agreement specifying the
Government's rights to use the software and any
00:00000:00000:2007/12/25 00:12:46.93 kernel applicable FAR provisions, for
example, FAR 52.227-19.
00:00000:00000:2007/12/25 00:12:46.93 kernel Sybase, Inc. One Sybase Drive,
Dublin, CA 94568, USA
00:00000:00000:2007/12/25 00:12:46.93 kernel Using /opt/sybase as the
'SYBASE' environment variable, found during startup.
00:00000:00000:2007/12/25 00:12:46.93 kernel Using OCS-15_0 as the
'SYBASE_OCS' environment variable, found during startup.
00:00000:00000:2007/12/25 00:12:46.93 kernel ASE booted on Linux release
2.6.23.9-85.fc8 version #1 SMP Fri Dec 7 15:49:59 EST 2007.
00:00000:00000:2007/12/25 00:12:46.93 kernel Using
'/opt/sybase/LOCALHOST.cfg' for configuration information.
00:00000:00000:2007/12/25 00:12:46.93 kernel Logging ASE messages in file
'/opt/sybase/ASE-15_0/install/LOCALHOST.log'.
00:00000:00000:2007/12/25 00:12:46.93 kernel Platform TCP network is forced
to IPv4-only.
00:00000:00000:2007/12/25 00:12:46.93 kernel ASE booted with TCP_NODELAY
enabled.
00:00000:00000:2007/12/25 00:12:46.94 kernel SSL Plus v5.0.4 security
modules loaded successfully.
00:00000:00000:2007/12/25 00:12:46.94 kernel Network and device connection
limit is 9985.
00:00000:00000:2007/12/25 00:12:47.08 server Number of blocks left for proc
headers: 6960.
00:00000:00000:2007/12/25 00:12:47.08 server Proc header memory allocated
1392 pages for each per engine cache
00:00000:00000:2007/12/25 00:12:47.10 server Size of the 2K memory pool:
8192 Kb
00:00000:00000:2007/12/25 00:12:47.10 server Memory allocated for the
default data cache cachelet 1: 8192 Kb
00:00000:00000:2007/12/25 00:12:47.10 kernel Enabling Linux Native Kernel
asynchronous disk I/O strategy.
00:00000:00000:2007/12/25 00:12:47.10 kernel Initializing virtual device 0,
'/opt/sybase/data/master.dat' with dsync 'off'.
00:00000:00000:2007/12/25 00:12:47.10 kernel Virtual device 0 started using
asynchronous i/o.
00:00000:00000:2007/12/25 00:12:47.10 server Loaded default Unilib
conversion handle.
00:00000:00000:2007/12/25 00:12:47.11 kernel Worker Thread Manager is not
enabled for use in ASE.
00:00000:00000:2007/12/25 00:12:47.11 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:2007/12/25 00:12:47.11 kernel Unix interval timer enabled for
sysclk interrupts.
00:00000:00000:2007/12/25 00:12:47.12 kernel Begin processing to generate
RSA keypair.
00:00000:00000:2007/12/25 00:12:47.76 kernel Completed processing to
generate RSA keypair.
00:00000:00000:2007/12/25 00:12:47.76 kernel Encryption provider
initialization succeeded on engine 0.
00:00000:00000:2007/12/25 00:12:47.76 kernel engine 0, os pid 10541 online

-------------------------------------------------------------------------------

Adaptive Server configuration failed. Please check the errors listed below and
consult Sybase Customer Service & Support at http://www.sybase.com/support

Building Adaptive Server 'LOCALHOST':
Writing entry into directory services...
Directory services entry complete.
Building master device...
sh: line 1: 10541 Segmentation fault /opt/sybase/ASE-15_0/bin/dataserver
-d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST
-e/opt/sybase/ASE-15_0/install/LOCALHOST.log -T1623 -f > /tmp/sbPjxySp 2>&1
Task failed
dataserver: master device size for this server: 30.0 Mb
dataserver: master database size for this server: 13.0 Mb
dataserver: model database size for this server: 3.0 Mb
00:00000:00000:2007/12/25 00:12:46.50 kernel SySAM: Using licenses from:
/opt/sybase/SYSAM-2_0/licenses
00:00000:00000:2007/12/25 00:12:46.80 kernel SySAM: Checked out license for 1
ASE_CORE (2009.1231/permanent/19B3 47BC 0B7E 8DC3).
00:00000:00000:2007/12/25 00:12:46.80 kernel This product is licensed to: ASE
Developer Edition - For Development and Test use only
00:00000:00000:2007/12/25 00:12:46.80 kernel Checked out license ASE_CORE
00:00000:00000:2007/12/25 00:12:46.80 kernel Adaptive Server Enterprise

Press ENTER to read the text [Type q to quit]
(Developer Edition)
00:00000:00000:2007/12/25 00:12:46.81 kernel Initializing device
/opt/sybase/data/master.dat from offset 0 with zeros.
00:00000:00000:2007/12/25 00:12:46.90 kernel Finished initialization.
00:00000:00000:2007/12/25 00:12:46.91 kernel Using config area from primary
master device.
Server 'LOCALHOST' was not created.
00:00000:00000:2007/12/25 00:12:46.91 kernel Warning: Using default file
'/opt/sybase/LOCALHOST.cfg' since a configuration file was not specified.
Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2007/12/25 00:12:46.93 kernel os_create_keyfile: Removed old
segment /opt/sybase/LOCALHOST.krg
00:00000:00000:2007/12/25 00:12:46.93 kernel Internal run-time model set for
Linux - Native
00:00000:00000:2007/12/25 00:12:46.93 kernel Using 10000 file descriptors.
00:00000:00000:2007/12/25 00:12:46.93 kernel Adaptive Server
Enterprise/15.0.2/EBF 14331/P/Linux Intel/Linux 2.4.21-47.ELsmp
i686/ase1502/2486/32-bit/FBO/Thu May 24 08:15:50 2007
00:00000:00000:2007/12/25 00:12:46.93 kernel Confidential property of Sybase,
Inc.

Press ENTER to read the text [Type q to quit]
00:00000:00000:2007/12/25 00:12:46.93 kernel Copyright 1987, 2007
00:00000:00000:2007/12/25 00:12:46.93 kernel Sybase, Inc. All rights reserved.
00:00000:00000:2007/12/25 00:12:46.93 kernel Unpublished rights reserved under
U.S. copyright laws.
00:00000:00000:2007/12/25 00:12:46.93 kernel 00:00000:00000:2007/12/25 00:12:46.93 kernel This software contains
confidential and trade secret information of Sybase,
00:00000:00000:2007/12/25 00:12:46.93 kernel Inc. Use, duplication or
disclosure of the software and documentation by
00:00000:00000:2007/12/25 00:12:46.93 kernel the U.S. Government is subject to
restrictions set forth in a license
00:00000:00000:2007/12/25 00:12:46.93 kernel agreement between the Government
and Sybase, Inc. or other written
00:00000:00000:2007/12/25 00:12:46.93 kernel agreement specifying the
Government's rights to use the software and any
00:00000:00000:2007/12/25 00:12:46.93 kernel applicable FAR provisions, for
example, FAR 52.227-19.
00:00000:00000:2007/12/25 00:12:46.93 kernel Sybase, Inc. One Sybase Drive,
Dublin, CA 94568, USA
00:00000:00000:2007/12/25 00:12:46.93 kernel Using /opt/sybase as the 'SYBASE'

Press ENTER to read the text [Type q to quit]
environment variable, found during startup.
00:00000:00000:2007/12/25 00:12:46.93 kernel Using OCS-15_0 as the 'SYBASE_OCS'
environment variable, found during startup.
00:00000:00000:2007/12/25 00:12:46.93 kernel ASE booted on Linux release
2.6.23.9-85.fc8 version #1 SMP Fri Dec 7 15:49:59 EST 2007.
00:00000:00000:2007/12/25 00:12:46.93 kernel Using '/opt/sybase/
LOCALHOST.cfg'
for configuration information.
00:00000:00000:2007/12/25 00:12:46.93 kernel Logging ASE messages in file
'/opt/sybase/ASE-15_0/install/LOCALHOST.log'.
00:00000:00000:2007/12/25 00:12:46.93 kernel Platform TCP network is forced to
IPv4-only.
00:00000:00000:2007/12/25 00:12:46.93 kernel ASE booted with TCP_NODELAY
enabled.
00:00000:00000:2007/12/25 00:12:46.94 kernel SSL Plus v5.0.4 security modules
loaded successfully.
00:00000:00000:2007/12/25 00:12:46.94 kernel Network and device connection
limit is 9985.
00:00000:00000:2007/12/25 00:12:47.08 server Number of blocks left for proc
headers: 6960.
00:00000:00000:2007/12/25 00:12:47.08 server Proc header memory allocated 1392

Press ENTER to read the text [Type q to quit]
pages for each per engine cache
00:00000:00000:2007/12/25 00:12:47.10 server Size of the 2K memory pool: 8192
Kb
00:00000:00000:2007/12/25 00:12:47.10 server Memory allocated for the default
data cache cachelet 1: 8192 Kb
00:00000:00000:2007/12/25 00:12:47.10 kernel Enabling Linux Native Kernel
asynchronous disk I/O strategy.
00:00000:00000:2007/12/25 00:12:47.10 kernel Initializing virtual device 0,
'/opt/sybase/data/master.dat' with dsync 'off'.
00:00000:00000:2007/12/25 00:12:47.10 kernel Virtual device 0 started using
asynchronous i/o.
00:00000:00000:2007/12/25 00:12:47.10 server Loaded default Unilib conversion
handle.
00:00000:00000:2007/12/25 00:12:47.11 kernel Worker Thread Manager is not
enabled for use in ASE.
00:00000:00000:2007/12/25 00:12:47.11 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:2007/12/25 00:12:47.11 kernel Unix interval timer enabled for

Press ENTER to read the text [Type q to quit]
sysclk interrupts.
00:00000:00000:2007/12/25 00:12:47.12 kernel Begin processing to generate RSA
keypair.
00:00000:00000:2007/12/25 00:12:47.76 kernel Completed processing to generate
RSA keypair.
00:00000:00000:2007/12/25 00:12:47.76 kernel Encryption provider initialization
succeeded on engine 0.
00:00000:00000:2007/12/25 00:12:47.76 kernel engine 0, os pid 10541 online
.



Relevant Pages

  • Re: Get Segmentation Fault when Building Sybase
    ... Its not the installer as I've run the raw dataserver command to create the master and it seg faults at the same point as yours. ... Building Adaptive Server 'LOCALHOST': ... No external security mechanisms will be supported. ...
    (comp.databases.sybase)
  • Re: Taking over Operations Master / DC roles
    ... > that with the exception of the Single Master Roles." ... my gameplan is to get the server updated and all info copied... ... Get the DNS setup and all my other odds and ends to the point that they are ... >> mapped install directory, and a time server. ...
    (microsoft.public.win2000.active_directory)
  • Re: Disaster Recovery Plan
    ... preferable to restoring a master tape, ... Server and a HP tape drive. ... Attend a course taught by an expert instructor with years of in-the-field ...
    (Security-Basics)
  • Re: PCs not seeing each other
    ... MARK-X60S can ping MARK but MARK can not ping MARK-X60S ... Net config server ... Master browser name is: MARK-X60S ... There are 1 servers in domain ANY on transport ...
    (microsoft.public.windowsxp.network_web)
  • Re: Migrating Active Directory fom Win2000Srv to Win2003Srv standard
    ... Transfer the Schema Master Role ... type the name of the domain controller that will be ... How to view and transfer FSMO roles in Windows Server 2003 ...
    (microsoft.public.windows.server.migration)