Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3063636
  • 博文数量: 144
  • 博客积分: 10056
  • 博客等级: 上将
  • 技术积分: 2603
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-13 14:20
个人简介

互通有无,共同提高。

文章分类

全部博文(144)

分类: 系统运维

2009-10-05 10:43:44

LandMark2003 $OWHOME/conf/lgcenv.cf文件内容
山定子 译

.
ERR_LEVEL:当应用程序运行时,设置返回到工作台x-term窗口错误信息类型。级别3(默认)报告严重错误。级别1报告所有信息,通常由程序员使用。级别2提供更详细的信息。如果想跟踪某一问题,则推荐使用级别2。级别4不报告信息。
.
LGC_MASTER:设置默认2D Master工区名。默认名为lgc_master。可以创建另外的Master工区(它们与该变量无依存关系),详情可参见SeisWorks/2D Project Management手册“Master Projects”章节。
.
OPENWORKS_RELEASE:为OpenWorks版本号。"600”相当于OpenWorks 2003。
.
ORACLE_OWNER:Oracle数据库管理员的用户id。
.
ORACLE_SID_FOLLOWS_OWSYSSID:设成"yes",用环境变量OWSYSSID以默认形式控制所有OW工区管理程序来定位OpenWorks System Database (ORACLE_SID)。默认值为"NO"。
.
OWHOME:OpenWorks目录路径。默认到在安装软件期间的设定值。
.
OWPDIR:默认的OpenWorks工区目录。当创建OpenWorks工区时,做为在其中储存工区的文件系统,也就是在对话框中将出现的文件系统。当创建OpenWorks工区时,可在对话框中覆盖该默认设置。
OWSYMBOLDIR:OpenWorks Symbols目录路径。
.
OWSYSSID:OpenWorks System Database (Oracle)位置。
.
OW_AUTOEXTEND_FLAG:控制自动扩展OpenWorks表空间。"YES"开启该功能。默认值为"NO"。
.
OW_AUTOEXTEND_MAX:以兆字节定义自动表空间扩展限定值。"UNLIMITED"值以OW_AUTOEXTEND_NEXT增量允许无限增加表空间。
.
OW_AUTOEXTEND_NEXT:以兆字节定义自动表空间扩展增量值。默认值为10 (10 Mb)。
.
OW_DBTYPE:OpenWorks database类型---应设为oracle。
.
OW_PMPATH: OpenWorks工区管理目录路径。在配置文件(legenv.cf)中规定的默认值是$OWHOME/conf。可在环境变量中设置一个不同值来覆盖该默认值。如果该变量设置到一个不同位置,则目录定义文件(dir.dat)应从$OWHOME/conf拷贝到OW_PMPATH指向的目录。
.
OW_SESSION_HAS_INSTANCES:规定是否允许多个OpenWorks sessions。有效配置为"YES"(默认)和"NO"。
.
OW_USE_DEF_SID_ALWAYS:设成"YES"以控制所有应用程序使用由环境变量OWSYSSID(而不是来自当前OpenWorks session的OWSYSSID,例如,在OpenWorks Command Menu状态行上显示的那样)定义的Oracle database。
.
SEIS_DPATH:$OWHOME/SeisUtils/dat目录路径。当加载SeisUtils tape(用SeisWorks)时,该变量被添加到lgcenv.cf中。该变量必须出现在该文件中。当创建工区时,SeisUtils dat目录包含的文件被自动加载到该地震工区目录中,创建工区时将生成工区定义文件、色表文件以及用于bcm程序的样例处理控制文件。该目录包含的文件同样由SeisWorks用来控制显示、字体等。
.
WORKGROUP_TRANSPORT:将OpenWorks WorkGroup远程调用类型定义为“RSH”或 “REX”。默认类型为REX。
.
WORKGROUP_SHOW_STATUS_ALWAYS:由WorkGroup软件来控制远程命令显示状态。默认设置"NO",只有当远程命令中出现错误时才显示其状态。
.
Autotracking Memory Allocation Variables:FITMEM用于Turbo Fast Track (2D),ZIPMEN用于ZAP! (3D)。参见Fast Track 或 ZAP!手册中的推荐设置。
.
Devices and Hardcopy Variables:参见SeisWorks/3D Integration手册中的DIGITIZER_NAME 和 SERIAL_DIGITIZER变量。
.
Optical Variables:DOS_OA - DOS_OI, UNIX_OA - UNIX_OI: 已过时不用。
.
Pointing Dispatcher Variables:参见OpenWorks System Administration: Managing the System中设置PD_BC_START_ANYWAY, PD_SESSMGR_MAX_SPAN,PD_SESSMGR_START_PORT, 和 PD_USE_SESSION_MGR的说明。
 
##########################
 
单位机器实例
 
dell061{ow2003}% more lgcenv.cf
############################### PROLOGUE ###############################
# --- CHECKIN DATE: 07/22/91
# --- MODULE NUMBER:  141002
#
#
#  NAME:       lgcenv.cf ( for Linux )
#
#
#  FUNCTION:   Configuration file for Landmark Applications ( for Linux )
#
#
#  APPLICATION/SUBSYSTEM:  Configuration File (cnf) EXTERNAL
#
#
#  AUTHOR:    Dharmesh Mehta
#
#
#  LINKAGE:   Used only by lgc_getenv to obtain configuration parameters.
#
#
#  NOTES:
#
#  All applications use lgc_getenv to obtain site configuration parameters.
#  lgc_getenv looks up this file to return the site config params.
#
#
#  RESTRICTIONS:  none
#
#
#  REVISED:
#
#  01MAY91   DBM     Original Version
#  15MAY91   DBM     Added optical parameters   PTAR# R91-03013
#  02JUL91    As     Added LGC_MASTER
#  22JUL91   DBM     Changed optical devices to /rsod* as opposed to /sod*
#                       PTAR# ( unassigned). TAR submitted by Roland G.
#
#
#------------------------------------------------------------------
#  Copyright (C) 1991 LANDMARK GRAPHICS CORP.
#  All rights reserved.
#------------------------------------------------------------------
# This is the configuration file for Landmark applications.
#
# Set the default ERR_LEVEL
#
#
ERR_LEVEL       3       # Only fatal errors printed.
#
# OpenWorks Home Directory
#
OWHOME /disk1/OW
#
#  Type of the OpenWorks Database (oracle or ingres)
#
OW_DBTYPE oracle
#
#  Turn on/off PD Session Manager
#
PD_USE_SESSION_MGR YES
#
#  Can be used to start PD anyway if PD Session Manager is ON
#  (can be used to start PD anyway even if the PD session manager
#   is turned on above)
#
# PD_BC_START_ANYWAY YES
#
#  Use alternate starting port for PD session Manager
#  (Default is 28000, minimum is 1026, maximum is 32767)
#
# PD_SESSMGR_START_PORT 28000
#
#  Maximum # ports to try from starting port (decending)
#  (Default is 1000)
#
# PD_SESSMGR_MAX_SPAN  1000
#
#  WorkGroup Transport selection
#  Valid Values:
#
#       "RSH"   -- Use the rsh(1) for remote invocation (older transport)
#       "REX"   -- Use OW REx for remote invocation (requires NetD - default)
#
#  NOTE:"REX" only functions between version of OpenWorks 4.0 and greater
#
WORKGROUP_TRANSPORT REX
#
# WorkGroup only displays status on rcmds in error
#
WORKGROUP_SHOW_STATUS_ALWAYS NO
#
# Direct all apps to use OWSYSSID from environment (YES)
# or pull OWSYSSID from the session (NO)
#
OW_USE_DEF_SID_ALWAYS NO
#
# If you dont want ORACLE_SID to follow OWSYSSID by
# default in the the OW project management utilities
# then set this to NO
#
ORACLE_SID_FOLLOWS_OWSYSSID YES
#
# Current OpenWorks Session Release
#
OPENWORKS_RELEASE 600
#
# If you dont want to allow session instances
# then set this to NO
#
OW_SESSION_HAS_INSTANCES YES
#
# OpenWorks Project Directory
#
OW_PMPATH /disk1/OW/conf
#
# OpenWorks Symbols Directory
#
# OWSYMBOLDIR __OWSYMBOLDIR_Is_Not_Set_Yet__
#
# OpenWorks External Project Files Directory Permissions
#
OW_PROJ_DIR_PERMISSIONS  0777
#
# OpenWorks External Project Data Files Permissions
#
OW_PROJ_DATA_PERMISSIONS  0666
#
# Turn on Oracle's automatic tablespace extension
# OFF, off, and 0 are recognized as 'turn off autoextend'
# all others are recognized as 'turn on autoextend'
#
OW_AUTOEXTEND_FLAG    YES
#
# Set the tablespace automatic increment to 16 MB
#
OW_AUTOEXTEND_NEXT    16
#
# Set the maximum space a datafile can grow by
# automatic means
#
OW_AUTOEXTEND_MAX     UNLIMITED
#
# Set how the curve loader will handle curve data
# The 3 options are INCREASING (default)   NONDECREASING       ALL
# CRVLDR_DEPTH_CH       INCREASING
#
#  DBA user id for ORACLE
#
ORACLE_OWNER oracle
#
#  Location of the OpenWorks System Database (oracle)
#
OWSYSSID ow2003
#
# Restore all valid users when project restored
#
RESTORE_PRJ_USERS       YES
#
# Devices and hardcopy stuff
#
DIGITIZER_NAME          MG3648
PARALLEL_PLOTTER        /dev/lpv0
PLOT_DIR                        /pa/plot
PLOT_NODE                       seiko2
RAWCPY_BUFR                     51200
SERIAL_DIGITIZER        /dev/ttyb
SERIAL_PLOTTER          /dev/ttya
#
# ZAP Related Variables
#
#FTTMEM         56000000
#ZIPMEM         56000000
#
#  Seismic Variables
#
NEWHORIZON      1
OWPDIR          /pa
#
#  2D master area
#
LGC_MASTER      lgc_master
#
#  Y2K pivot year:
#  A 2-digit year less than the pivot year will be assumed
#  to be in next next century.
#
#LGC_Y2K_PIVOT_YEAR  30
#
#
#  Open Explorer vars
#
OE_DSL_UWITAB __OE_DSL_UWTAB_Is_Not_Set_Yet__
#
#
#  Help System Viewer   This can be set in a user's local environment.
#       However, help documents may not be available in that format.
#
#       Options are:    LGC_PDF_VIEWER          Use some form of Acrobat Reader
#                       LGC_HTML_VIEWER         Use some form of Web Browser
#                       LGC_FRAME_VIEWER        (Old) Use Frame Viewer
#
LGC_VIEWER LGC_PDF_VIEWER
#
#
#   Provides Project Backup with the ability
#   to restore users and their access leve
#
#   Options: YES  or NO
#
RESTORE_PRJ_USERS YES
#
SEIS_DPATH  /disk1/OW/SeisUtils/dat     # SeisUtils data directory
 
dell061{ow2003}%
#########################
 
未设置owioformats路径的案例

F(151245420)  11:27:22
我加测井曲线时编辑format文件,提示environment variable"OWIOFORMATS"not set ,ASC curve format files should be in the directory located by "$OWIOFORMATS" and should have the suffix ".all".
哪位大神知道这是什么情况
 
西子风情(sage amorous)(156173412)  11:28:00
没有编辑格式文件
 
F(151245420)  11:30:57
对,我要编辑格式文件,在curve loader 面板下,点edit-asc format。然后点new,就出现那个提示
没法新建
 
山定子(370746359)  11:47:16
R5000中的$OWHOME/conf /lgcenv.cf有定义格式文件的路径(如:OWIOFORMATS /dell056disk2/project/OW_SYS_DATA/owioformats);
2003的lgcenv.cf中默认没有定义路径,你定义一下试试,如:OWIOFORMATS /disk1/lamprj/OW_SYS_DATA/owioformats
根据你机器的情况
 
F(151245420)  11:52:54
好的,谢谢山定子。我试一下
 
F(151245420)  11:54:35
好了。我在openworks下新建了一个 ow_sys_data的文件夹。
再次感谢
阅读(21251) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~