Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final > LiveCD Support


LiveCD Support Problems and issues making/booting the BackTrack 2 Live CD

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-19-2007, 08:54 PM
Senior Member
 
Join Date: Aug 2007
Posts: 211
Default Customized KDE environment slowly dies

I have customized my KDE environment (just simple stuff, like background, clock, etc) and ran Linux-Live-6.1.5 to create an new build. The build boots fine and everything seems to be in its proper place. When I enter the KDE environment, I can open a terminal and enter a command, such as aircrack-ng (no arguments, it just prints out a help screen). As the session progresses, I slowly lose the ability to run commands.

For instance, entering the command aircrack-ng once more results in this error:
Code:
bt ~ # /usr/local/bin/aircrack-ng  Cannot execute binary file.
The command is still there and is still marked as executable. If I am quick enough once this starts to happen, I will usually have enough time to logout of the KDE environment. However, this behavior follows me back to the main terminal environment. Almost any command entered now results in this error. The only commands that will execute seem to be internal bash commands.

It's like I have been slowly bled of any and all privileges. The only way out of this is a reboot.

Entering whoami reveals that I am still "root".

Now, on the otherhand, the flux environment operates correctly for as long as needed (but a working KDE environment is much nicer).

I was hoping that there were linux experts around that had some idea why this was happening.
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:08 AM
Just burned his ISO
 
Join Date: Jan 2008
Posts: 4
Default

I'm having the same problem, there have been several threads about this but no one seems to know what causes it. It starts out normal, but after a few minutes every program locks up. All but the ones you've used before. What I normally do is run airodump-ng, cp, ls, aireplay-ng, aircrack, etc with no arguments as soon as I get into a terminal, which seems to 'reserve' them so they can be used when I need them. This leads me to believe there is a leak somewhere. Like the system runs out of RAM or inodes run out (which causes the system to not be able to tell the permissions on the file). I have a perl script from a linux magazine that will list the directories with the most inodes, allowing you to track down abuse, but I can't seem to get it to work. I'm relatively new to linux and don't know any perl.
Code:
#!/usr/bin/perl -w

my $start=$ARGV[0];

foreach $object (`find '$start`){
	my @parts=split(/\//,$object);
	while(pop(@parts)  ){
		my $object = join('/',@parts);
		$object =~ s/\/+/\//g;
		$object2qty{$object}++;
	}
}

foreach $object (sort { $object2qty{$a} <=> $object2qty{$b} }
			keys %object2qty){
	print $object2qty{$object} . "\t${object}\n";
}
the problem in the script seems to be around line 5 (foreach). The original probably isn't inodes anyway.

Any other ideas what could cause this problem?
Reply With Quote
  #3 (permalink)  
Old 01-10-2008, 08:38 PM
Senior Member
 
Join Date: Aug 2007
Posts: 211
Default

It turns out this problem is due to "user/owner" issues. When I looked at the "/" directory, it was mostly "root/root", except for /boot.

I fixed this by changing the "config" file found under BT/tools/WIN directory to this:

Code:
-v
-J
-R
-D
-uid 0
-gid 0
-no-emul-boot
-boot-info-table
-boot-load-size 4 
-b "boot/isolinux/isolinux.bin"
-c "boot/isolinux/isolinux.boot"
This corrected the permissions and stopped all the "slow deaths". If you use the .sh to create your .iso, you will need to change the .sh to reflect the property issues.
Reply With Quote
  #4 (permalink)  
Old 05-24-2009, 12:07 AM
Just burned his ISO
 
Join Date: Jan 2008
Posts: 4
Default

just to update, my problem was different. It turned out to be my dvd drive. After a few minutes without access, the drive would just fail to read data.

Personally, my drive worked when i physically shook the laptop-the drive would spin right up. This wasn't a BT thing because it worked in both debian and xp.

Lesson learned? Screw hp and buy a thinkpad.

PS: that glitch was a bitch to debug

Last edited by DayZiro; 05-24-2009 at 12:26 AM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2