ubuntu

rspec falling apart... possibly a ubuntu stability issue .. ruby corrupted

hey all ive got a really interesting set of problems im learning some new development techniques ... ruby on rails :D so ive run this code numerous times: spec spec/ as you can see from the code: these are back-to-back runs via terminal of "spec spec/" http://pastie.org/1020719 returning different results... i was told that softw...

Ubuntu: Android device debug

Hey, I have a HTC Desire which i would like to debug and run my Android application on. But when i in Eclipse gets the Window where i can choose between devices my HTC Desire is listed with only questionmarks (????????). What am i doing wrong? I have tried this: Enabled USB Debugging on my device and enabled debugging in my applicatio...

shebang line not working in R script

I have the following script #!/usr/bin/Rscript print ("shebang works") in a file called shebang.r. When I run it from command line using Rscript it works $ Rscript shebang.r but when I run it from the command line alone $ shebang.r It doesn't work. shebang.r command not found. If I type (based on other examples I've seen) $ ....

set up speed tracer with ubuntu 9

Hi there, I am having a small issue in setting up speed tracer with ubuntu. any help (document/hints...) will be appreciated. ...

Delayed Jobs leaking memory?

I'm using collectiveidea's delayed_job with my Ruby on Rails app (v2.3.8), and running about 40 background jobs with it on an 8GB RAM Slicehost machine (Ubuntu 10.04 LTS, Apache 2). Let's say I ssh into my server with no workers running. When I do free -m, I'm see I'm generally using about 1GB of RAM out of 8. Then after starting the w...

Why do I have to use absolute path to execute bash scripts?

OK I have a bash script on my desktop called highest if I run: cd ~/Desktop highest I get: Command not found But if I run: ~/Desktop/highest It executes just fine. But why do I still need to use the absolute path when my command line is in the correct directory? I am guessing this has something to do with the $PATH variable? Lik...

MySQL only returns { first row } from the result of query !

I've used my server for testing PHP & MySQL Applications long time ago. Suddenly, When i try to execute any query on the any table in any database, i get only the first row in the result of the query ! I checked the configuration file, and didn't see anything strange there. OS: Linux / Ubuntu 10.04 64bit Server Edition, Web Server: Ap...

postfix problem sending email "RCPT reject localhost not listed"

i am hacing a hard time getting postfix to send emails. this is the mail.log entry: Jun 30 18:27:46 vm21 postfix/smtpd[15682]: warning: ::1: address not listed for hostname localhost Jun 30 18:27:46 vm21 postfix/smtpd[15682]: connect from unknown[::1] Jun 30 18:27:46 vm21 postfix/smtpd[15682]: NOQUEUE: reject: RCPT from unknown[::1]:...

Program just filled up my memory and started filling up swap in Xubuntu

Is there a way to find out what process or what is filling up the memory? I just wrote a program that seems to fill it up rather quickly and not release it afterwards. Thanks in advance! ...

How do I install and build against OpenSSL 1.0.0 on Ubuntu?

You can consider this a follow-up question to How do I install the OpenSSL C++ library on Ubuntu? I'm trying to build some code on Ubuntu 10.04 LTS that requires OpenSSL 1.0.0. Ubuntu 10.04 LTS comes with OpenSSL 0.9.8k: $ openssl version OpenSSL 0.9.8k 25 Mar 2009 So after running sudo apt-get install libssl-dev and building, runni...

Running R on Ubuntu Netbook need help with size of graphical device

Hi All, I'm having small problem with the size of the graphical device when running R on ubuntu netbook. Netbook's screen size is relatively small (1024 x 576), so when I create a chart in R say simply plot(sin) The graph is bigger than my screen size. I have to manually resize it. Solution posted on ubuntu forum doesn't work for s...

Equivalent asm code for C/C++ codes

Possible Duplicate: How do you get assembler output from C/C++ source in gcc? Hello out there! I have a C and C++ source code that I wanted to see in assembly code. How can I produce an equivalent asm codes for those? What tools should I use? Or is it already possible in using tools such as the gcc compiler? Then what command...

How can I dump symbols in .la file on Ubuntu Linux?

How can I dump symbols in .la file on Ubuntu Linux? I get this linking error: main.c:(.text+0xbfb): undefined reference to `Browser_new' And I think my main.c is linking against libwebkit-1.0.la. So how can I find out if libwebkit-1.0.la has the symbol 'Browser_new'? CXXLD libwebkit-1.0.la CCLD Programs/GtkLauncher ...

getting Ip address given by vmware to machine instance of ubuntu server

Hi I am having a vm image of an ubuntu server. Vmware is setup and it shows the login screen and allows me to login. Now I want to get the ip address that the vmware gave to this machine instance. I tried ifcong -a but it doent show any ip address other than 127.0.0.1. Am i doing it correctly or missing something? Kindly help. thanks...

Where should a Java web application store its data?

My Java web application (myapp.war) ist deployed by placing it into the webapps direcotry on Tomcat on Ubuntu 10.04. This application needs to save some data in files. But the user, which is running Tomcat (tomcat6) has no write access to the home directory /usr/share/tomcat6/ and no write access to the current working direcotry /var/li...

Why won't my Ubuntu server install Rails 2.3.8?

I have an older Ubuntu server with a Rails app running on version 2.3.5 that I'd like to move to version 2.3.8. The server doesn't seem to know that there is an update available, no matter how many times I run a "gem update" or "gem update --system" or "update_rubygems" root@server:~# gem install rails -v 2.3.8 ERROR: could not find ge...

Using virtualbox internal network with guest OS Ubuntu

I want to use virtualbox internal network with two Ubuntu guest OSes, but I can't connect to internal network. I tried do it with two Windows guest OSes it worked very well. ...

How to install Flash Builder 4 or a Flash Builder plugin on Eclipse in Ubuntu 10.04 ?

I want to install Flash Builder 4 or a Flash Builder plugin on Eclipse in Ubuntu. There are two methods I know to achieve it. 1. Use fb4linux. 2. Use wine and follow these steps http://diariolinux.com/2009/06/22/how-to-install-flash-builder-on-linux/ Second method gave me errors while installing. First method is good and installs...

Permission to manipulate files in Hudson workspace

Hi I am having trouble working with the Hudson workspace. I am using fabric to manipulate source files on the Hudson CI server. By default, the source files are downloaded from subversion server to workspace folder, with "hudson" as the owner. On the ubuntu machine that runs Hudson CI, I cannot run the "cp" command on a source file even...

Sharing a repository on a dual-boot between Ubuntu and Windows 7?

Hi, I just recently set my computer up to dual-boot Windows 7 and Ubuntu. I added a shared partition for music, pictures etc... I was wondering, is it feasible to have a code repository that is shared on the common partition? ie when I'm running Windows, I can control/update it and also the same while in Ubuntu. Is a particular reposit...