Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-07-2007, 07:18 AM   #1
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"

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.

Old 09-02-2007, 06:30 PM   #2
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


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 02:36 AM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 04:49 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 09:12 PM
"Operation not permitted" error logging in to Ubuntu Dapper Drake paulBottomley Linux - Newbie 7 08-10-2006 12:13 PM
"ioctl: Operation not permitted" (beep media playe) unholy Linux - Software 1 12-18-2004 07:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

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