- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: error help ....
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
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
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
тАО05-25-2006 07:17 PM
тАО05-25-2006 07:17 PM
error help ....
am running a script but got errors during execution. i have no idea of the error number.
below is the error code i got.
test/catv/scripts/catv_withdiff[71]: 1208MT1: The specified number is not valid for this command.
/test/catv/scripts/catv_withdiff[71]: 1208MT2: The specified number is not valid for this command.
/test/catv/scripts/catv_withdiff[71]: 1208MT: The specified number is not valid for this command.
/test/catv/scripts/catv_withdiff[71]: 1208MT: The specified number is not valid for this command.
/test/catv/scripts/catv_withdiff[71]: TC25: The specified number is not valid for this command.
attached is the script i made.
maximum points to all correct answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 07:38 PM
тАО05-25-2006 07:38 PM
Re: error help ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 07:44 PM
тАО05-25-2006 07:44 PM
Re: error help ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 08:19 PM
тАО05-25-2006 08:19 PM
Re: error help ....
try searching the message in itrc: The specified number is not valid for this command.
the number "0" in these fields is the problem i think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 08:30 PM
тАО05-25-2006 08:30 PM
Re: error help ....
the problem is line 71:
if \("$dlot" -eq "$edlotid" \) -a \( "$eddevice" = "$ddev"\)
Print out the values of the valriables just before the if statement
dlot,edlotid,eddevice,ddev
Either there is going to be an empty value or a alpha value where a numeric is expected (dlot or edtlotid)
- Tags:
- Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 08:34 PM
тАО05-25-2006 08:34 PM
Re: error help ....
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 09:07 PM
тАО05-25-2006 09:07 PM
Re: error help ....
> if [ \( "$dlot" -eq "$edlotid" \) -a \( "$eddevice" = "$ddev" \) ] <
echo the values before using them within the test part of the if statement in order to see if they are numeric since the first condition "$dlot" -eq "$edlotid" tests for integers. It's likely that dlot and/or edlotid are being set to [1208MT; 1208MT1; 1208MT2; TC25].
cheers!