Trying to get ASE Express to run on my Fedora core 7 system. Using
srvbuildres, I am confronted with a segmentation fault and I am stumped.
This is on a Dell D600 laptop with 1GB or memory. Also have 1GB of
shared memory configured. LD_POINTER_GUARD makes no difference. Devices
are not created...
Advice appreciated.
On the screen:
[sybase@laptop-thomas bin]$ srvbuildres -r ase.rs
Building Adaptive Server 'fc7_syb':
Writing entry into directory services...
Directory services entry complete.
Building master device...
sh: line 1: 11715 Segmentation fault
/opt/sybase/ASE-15_0/bin/dataserver -d/opt/sybase/data/master_fc7.dat
-b30M -z2048 -sfc7_syb -e/opt/sybase/ASE-15_0/install/fc7_syb.log -T1623
> /tmp/sbtgrSKH 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/08/15 09:23:07.06 server Loaded default Unilib
conversion handle.
00:00000:00000:2007/08/15 09:23:07.07 kernel Worker Thread Manager is
not enabled for use in ASE.
00:00000:00000:2007/08/15 09:23:07.07 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/08/15 09:23:07.07 kernel Unix interval timer
enabled for sysclk interrupts.
00:00000:00000:2007/08/15 09:23:07.07 kernel engine 0, os pid 11715 online
Server 'fc7_syb' was not created.
[sybase@laptop-thomas bin]$ dataserver -v
Adaptive Server Enterprise/15.0/EBF 13194 EC ESD/P/Linux Intel/Linux
2.4.21-20.ELsmp i686/ase150/2179/32-bit/FBO/Mon Feb 6 04:14:19 2006
Thomas
Have you looked at Jason's comments earlier in this group ?
It appears that setup and/or srvbuild resets the
LD_POINTER_GUARD value. Try creating a resource file and
running srvbuildres from the command line (having set
LD_POINTER_GUARD appropriately)
Michael
I am only using srvbuildres, and have also confirmed that the setting of
LD_POINTER_GUARD makes no differences.
I did run the srvbuildres with strace, and it would appear (with my
limited knowledge) that the segmentation fault occurs in the process
that is supposed to build the master device. I double checked the basics
like permissions on the directory for my devices, and confirmed that
SELINUX is disabled.
I'll attach the strace output in case someone can make some more sense
of it.
Thomas
From the output, it looks like your SYBASE, SYBASE_ASE and SYBASE_OCS
environment variables aren't set.
hth
jason
--
Jason L. Froebe
Help find a cure for breast cancer! Net proceeds benefit the Susan G.
Komen Breast Cancer Foundation and the National Philanthropic Trust.
Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm
walking 60 miles in 3 days in August 2007. (The day I return from
TechWave is the first day of the Walk)
WebBlog http://jfroebe.livejournal.com
Tech log http://www.froebe.net/blog
During srvbuildres, the segfault displays the command used to create the
master device. When I execute this command the master device is created
and visible to the OS, but still segfaults.
Command: /opt/sybase/ASE-15_0/bin/dataserver
-d/opt/sybase/data/master_fc7.dat -b120M -z4096 -sfc7_syb
-e/opt/sybase/ASE-15_0/install/fc7_syb.log -T1623
The final line in ..../init/logs/srv after executing the buildmaster
command is "Buildmaster return code: -117."