[COMMON]Basic concepts
Blog for Learn&Share Tuxedo Notes of Telecom Billing System-CSG Kenan-BP(Arbor-BP)
学习和共享电信计费系统的中间件-TUXEDO
The mission of this webblog is simple:
Q:
Hi
I'm trying to change the file permissions on the ULOG file. By default it's being created with rw-rw-rw- permissions, and so any user can overwrite it.
I'm using Tuxedo 8.0 on HP-UX.
I've tried umask and that doesn't work. Nor does the PERM setting in the ubb file - looks like that is only for IPC structures.
I want it to be created with rw-r--r-- permissions so that only the tux administrator has write access.
Thanks in advance.
A: We also encouter this problem. Seems like hard code. As it doesn't related to umask.
As workaround solution, you may want to set ULOGPFX inside UBBCONFIG file, and proteck the directry with access mode 700.
WSL SRVGRP=GP_COMMON SRVID=1 CLOPT="-A -t -- -n//10.1.2.69:8888 -m3 -M20 -x5"
CLOP中参数的含义
-A :option requests that the WSL offer all its services when it is booted. tuxedo启动时开放所有的service
-t :The amount of time to allow for a client to connect to the WSH tuxedo允许一个client连接的时间多长,指连接的动作,不是连接后的持续时间,如果你用tuxedo6.5的client去连tuxedo7, 则必须要写此参数(自己总结的)
-- :The double-dash (--) marks the beginning of a list of parameters that is passed to the WSL after it has been booted. 表示服务器起来之后的参数,其总的值与UBB中的参数有约束。
-n//10.1.2.69:8888 :The network address used by WSCs to contact the listener. The WSC must set the appropriate environment variable (WSNADDR) to the value specified after -n. 网络连接参数,客户端可以按照这个设置。
-m : The minimum number of handlers that should be booted and always available. The default is 0. 服务器起来之后的最小常连接
-M : The maximum number of handlers that can be booted. The default is the value of MAXWSCLIENTS for the machine being configured, divided by the multiplexing value (specified with -x).最大常连接,默认值是UBB中的MAXWSCLIENTS的数量。
-x : The maximum number of clients that a WSH can multiplex at one time. The value must be greater than 0. The default is 10.服务器一次处理的最大客户端数量,必须大于0,默认值是10。
example is for HP UNIX
export TUXPATH=/software/local/tuxedo/bin
export TUXCONFIG=/software/local/arborsec/appdir/tuxconfig
export TUXDIR=/software/local/tuxedo
export TUXLIBS=/software/local/tuxedo/lib
export SHLIB_PATH=$TUXLIBS
export PATH=$PATH:.:$TUXPATH:/opt/sudo/bin:/usr/sbin
and must has read access to file $TUXCONFIG
669
ERROR: Message operation failed because of the invalid message queue identifier
Description
msgsnd to a queue failed because of invalid message queue identifier. This can also occur if a request is made by a client who exits before the request is satisfied. The cleanup after the client exits removes the message queue.
Action
Check the message queue identifier inmsgsnd()
. The message may be corrupted. Contact your BEA TUXEDO system Technical Support.
txprt [-d mm/dd] [-s time] [-e time] < stderr | pg
txprt [-d mm/dd] [-s time] [-e time] <>
e.g.
txrpt -d 01/01 -s 14 -e 16 < stderr | pg
txrpt -d 03/30 -s 14 -e 16 < stderr | grep SS_CQJZ
or
cat *.err |txrpt -d 09/10 -s 08:00:00 -e 18:00:00 |pg