Does file /usr/local/staf/lib/libSTAFLIPC.so exist?
In your previous response you said the LD_LIBRARY_PATH was set to:
echo $LD_LIBRARY_PATH: usr/local/staf
Can you check that again? It should be /usr/local/staf/lib
David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com
Justin Honeycutt <rabbidlemm...@gmail.com>
06/03/2009 09:43 AM
To
David Bender/Austin/i...@ibmus
cc
Subject
Re: [staf-users] Ubuntu 8.10 and STAF
There wasn't a "data" direcotry in /usr/local/staf so I created it with
777 permissions. And with Ubuntu you cannot just do su and be root, you
have to have "sudo" before everything you want to do as root. But when I
do sudo STAFProc I get "sudo: STAFProc: command not found" so I haven't
been doing that.
I am now getting a new error with STAF:
Error creating local interface
Error code: 10
Reason : STAFDynamicLibrary: libSTAFLIPC.so: cannot open shared object
file: No such file or directory
I edited the STAF.cfg file to include set DATADIR /home/stafdir and I
still get the above error...
Any ideas?
On Wed, Jun 3, 2009 at 7:04 AM, David Bender <bda...@us.ibm.com> wrote:
Yes, sorry, the ". ./STAFEnv.sh" syntax from the /usr/local/staf directory
is correct....to run the script from another path you would run ".
/usr/local/staf/STAFEnv.sh".
The "Error creating DATADIR directory" error usually means that STAF does
not have write access to to /usr/local/staf/data. When starting STAFProc,
are you logged in as root (or a userid that has write access to that
directory)?
If you want STAF to use a different DATADIR directory (one for which the
user starting STAFProc has write access), you can add the following line
to the /usr/local/staf/bin/STAF.cfg file:
set DATADIR /home/mystafdir
David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com
Justin Honeycutt <rabbidlemm...@gmail.com>
06/02/2009 04:30 PM
To
David Bender/Austin/i...@ibmus
cc
Subject
Re: [staf-users] Ubuntu 8.10 and STAF
I ran . ./STAFEnv.sh directly from the /usr/local/staf directory (if I did
it from any other using the path I would get a bash error No such file or
directory) and then STAFProc &. I have a new error:
[1] 5695
testf...@sting97:/usr/local/staf$
Machine : Sting97
Machine nickname : Sting97
Startup time: : 20090602-11:22:17
Error creating DATADIR directory: /usr/local/staf/data/STAF
20090602-11:22:17;3029531536;000000100;Caught STAFException in
HandleRequest( ), Exception:
STAFInvalidObjectException, Text: STA, Error Code: 41
Outputs you requested:
echo $LD_LIBRARY_PATH: usr/local/staf
I ran the cat while in the /usr/local/staf directory and got the error
"cat: install.properties: No such file or directory"
ls -al /usr/local/staf/lib/libSTAF.so
- rw- rw- rw- 1 root root 675425 2007-08-29 01:58
/usr/local/staf/lib/libSTAF.so
On Tue, Jun 2, 2009 at 4:11 PM, David Bender <bda...@us.ibm.com> wrote:
Try running the following:
. ./usr/local/staf/STAFEnv.sh (note the "dot space dot" at the beginning
is required).
STAFProc &
If it still fails, run the following and send the output:
echo $LD_LIBRARY_PATH
cat /usr/local/staf/install.properties
ls -al /usr/local/staf/lib/libSTAF.so
David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com
Justin Honeycutt <rabbidlemm...@gmail.com>
06/02/2009 04:03 PM
To
David Bender/Austin/i...@ibmus
cc
Subject
Re: [staf-users] Ubuntu 8.10 and STAF
I ran ./etc/profile and ./usr/local/staf/STAFEnv.sh
I didn't get any errors but after running both nothing seemed to happen.
I don't know if that's what supposed to happen but when I run either
commands it just goes back to prompt.
Either way after running both of these (I tried one, then tried STAFProc,
I tried the second, then tried STAFProc) I get the same error as before.
thank you for your help
Justin Honeycutt
On Tue, Jun 2, 2009 at 3:29 PM, David Bender <bda...@us.ibm.com> wrote:
Most likely you are running into the following problem that occurs on
recent RHEL versions:
http://staf.sourceforge.net/current/STAFFAQ.htm#d0e1524 "3.3.12 When
logged into the desktop on RHEL4-U4, if I run "STAFProc" or "STAF", I get
"error while loading shared libraries: libSTAF.so"."
Since you said STAF works on Ubuntu 8.04 but not on 8,10, this may be the
same issue, where the LD_LIBRARY_PATH is being ignored in the later Ubuntu
version. Can you try the workarounds described in the FAQ entry, and let
us know if that resolves the problem? If so we'll update the FAQ to
indicate that it applies to Ubuntu 8.10 as well as RHEL.
David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com
Justin Honeycutt <rabbidlemm...@gmail.com>
06/02/2009 03:12 PM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Ubuntu 8.10 and STAF
I am trying to install and run STAF on two different computers running
Ubuntu 8.10 (64Bit and 32Bit). On either computer after installing STAF
and updating the relevant files I attempt to start the STAF by running
/usr/local/staf/bin/STAFProc either as root or as the user. Both
computers return with the error:
"/usr/local/staf/bin/STAFProc: error while loading shared libraries:
libSTAF.so: cannot open shared object file: No such file or directory"
So I'm either missing a file or have some sort of odd permission issues,
which wouldn't account for the error in root. I have installed STAF and
gotten it successfully to run on 4 other machines running Ubuntu 8.04
(32Bit and 64Bit) and Fedora 9 (32 and 64bit) and all I did was install
STAF, update the files with the information to set the trust level on all
machines and users, and set the username, pass and default shell and STAF
ran successfully.
If more information is needed please let me know I will provide whatever I
can. I'm a semi newb to Linux so if you have anything I need to do I
might have to ask for clarifcation. If anyone could help I would be very
grateful.
Rabbidlemming
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to:
http://p.sf.net/sfu/opensolaris-get_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users