- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rc4test: Invalid number of arguments
Operating System - HP-UX
1753774
Members
7068
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО08-29-2004 06:47 PM
тАО08-29-2004 06:47 PM
Hi! My customer got next error, when he tried to run program:
rc4test: Invalid number of arguments
usage: rc4test
rc4test: Invalid number of arguments
usage: rc4test
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2004 07:46 PM
тАО08-29-2004 07:46 PM
Solution
First thing that comes to mind: spaces in arguments, resulting in too many arguments... Or an empty argument.
I don't know what rc4test is, but you could test how it is called by renaming rc4test to rc4test.orig and creating a script called rc4test that contains this:
#!/bin/ksh
echo "cmdline: $0 $*" >>/tmp/rc4test.cmdline
echo "#args: $#" >>/tmp/rc4test.cmdline
$0.orig $*
That way you can see in /tmp/rc4test.cmdline how it is called.
You could replace the $* on the last line by "$1" "$2" "$3" "$4", but that might result in problems because you force the 4 arguments!
I don't know what rc4test is, but you could test how it is called by renaming rc4test to rc4test.orig and creating a script called rc4test that contains this:
#!/bin/ksh
echo "cmdline: $0 $*" >>/tmp/rc4test.cmdline
echo "#args: $#" >>/tmp/rc4test.cmdline
$0.orig $*
That way you can see in /tmp/rc4test.cmdline how it is called.
You could replace the $* on the last line by "$1" "$2" "$3" "$4", but that might result in problems because you force the 4 arguments!
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 12:39 AM
тАО09-06-2004 12:39 AM
Re: rc4test: Invalid number of arguments
Thankyou very much for your ansver and I'm so sorry that this took so long time to get that answer. We got that run with rtsora and now we can go on.
Best Regards Pirjo Salvos
Best Regards Pirjo Salvos
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP