- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shell ksh
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-11-2003 04:27 PM
09-11-2003 04:27 PM
# pwd
/sybase
# ll
total 128
-rwxrwxrwx 1 sybase sybase 832 Nov 14 2000 .cshrc
-rwxrwxrwx 1 sybase sybase 347 Nov 14 2000 .exrc
-rwxrwxrwx 1 sybase sybase 334 Nov 14 2000 .login
-rw-rw-rw- 1 sybase sybase 1088 Sep 11 10:39 .profileOLD
-rwxrwxrwx 1 sybase sybase 4064 Sep 11 10:47 .sh_history
drwxrwxrwx 3 sybase sybase 96 Sep 5 17:26 ASE-12_0
drwxrwxrwx 3 sybase sybase 96 Sep 5 17:28 FTS-12_0
drwxrwxrwx 4 sybase sybase 96 Sep 5 17:28 OCS-12_0
drwxrwxrwx 3 sybase sybase 96 Sep 5 17:29 SQLRemote
drwxrwxrwx 3 sybase sybase 96 Sep 5 17:31 SYSAM-1_0
-rwxrwxrwx 1 sybase sybase 0 Sep 5 18:03 js
drwxrwxrwx 2 sybase sybase 96 Sep 5 17:27 lib
-rwxrwxrwx 1 sybase sybase 588 Sep 11 19:12 sybase.old
-rwxrwxrwx 1 sybase sybase 455 Sep 11 19:13 sybase.sh
# cd /home/sybase/
# ll
total 80
-rwxrwxrwx 1 sybase sybase 832 Nov 14 2000 .cshrc
-rwxrwxrwx 1 sybase sybase 347 Nov 14 2000 .exrc
-rwxrwxrwx 1 sybase sybase 334 Nov 14 2000 .login
-rwxrwxrwx 1 sybase sybase 529 Sep 11 19:09 .profile
-rw------- 1 sybase users 1184 Sep 11 19:16 .sh_history
$ echo $SHLIB_PATH
ksh: SHLIB_PATH: parameter not set
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 04:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 04:43 PM
09-11-2003 04:43 PM
Re: Shell ksh
SHLIB_PATH=/sybase/ASE-12_0/lib:/sybase/FTS-12_0/lib:/sybase/OCS-12_0/lib:$SHLIB_PATH
coz $SHLIB_PATH is not set it says...
Just remove the last entry $SHLIB_PATH and keep it
SHLIB_PATH=/sybase/ASE-12_0/lib:/sybase/FTS-12_0/lib:/sybase/OCS-12_0/lib
and see if it works
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 04:43 PM
09-11-2003 04:43 PM
Re: Shell ksh
Instead of:
# ./sybase.sh
try:
# . ./sybase.sh <<< Note the dot space
Also the permissions on those files are not very secure. Once you reslve the issue, make sure you take the extra step to secure the permissions on all the files in the directory.
Tim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 04:48 PM
09-11-2003 04:48 PM
Re: Shell ksh
Tim is right. I didn't try to download your profile as it is in zip format so I thought u had it correctly. If you are simply calling it like /home/sybase/sybase.sh, then those variables won't survive for the parent shell unless you source in the script as ". ./home/sybase/sybase.sh".
By the way you have to unset "set -u" too otherwise, it may throw errors.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:07 PM
09-11-2003 05:07 PM
Re: Shell ksh
SHLIB_PATH=/sybase/ASE-12_0/lib:/sybase/FTS-12_0/lib:/sybase/OCS-12_0/lib:$SHLIB
_PATH
I execute the command:
$ echo $SHLIB_PATH
/sybase/ASE-12_0/lib:/sybase/FTS-12_0/lib:/sybase/OCS-12_0/lib:
This good that obtains this result, Both points this good?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:16 PM
09-11-2003 06:16 PM
Re: Shell ksh
Put "set +u" at the beginning of your sybase.sh script. It inherits "set -u" from your .profile and throws out error.
-Sri