Having trouble starting ASE 12.5 / 15 on Linux with multiple engines?

by Jason L Froebe on May 4, 2007, one comment

If you’re getting error messages similar to:

01:00000:00000:2007/05/04 19:09:10.28 kernel  os_attach_region: shmat(425984): Invalid argument
01:00000:00000:2007/05/04 19:09:10.28 kernel  kbattach: couldn't attach to Kernel region
01:00000:00000:2007/05/04 19:09:10.28 kernel  kestartup: couldn't attach to shared memory: -ONLINE:1,0,0xf500c2b8, 0x413ea000, 0x76c00000, 0x1159
00:00000:00000:2007/05/04 19:09:10.28 kernel  engine 1, os pid 27586  exited
00:00000:00000:2007/05/04 19:09:10.28 kernel  Process 27586 exited with status 1
00:00000:00000:2007/05/04 19:09:10.28 kernel  Task with kpid 0 running on failed engine
01:00000:00000:2007/05/04 19:09:10.29 kernel  os_attach_region: shmat(425984): Invalid argument
01:00000:00000:2007/05/04 19:09:10.29 kernel  kbattach: couldn't attach to Kernel region
01:00000:00000:2007/05/04 19:09:10.29 kernel  kestartup: couldn't attach to shared memory: -ONLINE:1,0,0xf500c2b8, 0x413ea000, 0x76c00000, 0x1159
00:00000:00000:2007/05/04 19:09:10.29 kernel  engine 1, os pid 27587  exited
00:00000:00000:2007/05/04 19:09:10.29 kernel  Process 27587 exited with status 1
00:00000:00000:2007/05/04 19:09:10.29 kernel  Task with kpid 0 running on failed engine
00:00000:00009:2007/05/04 19:09:10.29 kernel  A listener with protocol tcp, host dba-prodsupport1, port 5000, engine 1 already exists.
01:00000:00000:2007/05/04 19:09:10.30 kernel  os_attach_region: shmat(425984): Invalid argument
01:00000:00000:2007/05/04 19:09:10.30 kernel  kbattach: couldn't attach to Kernel region
01:00000:00000:2007/05/04 19:09:10.30 kernel  kestartup: couldn't attach to shared memory: -ONLINE:1,0,0xf500c2b8, 0x413ea000, 0x76c00000, 0x1159
00:00000:00000:2007/05/04 19:09:10.30 kernel  engine 1, os pid 27588  exited
00:00000:00000:2007/05/04 19:09:10.30 kernel  Process 27588 exited with status 1

....

00:00000:00010:2007/05/04 19:09:13.04 kernel  kesetown: engine 1 not online
00:00000:00010:2007/05/04 19:09:13.04 kernel  upsetaffinity: can't affinity to engine 1 for kpid 851981
00:00000:00010:2007/05/04 19:09:13.04 kernel  upsetaffinity: can't affinity to engine 1 for kpid 85198

You will need to modify your /etc/sysctl.conf (make it live with sysctl -p) and disable exec-shield:

kernel.exec-shield=0
kernel.exec-shield-randomize=0

Some kernels don’t have the kernel.exec-shield* options but have no fear, we have another option:

kernel.randomize_va_space=0
Share Button

One thought on “Having trouble starting ASE 12.5 / 15 on Linux with multiple engines?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Facebook login by WP-FB-AutoConnect