Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: strace(1) doesn't work
PostPosted: Sun May 28, 2006 1:26 pm 
Offline
Junior Member
User avatar

Joined: Sat Feb 21, 2004 8:59 am
Posts: 27
I do quite a lot of software development (see http://stunnel.mirt.net/) on my Linode 160 running Debian sarge.

Usually I use strace(1) to diagnose some weird problems, but it doesn't work on Linode:

# uname -a
Linux linode 2.6.17-rc2-linode19 #1 Wed Apr 26 17:31:10 EDT 2006 i686 GNU/Linux
# strace ls
execve("/bin/ls", ["ls"], [/* 14 vars */]) = 0
file1 file2 file3
#

I guess ptrace(2) is disabled for some reason. Can you enable this functionality?


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 1:31 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
You're on one of the few hosts that's running an old kernel with this bug. Submit a support ticket to be moved to a different host, where strace will work.

-Chris


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 1:55 pm 
Offline
Junior Member
User avatar

Joined: Sat Feb 21, 2004 8:59 am
Posts: 27
Are there any drawbacks of moving to another machine? Will I keep my IP address? What is the expected downtime?


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 2:21 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Everything moves with you (IPs, disk images, configs, etc). You can press The One Button to start the migration when you're ready (after we configure it). I'd expect a few minutes per GB to transfer your disk images across.

-Chris


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 2:54 pm 
Offline
Junior Member
User avatar

Joined: Sat Feb 21, 2004 8:59 am
Posts: 27
Thank you.


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 4:48 pm 
Offline
Junior Member
User avatar

Joined: Sat Feb 21, 2004 8:59 am
Posts: 27
It worked. I can use strace, now!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group