I googled for the error you are getting (not specifically for STAF).  See 
the recommendation at 
http://www.atomicorp.com/forums/viewtopic.php?f=1&t=2528 to google for 
"executable stack" and this you'll get hits like 
http://etbe.coker.com.au/2007/10/07/executable-stack-and-shared-objects/.

It looks like the problem is in SELinux blocking the executable stack 
mechanism. One suggestion is to run a command like the following to change 
the shared object to not request an executable stack.   Note that I 
haven't tried this myself.

execstack -c /usr/local/staf/lib/libcrypto.so.*.*.* 

Try that to see if that resolves the problem.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   Swapna <skris...@redhat.com>
To:     staf-users@lists.sourceforge.net
Date:   04/13/2011 03:42 PM
Subject:        [staf-users] Installing STAF on Fedora 14



HI,

I'm trying to install and run STAF on Fedora 14. I am using the 
http://cdnetworks-us-1.dl.sourceforge.net/project/staf/staf/V3.4.5/STAF345-linux.tar.gz
 

for Linux (Intel 32-bit, aka i386 or x86-32).

I was able to install but I keep getting this error message when I try 
to run STAFProc.

[root@localhost staf]# STAFProc &
[1] 12373
[root@localhost staf]# STAFProc: error while loading shared libraries: 
libcrypto.so.0.9.8: cannot enable executable stack as shared object 
requires: Permission denied

[1]+  Exit 127                STAFProc
[root@localhost staf]#

SELinux is protesting when I try to run STAF. If I change SELinux to 
permissive mode, then STAF is able to start up just fine.

I don't want to turn SELinux off in order to use STAF. Is there any 
solution for this? Could somebody help?

Thanks,
- Swapna

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 

application availability and disaster protection. Learn more about 
boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to