- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SGcluster: subscript out of range
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 12:10 PM
07-04-2011 12:10 PM
SGcluster: subscript out of range
Hi All,
I am facing problem in starting a cluster package: Please can any body help me..
[svrut01a:root:/etc/cmcluster/CRR]cmrunpkg dbCRR
Running package dbCRR on node svrut01a
The package script for dbCRR failed with no restart. dbCRR should not be restarted
Unable to run package dbCRR on node svrut01a
Check the syslog and pkg log files for more detailed information
cmrunpkg: Unable to start some package or package instances
cluster log file:
/etc/cmcluster/CRR/dbCRR.cntl[233]: pids_list: subscript out of range
Regards,
Druva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 08:31 AM
07-05-2011 08:31 AM
Re: SGcluster: subscript out of range
Hi,
Please can anybody help on this.
Any comment which can make sense for the following issue will be rewarded by points. :-)
Regards,
Druva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 08:44 AM
07-05-2011 08:44 AM
Re: SGcluster: subscript out of range
What changed? Did it ever work?
Perhaps it is time to talk to Support?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 08:47 AM
07-05-2011 08:47 AM
Re: SGcluster: subscript out of range
these two lines...
Check the syslog and pkg log files for more detailed information
/etc/cmcluster/CRR/dbCRR.cntl[233]: pids_list: subscript out of range
...are probably a big hint. the last line in particular looks like an implementation error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 09:19 AM
07-05-2011 09:19 AM
Re: SGcluster: subscript out of range
>the last line in particular looks like an implementation error.
/etc/cmcluster/CRR/dbCRR.cntl[233]: pids_list: subscript out of range
Ah yes. It appears to be a shell limitation, a real shell array can't have more than 1024 elements, too many PIDs.
Looking at line 233 of /etc/cmcluster/CRR/dbCRR.cntl may be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 10:25 AM
07-06-2011 10:25 AM
Re: SGcluster: subscript out of range
Thanks for the commets..
I have checked the syslog there are no clue..
If i have change the shell value to accept more than 1024.. how can i do it..
Thanks,
Druva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 10:37 AM
07-06-2011 10:37 AM
Re: SGcluster: subscript out of range
>If I have change the shell value to accept more than 1024.. how can I do it?
You can't, that's what limitation means.
If dbCRR.cntl is your script, you could port the code to perl which doesn't have the limitation.
Or rewrite the script to use a different algorithm. Possibly multiple arrays or some type of filtering of the PIDs before you put them in the array.
Can you provide dbCRR.cntl or the fragment around line 233.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 10:41 AM
07-06-2011 10:41 AM
Re: SGcluster: subscript out of range
I have seen this error before but did not document the cause unfortunately.
I am fairly certain there is a problem with the package control script, such as a missing quotation mark on a line defining a package-specific parameter such as a VG name, floating IP etc.
If the package runs on another node, cksum the script on both nodes and compare the results. A difference should be investigated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 11:02 AM
07-06-2011 11:02 AM
Re: SGcluster: subscript out of range
>I am fairly certain there is a problem with the package control script, such as a missing quotation mark
If these are real shell scripts, perhaps syntax checking them may help?
sh -n script