首页 > Linux操作系统 > Linux操作系统 > Linux下的rwbuilder.sh不能运行


原创 Linux操作系统 作者:hjgluguo 时间:2009-10-17 22:05:16 0 删除 编辑

Subject: Generates Segmentation Fault or no Errors, and Standalone is not created 
  Doc ID: 331919.1 Type:  PROBLEM 
  Modified Date:  27-JUL-2009 Status:  PUBLISHED 

In this Document


Applies to: 
Oracle Reports Developer - Version:
This problem can occur on any platform.
Checked for relevance on 07-Sep-2007 
operating system


Linux. It was initially reported in 64-bit, but it had reproduced sometimes in 32-bit in different flavors, ie, RHEL, OEL.

Reports release
----------------- and higher

1)  Segmentation fault trying to start up reports server, but it does not generate core dump file

Segmentation fault
$ echo $?

- Core dump file is not generated, then, Note 1812.1 "TECH: Getting a Stack Trace from a CORE file" cannot be applied.  hs_err_pidXXX.log files are NOT generated either.

2)  It might happen no errors are displayed, instead of "Segmentation Fault", but the standalone reports server is not created at operating system level, although the default in-process is up and running:

$ps -ef |grep rwserver     <--- displays nothing created at os level

3), and are generating segmentation file, too, without core dump file:

$ report=test.rdf  userid=scott/tiger@dbalias destype=file desformat=html desname=/tmp/test.html
Segmentation fault

4) It is a new installation and relink process finished successfully, without errors, according to RDA output:
/usr/bin/make -f libso_install

5) In 9.0.4.X release, Smart Agent is up and running, according to osfind output:


In 10.1.2.X release, displays the in-process reports server successfully, but not the new standalone.

6)  Default in-process reports server is working without errors, you are able to execute reports from url:


7)  Suggestions from Note 304112.1 "REP-178 Attempting to Connect to in-process Repserver Using Rwclient.Sh, It Works From The Url" in order to setup standalone environment variables identical to in-process has been applied, but continues generating segmentation fault or no errors, but standalone process is not created at os level.

New installation or first time a standalone reports server is created. The default in-process reports server is working fine. 
Problem with SUN Java version running on Xeon or AMD CPU running on Linux RH. The updated kernel added "non executable stack" feature. This is a new security enhancement. 

According to Sun, this problem is fixed in Sun JRE 1.4.2_08(b02)

Boot with kernel option 'noexec=off':

1. Backup /boot/grub/grub.conf

2. Modify /boot/grub/grub.conf and add new kernel menu with "noexec=off" flag.


title Red Hat Enterprise Linux AS (2.4.21-15.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/
initrd /initrd-2.4.21-15.EL.img
title Red Hat Enterprise Linux AS (2.4.21-15.EL) noexec=off
root (hd0,0)
kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/ noexec=off
initrd /initrd-2.4.21-15.EL.img

Other example taken from a different machine:

title Enterprise Linux Enterprise Linux AS (2.6.9-
root (hd0,0)
kernel /vmlinuz-2.6.9- ro root=/dev/VolGroup00/LogVol00 rhgb quiet noexec=off
initrd /initrd-2.6.9-
title Enterprise Linux Enterprise Linux AS (2.6.9- noexec=off
root (hd0,0)
kernel /vmlinuz-2.6.9- ro root=/dev/VolGroup00/LogVol00 rhgb quiet noexec=off
initrd /initrd-2.6.9-

IMPORTANT: If several kernels are defined in grub.conf file, make sure the one being used has the noexec=off parameter. The grub.conf parameter 'default' defines which kernel by default to read. If it is default=0, it means that the first kernel in grub.conf is the one being loaded.

3. Reboot server to implement change.

4. Run this command as root

# cat /proc/cmdline

This should return this result:
ro root=/dev/sda5 console=ttyS0,115200 console=tty0 noexec=off

If noexec=off is not returned the check modifications done in grub.conf

5. After applying these changes, execute again to create a new standalone reports server, it will work now, you will see a process id for your new standalone, ie:

$ repserv10g
$ps -ef|grep repserv10g

1) When you have set the option hiddenmenu in the file grub.conf then  the menu is not displayed when booting except if the key is pressed.
Additional information can be found at the GNU homepage,

Note 276802.1 - Runinstaller Crash Immediatly When Run


Help us improve our service. Please email us your comments for this document. . 

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量