tmshutdown -y 出错? - Tuxedo (Chinese)

Shutting down all admin and server processes
in /tuxedo/config/tuxconfig
tmshutdown: internal error: CMDTUX_CAT:766: ERROR: must run on master node
tmadmin时有错:
TMADMIN_CAT:202: ERROR: Can not find DBBL on master and backup nodes.
此文被oysen#163在2002/11/21 21:58:10修改! 

你是在从机shutdown吧? 

如果你是在MP模式,要在备机停服务,需先用master -y转换控制权。 

是SHM模式,在本机tmshutdown -y 

uname -n 对照ubb.conf看看你的主机名是否变了! 

uname -n 结果和ubbconfig一致 

你采用的模式是shm 还是mp? 

model: shm 

这个提示我也试过,我改了ubbconfig里面ipc key的值就行了。究竟为什么我也不知道。你试试吧。 

关于这个问题,我也遇到过,无法shutdown,后来只有kill掉,但是这样的话tmboot的时候会有问题,因为kill的时候IPC没有被释放,有两个办法:换一个IPC值(2^15+1--2^18)或者用ipcrm(UNIX)将原来的IPC释放掉。

Related

unirestore [error]: failed with errcode 13201

Greetings,
We are running Oracle Collaboration Suite 9.0.4.2 on RedHat Enterprise Linux 3.0
Calendar is backed up with './unidbbackup -d [path] -n [nodeID]'
We set up a test machine with the same config and wish to replicate calendar data from the production box. I thought it would be as simple as just copying the unidbbackup directory to the test machine and running unirestore.
So I ran an ldapadd to add a user to the directory and tried restoring a single user. However, I get the following error:
# unirestore -u [user] -path "/tmp/ocal" -p [password] -n 1
Restore fail.
unirestore [error]: failed with errcode 13201
Can someone explain this error please?
After running ldapadd the following info is in directory on the test machine:
cn=[user], cn=users,dc=domain
cn=[user]
givenname=[user]
mail=[email]
objectclass=top
objectclass=person
objectclass=inetorgperson
objectclass=organizationalperson
objectclass=orcluser
objectclass=orcluserv2
sn=[user]
userpassword=[crypt passwd]
Please Help... 
nevermind, found that this was the easiest way to replicate calendar entries to the test machine:
[on test machine]
$ ./unistop
$ pwd
/apps/oracle/mtier
$ tar -czvf ocal.bak.tar.gz ocal [create backup in case of problems]
$ ./unidbrestore -s /tmp/ocal -n 1 -d /apps/oracle/mtier/ocal -nomisc
$ ./ldapadd -D cn=orcladmin -w [passwd] file.ldif [add users to directory]

cant run onsconfig add_config: "The ONS configuration failed to create"

Hi,
i cant run onsconfig:
[root#rac1 crs]# /u01/app/crs/install/onsconfig add_config rac1:6251 rac2:6251
/u01/app/crs/bin/racgons
The ONS configuration failed to create
[root#rac1 crs]# LD_LIBRARY_PATH=lib/ /u01/app/crs/bin/racgons.bin add_config rac1:6251 rac2:6251
clsrclogini : clsdinit failed, rc = 2 ecode = 71
clsrclogini() error
(i use centos x86_64)
[root#rac1 crs]# uname -a
Linux rac1 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:28 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Anyone can help ?
thx 
Getting the same problem myself - anybody got a solution yet?
Checked the configToolFailedCommands script
/home/11.1.0/crs/install/onsconfig add_config node1:6251 node2:6251 node3:6251
/home/11.1.0/crs/bin/oifcfg setif -global eth0/10.23.3.0:public eth1/1.1.2.0:cluster_interconnect
/home/11.1.0/crs/bin/cluvfy stage -post crsinst -n node1,node2,node3
Note real node name replaced with node1,node2 and node3 
Hi, Its worth you trying the port 6250 instead 6251. 
My DBA is having the same issue with the clusterware install.
Was a resolution ever found?
Thanks. 
Check the ports which is not blocked by firewall or not.
Please do contact the network team to check the port number which is opened for local and remote nodes. Please use them for the onsconfig.
Bala 
Take a look in the ONS logfile and see if it offers any clues.
$CRS_HOME/log/{node name}/racg/ons.log 
Did anyone find any solution to this problem? I am also having same problem while installing CRS on Oracle Enterprise Linux V - 32 bit.
Here is the error:
/u01/crs/oracle/product/11.1.0/crs/install/onsconfig add_config rac1:6251 rac2:6251
/u01/crs/oracle/product/11.1.0/crs/install/onsconfig: line 60: 2435 Segmentation fault $ORACLE_HOME/bin/racgons $RACG_ADDCFG $RACG_NODELIST
The ONS configuration failed to create
Thanks. 
I looked on the ONS.log and got this:
"[" OCRRAW"]"["###########"]"proprutrbuf: the offset passed is invalid "["2490364"]". Pointer will NOT be incremented.
Not sure what to do with this."
Edited by: user557403 on Jun 17, 2009 10:48 AM
Edited by: user557403 on Jun 17, 2009 10:49 AM 
Hi,
Try to run the script /u01/crs11g ... as root user.. rigth after instalation... And run the /u01/crs11g/cfg*/configToolFailedCommands again...
It worked here...
Bye 
The ons.log is telling me:
Cluster Ready Services on the local node is not running Messaging error [9] status = 32
When does CRS start? 
Though this is pretty old, I have been forced to view this googling over the issue am facing.....made it to destiny myself ultimately!
For anyone who is looking at this post ......... happened on VMWare2.0 with Oracle Ent. Linux 5u5 & 11.1.0.6
stop and start crs services using ./crsctl stop crs and ./crsctl start crs on both rac nodes - verify the health of crs using ./crsctl check crs
and then go head and run all the scripts from /u01/crs/oracle/product/11.1.0/crs/cfgtoollogs/configToolFailedCommands
- there you go...phew! crs installation a feast!! - Venga 
Hi,
I am facing the same issue here while trying to installl clusterware.
I have tried all the steps mentioned in the above post. But its showing the following error when m trying /u01/app/crs/bin/crsctl start crs:
hprac01: /u01/app/crs/cfgtoollogs> /u01/app/crs/bin/crsctl start crs
Attempting to start Oracle Clusterware stack
The CRS stack will be started shortly
And when I am trying to do check as /u01/app/crs/bin/crsctl check crs, its giving the following error.
Failure 1 contacting Cluster Synchronization Services daemon
Cannot communicate with Cluster Ready Services
Cannot communicate with Event Manager
Please suggest.
Gursimran

RAC 11g on VMware and Enterprise Linux - "Specific Network Interface" empty

I'm installing the Oracle 11g using VMware and Enterprise Linux. Running the scripit runcluvfy.sh all pre-requisits are ok, and on the installation of Clusterware after configure the "Cluster Configuration", the screen of "Specific Network Interface Usage" comes empty.
It should list the eth0 and eth1 that exist in both nodes rac1 an rac2, but is empty. Someone could help me? Thanks 
I execute again the runInstaller with the option - debug,
And before the installer get to the screen of network interface, he tries execute a command:
[main] [8:49:41:666] [UnixSystem.testCFSFile:1559] The unix command is /usr/bin /ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking =yes -o NumberOfPasswordPrompts=0 rac2 -n /bin/sh -c "/bin/ls /u01/app/oracle/ product/11.1.0/db_1 > /dev/null 2>&1 && /bin/cat /u01/app/oracle/product/11.1.0 /db_1/CFSFileName123642657999149460.tmp"
And after some executions of RuntimeExec he gives this error:
[main] [8:49:42:198] [UnixSystem.testCFSFile:1572] ERROR: /bin/cat: /u01/app/or acle/product/11.1.0/db_1/CFSFileName123642657999149460.tmp: File or directory wasn't find from node rac2
The directory exist, but not the file. This could be the motive for the blank list of network interfaces? What should i do for fix this error? Have another place to look for logs of the installation of the clusterware?
Thanks for the help

One node in cluster reboots

I have a 2 node windows 2008 RAC.... every week, one of the node reboots..... what can I do to start looking at the issue? I do not see any messages in the log files.
Thanks 
Check all the log files under $GRID_HOME/log/<node_name>/cssd/
Common reasons for a node eviction are : 1. Time difference between rac nodes 2. Disk time out 3. Interconnect communication failures.. 4. CPU is not free and system too busy.
racle RAC is installed, set the diagwait to 13 seconds to prevent evictions. It also produces more debugging info.
Stop all CRS Services:
[root#rac1 ~]# crsctl stop crs
[root#rac1 ~]# <ORA_CRS_HOME>/bin/oprocd stop
Ensure that Clusterware stack is down on all nodes by executing
[root#rac1 ~]# ps -ef |egrep "crsd.bin|ocssd.bin|evmd.bin|oprocd"
set diagwait to 13 seconds
[root#rac1 ~]# crsctl set css diagwait 13 -force
Verify and start services:
[root#rac1 ~]# crsctl get css diagwait
[root#rac1 ~]# crsctl start crs
[root#rac1 ~]# crsctl check crs
If your network is slow and you see lot of heartbeat failure, you can increase the misscount to 60 from default 30.
[root#rac1 ~]# crsctl set css misscount 60
Remove auto startup link and rather wait two minutes after the guest started and run /etc/init.d/init.crs start manually.
Even after all this, if a node still evicts, clean up the following files before starting the cluster. If $ORA_CRS_HOME/log/<node_name>/cssd/<node_name>.pid is not empty file (0 bytes) or if its got a some value for the pid, CRS will not start.
[root#rac1 ~]# rm -f /usr/tmp/.oracle/*
[root#rac1 ~]# rm -f /tmp/.oracle/*
[root#rac1 ~]# rm -f /var/tmp/.oracle/*
[root#rac1 ~]# > $ORA_CRS_HOME/log/<node_name>/cssd/<node_name>.pid
HTH,
Raj Mareddi
http://www.freeoraclehelp.com

issue while executing the discovery command from target nodes

Hi Experts.
I had to create cluster two node using openfile, after creation of successful lun and associated partition from all the nodes i have changed the ip address of openfiler.
After changing the IP on open filer.
A) openfile version:-
[root#san ~]# uname -r
2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686
B) Linux Oel5:-
[root#rac1 ~]# uname -r
2.6.18-194.el5xen
[root#rac1 ~]#
1:- I am able to ping and ssh etc from any node to openfiler.
However, while executing the below command i am facing the below exception..
service iscsi restart
Stopping iSCSI daemon:
iscsid dead but pid file exists [  OK  ]
Starting iSCSI daemon: [  OK  ]
[  OK  ]
Setting up iSCSI targets: iscsiadm: No records found!
[  OK  ]
[root#rac1 ~]#
Moreover, tried to discover the targets, unfortunately no message is getting displayed after execution of this below command.
[root#rac1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.37.200
[root#rac1 ~]#
The quick response will be appreciated as my whole test case is down as of now due storage issues.
Thanks,
Arch. 
Are you running a firewall that needs to be adjusted to support your changed Openfiler IP network? 
started from scratch again..
Thanks for your reply.. this thread can be closed

Categories

Resources