Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-14-2004, 02:37 PM
|
#1
|
|
Member
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120
Rep:
|
Permission Denied
Hello,
I tried to apply a Oracle Patch.
When I ran the patch, I got the following message:
bash: -- ............: permission denied
1) What exactly does the permission denied mean ?
2) Has the patch been applied or not ?
The patch is suppose to modify the ld.so file.
There are 3 files: (ld.so.conf, ld.so.cache, ld.so.preload). I am not sure which file should be modified ??
I get the impression that the patch was not applied. From the root user, I switched to the oracle user.
PT
|
|
|
|
12-14-2004, 02:45 PM
|
#2
|
|
Member
Registered: Dec 2004
Distribution: Slackware
Posts: 114
Rep:
|
Permissions problem maybe? Did you give +x permissions to that file?
|
|
|
|
12-14-2004, 02:48 PM
|
#3
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
It means exactly what it says, you don't have enough rights to install that patch. You may need to do it as root or give execution permissions as mentioned above.
|
|
|
|
12-14-2004, 02:53 PM
|
#4
|
|
Member
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120
Original Poster
Rep:
|
Changing File Permissions
Hello,
The patch says that it modifies the ld.so file.
Looking through the /etc folder, I have 3 variations of that file.
1) Will running: chmod +x ld.so... on all 3 files do the job ?
PT
|
|
|
|
12-14-2004, 02:55 PM
|
#5
|
|
Member
Registered: Dec 2004
Distribution: Slackware
Posts: 114
Rep:
|
You should only have to give the execute permission to what you're trying to install, and have rights to modify the files it effects.
sudo, or do it as root, and give +x to the file.
|
|
|
|
12-14-2004, 02:56 PM
|
#6
|
|
Member
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120
Original Poster
Rep:
|
libcwait + ld File Roles
Hello,
The patch is suppose to append/modify the following files:
/etc/libcwait.so
/etc/ld.so
As I have said, I have 3 variations of the file:
ld.so.cache
ld.so.conf
ld.so.preload
1) What is the role of these files ?
PT
|
|
|
|
12-14-2004, 03:00 PM
|
#7
|
|
Member
Registered: Dec 2004
Distribution: Slackware
Posts: 114
Rep:
|
man ld.so
It gives you a pretty good list of what each does under "Files"
|
|
|
|
12-16-2004, 02:14 PM
|
#8
|
|
Member
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120
Original Poster
Rep:
|
Command not found ??
Hello,
When typing: su - oracle
I get the message: -bash: -a: command not found
PT
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|