LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 08-07-2007, 06:18 AM   #1
rsravi74
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Smile "capset: Operation not permitted" error when I run valgrind.


Hi All,

I want to run valgrind on my executable and I run the command as follows.

"valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --log-file=/var/lib/ipa/valgrindLog /usr/lib/ipaccess/bsc/bin/access_generic -db AccessBscDbWorking -log /var/lib/ipaccess"

where,
access_generic is the executable,
-db is the option for database name
AccessBscDbWorking is the database name,
-log is the option for log
/var/lib/ipaccess is the folder where all the log files will be stored.

But I am getting error as

"Privilege drop failed: capset: Operation not permitted"

and the execution aborts.

The operating system that I am running this program is RHEL 2.6.9-42.EL.

Could somebody help me on this subject.
Your response will be appreciated.

Regards,
RSR
 
Old 09-02-2007, 05:30 PM   #2
nirj
Member
 
Registered: Feb 2005
Posts: 42

Rep: Reputation: 15
Are you running this as a user or as root? it sounds like a permissions issue. Try executing the same command as root if you aren't doing so already.

$ su
Password: [type root password]

# valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --log-file=/var/lib/ipa/valgrindLog /usr/lib/ipaccess/bsc/bin/access_generic -db AccessBscDbWorking -log /var/lib/ipaccess
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 03:49 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 08:12 PM
"Operation not permitted" error logging in to Ubuntu Dapper Drake paulBottomley Linux - Newbie 7 08-10-2006 11:13 AM
"ioctl: Operation not permitted" (beep media playe) unholy Linux - Software 1 12-18-2004 06:14 PM


All times are GMT -5. The time now is 01:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration