OpenSpirit enable cross-vendor, cross platform... Integration of Data and Applications
About Us Products Support Services Clients News Contact Us
End-User FAQ: Version 2.5.0 End-User FAQ Menu

Servers >> Landmark

Why did my OpenWorks or SeisWorks Data Server fail to start?
Why am I getting a Project definition file (.pds) not found in my Seisworks server?
Why did my OpenWorks data server fail to retrieve its data from the OpenWorks database?
How do I make the OpenWorks Event Gateway work with multiple OpenWorks versions?
Why do I need two OpenWorks licenses when I run the OpenWorks Event Gateway?
Why do I need two OpenWorks licenses when I run OpenSpirit and OpenWorks applications together?
Why am I getting a "ld.so.1: /.../bin/sw2003java: fatal: libCstd.so.1: open failed" when I try to run a Sw2003 or Ow2003 data server?
Why am I getting a ORA-00988: missing or invalid password(s) when I try to run my Ow2003 data server, even though the DB_URL says my password is ok?

I am running OpenWorks 2003_12 and I can not start a data server for newly created OW projects. What is wrong?

The SeisWorks server will not function and the log contains "Xlib: connection to "bari:0.0" refused by server" and "Xlib: Maximum number of clients reached". What can I do to get my SeisWorks data server to start?
I am having problems opening very large SeisWorks brick (*.bri) or compressed (*.cmp) volumes in OpenSpirit. How can I open them?

Why did my OpenWorks or SeisWorks Data Server fail to start?

There are a few possible reasons as to why your OpenWorks/SeisWorks Data Server fails to start. Check the data server log file for possible clues. If the problem is transient in nature, it could be that it is an OpenWorks license issue (i.e., too many people using too few licenses). If the problem starts right after the data store configuration, the problem may be traced to an invalid entry in the configuration such as OWHOME, ORACLE_HOME, TNS_ADMIN, OWSYSSID, etc.

The administrator will want to make sure that any directory path entered in the Configuration Tool is accessible from its client environment using the syntax that he enters. Check with your administrator to make sure that the configured values are correct. If changes are made in the Configuration Tool that impact the data store being accessed by the data server,.then you must stop and restart your data server(s).

Back to Top ...

Why am I getting a Project definition file (.pds) not found in my Seisworks server?

I'm getting an error similar to the following in my SeisWorks dataserver log;

  Caught exception ERROR: throwing the
following exception using the java class:
com/openspirit/osp/Osi/Exceptions/
DevKitException
Project definition file (.pds) not found

There are few possible reasons as to why this error may be occurring:

•   What are the file permissions on the /array/Owprojects/SeisProj/xxxxx.pds file?
•   Does the account that you are using to start the OpenSpirit seismic servers have read/write access to the xxxxx.pds file? (this is a requirement of using the SeisWorks devkit.)
•   Are these 2D or 3D SeisWorks projects?
•  

If this is a 3D project then a /array/Owprojects/SeisProj/xxxxx/xxxxxx.pds file should exist.

•   If this is a 2D project then a /array/Owprojects/SeisProj/xxxxx/xxxxxx.ps2 file should exist.
•   Are these SeisWorks projects standalone 3D projects or are they 3D/3D shared projects?
•   We don't support 3D/3D shared projects yet .

The most likely problem is the permissions on the xxxxx.pds file, do a 'chmod 666' and change it to -rw-rw-rw, and after doing that, the problem should be cleared up.

Back to Top ...

Why did my OpenWorks data server fail to retrieve its data from the OpenWorks database if I left it running overnight?

The OpenWorks data server uses the OpenWorks devkit to access the OpenWorks database. The devkit connects to the database the first time the database is accessed and the connection is maintained from that point on. If the database is restarted, or if the network goes down since the data server connected to the database, the data server can no longer retrieve data from the OpenWorks database. To correct the problem, you must restart the data server.

Back to Top ...

How do I make the OpenWorks Event Gateway work with multiple OpenWorks versions?

As you probably know, running multiple OpenWorks installations simultaneously can be difficult. To assist in this, Landmark has provided the -i option to differentiate between sessions, but applications which are run outside of the OpenWorks Launcher don't automatically get that information propagated to them.

Currently, this affects only the OpenWorks Event Gateway. The OpenWorks data servers are currently able to avoid the problem by not joining a session, but they can only avoid joining a session because they are not interested in sending or receiving OpenWorks events.

Until Landmark differentiates between their versions more completely, the Gateway must compensate by examining the X root window properties Landmark uses for establishing communications between applications within a session. If a session is running that uses the same database instance, the Gateway will join that session. If not, a default session identifier of '985' for OpenWorks 1998.5 and '981' for OpenWorks 98p is used. Running more than one session against the same database instance will directly specify the session identifier in a file from your home directory, called ".osp_ow_session_instance". Now put the session identifier into that file by itself. It is only used if there are multiple sessions running against the same instance.

Back to Top ...

Why do I need two OpenWorks licenses when I run the OpenWorks Event Gateway?

When you run OpenWorks applications, it checks out one license for each 'session' you run. Hence, if you run multiple versions of OpenWorks, each in its own named session (using the -i option), you will use one license for each session.

In OpenSpirit, to avoid problems encountered when running in a multi-version environment, the OpenSpirit data servers for OpenWorks unset the DISPLAY variable before running. As far as OpenWorks is concerned, this places them in their own 'session' and hence requires a separate license. When you run the Event Gateway, however, it MUST set the DISPLAY and join a session to send and receive events. This session presumably has already been established by running the OpenWorks launcher as well as other possible applications. Thus, it is actually using the license that was already checked out when you started the OpenWorks applications, not the one used by the data servers.

This technique can be changed, though it has not yet been fully tested. You must change the script in the OpenSpirit installation that is used to start the data server for OpenWorks. The script name is runOw****Server.sh, where **** is the version number. Two lines must be changed: Uncomment the line that calls the findOWSessionID function and comment out the line reading unset DISPLAY. (They should be close together.)

See also:

How do I make the OpenWorks Event Gateway work with multiple OpenWorks versions?

Back to Top ...

Why do I need two OpenWorks licenses when I run OpenSpirit and OpenWorks applications together?

The reasoning here is the same as in the FAQ about two licenses being required to run the OpenWorks Event Gateway, and the fix is the same.

See also:

How do I make the OpenWorks Event Gateway work with multiple OpenWorks versions?

Back to Top ...

Why am I getting a "ld.so.1: /.../bin/sw2003java: fatal: libCstd.so.1: open failed" when I try to run a Sw2003 or Ow2003 data server?

I've made a project set with a Seisworks 2003 (or OpenWorks 2003) project in and when I try to start up the Tab Selector in OpenSpirit I'm getting the following error:

ld.so.1: /.../bin/sw2003java: fatal: libCstd.so.1: open failed: No such file or directory

This is a known issue with OpenSpirit v2.3.4, involving the OpenWorks/SeisWorks 2003 data servers, which can be corrected in several ways.

You can try some of the following:

•   install the latest recommended Solaris 2.8 patch cluster (from www.sunsolve.sun.com)
•   install Solaris 2.8 patch 108434-08/108435-08 (32 and 64 bit version)
•   or you can
•   download the following file: libCstd.so.1.Z
•   copy the downloaded file to $OSP_HOME/libWS6/ (in your master Solaris installation), and then uncompress and chmod the file:
•   % uncompress libCstd.so.1.Z
•   % chmod 755 libCstd.so.

After installing the file the OpenWorks/SeisWorks 2003 data servers will function normally.

Back to Top ...

Why am I getting a ORA-00988: missing or invalid password(s) when I try to run my Ow2003 data server, even though the DB_URL says my password is ok?

If you cannot seem to get connected to OpenWorks R2003 and have tried to build the connection URL with OWSYSP instead of the OpenSpirit account that you created and still have the same problem, then try the following tst.

Un-gzip and un-tar the following file into your OSP_HOME directory:

jdbc_test.tar.gz

This tester connects externally to an OpenWorks 2003 Oracle instance.

You must supply the OpenSpirit data store name for a configured OpenWorks 2003 data store on the command line when invoking the script testOWJDBC.sh.

For example, if your data store name is "owdb".

$OSP_HOME/bin/testOWJDBC.sh owdb

The script should be run from the same UNIX account that is being used to run the OpenWorks data server.

The script sets the environment to pick up the type 2 JDBC driver in $OSP_HOME/external/Oracle/oci8 rather than the default driver. This is the driver used by the OpenWorks 2003 server to access the query manager account.

If the tester cannot connect then you can un-gzip and un-tar this new driver:

oracle_8_1_7_driver.tar.gz

into $OSP_HOME and try the test again with the new URL tester.

If the test still doesn't connect, please contact support@openspirit.com for further assistance.

Back to Top ...

I am running OpenWorks 2003_12 and I can not start a data server for newly created OW projects. What is wrong?

IUnit errors are produced when trying to start a newly created OpenWorks 2003_12 project. The error looks like:

Cannot obtain distance unit for project 'OW_SPIRIT'; call to untGetUnitAbbr('-1') returned 177600004.

This is a bug from Landmark when creating new OpenWorks 2003_12 projects. In the unpatched OpenWorks 2003_12 the horizontal and vertical units code is created incorrectly. Old projects migrated from OpenWorks 98 or OpenWorks 2003 do not have this problem because their values were copied across. Only new projects created on the unpatched OpenWorks 2003_12 have this problem.

This bug was fixed by Landmark in the patch 2003.12.0.1 push release. The patch from Landmark will fix any new projects created, however, you will have to use SQL to update a table for the newly created OpenWorks 2003_12 projects created before the Landmark patch is applied.

According to Landmark:

This is Defect 170663 fixed in the patch 2003.12.0.1 push release (This should be a CD you received around May or June 2004). The values in these tables for new projects created in 2003.12 will need to be updated. After applying the fix, new projects should be properly created.

In order to fix the existing 2003.12 projects your OpenWorks administrator must update the effected tables using SQL. The SQL should look like:
SQL> update ow_prj_unit
SQL> set unit_id=2 where UNIT_TYPE_ID=2001;

This is just a comment for the above line:

Set the unit_id = 2, if the linear distance unit is feet.
Set the unit_id = 1, if the linear distance unit is meters.

Depending on what Oracle account you use, you might have to put the project name in front of the table name ow_prj_unit so it would look like:
SQL> update project_name.ow_prj_unit

Back to Top ...

The SeisWorks server will not function and the log contains "Xlib: connection to "bari:0.0" refused by server" and "Xlib: Maximum number of clients reached". What can I do to get my SeisWorks data server to start?

Some systems have a limit on the number of file descriptors a user can have open. This is particularly prevalent in SeisWorks 2d projects. Your OpenSpirit SeisWorks data server log will have something like:

Created LineGeometry2d: sak_master 708648
Executing the sw_rebuild_sms_file.sh script
The DISPLAY is set to: bari:0.0
Xlib: connection to "bari:0.0" refused by server
Xlib: Maximum number of clients reached
Xlib: connection to "bari:0.0" refused by server
Xlib: Maximum number of clients reached

This problem is most likely caused by the customer having too few file descriptors. A SeisWorks program is being executed to register the OpenWorks 2d line to the SeisWorks 2d project. This Landmark executable requires many file descriptors.

Login into your UNIX account and execute one of the following commands:
* If csh, type: limit
* If bash, type: ulimit -a

It should look similar to one of the following:
mickey% limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize 0 kbytes
descriptors 128
memorysize unlimited

mickey:/users> ulimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
open files 128
pipe size (512 bytes) 10
stack size (kbytes) 8192

Back to Top ...

I am having problems opening very large SeisWorks brick (*.bri) or compressed (*.cmp) volumes in OpenSpirit. How can I open them?

By default, OpenSpirit uses SeisWorks methods that take advantage of a SeisWorks memory cache. This results in faster performance but requires a lot of memory. The bigger the brick/compressed volume the more memory it will use. There are some workflows (e.g. copying the entire huge volume: 2000x3000x2251) where the SeisWorks server process space eventually gets over 2GB. The SeisWorks server crashes due to exceeding the maximum address space for 32-bit architecture (e.g. 2.174GB). Starting with OpenSpirit 2.8.1, the client has the ability to turn off the memory cache.

To turn off the SeisWorks caching, first make sure you have OpenSpirit 2.8.1, or later. When you are sure, you have OSP 2.8.1,or later, edit the $HOME/OpenSpirit/osp.config file and add the following line:
env.OSP_DISABLE_SEISWORKS_VOLUME_MEMORY_CACHE=true

Back to Top ...

Site Map      Legal      Privacy
 
OpenSpirit Home