Check for existence of a node?
What is the best way to check for the existence of a node (before attempting to delete it or perform other operation on it)? Maybe assign it an "id" then search for that id?
If the node is in a Container you can use lookup(id: String): Node function.
Documentation
Or directly call it from the scene:
Documentation
Enjoy!
Similar Messages
-
i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem.i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem. -
Checking for existence of a record in csv file
Hey all, I have two csv files residing on the server that I will be processing using the UTL_FILE package. One of these files (File A) has only one column and the other one (File B) has over ten. The data in file A is the same as the one in column 2 of File B. File A is mainly there for a lookup purpose whereas File B is the one that has all the data that will be processed. The following example should describe better:
File A[b]
Number
"TR_56575"
"TY_76756"
etc
File B
Column1, Number, Column3, Column4
"Mine","TR_56575","uhsht","76744"
"Yours","TY_76756","nghdjd","45645"
What I have to do is check whether a Number in File B exists anywhere in File A. If it does then I just skip that record and move on to the next. So basically, I wanted to find out if there is any way to compare the two columns on the server side. I know there is a dbms_lob.fileexists function to check the existence of a file on a server, just wanted to see if there is an extension to that or something that checks the existence of a string in file. Any feedback would be appreciated. Thanks.Yeah I thought about that. It would be the ideal way to go, however in this case, I already have a Pl/Sql procedure that grabs File B and just processes it from the server. It works fine and everything but now that this extra logic and file is added where I have to check the existence of a corresponding record in File A, I'm just looking for something to add in my code to just make the comparison on the fly and the rest would be the same.
-
Check for existence of a record
I have a table XX_TEMP. Let us say the columns are inventory_item, organization_id and description
The values are:
Inventory_item
Organization
Description
200
m1
Sample
200
m2
Not Sample
400
m4
check
700
m5
Test
I just want to check the existence of an item in the table, I have written two queries and would like to know which one is better in terms of performance:
Q1:
select count(1) from xx_temp where inventory_item=200 and rownum=1;
Q2:
select count(1) from dual where exists (select 1 from xx_temp where inventory_item=200);
Both Q1 and Q2 return the same result. In fact, I was surprised with the result from Q1 as I expected that the rownum would be evaluated after the where condition. I expected Q1 to return 2
I thought that the below query:
select count(1) from xx_temp where inventory_item=200;
and Q1 would return the same result as rownum would be evaluated at end. In effect, I've 2 questions:
1. Isn't rownum calculated at the end?
2. What is the best way in terms of performance to check for an existence of record?Internally this is how it works:
select count(*) from xx_temp where inventory_item=200 and rownum=1;
COUNT(*)
1
1 row selected.
Execution Plan
0 SELECT STATEMENT Optimizer Mode=ALL_ROWS (Cost=4 Card=1 Bytes=13)
1 0 SORT AGGREGATE (Card=1 Bytes=13)
2 1 COUNT STOPKEY
3 2 TABLE ACCESS FULL XX_TEMP (Cost=4 Card=2 Bytes=26)
Statistics
5 user calls
0 physical read total multi block requests
0 physical read total bytes
0 cell physical IO interconnect bytes
0 commit cleanout failures: block lost
0 IMU commits
0 IMU Flushes
0 IMU contention
0 IMU bind flushes
0 IMU mbu flush
1 rows processed
Plan
1 Every row in the table XX_TEMP is read.
2 Processing was stopped when the specified number of rows from step 1 were processed.
3 The rows were sorted to support a group operation (MAX,MIN,AVERAGE, SUM, etc).
4 Rows were returned by the SELECT statement.
COUNT STOPKEY knows how many rows you want and will just keep calling its child function under it in the execution plan tree to get more and more rows, until the required amount of rows have been returned. Here it stopped at 1 iteration.
And to answer your second question : as to which is the fastest way to to check for an existence of record :
Answer would be it depends on your requirement. possible answers are : Rowid -- fastest way to check for a row. similar answers can be Index etc.. but all this is relative to what you work with.
Cheers,
Manik. -
Need script to check for duplicate file names when copying a folder
Hello,
I am a new applescript user trying to write what I believe should be a simple script. I was planning on using the "add-new item alert" script as a template.
Basically I have people copying folders of photos into a library folder, but I don't want the Finder to copy the photo if it already exists in the library. The images in the library are organized into subfolders.
I need a script that will check all the file names in the new folder against all the file names in the library, and NOT add the new one if it already exists.
If anyone can help it would be greatly appreciated,
Thanks,
CI have a script that "kind of" works. The only problem I've seen is that it gets confused when filenames contain characters that are fine in Macland but not good in Unixland. Forward slashes are a good example of this.
In this case I have a folder in my home named "copytest" Inside copytest are two folders:
Source (containing the images to be added)
Dest (My existing library of images)
It also assumes that the folder of images to be added contains no sub-folders. Hope this helps.
tell application "Finder"
set theSource to folder "source" of folder "copytest" of home
set imagesToBeCopied to name of every file of theSource
end tell
repeat with theFile in imagesToBeCopied
try
if (do shell script "find -r ~/copytest/dest -name " & quoted form of (theFile as string)) is not equal to "" then
--The file exists. Don't copy it
else
--the file doesn't already exist. Copy it.
end if
on error
return "Failed while trying to check for existence of a file"
end try
end repeat -
I have the following Java method that is suppose to determine whether a given table exists or not:
public boolean tableExists(String table) {
String defstmt = "select TABLE_NAME from ALL_TABLES where (TABLE_NAME = '" + table + "')";
System.err.println("tableExists: stmt = " + defstmt);
tc.executeSEL(defstmt);
ResultSet rs = tc.getRS();
String tname = new String();
try {
while (rs.next()) {
rs.getString(tname);
System.err.println("tableExists.try: tname = " + tname);
rs.close();
return true;
catch (SQLException ex) {
System.err.println("tableExists.catch: tname not found");
try {
rs.close();
catch (SQLException ex1) {
return false;
Since this one didn't appear to work reliabily a friend suggested the following:
public boolean tableExists(String table) {
boolean exists = false;
String defstmt = "select TABLE_NAME from ALL_TABLES where (TABLE_NAME = '" + table + "')";
System.err.println("tableExists: stmt = " + defstmt);
if (tc.executeSEL(defstmt)) {
ResultSet rs = tc.getRS();
try {
exists = rs.first();
// This returns false if the rs is empty
// This should be sufficient if the query will return zero rows or one row.
// If there's a possibility that the query could return more than one row
// (for example if multiple schema data is in there and a table name
// might be duplicated), then this section will need to be more picky.
System.err.println("tableExists.try: tname found");
catch (SQLException ex) {
System.err.println("tableExists.catch: tname not found");
try {
rs.close();
catch (SQLException ex1) {
return exists;
Bottom line; neither method seems to be able to determine whether the table exists. Someone out there got any suggestions?
Thanks in advance
RCulpThe method "tc.executeSEL" is in a class "TableConnector" which I use to hold connection data and execute SQL statements. A new instance of the "TableConnector" class is created for each table prior to the check for existence. The method itself is boolean, returning true or false if the SQL runs successfully:
public boolean executeSEL(String inpstmt) {
rs = null;
try {
Connection conn = ConnectionData.getConnectionData().openConnection();
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
rs = stmt.executeQuery(inpstmt);
return true;
//debugdumpRS(rs);
catch (SQLException ex) {
System.err.println("SEL Statement = " + inpstmt);
System.err.println("Error code = " + ex.getErrorCode());
System.err.println("Error message = " + ex.getMessage());
System.err.println("SQL state = " + ex.getSQLState());
return false;
/*FINALLY CAN NOT BE USED HERE; ERASES THE RESULT SET
finally {
if (stmt != null) {
try {
stmt.close();
catch (SQLException ex) {
System.err.println("Error code = " + ex.getErrorCode());
System.err.println("Error message = " + ex.getMessage());
The TableConnector class also has a get method for the ResultSet:
public ResultSet getRS() {
return rs;
I'll try your suggestion and post the result.
Thanks
RCulp -
Pre-check for cluster services setup was unsuccessful on all the nodes.
hi
when i am running the fixup script getting:
if i run cluvfy again i am getting another fixup script.what exactly to do?
[root@rac-1 grid1]# sh /tmp/CVU_11.2.0.1.0_grid1/runfixup.sh
Response file being used is :/tmp/CVU_11.2.0.1.0_grid1/fixup.response
Enable file being used is :/tmp/CVU_11.2.0.1.0_grid1/fixup.enable
Log file location: /tmp/CVU_11.2.0.1.0_grid1/orarun.log
uid=1100(grid1) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1200(asmdba),1300(asmadmin),1202(asmoper)
grid1 hard nproc 16384
Value of MAX PROCESSES HARDLIMIT in response file is not greater than value in/etc/security/limits.conf. Hence not changing it.
grid1 hard nofile 65536
Value of FILE OPEN MAX HARDLIMIT in response file is not greater than value in /etc/security/limits.conf.Hence not changing it.
uid=1100(grid1) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1200(asmdba),1300(asmadmin),1202(asmoper)
[root@rac-1 grid1]#
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac-1"
Destination Node Reachable?
rac-2 yes
rac-1 yes
Result: Node reachability check passed from node "rac-1"
Checking user equivalence...
Check: User equivalence for user "grid1"
Node Name Comment
rac-2 passed
rac-1 passed
Result: User equivalence check passed for user "grid1"
Checking node connectivity...
Checking hosts config file...
Node Name Status Comment
rac-2 passed
rac-1 passed
Verification of the hosts config file successful
Interface information for node "rac-2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 192.168.1.3 192.168.1.0 0.0.0.0 192.168.1.1 00:1D:72:39:3A:E4 1500
virbr0 192.168.122.1 192.168.122.0 0.0.0.0 192.168.1.1 00:00:00:00:00:00 1500
eth1 192.168.181.20 192.168.181.0 0.0.0.0 192.168.1.1 00:00:00:00:00:00 1500
Interface information for node "rac-1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 192.168.1.2 192.168.1.0 0.0.0.0 192.168.1.1 00:00:E8:F7:02:B0 1500
eth1 192.168.181.10 192.168.181.0 0.0.0.0 192.168.1.1 00:26:18:59:EE:49 1500
virbr0 192.168.122.1 192.168.122.0 0.0.0.0 192.168.1.1 00:00:00:00:00:00 1500
Check: Node connectivity of subnet "192.168.1.0"
Source Destination Connected?
rac-2:eth0 rac-1:eth0 yes
Result: Node connectivity passed for subnet "192.168.1.0" with node(s) rac-2,rac-1
Check: TCP connectivity of subnet "192.168.1.0"
Source Destination Connected?
rac-1:192.168.1.2 rac-2:192.168.1.3 passed
Result: TCP connectivity check passed for subnet "192.168.1.0"
Check: Node connectivity of subnet "192.168.122.0"
Source Destination Connected?
rac-2:virbr0 rac-1:virbr0 yes
Result: Node connectivity passed for subnet "192.168.122.0" with node(s) rac-2,rac-1
Check: TCP connectivity of subnet "192.168.122.0"
Result: TCP connectivity check failed for subnet "192.168.122.0"
Check: Node connectivity of subnet "192.168.181.0"
Source Destination Connected?
rac-2:eth1 rac-1:eth1 yes
Result: Node connectivity passed for subnet "192.168.181.0" with node(s) rac-2,rac-1
Check: TCP connectivity of subnet "192.168.181.0"
Source Destination Connected?
rac-1:192.168.181.10 rac-2:192.168.181.20 passed
Result: TCP connectivity check passed for subnet "192.168.181.0"
Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:
rac-2 eth0:192.168.1.3
rac-1 eth0:192.168.1.2
Interfaces found on subnet "192.168.122.0" that are likely candidates for a private interconnect are:
rac-2 virbr0:192.168.122.1
rac-1 virbr0:192.168.122.1
Interfaces found on subnet "192.168.181.0" that are likely candidates for a private interconnect are:
rac-2 eth1:192.168.181.20
rac-1 eth1:192.168.181.10
Result: Node connectivity check passed
Check: Total memory
Node Name Available Required Comment
rac-2 1.96GB (2050416.0KB) 1.5GB (1572864.0KB) passed
rac-1 1.96GB (2058984.0KB) 1.5GB (1572864.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Comment
rac-2 1.7GB (1780600.0KB) 50MB (51200.0KB) passed
rac-1 1.56GB (1636896.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Comment
rac-2 4GB (4194296.0KB) 2.93GB (3075624.0KB) passed
rac-1 4GB (4192956.0KB) 2.95GB (3088476.0KB) passed
Result: Swap space check passed
Check: Free disk space for "rac-2:/tmp"
Path Node Name Mount point Available Required Comment
/tmp rac-2 / 24.03GB 1GB passed
Result: Free disk space check passed for "rac-2:/tmp"
Check: Free disk space for "rac-1:/tmp"
Path Node Name Mount point Available Required Comment
/tmp rac-1 / 16.54GB 1GB passed
Result: Free disk space check passed for "rac-1:/tmp"
Check: User existence for "grid1"
Node Name Status Comment
rac-2 exists passed
rac-1 exists passed
Result: User existence check passed for "grid1"
Check: Group existence for "oinstall"
Node Name Status Comment
rac-2 exists passed
rac-1 exists passed
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
rac-2 exists passed
rac-1 exists passed
Result: Group existence check passed for "dba"
Check: Membership of user "grid1" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
rac-2 yes yes yes yes passed
rac-1 yes yes yes yes passed
Result: Membership check for user "grid1" in group "oinstall" [as Primary] passed
Check: Membership of user "grid1" in group "dba"
Node Name User Exists Group Exists User in Group Comment
rac-2 yes yes no failed
rac-1 yes yes yes passed
Result: Membership check for user "grid1" in group "dba" failed
Check: Run level
Node Name run level Required Comment
rac-2 5 3,5 passed
rac-1 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Comment
rac-2 hard 65536 65536 passed
rac-1 hard 65536 65536 passed
Result: Hard limits check passed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Comment
rac-2 soft 1024 1024 passed
rac-1 soft 65536 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Comment
rac-2 hard 16384 16384 passed
rac-1 hard 16384 16384 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Comment
rac-2 soft 2047 2047 passed
rac-1 soft 16384 2047 passed
Result: Soft limits check passed for "maximum user processes"
Check: System architecture
Node Name Available Required Comment
rac-2 x86_64 x86_64 passed
rac-1 x86_64 x86_64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Comment
rac-2 2.6.18-92.el5 2.6.18 passed
rac-1 2.6.18-164.el5 2.6.18 passed
WARNING:
PRVF-7524 : Kernel version is not consistent across all the nodes.
Kernel version = "2.6.18-164.el5" found on nodes: rac-1.
Kernel version = "2.6.18-92.el5" found on nodes: rac-2.
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Configured Required Comment
rac-2 250 250 passed
rac-1 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Configured Required Comment
rac-2 32000 32000 passed
rac-1 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Configured Required Comment
rac-2 100 100 passed
rac-1 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Configured Required Comment
rac-2 142 128 passed
rac-1 142 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Configured Required Comment
rac-2 1049812992 536870912 passed
rac-1 4398046511104 536870912 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Configured Required Comment
rac-2 4096 4096 passed
rac-1 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Configured Required Comment
rac-2 3279547 2097152 passed
rac-1 1073741824 2097152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Configured Required Comment
rac-2 6815744 6815744 passed
rac-1 6815744 6815744 passed
Result: Kernel parameter check passed for "file-max"
Check: Kernel parameter for "ip_local_port_range"
Node Name Configured Required Comment
rac-2 between 9000 & 65500 between 9000 & 65500 passed
rac-1 between 9000 & 65500 between 9000 & 65500 passed
Result: Kernel parameter check passed for "ip_local_port_range"
Check: Kernel parameter for "rmem_default"
Node Name Configured Required Comment
rac-2 262144 262144 passed
rac-1 4194304 262144 passed
Result: Kernel parameter check passed for "rmem_default"
Check: Kernel parameter for "rmem_max"
Node Name Configured Required Comment
rac-2 4194304 4194304 passed
rac-1 4194304 4194304 passed
Result: Kernel parameter check passed for "rmem_max"
Check: Kernel parameter for "wmem_default"
Node Name Configured Required Comment
rac-2 262144 262144 passed
rac-1 262144 262144 passed
Result: Kernel parameter check passed for "wmem_default"
Check: Kernel parameter for "wmem_max"
Node Name Configured Required Comment
rac-2 1048576 1048576 passed
rac-1 1048576 1048576 passed
Result: Kernel parameter check passed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Configured Required Comment
rac-2 3145728 1048576 passed
rac-1 3145728 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "ocfs2-tools-1.2.7"
Node Name Available Required Comment
rac-2 ocfs2-tools-1.2.7-1.el5 ocfs2-tools-1.2.7 passed
rac-1 ocfs2-tools-1.4.2-1.el5 ocfs2-tools-1.2.7 passed
Result: Package existence check passed for "ocfs2-tools-1.2.7"
Check: Package existence for "make-3.81"
Node Name Available Required Comment
rac-2 make-3.81-3.el5 make-3.81 passed
rac-1 make-3.81-3.el5 make-3.81 passed
Result: Package existence check passed for "make-3.81"
Check: Package existence for "binutils-2.17.50.0.6"
Node Name Available Required Comment
rac-2 binutils-2.17.50.0.6-6.el5 binutils-2.17.50.0.6 passed
rac-1 binutils-2.17.50.0.6-12.el5 binutils-2.17.50.0.6 passed
Result: Package existence check passed for "binutils-2.17.50.0.6"
Check: Package existence for "gcc-4.1.2"
Node Name Available Required Comment
rac-2 gcc-4.1.2-42.el5 gcc-4.1.2 passed
rac-1 gcc-4.1.2-46.el5 gcc-4.1.2 passed
Result: Package existence check passed for "gcc-4.1.2"
Check: Package existence for "libaio-0.3.106 (i386)"
Node Name Available Required Comment
rac-2 libaio-0.3.106-3.2 (i386) libaio-0.3.106 (i386) passed
rac-1 libaio-0.3.106-3.2 (i386) libaio-0.3.106 (i386) passed
Result: Package existence check passed for "libaio-0.3.106 (i386)"
Check: Package existence for "libaio-0.3.106 (x86_64)"
Node Name Available Required Comment
rac-2 libaio-0.3.106-3.2 (x86_64) libaio-0.3.106 (x86_64) passed
rac-1 libaio-0.3.106-3.2 (x86_64) libaio-0.3.106 (x86_64) passed
Result: Package existence check passed for "libaio-0.3.106 (x86_64)"
Check: Package existence for "glibc-2.5-24 (i686)"
Node Name Available Required Comment
rac-2 glibc-2.5-24 (i686) glibc-2.5-24 (i686) passed
rac-1 glibc-2.5-42 (i686) glibc-2.5-24 (i686) passed
Result: Package existence check passed for "glibc-2.5-24 (i686)"
Check: Package existence for "glibc-2.5-24 (x86_64)"
Node Name Available Required Comment
rac-2 glibc-2.5-24 (x86_64) glibc-2.5-24 (x86_64) passed
rac-1 glibc-2.5-42 (x86_64) glibc-2.5-24 (x86_64) passed
Result: Package existence check passed for "glibc-2.5-24 (x86_64)"
Check: Package existence for "compat-libstdc++-33-3.2.3 (i386)"
Node Name Available Required Comment
rac-2 compat-libstdc++-33-3.2.3-61 (i386) compat-libstdc++-33-3.2.3 (i386) passed
rac-1 compat-libstdc++-33-3.2.3-61 (i386) compat-libstdc++-33-3.2.3 (i386) passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (i386)"
Check: Package existence for "compat-libstdc++-33-3.2.3 (x86_64)"
Node Name Available Required Comment
rac-2 compat-libstdc++-33-3.2.3-61 (x86_64) compat-libstdc++-33-3.2.3 (x86_64) passed
rac-1 compat-libstdc++-33-3.2.3-61 (x86_64) compat-libstdc++-33-3.2.3 (x86_64) passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (x86_64)"
Check: Package existence for "elfutils-libelf-0.125 (x86_64)"
Node Name Available Required Comment
rac-2 elfutils-libelf-0.125-3.el5 (x86_64) elfutils-libelf-0.125 (x86_64) passed
rac-1 elfutils-libelf-0.137-3.el5 (x86_64) elfutils-libelf-0.125 (x86_64) passed
Result: Package existence check passed for "elfutils-libelf-0.125 (x86_64)"
Check: Package existence for "elfutils-libelf-devel-0.125"
Node Name Available Required Comment
rac-2 elfutils-libelf-devel-0.125-3.el5 elfutils-libelf-devel-0.125 passed
rac-1 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed
Result: Package existence check passed for "elfutils-libelf-devel-0.125"
Check: Package existence for "glibc-common-2.5"
Node Name Available Required Comment
rac-2 glibc-common-2.5-24 glibc-common-2.5 passed
rac-1 glibc-common-2.5-42 glibc-common-2.5 passed
Result: Package existence check passed for "glibc-common-2.5"
Check: Package existence for "glibc-devel-2.5 (i386)"
Node Name Available Required Comment
rac-2 glibc-devel-2.5-24 (i386) glibc-devel-2.5 (i386) passed
rac-1 glibc-devel-2.5-42 (i386) glibc-devel-2.5 (i386) passed
Result: Package existence check passed for "glibc-devel-2.5 (i386)"
Check: Package existence for "glibc-devel-2.5 (x86_64)"
Node Name Available Required Comment
rac-2 glibc-devel-2.5-24 (x86_64) glibc-devel-2.5 (x86_64) passed
rac-1 glibc-devel-2.5-42 (x86_64) glibc-devel-2.5 (x86_64) passed
Result: Package existence check passed for "glibc-devel-2.5 (x86_64)"
Check: Package existence for "glibc-headers-2.5"
Node Name Available Required Comment
rac-2 glibc-headers-2.5-24 glibc-headers-2.5 passed
rac-1 glibc-headers-2.5-42 glibc-headers-2.5 passed
Result: Package existence check passed for "glibc-headers-2.5"
Check: Package existence for "gcc-c++-4.1.2"
Node Name Available Required Comment
rac-2 gcc-c++-4.1.2-42.el5 gcc-c++-4.1.2 passed
rac-1 gcc-c++-4.1.2-46.el5 gcc-c++-4.1.2 passed
Result: Package existence check passed for "gcc-c++-4.1.2"
Check: Package existence for "libaio-devel-0.3.106 (i386)"
Node Name Available Required Comment
rac-2 libaio-devel-0.3.106-3.2 (i386) libaio-devel-0.3.106 (i386) passed
rac-1 libaio-devel-0.3.106-3.2 (i386) libaio-devel-0.3.106 (i386) passed
Result: Package existence check passed for "libaio-devel-0.3.106 (i386)"
Check: Package existence for "libaio-devel-0.3.106 (x86_64)"
Node Name Available Required Comment
rac-2 libaio-devel-0.3.106-3.2 (x86_64) libaio-devel-0.3.106 (x86_64) passed
rac-1 libaio-devel-0.3.106-3.2 (x86_64) libaio-devel-0.3.106 (x86_64) passed
Result: Package existence check passed for "libaio-devel-0.3.106 (x86_64)"
Check: Package existence for "libgcc-4.1.2 (i386)"
Node Name Available Required Comment
rac-2 libgcc-4.1.2-42.el5 (i386) libgcc-4.1.2 (i386) passed
rac-1 libgcc-4.1.2-46.el5 (i386) libgcc-4.1.2 (i386) passed
Result: Package existence check passed for "libgcc-4.1.2 (i386)"
Check: Package existence for "libgcc-4.1.2 (x86_64)"
Node Name Available Required Comment
rac-2 libgcc-4.1.2-42.el5 (x86_64) libgcc-4.1.2 (x86_64) passed
rac-1 libgcc-4.1.2-46.el5 (x86_64) libgcc-4.1.2 (x86_64) passed
Result: Package existence check passed for "libgcc-4.1.2 (x86_64)"
Check: Package existence for "libstdc++-4.1.2 (i386)"
Node Name Available Required Comment
rac-2 libstdc++-4.1.2-42.el5 (i386) libstdc++-4.1.2 (i386) passed
rac-1 libstdc++-4.1.2-46.el5 (i386) libstdc++-4.1.2 (i386) passed
Result: Package existence check passed for "libstdc++-4.1.2 (i386)"
Check: Package existence for "libstdc++-4.1.2 (x86_64)"
Node Name Available Required Comment
rac-2 libstdc++-4.1.2-42.el5 (x86_64) libstdc++-4.1.2 (x86_64) passed
rac-1 libstdc++-4.1.2-46.el5 (x86_64) libstdc++-4.1.2 (x86_64) passed
Result: Package existence check passed for "libstdc++-4.1.2 (x86_64)"
Check: Package existence for "libstdc++-devel-4.1.2 (x86_64)"
Node Name Available Required Comment
rac-2 libstdc++-devel-4.1.2-42.el5 (x86_64) libstdc++-devel-4.1.2 (x86_64) passed
rac-1 libstdc++-devel-4.1.2-46.el5 (x86_64) libstdc++-devel-4.1.2 (x86_64) passed
Result: Package existence check passed for "libstdc++-devel-4.1.2 (x86_64)"
Check: Package existence for "sysstat-7.0.2"
Node Name Available Required Comment
rac-2 sysstat-7.0.2-1.el5 sysstat-7.0.2In both node oracle user & group should be same but in your case looks different.
Once again check your user & group.
Babu -
How can I check for the existence of an XML file in Illustrator Javascript??
I'm writing a Javascript to run at startup. I want to check for the existence of XML files and process them, if they are available. How can I check for their existence?
Your first line just sets a variable to a string value… getFiles() is a method of Folder… so
var InputXMLDir = Folder( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/" );
Not a PC user so I can't remember if the colon is OK…? As you appear to know the file name why bother with a folder get files anyhow you could just check if the file exists then do some thing…
alert( File( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/brackets_men_web.xml" ).exists ); -
Checking for the existence of a Frame
Hello,
I am currently designing an application which consists of 8 JFrames (all in different classes), During the application, one JFrame provides information to a user and when they select the appropriate fields another JFrame opens an the active one closes. However the problem i am having is that i need to be able to write an if statement saying
if (this particular frame exists already){
destroy it;
}else{
whatever........};
But i dont know how to check for the existence of a frame currently running, or how to destroy it..
im currently using dispose(); to destroy frames but the dispose method only works when your in the class thats creating the frame, it wont let me write something like class1.dispose() (where class1 is the frame object created in the constructor of class1.java); in class2.
I have searched throught the forum and havent found anything that can help me, i would really appreciate anyones input.
Thanks in advance,
DevHey its ok i've decided to restructure the program, but if anyone does know how to do this please still reply to the message, as i would still like to know
-
DB installs fails with [INS-30060] Check for group existence failed
Hi folks
as user jjayet I'm running on OEL 5.6 64 bits the following command to install DB 11gR2 :
$ /mntmats/SOAVM0504/AUTO_WORK/dbzip_shiphome/database/Disk1/runInstaller -ignoreSysPrereqs -invPtrLoc /ade/jjayet_dte9672/oracle/work/DATABASE1/oraInst.loc -force -silent -waitforcompletion -responseFile /ade/jjayet_dte9672/oracle/work/DATABASE1/db.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 15258 MB Passed
Checking swap space: must be greater than 150 MB. Actual 16454 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_06-07-54AM. Please wait ...[FATAL] [INS-30060] Check for group existence failed.
CAUSE: Unexpected error occurred while trying to check for group existence.
$ id
uid=511053(jjayet) gid=8500(dba) groups=8500(dba),59031(oinstall)
the problems seems relater to accessing /tmp
as the local disk is not enough to use the default /tmp (the DB install will fail with full disk error as the local disk space is very low )
I've created a partition from new disk to /tmp which I have then mounted (default is nfs3) :
# mount /dev/xvdc1 /tmp
# mount
/dev/xvdc1 on /tmp type ext2 (rw)
the result of DB install into /tmp is :
# cd /tmp
# ls -altr
drwxr-xr-x 32 root root 4096 Apr 5 06:07 ..
drwxr-xr-x 2 jjayet dba 4096 Apr 5 06:36 CVU_11.2.0.2.0_jjayet
drwxrwxrwx 7 root root 4096 Apr 5 06:36 .
if I umount /tmp but use the local /tmp
re-running the DB installer as user jjayet it does not raise the error above
and now local /tmp contains :
# cd /tmp
# ls -altr
drwxr-xr-x 32 root root 4096 Apr 5 06:07 ..
drwxr-x--- 10 jjayet dba 4096 Apr 5 06:25 OraInstall2012-04-05_06-25-28AM
drwxr-xr-x 3 jjayet dba 4096 Apr 5 06:25 CVU_11.2.0.2.0_jjayet
drwxrwxrwt 5 root root 4096 Apr 5 06:25 .
do you know how to use tmp over nfs with user jjayet so that the DB can install properly ?
it seems that the files created as user jjayet into mounted /tmp are not identified properly
thks in advance
jeanthks for the pointer
I found the post you mention but it does not help
it does not explain the root cause of the problem but just propose a workaround to pass an option to installer which will popi\up an interactive messgae at install time
as installation is done automatically through ADE / DTE I cannot use this workaround
any expert in oracle DB install can help ?
thks
Jean -
I am on a MAC Application.
It has been rejected by following reason.
This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
We recommend implementing receipt validation to resolve this issue.
At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
Any help ?
Thanks in Advance.I am on a MAC Application.
It has been rejected by following reason.
This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
We recommend implementing receipt validation to resolve this issue.
At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
Any help ?
Thanks in Advance. -
BAPI for Existence check of Delivery Address
Hello Everyone,
Can anyone suggest me of a BAPI or Remote Enabled FM that does an Existence check for Delivery address "AD_ADDRNUM" while creating a Purchase Order? I would appreciate your help.
Regards,
Gopal.I couldnt find any BAPI or FM for you but you can write your own RFC. Tables: ADRC, ADRP , ADRT may help you. Check them with your address number
-
Checking for the existence of a file.
I have a GUI to enter test info. A file is created based on the entered test number. I want to check for the existence of a file, and then notify the operator while not allowing the program to save it.
This vi checks the presence of the input file.
If file is not found, it will be created.
regards
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
File_check_existance_openorcreate_2003.vi 72 KB -
I want to check for the existence / validity?
Hello
// Identify required fields and make yellow colored them
var myArrayYellow = new Array();
var yellowFields;
yellowFields = my_required_fields_list_string.rawValue
myArrayYellow = yellowFields.split(" ");
for (var i = 0; i < myArrayYellow.length; i++)
**===> Here at this point, i want to check the existence of [i] field in the form that whether the field / object / [i] is valid or not on the form? bcz, i have chances of getting non-existing fields in the my_required_fields_list_string, hence prior to assigning yellow color to them, i want to check their validity on the form or not?**
**Pls. let me know the JS for this**
// if its true/found, then only assign yellow color as below
xfa.resolveNode("MY_ADOBE_FORM.." + myArrayYellow[i]).ui.oneOfChild.border.fill.color.value = "255,255,254"
Thank youAny help pls?
Thank you -
Failing all pre-requisite checks for 11.2.0.2.0 RAC on HP-UX Itanium 64
Hi Guys,
For Typical OR Advanced Grid Installation (GUI), all pre-requisites are failing on both nodes, like memory, swap, node reachability, groups, user & lot more.....
But when I try to check Pre-requisite from command line, everything seems to be ok.
This is what the output...
$ ./runcluvfy.sh stage -pre crsinst -n sph1erp,sph2erp -fixup -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "sph1erp"
Destination Node Reachable?
sph1erp yes
sph2erp yes
Result: Node reachability check passed from node "sph1erp"
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
sph2erp passed
sph1erp passed
Result: User equivalence check passed for user "oracle"
Checking node connectivity...
Checking hosts config file...
Node Name Status Comment
sph2erp passed
sph1erp passed
Verification of the hosts config file successful
Interface information for node "sph2erp"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
lan2 10.10.16.51 10.10.16.48 10.10.16.51 10.10.1.12 78:AC:C0:8A:07:76 1500
lan900 10.10.1.174 10.10.0.0 10.10.1.174 10.10.1.12 78:AC:C0:8A:07:6E 1500
Interface information for node "sph1erp"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
lan2 10.10.16.50 10.10.16.48 10.10.16.50 10.10.1.12 3C:4A:92:48:71:BE 1500
lan900 10.10.1.173 10.10.0.0 10.10.1.173 10.10.1.12 3C:4A:92:48:71:B6 1500
Check: Node connectivity of subnet "10.10.16.48"
Source Destination Connected?
sph2erp[10.10.16.51] sph1erp[10.10.16.50] yes
Result: Node connectivity passed for subnet "10.10.16.48" with node(s) sph2erp,sph1erp
Check: TCP connectivity of subnet "10.10.16.48"
Source Destination Connected?
sph1erp:10.10.16.50 sph2erp:10.10.16.51 passed
Result: TCP connectivity check passed for subnet "10.10.16.48"
Check: Node connectivity of subnet "10.10.0.0"
Source Destination Connected?
sph2erp[10.10.1.174] sph1erp[10.10.1.173] yes
Result: Node connectivity passed for subnet "10.10.0.0" with node(s) sph2erp,sph1erp
Check: TCP connectivity of subnet "10.10.0.0"
Source Destination Connected?
sph1erp:10.10.1.173 sph2erp:10.10.1.174 passed
Result: TCP connectivity check passed for subnet "10.10.0.0"
Interfaces found on subnet "10.10.0.0" that are likely candidates for VIP are:
sph2erp lan900:10.10.1.174
sph1erp lan900:10.10.1.173
Interfaces found on subnet "10.10.16.48" that are likely candidates for a private interconnect are:
sph2erp lan2:10.10.16.51
sph1erp lan2:10.10.16.50
Result: Node connectivity check passed
Check: Total memory
Node Name Available Required Comment
sph2erp 63.9GB (6.7004024E7KB) 4GB (4194304.0KB) passed
sph1erp 63.9GB (6.7004024E7KB) 4GB (4194304.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Comment
sph2erp 53.3556GB (5.5947372E7KB) 50MB (51200.0KB) passed
sph1erp 52.2323GB (5.47695E7KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Comment
sph2erp 188.7773GB (1.97947352E8KB) 4GB (4194304.0KB) passed
sph1erp 188.7773GB (1.97947352E8KB) 4GB (4194304.0KB) passed
Result: Swap space check passed
Check: Free disk space for "sph2erp:/var/tmp/"
Path Node Name Mount point Available Required Comment
/var/tmp/ sph2erp /var 13.8074GB 1GB passed
Result: Free disk space check passed for "sph2erp:/var/tmp/"
Check: Free disk space for "sph1erp:/var/tmp/"
Path Node Name Mount point Available Required Comment
/var/tmp/ sph1erp /var 13.8158GB 1GB passed
Result: Free disk space check passed for "sph1erp:/var/tmp/"
Check: User existence for "oracle"
Node Name Status Comment
sph2erp exists(199) passed
sph1erp exists(199) passed
Checking for multiple users with UID value 199
Result: Check for multiple users with UID value 199 passed
Result: User existence check passed for "oracle"
Check: Group existence for "oinstall"
Node Name Status Comment
sph2erp exists passed
sph1erp exists passed
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
sph2erp exists passed
sph1erp exists passed
Result: Group existence check passed for "dba"
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
sph2erp yes yes yes yes passed
sph1erp yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed
Check: Membership of user "oracle" in group "dba"
Node Name User Exists Group Exists User in Group Comment
sph2erp yes yes yes passed
sph1erp yes yes yes passed
Result: Membership check for user "oracle" in group "dba" passed
Check: Run level
Node Name run level Required Comment
sph2erp 3 3 passed
sph1erp 3 3 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Comment
sph2erp hard 63488 63488 passed
sph1erp hard 63488 63488 passed
Result: Hard limits check passed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Comment
sph2erp soft 1024 1024 passed
sph1erp soft 63488 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Comment
sph2erp hard 3687 3686 passed
sph1erp hard 3687 3686 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Comment
sph2erp soft 3687 2047 passed
sph1erp soft 3687 2047 passed
Result: Soft limits check passed for "maximum user processes"
Check: System architecture
Node Name Available Required Comment
sph2erp ia64 ia64 passed
sph1erp ia64 ia64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Comment
sph2erp HP-UX B.11.31 B.11.31 passed
sph1erp HP-UX B.11.31 B.11.31 passed
Result: Kernel version check passed
Check: Kernel parameter for "ksi_alloc_max"
Node Name Configured Required Comment
sph2erp 32768 32768 passed
sph1erp 32768 32768 passed
Result: Kernel parameter check passed for "ksi_alloc_max"
Check: Kernel parameter for "executable_stack"
Node Name Configured Required Comment
sph2erp 0 0 passed
sph1erp 0 0 passed
Result: Kernel parameter check passed for "executable_stack"
Check: Kernel parameter for "max_thread_proc"
Node Name Configured Required Comment
sph2erp 1024 1024 passed
sph1erp 1024 1024 passed
Result: Kernel parameter check passed for "max_thread_proc"
Check: Kernel parameter for "maxdsiz"
Node Name Configured Required Comment
sph2erp 1073741824 1073741824 passed
sph1erp 1073741824 1073741824 passed
Result: Kernel parameter check passed for "maxdsiz"
Check: Kernel parameter for "maxdsiz_64bit"
Node Name Configured Required Comment
sph2erp 2147483648 2147483648 passed
sph1erp 2147483648 2147483648 passed
Result: Kernel parameter check passed for "maxdsiz_64bit"
Check: Kernel parameter for "maxssiz"
Node Name Configured Required Comment
sph2erp 134217728 134217728 passed
sph1erp 134217728 134217728 passed
Result: Kernel parameter check passed for "maxssiz"
Check: Kernel parameter for "maxssiz_64bit"
Node Name Configured Required Comment
sph2erp 1073741824 1073741824 passed
sph1erp 1073741824 1073741824 passed
Result: Kernel parameter check passed for "maxssiz_64bit"
Check: Kernel parameter for "maxuprc"
Node Name Configured Required Comment
sph2erp 3686 3686 passed
sph1erp 3686 3686 passed
Result: Kernel parameter check passed for "maxuprc"
Check: Kernel parameter for "msgmni"
Node Name Configured Required Comment
sph2erp 4096 4096 passed
sph1erp 4096 4096 passed
Result: Kernel parameter check passed for "msgmni"
Check: Kernel parameter for "msgtql"
Node Name Configured Required Comment
sph2erp 4096 4096 passed
sph1erp 4096 4096 passed
Result: Kernel parameter check passed for "msgtql"
Check: Kernel parameter for "ncsize"
Node Name Configured Required Comment
sph2erp 35840 35840 passed
sph1erp 35840 35840 passed
Result: Kernel parameter check passed for "ncsize"
Check: Kernel parameter for "shmmax"
Node Name Configured Required Comment
sph2erp 1073741824 1073741824 passed
sph1erp 1073741824 1073741824 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Configured Required Comment
sph2erp 4096 4096 passed
sph1erp 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmseg"
Node Name Configured Required Comment
sph2erp 512 512 passed
sph1erp 512 512 passed
Result: Kernel parameter check passed for "shmseg"
Check: Kernel parameter for "tcp_smallest_anon_port"
Node Name Configured Required Comment
sph2erp 9000 9000 passed
sph1erp 9000 9000 passed
Result: Kernel parameter check passed for "tcp_smallest_anon_port"
Check: Kernel parameter for "tcp_largest_anon_port"
Node Name Configured Required Comment
sph2erp 65500 65500 passed
sph1erp 65500 65500 passed
Result: Kernel parameter check passed for "tcp_largest_anon_port"
Check: Kernel parameter for "udp_smallest_anon_port"
Node Name Configured Required Comment
sph2erp 9000 9000 passed
sph1erp 9000 9000 passed
Result: Kernel parameter check passed for "udp_smallest_anon_port"
Check: Kernel parameter for "udp_largest_anon_port"
Node Name Configured Required Comment
sph2erp 65500 65500 passed
sph1erp 65500 65500 passed
Result: Kernel parameter check passed for "udp_largest_anon_port"
Check: Package existence for "OS-Core-B.11.31( ia64)"
Node Name Available Required Comment
sph2erp OS-Core-B.11.31-0 OS-Core-B.11.31( ia64) passed
sph1erp OS-Core-B.11.31-0 OS-Core-B.11.31( ia64) passed
Result: Package existence check passed for "OS-Core-B.11.31( ia64)"
Check: Operating system patch for "Patch PHKL_38938"
Node Name Applied Required Comment
sph2erp Patch PHKL_39646 Patch PHKL_38938 passed
sph1erp Patch PHKL_39646 Patch PHKL_38938 passed
Result: Operating system patch check passed for "Patch PHKL_38938"
Check: Operating system patch for "Patch PHKL_39351"
Node Name Applied Required Comment
sph2erp Patch PHKL_40207 Patch PHKL_39351 passed
sph1erp Patch PHKL_40207 Patch PHKL_39351 passed
Result: Operating system patch check passed for "Patch PHKL_39351"
Check: Operating system patch for "Patch PHSS_36354"
Node Name Applied Required Comment
sph2erp Patch PHSS_40546 Patch PHSS_36354 passed
sph1erp Patch PHSS_40546 Patch PHSS_36354 passed
Result: Operating system patch check passed for "Patch PHSS_36354"
Check: Operating system patch for "Patch PHSS_37042"
Node Name Applied Required Comment
sph2erp Patch PHSS_37042 Patch PHSS_37042 passed
sph1erp Patch PHSS_37042 Patch PHSS_37042 passed
Result: Operating system patch check passed for "Patch PHSS_37042"
Check: Operating system patch for "Patch PHSS_37959"
Node Name Applied Required Comment
sph2erp Patch PHSS_40804 Patch PHSS_37959 passed
sph1erp Patch PHSS_40804 Patch PHSS_37959 passed
Result: Operating system patch check passed for "Patch PHSS_37959"
Check: Operating system patch for "Patch PHSS_39094"
Node Name Applied Required Comment
sph2erp Patch PHSS_40538 Patch PHSS_39094 passed
sph1erp Patch PHSS_40538 Patch PHSS_39094 passed
Result: Operating system patch check passed for "Patch PHSS_39094"
Check: Operating system patch for "Patch PHSS_39100"
Node Name Applied Required Comment
sph2erp Patch PHSS_40540 Patch PHSS_39100 passed
sph1erp Patch PHSS_40540 Patch PHSS_39100 passed
Result: Operating system patch check passed for "Patch PHSS_39100"
Check: Operating system patch for "Patch PHSS_39102"
Node Name Applied Required Comment
sph2erp Patch PHSS_41496 Patch PHSS_39102 passed
sph1erp Patch PHSS_41496 Patch PHSS_39102 passed
Result: Operating system patch check passed for "Patch PHSS_39102"
Check: Operating system patch for "Patch PHSS_38141"
Node Name Applied Required Comment
sph2erp Patch PHSS_38141 Patch PHSS_38141 passed
sph1erp Patch PHSS_38141 Patch PHSS_38141 passed
Result: Operating system patch check passed for "Patch PHSS_38141"
Check: Operating system patch for "Patch PHCO_40381"
Node Name Applied Required Comment
sph2erp Patch PHCO_40381 Patch PHCO_40381 passed
sph1erp Patch PHCO_40381 Patch PHCO_40381 passed
Result: Operating system patch check passed for "Patch PHCO_40381"
Check: Operating system patch for "Patch PHKL_38038"
Node Name Applied Required Comment
sph2erp Patch PHKL_41005 Patch PHKL_38038 passed
sph1erp Patch PHKL_41005 Patch PHKL_38038 passed
Result: Operating system patch check passed for "Patch PHKL_38038"
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Current group ID
Result: Current group ID check passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
No NTP Daemons or Services were found to be running
Result: Clock synchronization check using Network Time Protocol(NTP) passed
Checking Core file name pattern consistency...
Core file name pattern consistency check passed.
Checking to make sure user "oracle" is not in "root" group
Node Name Status Comment
sph2erp does not exist passed
sph1erp does not exist passed
Result: User "oracle" is not part of "root" group. Check passed
Check default user file creation mask
Node Name Available Required Comment
sph2erp 022 0022 passed
sph1erp 022 0022 passed
Result: Default user file creation mask check passed
Checking consistency of file "/etc/resolv.conf" across nodes
Node Name Status
sph2erp passed
sph1erp passed
The DNS response time for an unreachable node is within acceptable limit on all nodes
File "/etc/resolv.conf" is consistent across nodes
Check: Time zone consistency
Result: Time zone consistency check passed
Checking settings of device file "/dev/async"
Node Name Available Comment
sph2erp yes failed (incorrect setting for minor number.)
sph1erp yes failed (incorrect setting for minor number.)
Result: Check for settings of device file "/dev/async" failed.
Starting check for The SSH LoginGraceTime setting ...
WARNING:
PRVE-0038 : The SSH LoginGraceTime setting on node "sph2erp" may result in users being disconnected before login is completed
PRVE-0038 : The SSH LoginGraceTime setting on node "sph1erp" may result in users being disconnected before login is completed
Check for The SSH LoginGraceTime setting passed
Fixup information has been generated for following node(s):
sph2erp,sph1erp
Please run the following script on each node as "root" user to execute the fixups:
'/tmp/CVU_11.2.0.2.0_oracle/runfixup.sh'
Pre-check for cluster services setup was unsuccessful on all the nodes.
What could be the issue ????
Any help would be appreciated...
Regards,
ManishStarted with Grid Installation. Copying Software to remote node & linking libraries were successfully without any issue (upto 76%). But got issue while executing root.sh on Node1
sph1erp:/oracle/11.2.0/grid #sh root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/11.2.0/grid
Enter the full pathname of the local bin directory: [usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
OLR initialization - successful
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'sph1erp'
CRS-2676: Start of 'ora.mdnsd' on 'sph1erp' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'sph1erp'
CRS-2676: Start of 'ora.gpnpd' on 'sph1erp' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'sph1erp'
CRS-2672: Attempting to start 'ora.gipcd' on 'sph1erp'
CRS-2676: Start of 'ora.gipcd' on 'sph1erp' succeeded
CRS-2676: Start of 'ora.cssdmonitor' on 'sph1erp' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'sph1erp'
CRS-2672: Attempting to start 'ora.diskmon' on 'sph1erp'
CRS-2676: Start of 'ora.diskmon' on 'sph1erp' succeeded
CRS-2676: Start of 'ora.cssd' on 'sph1erp' succeeded
ASM created and started successfully.
Disk Group OCRVOTE created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk ab847ed2b4f04f2dbfb875226d2bb194.
Successful addition of voting disk 85c05a5b30384f8dbff48cc069de7a7c.
Successful addition of voting disk 649196fbdd614f9cbf26a9a0e6670a6e.
Successful addition of voting disk 8815dfcee2e64f64bf00b9c76626ab41.
Successful addition of voting disk 8ce55fe5534f4f77bfa9f54187592707.
Successfully replaced voting disk group with +OCRVOTE.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
1. ONLINE ab847ed2b4f04f2dbfb875226d2bb194 (/dev/oracle/ocrvote1) [OCRVOTE]
2. ONLINE 85c05a5b30384f8dbff48cc069de7a7c (/dev/oracle/ocrvote2) [OCRVOTE]
3. ONLINE 649196fbdd614f9cbf26a9a0e6670a6e (/dev/oracle/ocrvote3) [OCRVOTE]
4. ONLINE 8815dfcee2e64f64bf00b9c76626ab41 (/dev/oracle/ocrvote4) [OCRVOTE]
5. ONLINE 8ce55fe5534f4f77bfa9f54187592707 (/dev/oracle/ocrvote5) [OCRVOTE]
Located 5 voting disk(s).
Start of resource "ora.cluster_interconnect.haip" failed
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'sph1erp'
CRS-5017: The resource action "ora.cluster_interconnect.haip start" encountered the following error:
Start action for HAIP aborted
CRS-2674: Start of 'ora.cluster_interconnect.haip' on 'sph1erp' failed
CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'sph1erp'
CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'sph1erp' succeeded
CRS-4000: Command Start failed, or completed with errors.
Failed to start Oracle Clusterware stack
Failed to start High Availability IP at /oracle/11.2.0/grid/crs/install/crsconfig_lib.pm line 1046.
/oracle/11.2.0/grid/perl/bin/perl -I/oracle/11.2.0/grid/perl/lib -I/oracle/11.2.0/grid/crs/install /oracle/11.2.0/grid/crs/install/rootcrs.pl execution failed
sph1erp:/oracle/11.2.0/grid #
Last few lines from CRS Log for node 1, where error came
[ctssd(6467)]CRS-2401:The Cluster Time Synchronization Service started on host sph1erp.
2011-02-25 23:04:16.491
[oracle/11.2.0/grid/bin/orarootagent.bin(6423)]CRS-5818:Aborted command 'start for resource: ora.cluster_interconnect.haip 1 1' for resource 'ora.cluster_int
erconnect.haip'. Details at (:CRSAGF00113:) {0:0:178} in */oracle/11.2.0/grid/log/sph1erp/agent/ohasd/orarootagent_root/orarootagent_root.log.*
2011-02-25 23:04:20.521
[ohasd(5513)]CRS-2757:Command 'Start' timed out waiting for response from the resource 'ora.cluster_interconnect.haip'. Details at (:CRSPE00111:) {0:0:178} in
*/oracle/11.2.0/grid/log/sph1erp/ohasd/ohasd.log.*
Few lines from */oracle/11.2.0/grid/log/sph1erp/agent/ohasd/orarootagent_root/orarootagent_root.log.*
=====================================================================================================
2011-02-25 23:04:16.823: [ USRTHRD][16] {0:0:178} Starting Probe for ip 169.254.74.54
2011-02-25 23:04:16.823: [ USRTHRD][16] {0:0:178} Transitioning to Probe State
2011-02-25 23:04:17.177: [ USRTHRD][15] {0:0:178} [NetHAMain] thread stopping
2011-02-25 23:04:17.177: [ USRTHRD][15] {0:0:178} Thread:[NetHAMain]isRunning is reset to false here
2011-02-25 23:04:17.178: [ USRTHRD][12] {0:0:178} Thread:[NetHAMain]stop }
2011-02-25 23:04:17.178: [ USRTHRD][12] {0:0:178} thread cleaning up
2011-02-25 23:04:17.178: [ USRTHRD][12] {0:0:178} pausing thread
2011-02-25 23:04:17.178: [ USRTHRD][12] {0:0:178} posting thread
2011-02-25 23:04:17.178: [ USRTHRD][12] {0:0:178} Thread:[NetHAWork]stop {
2011-02-25 23:04:17.645: [ USRTHRD][16] {0:0:178} [NetHAWork] thread stopping
2011-02-25 23:04:17.645: [ USRTHRD][16] {0:0:178} Thread:[NetHAWork]isRunning is reset to false here
2011-02-25 23:04:17.645: [ USRTHRD][12] {0:0:178} Thread:[NetHAWork]stop }
2011-02-25 23:04:17.645: [ USRTHRD][12] {0:0:178} Thread:[NetHAWork]stop {
2011-02-25 23:04:17.645: [ USRTHRD][12] {0:0:178} Thread:[NetHAWork]stop }
2011-02-25 23:04:17.891: [ora.cluster_interconnect.haip][12] {0:0:178} [start] Start of HAIP aborted
2011-02-25 23:04:17.892: [ AGENT][12] {0:0:178} UserErrorException: Locale is
2011-02-25 23:04:17.893: [ora.cluster_interconnect.haip][12] {0:0:178} [start] clsnUtils::error Exception type=2 string=
CRS-5017: The resource action "ora.cluster_interconnect.haip start" encountered the following error:
Start action for HAIP aborted
2011-02-25 23:04:17.893: [ AGFW][12] {0:0:178} sending status msg [CRS-5017: The resource action "ora.cluster_interconnect.haip start" encountered the foll
owing error:
Start action for HAIP aborted
] for start for resource: ora.cluster_interconnect.haip 1 1
2011-02-25 23:04:17.893: [ora.cluster_interconnect.haip][12] {0:0:178} [start] clsn_agent::start }
2011-02-25 23:04:17.894: [ AGFW][10] {0:0:178} Agent sending reply for: RESOURCE_START[ora.cluster_interconnect.haip 1 1] ID 4098:661
2011-02-25 23:04:18.552: [ora.diskmon][12] {0:0:154} [check] DiskmonAgent::check {
2011-02-25 23:04:18.552: [ora.diskmon][12] {0:0:154} [check] DiskmonAgent::check } - 0
2011-02-25 23:04:19.573: [ AGFW][10] {0:0:154} Agent received the message: AGENT_HB[Engine] ID 12293:669
2011-02-25 23:04:20.510: [ora.cluster_interconnect.haip][18] {0:0:178} [start] got lock
2011-02-25 23:04:20.511: [ora.cluster_interconnect.haip][18] {0:0:178} [start] tryActionLock }
2011-02-25 23:04:20.511: [ora.cluster_interconnect.haip][18] {0:0:178} [start] abort }
2011-02-25 23:04:20.511: [ora.cluster_interconnect.haip][18] {0:0:178} [start] clsn_agent::abort }
2011-02-25 23:04:20.511: [ AGFW][18] {0:0:178} Command: start for resource: ora.cluster_interconnect.haip 1 1 completed with status: TIMEDOUT
2011-02-25 23:04:20.512: [ora.cluster_interconnect.haip][8] {0:0:178} [check] NetworkAgent::init enter {
2011-02-25 23:04:20.513: [ora.cluster_interconnect.haip][8] {0:0:178} [check] NetworkAgent::init exit }
2011-02-25 23:04:20.517: [ AGFW][10] {0:0:178} Agent sending reply for: RESOURCE_START[ora.cluster_interconnect.haip 1 1] ID 4098:661
2011-02-25 23:04:20.519: [ USRTHRD][8] {0:0:178} Ocr Context init default level 23886304
2011-02-25 23:04:20.519: [ default][8]clsvactversion:4: Retrieving Active Version from local storage.
[ CLWAL][8]clsw_Initialize: OLR initlevel [70000]
Few lines from */oracle/11.2.0/grid/log/sph1erp/ohasd/ohasd.log.*
=====================================================================================================
2011-02-25 23:04:21.627: [UiServer][30] {0:0:180} Done for ctx=6000000002604ce0
2011-02-25 23:04:21.642: [UiServer][31] Closed: remote end failed/disc.
2011-02-25 23:04:26.139: [ CLSINET][33]Returning NETDATA: 1 interfaces
2011-02-25 23:04:26.139: [ CLSINET][33]# 0 Interface 'lan2',ip='10.10.16.50',mac='3c-4a-92-48-71-be',mask='255.255.255.240',net='10.10.16.48',use='cluster_int
erconnect'
2011-02-25 23:04:26.973: [UiServer][31] CS(60000000014b0790)set Properties ( root,60000000012e0260)
2011-02-25 23:04:26.973: [UiServer][31] SS(6000000001372270)Accepted client connection: saddr =(ADDRESS=(PROTOCOL=ipc)(DEV=92)(KEY=OHASD_UI_SOCKET))daddr = (A
DDRESS=(PROTOCOL=ipc)(KEY=OHASD_UI_SOCKET))
2011-02-25 23:04:26.992: [UiServer][30] {0:0:181} processMessage called
2011-02-25 23:04:26.993: [UiServer][30] {0:0:181} Sending message to PE. ctx= 6000000001b440f0
2011-02-25 23:04:26.993: [UiServer][30] {0:0:181} Sending command to PE: 67
2011-02-25 23:04:26.994: [ CRSPE][29] {0:0:181} Processing PE command id=173. Description: [Stat Resource : 600000000135f760]
2011-02-25 23:04:26.997: [UiServer][30] {0:0:181} Done for ctx=6000000001b440f0
2011-02-25 23:04:27.012: [UiServer][31] Closed: remote end failed/disc.
2011-02-25 23:04:31.135: [ CLSINET][33]Returning NETDATA: 1 interfaces
2011-02-25 23:04:31.135: [ CLSINET][33]# 0 Interface 'lan2',ip='10.10.16.50',mac='3c-4a-92-48-71-be',mask='255.255.255.240',net='10.10.16.48',use='cluster_int
erconnect'
2011-02-25 23:04:32.318: [UiServer][31] CS(60000000014b0790)set Properties ( root,60000000012e0260)
2011-02-25 23:04:32.318: [UiServer][31] SS(6000000001372270)Accepted client connection: saddr =(ADDRESS=(PROTOCOL=ipc)(DEV=92)(KEY=OHASD_UI_SOCKET))daddr = (A
DDRESS=(PROTOCOL=ipc)(KEY=OHASD_UI_SOCKET))
2011-02-25 23:04:32.332: [UiServer][30] {0:0:182} processMessage called
2011-02-25 23:04:32.333: [UiServer][30] {0:0:182} Sending message to PE. ctx= 6000000001b45ef0
2011-02-25 23:04:32.333: [UiServer][30] {0:0:182} Sending command to PE: 68
2011-02-25 23:04:32.334: [ CRSPE][29] {0:0:182} Processing PE command id=174. Description: [Stat Resource : 600000000135f760]
2011-02-25 23:04:32.338: [UiServer][30] {0:0:182} Done for ctx=6000000001b45ef0
2011-02-25 23:04:32.352: [UiServer][31] Closed: remote end failed/disc.
2011-02-25 23:04:36.155: [ CLSINET][33]Returning NETDATA: 1 interfaces
2011-02-25 23:04:36.155: [ CLSINET][33]# 0 Interface 'lan2',ip='10.10.16.50',mac='3c-4a-92-48-71-be',mask='255.255.255.240',net='10.10.16.48',use='cluster_int
erconnect'
2011-02-25 23:04:37.683: [UiServer][31] CS(60000000014b0790)set Properties ( root,60000000012e0260)
2011-02-25 23:04:37.683: [UiServer][31] SS(6000000001372270)Accepted client connection: saddr =(ADDRESS=(PROTOCOL=ipc)(DEV=92)(KEY=OHASD_UI_SOCKET))daddr = (A
DDRESS=(PROTOCOL=ipc)(KEY=OHASD_UI_SOCKET))
2011-02-25 23:04:37.702: [UiServer][30] {0:0:183} processMessage called
2011-02-25 23:04:37.703: [UiServer][30] {0:0:183} Sending message to PE. ctx= 6000000002604ce0
2011-02-25 23:04:37.703: [UiServer][30] {0:0:183} Sending command to PE: 69
2011-02-25 23:04:37.704: [ CRSPE][29] {0:0:183} Processing PE command id=175. Description: [Stat Resource : 600000000135f760]
2011-02-25 23:04:37.708: [UiServer][30] {0:0:183} Done for ctx=6000000002604ce0
2011-02-25 23:04:37.722: [UiServer][31] Closed: remote end failed/disc.
2011-02-25 23:04:41.156: [ CLSINET][33]Returning NETDATA: 1 interfaces
2011-02-25 23:04:41.156: [ CLSINET][33]# 0 Interface 'lan2',ip='10.10.16.50',mac='3c-4a-92-48-71-be',mask='255.255.255.240',net='10.10.16.48',use='cluster_int
erconnect'
What could be the issue ????
Experts Please help me. Doing setup for the PRoduction Env...
Do response ASAP...... Thanks
Regards,
Manish
Maybe you are looking for
-
Hi Friends, i am looking for end user training material for A/R,A/P and CIN. if anybody have that please porvide me with the same. My Mail ID is [email protected] Thanks in Advance RK
-
Hi, When i am enterying vendor invoice and customer invoice then i am getting following error. Item category 04000 not allowed in accounting transaction 0200/0001 Message no. GLT2001 Diagnosis The online document splitting is active in your system. H
-
Lightroom 5 hls/color/b&w HELP!!!
can someone please tell me why i do not have the hls/color/b&w option in lightroom 5? i upgraded from 3 and the new version does not have it i have searched the web and can not find an answer
-
How do I download Photoshop Elements 10 into my computer today? Jan 6, 2015
January 6, 2015 I had to have my hard drive on my Apple Macbook Pro changed recently under warranty. I need to reinstall me Photoshop Elements 10, but don't know what to do after I put the disc in, because Adobe no longer supports Photoshop Elements
-
So did Update 10 fix the vulnerability in Java 1.6.0_24? I can't tell from the description.