- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/bin/ksh: ac9: 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
Forums
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
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
09-15-2004 08:49 AM
09-15-2004 08:49 AM
/usr/bin/ksh: ac9: not found:
Thanks,
Conrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 08:51 AM
09-15-2004 08:51 AM
Re: /usr/bin/ksh: ac9: not found:
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 04:51 PM
09-15-2004 04:51 PM
Re: /usr/bin/ksh: ac9: not found:
If you want to maintain common alias informations then go to /etc/profile file. It will be capable to all normal users.
And alias ac9=$ARCHOME/bin/arc say's,
$ARCHOME/bin/arc is it an executable there?
If you want to move into that directory then as,
alias ac9='cd $ARCHOME/bin/arc'
And /usr/bin/ksh:
you tried to execute as,
If you did not export /usr/bin on PATH variable then normal execution of alias too get's error there.
Give all alias information's
IF you want to maintain personal settings based on user then,
user $HOME/.profile
change the permission to 400
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 01:52 AM
09-16-2004 01:52 AM
Re: /usr/bin/ksh: ac9: not found:
I'm sorry if I may have mislead you. The error remains /usr/bin/ksh: ac9: not found, where ac9 is the alias. Which is defined by 'export ARCHOME=/opt/esri/arcexe9x' then further down 'alias ac9=$ARCHOME/bin/arc'.
The paths are as follows:
# Set up the search paths:
PATH=$PATH:/usr/local/bin:.
export PATH=$PATH:/usr/dt/bin:$ARCHOME/programs:$ARCHOME/bin:/usr/bin/X11:$AVHOME3/bin/arcview:/opt/omni/bin:.
I tried changing the permissions too 400 with no effect on the operation. Previously the files where at 644.
I suspect the key to what is going on is that if I login with my original .profile all of my (3)alias work. Then I login in with the new account which has had a few changes to the .profile where I modified only one alias and none of the three alias work.
Thanks for you time,
Conrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 02:14 AM
09-16-2004 02:14 AM
Re: /usr/bin/ksh: ac9: not found:
export ARCHOME=/opt/esri/arcexe9x --> will export the /opt/esri/arcexe9x to ARCHOME environment variable.
Then alias ac9=$ARCHOME/bin/arc, will do as,
$ ac9
as, /opt/esri/arcexe9x/bin/src executed on shell.
But error /usr/bin/ksh:
alias binary is not there in search path or on shell /usr/bin/ksh binary
Normal alias will be in /usr/bin/alias and builtin with shell too.
Let us give information as,
which alias
what /usr/bin/alias
/usr/bin/alias
If it is executing then then /usr/bin path is not exported on PATH variable
PATH=$PATH:/usr/bin
And finally what you are expecting from export ARCHOME=/opt/esri/arcexe9x, alias ac9=$ARCHOME/bin/arc there. Do you want cd in to that directory or executing the src file there?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 03:30 AM
09-16-2004 03:30 AM
Re: /usr/bin/ksh: ac9: not found:
I expect alias ac9 to launch the program 'arc' at /opt/esri/arcexe9x/bin.
When looking at the attachements the other alias av3 should launch the program arcview at /opt/esri/arcview32/arcview3/bin. While the alias imagine should launch the program imagine at /opt/erdas/imagine/840/bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 05:01 AM
09-16-2004 05:01 AM
Re: /usr/bin/ksh: ac9: not found:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 07:54 AM
09-16-2004 07:54 AM
Re: /usr/bin/ksh: ac9: not found:
Well I finally have it working. The problem was that when the new account was created it did not create a .Xdefaults file in the /home/username directory. All this file contains is;
*enableEtchedInMenu: False
*loginShell: true
With this file in the users directory all works well. Not sure why SAM does not create this file when a new user is added. Thanks for all the suggestions and support in solving this problem.
Cheers,
Conrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 01:18 AM
07-06-2005 01:18 AM
Re: /usr/bin/ksh: ac9: not found:
*enableEtchedInMenu: False
*loginShell: true
With this file in the users directory all works well. Not sure why SAM does not create this file when a new user is added. Thanks for all the suggestions and support in solving this problem.