General :: "getAbsPath"? Attempting To Run Birdsuite?
Sep 22, 2010
This forum was very helpful in answering my previous question about scripting, so I'm going to try again with another problem that I have been having for a couple weeks now (the software support have not replied to my questions, unfortunately). In brief: I am trying to run Birdsuite (64-bit version: [URL]... I followed the installation instructions exactly and attempted to run the test code at the bottom of the installation web page. The commands I used are the following:
[Code]...
What exactly is this "getAbsPath" file or directory from the above code? Is it a necessary component? How would I tweak the shell script to get this working?
I downloaded the DVD release of Kubuntu 10.04, from Kubuntu.org. The file is: Kubuntu-10.04-dvd-amd64.rar . I burned it to a DVD, as image, with ImgBurn application. See any problems so far? I want to dual-boot, leaving my Win7 in tact. I am confident that I can handle this with some patient instruction.
I'm a newb and have ambitions for a triple boot with MAC/W2K/#! 9.04. I first installed Ubuntu on C600 laptop and then switched to Crunchbang 9.04 since the Dell is lacking any ooomph. Now I'm trying to triple boot an HP Pavilion a330n (AMD Athlon, non-SATA board which has created problems getting Leopard to play nice, but that's another story). I removed the HD from the C600 (W2K) and replaced it with another running only #!. I installed the W2K laptop drive as master on the HP desktop with a 120GB IDE drive as slave. The 120GB drive has been partitioned for 4: MAC (35GB, ext3), W2K (35GB, NTFS), #! (40GB, ext3) and Linux-Swap (remainder, ext3).
Now to the question: I was planning on using the DD command to "xcopy" the W2K drive to the W2K partition. Sounds simple. I am trying to use the following: dd if=/dev/sda2 of=/dev/sdb3 bs=4096 conv=notrunc,noerror
To back up a step, I saw somewhere else suggesting to boot live and run off the CD to facilitate this since I'm manipulating both hard drives. Since I'm working live, I've had some trouble sorting out password issues with root. I managed to change the root password (I know - dangerous, but only for this session anyway). Each time I try to execute the dd command, I get nada. No activity. The cursor drops below the root@crunchband:~$ prompt and just blinks. There is no important information to be lost on either drive per se, but have lost the W2K install CD long ago which is why I need to use DD anyway.
I am building a floppy linux distro and have compiled a custom kernel, toolchain, uClibc and busybox. It all fits and boots but says "Failed to execute /busybox attempting defaults" /busybox is executable and should have the shared libraries available. I created both a dynamic and static hello world program and nether will boot as init. The root fs mounts without issues. What is the problem? (Sorry, Do not have the log since this is a different box) (May try to get it over serial console)
My system (CentOs5.3) became erratic after i tried to change wholesale the ownership of the /FS. is it possible to change ownership or rwx permissions of files in linux? what is the safeguard available to preserve the consistency of the program files in linux against such an attempt by su?
I am attempting a java.bin silent install using two files.
The bash script is this: sh jdk-6u20-linux-x64.bin -i silent -f /<location>/installer.properties 1>console.txt 2>&1 sleep 5 #this may be unnecessary, just testing it
I'm running a 64bit Version of Windows 7. I'm also dual-booting 64bit Ubuntu 10.04 (if it matters). However, for this I'm trying to get this working on the Windows 7 side of things. I downloaded the BackTrack 5 32bit GNOME .iso file (BT5-GNOME-32.iso) to my USB stick fine and made a VM on VMware Player. I set the OS as "Other Linux 2.6.x kernel" (if it matters). However, when I go to play my VM I get the following screen. I know I'm supposed to type Startx to launch the GUI. However, nothing happens; it's completely unresponsive (and yes keyboard focus is routed to the VM). There is no response, the cursor doesn't even blink.
I am desperately trying to recover two folders from a Freecom FSG 3 NAS. As far as I am aware it is running Linux 2.6 based on Snapgear. After working through the hardwares' recovery procedure a number of times, the state of the device appears to get worse and worse. So I have attempted to rescue the files by using a program called Putty to access the device over SSH.When I access the device using Putty I login as admin. The folders I need to recover are located in the home folder. Listing the contents of the directory I get...
I have a Dell PE2900 SCSI'd out to a Quantum SL3. I'm attempting to read/display the contents of the tapes or maybe dump the displayed contents or table of contents to a file.
I can see and access the library: ]# mtx status Storage Changer /dev/changer:1 Drives, 16 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = NGL930L3 Storage Element 1:Empty Storage Element 2:Full :VolumeTag=NGL985L3
[Code]....
But when I try running tar -tzf /dev/changer or tar -tvf /dev/changer I just get a flashing cursor and the drive sits at IDLE.
I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??
I have an acer aspire one netbook running linpus linux light,I managed to get the sub menu working, however, when I click on add/remove software I get the 'you are attempting to run "pirut"' query..I type in my password and then get a box coming up which says 'an unhandled exception occurred, this is most likely a bug'.
I setup Debian a few days ago and everything was working fine. On a routine reboot to test a start-up script I turned the monitor on and realized that I could not logon to the machine locally. None of my keyboard input was making it to the username field but random things were happening. Every now and then it would say stuff like incorrect username or spontaneously jump to the password input field and then say incorrect password. I've rebooted a couple times, even without a keyboard attatched and still am seeing this. In /var/log/auth.log I show gdm going nuts trying to validate usernames.
Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username
I recently bought a SSD and decided to give the majority of the space to windows for production purposes I gave 3.5GB for ubuntu but that filled up rather fast so i decided to move the folder taking up the most space to another partition which is /usr.
I tried moving the /usr to another partition and using a symbolic link but that didn't work so i'm trying (and would prefere this method anyway) to use fstab to do it
Code: # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5).
The Windows Disc Image Burner, after attempting to burn the ISO file, will prompt me that the burn was unsuccessful. It then gives me the error code of 0x80004005. I've re-downloaded the file twice and attempted to burn it twice, but to the same results. A
I am attempting to resume another user's screen (-r) and execute a command in it (-X) While I can resume (-r), if I combine that with executing a command (-X), errors arise. Instead of trying to explain my problems, see the below outputs.
All screens are ran as one user ("minecraft") minecraft has his .screenrc file setup to enable multiuser mode, and to allow access from kjohnson
Code: minecraft@mc1:~$ screen -list There are screens on: 18810.threatgreater (10/05/2010 02:23:31 PM) (Multi, detached) 1185.baron (10/05/2010 07:29:26 AM) (Multi, detached)
I'm trying to upgrade an EeePC from 9.10 (I think it is) to 10.10. I've tried two different thumb drives and a CD, redownloading the UNR image each time. What happens is it will get the the screen where it says 'Preparing to install Ubuntu-Netbook'. I hit forward, and then the little dial just spins indefinitely. I've also tried plugging the thumb drives into different USB ports, and playing around the with the hard disk compatibility mode on in the BIOS (currently set to 'compatible', but AHCI, IDE Enhanced etc made no difference).
I have Ubuntu 9.10. The batter drained several days ago, and now when I attempt to boot I simply get a string of indecipherable error messages which last for about 5 minutes, and the screen then goes completely black. I am not able to even get to the login screen. Windows 7 Starter boots fine, so it's definitely a software issue. Any solutions short of completely reinstalling? I really don't want to lose all of my data.
I have a Lenovo Thinkpad Edge 15 w/AMD Athlon II processor. I burned an installation CD and I only get partway thru the installation when it fails to allow me to complete it. I get to the "Install - Who are you" page when the progress bar stops partway thru and says "Ready when you are". I am attempting to load the 32 bit version.
This can't be duplicated by anything specific, but I know it's not out of RAM at this point. The console keyboard and mouse are inoperational, and the monitor display seems to be going through test patterns, which turns out to be that the monitor is trying to sync to video output which is switching on about once a second. I can ssh into the box and see that many processes that were running are no longer running, for example gnome-session... and that once per second there is a new X process invoked with a different auth-for-gem parameter, per below:
I'm getting the following error which seems quite odd. Trying to change the server to my local country's update server results in the same error (with slightly different URL). I've also disabled any extra repositories I was using.Code:W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/ReleaseUnable to find expected entry extras/source/Sources in Meta-index file (malformed Release file?When trying to upgrade to Natty I get the same error, just for the natty path:Code:W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/ReleaseUnable to find expected entry extras/source/Sources in Meta-index file (malformed Release file?)
I was trying to install a newer version of Firefox and thought I would just try to install the newer RPM for Fedora without doing anything else and this dialog message appeared. Could not do simulate: Can't install /home/kbs/Downloads/firefox-3.6.4-0.4.build6.fc13.remi.i586.rpm as no transaction
We have a server running suse 9. I had to do a reboot yesterday. the server dropped off the network, but did not reboot. It was attempting a connect, but I don't know why or to what. These are the lines that I saw on the screen:Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1) ))
I have a computer that running Ubuntu 10.04.2 LTS. Consistently after a couple hours the X desktop and GDM dies. It works fine on my other computers but this computer is an intel 2.4 GHz, 1.5 GB. This can't be duplicated by anything specific, but I know it's not out of RAM at this point. The console keyboard and mouse are inoperational, and the monitor display seems to be going through test patterns, which turns out to be that the monitor is trying to sync to video output which is switching on about once a second. I can ssh into the box and see that many processes that were running are no longer running, for example gnome-session... and that once per second there is a new X process invoked with a different auth-for-gem parameter, per below:
I am exploring the Python 3 standard library and am currently attempting to test the bin function. It converts an integer into a binary string. I believe the module I wrote is flawed somehow. Here's the source code:
Code:
#!/usr/bin/python3.1
#This module tests the bin() function.
import sys def get_input(): x = input("Enter an integer: ") def use_bin():
[code]....
As you can see, the binary form given is always 0b10111. I'm no expert on binary code (or hexadecimal notation), but surely 9000 and two would have different results?
EDIT: Added a line in the module to repeat back what integer the user entered, and then the binary form. It would appear that no matter what integer the user enters, Python thinks it's "23".
Example output:
Code:
>>> Enter an integer: 1 You entered 23 The binary form of this integer is 0b10111 >>>
I have a machine installed Red Hat Linux 8.I have installed xampp-linux-1.7.3a.tar. I've finished installing lampp start.But it still does not understand why when I use the website notice:"connection was refused when attempting to contact localhost".