- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Interpreter "bin/ksh" not found
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
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
тАО04-29-2009 06:28 AM
тАО04-29-2009 06:28 AM
# ./create_depot_hpux.11.23
interpreter "/bin/ksh" not found
file link resolves to "/usr/bin/ksh"
sh: ./create_depot_hpux.11.23: not found.
I have changed the script to /usr/bin/ksh
I then get:
# ./create_depot_hpux.11.23
interpreter "/usr/bin/ksh" not found
sh: ./create_depot_hpux.11.23: not found.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 06:33 AM
тАО04-29-2009 06:33 AM
SolutionYou FTP's the script and added carriage-returns to the lines. Either transfer the file correctly or strip the carriage returns:
# dos2ux ./create_depot_hpux.11.23 > ./create_depot_hpux.11.23.new
# mv ./create_depot_hpux.11.23.new ./create_depot_hpux.11.23
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 06:36 AM
тАО04-29-2009 06:36 AM
Re: Interpreter "bin/ksh" not found
You could also simply do the ftp upload again.
If the original file is still around.
I find on systems with ftp access permitted, that using the ftp script option for getting patches avoids all these issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 06:58 AM
тАО04-29-2009 06:58 AM
Re: Interpreter "bin/ksh" not found
Im having problems with my ftp running slow even for very small files...what could this be down to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 07:05 AM
тАО04-29-2009 07:05 AM
Re: Interpreter "bin/ksh" not found
> Im having problems with my ftp running slow even for very small files...what could this be down to?
That's a different issue than the one you opened this thread with. That said, however, the first thing you may want to check is a network duplex mismatch.
If you are running a GB connection, your switch and your LAN card should be set to auto-negotiate.
If you are running an old 100MB connection, you should set your switch and your LAN card to full-duplex, 100MB.
Regards!
...JRF...