- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error in using sh command
Operating System - HP-UX
1753873
Members
7572
Online
108809
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
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
тАО04-04-2000 01:51 PM
тАО04-04-2000 01:51 PM
Error in using sh command
Hi,
I've used the command sh and I encountered the error
PHCO_19046[15]: ^M: not found.
PHCO_19046[16]: LANG^M: This is not an identifier.
I've downloaded the patch file from HP site, save it as text file, rename it
from PHCO_19046.txt to PHCO_19046. Transfer it to Unix box as binary, do dos2ux
and then I'm trying now to unshar the patch but I encountered this error. How
will I proceed then and what are the commands to install patch.
Hope you can help me.
Thanks
I've used the command sh
PHCO_19046[15]: ^M: not found.
PHCO_19046[16]: LANG^M: This is not an identifier.
I've downloaded the patch file from HP site, save it as text file, rename it
from PHCO_19046.txt to PHCO_19046. Transfer it to Unix box as binary, do dos2ux
and then I'm trying now to unshar the patch but I encountered this error. How
will I proceed then and what are the commands to install patch.
Hope you can help me.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 02:33 PM
тАО04-04-2000 02:33 PM
Re: Error in using sh command
Have you checked the file that there are no ^M inside
with
dos2ux PHCO_19064
you will not remove the ^M
do for example
dos2ux patchfile
and than do
sh patchfile
you should get two files. One depot and one txt files.
Use the depot file to install the patch.
with
dos2ux PHCO_19064
you will not remove the ^M
do for example
dos2ux
and than do
sh patchfile
you should get two files. One depot and one txt files.
Use the depot file to install the patch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 09:06 PM
тАО04-04-2000 09:06 PM
Re: Error in using sh command
In my opinion, you should not use dos2ux command, cause shellpatch already is
in unix format.
So you just have to put it into your UNIX box and shell it. (sh -c filename)
That's all.
Vassily Gorbounov
in unix format.
So you just have to put it into your UNIX box and shell it. (sh -c filename)
That's all.
Vassily Gorbounov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 09:16 PM
тАО04-04-2000 09:16 PM
Re: Error in using sh command
When you download the patch on an NT Box an save is as text file the patch is
not in unix format...
in this case you should use dos2ux
not in unix format...
in this case you should use dos2ux
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