after upgrade gdb won’t attach to process

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I just recently upgraded from 10.04 to 11.04 and gdb won’t allow me to attach to processes anymore I get the error

Attaching to process 10144 Could not
attach to process. If your uid
matches the uid of the target process,
check the setting of
/proc/sys/kernel/yama/ptrace_scope, or
try again as the root user. For more
details, see
/etc/sysctl.d/10-ptrace.conf ptrace:
Operation not permitted.

How do I fix this so that I can debug again without sudo?

X ITM Cloud News

Marisa

Leave a Reply

Next Post

Can you set passwords in .ssh/config to allow automatic login?

Fri Sep 11 , 2020
Spread the love          I’m using Ubuntu 11.10. I’m using ssh for connecting to many servers daily, so I put their parameters in the .ssh/config file like this: Host Home User netmoon Port 22 HostName test.com Is there a way to put passwords for each connection in this file, so that, when […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM