ubuntu

Symfony app not sending mails (mails not being delivered)

I am running Symfony 1.3.2 on Ubuntu 9.10 I have set up a test action to send an email to my self. The action is executed allright, and there are no errors, however the mail never arrives. I have tried the same action for this website, on an XP machine, and the mail gets delivered correctly. I have set up my php.ini correctly (i.e. as ...

Detect workstation/System Screen Lock using Python(ubuntu)

Is there anyway that we can detect when the system/screen gets locked and notify some event to trigger in Ubuntu ? ...

Code a timer in a python GUI in TKinter

I need to code a program with GUI in python (I'm thinking of using TKinter, 'cause it's easy, but I'm open to suggestions). My major problem is that I don't know how to code a timer (like a clock... like 00:00:00,00 hh:mm:ss,00 ) I need it to update it self (that's what I don't know how to do) ...

Ubuntu System Tray in Python

How do I put a program in the system tray (I don't think it's called like that in Linux) in python TKINTER for UBUNTU 9.04. ...

Connection Refused running multiple environments on Selenium Grid 1.04 via Ubuntu 9.04

Hello, I'm writing a selenium grid test suite which is going to be run on a series of different machines. I wrote most of it on my macbook but have recently transfered it over to my work machine, which is running ubuntu 9.04. That's actually my first experience with a linux machine, so I may be missing something very simple (I have disab...

Why would memcached refuse to store data with some keys ?

Hello, I use the memcache extension for python, and I have a very strange problem. Memcached refuses to store the exact same data with some keys, and succeeds in caching some others. >>> import memcache >>> conn = memcache.Client('121.0.0.1:11211', debug=0) >>> conn.set('138b9c95d693760840aab85ee5591d2', 'test'); True >>> conn.set('138...

Compiling LAMP from source - apache2 error "no MPM package installed"

Hi, I've compiled LAMP from source on a Ubuntu VPS. I had to remove a previously installed version of Apache then I manually compiled all the packages, which seems to have worked up unto a point - when I try to run commands like "/etc/init.d/apache2 restart" I get the following error - No apache MPM package installed. I have deliberately...

a sufficient way to show logs in a graphical interface using whiptail in bash

hello I'm trying to represent log files via the whiptail's infobox. The only setback is that I don't want to scroll down through hundreds of log lines. Is there a way to make the scroll bar go to the end of the box automatically? Thanks for the help. ...

Benchmark Test Software Running on Windows and Linux/Ubuntu

Just wondering if there is any benchmark software that I can download that will run on both Windows (preferable Windows 7) and Linux (Ubuntu 9.10)? I have a brand new system and I'd like to run some standardized benchmarks with Ubuntu and also with Windows 7. The Passmark Performance test only runs under Windows. ...

Best way to use multiple ssh private keys on one client

Hi guys, I'm working on Ubuntu and want to use multiple private keys to connect to different servers or different portions of the same server (My uses are admin of server, admin of git, and normal git usage within the same server). I tried simply stacking the keys in the id_rsa files to no avail. Apparently the way to do this is use t...

Subversion commands not being run by Ubuntu rc.local

Here is my rc.local for an autoscaling amazon ec2 instance based on ubuntu: (Note that user names, domains, and paths have been changed for security purposes) logger "Begin rc.local startup script:" logger "svn checkout" sudo -u nonRootUser /usr/bin/svn co svn+ssh://[email protected]/path/to/repo /var/www/html | logger logger "chown ...

Why does Rails with Passenger/nginx only works in development mode? No logs available

Hey folks, I have a serious problem with one of our webservers... after having an internal alpha-testing with a mongrel/haproxy-cluster that worked well, we wanted to use nginx with passenger for our first production server (customers will access this server). However, I can only run the rails app via development mode with passenger/ng...

Ruby gems gone after after jruby install

Today I installed jruby by downloading it, extracting it to /home/james/jruby-1.4.0 and adding the following line to .bashrc export JRUBY_HOME=/home/james/jruby-1.4.0 export PATH=$JRUBY_HOME/bin:$PATH And then I installed some jruby gems via jruby -S gem install ... Jruby works fine, but this seemed to have cause two problems: 1) W...

Tomcat 6 configuration example for Ubuntu Linux?

I'm very new to Tomcat and I'm having some issues figuring out how to set it up. I set it up on Ubuntu Linux and started reading and trying to follow the information given on the apache website here: http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html Apparently I'm missing something. I have a WAR named MyWebapp.war and it's i...

Opening port 80 with Java application on Ubuntu

What I need to do is running a Java application which is a RESTful service server side writtern by Restlet. And this service will be called by another app running on Google App Engine. Because of the restriction of GAE, every http call is limited to port 80 and 443 (http and https) with HttpUrlConnection class. As a result, I have to de...

apache mod_proxy_html on Ubuntu ProxyHTMLEnable not working

I'm trying to use mod_proxy_html on Ubuntu which I installed from apt-get. The module is loading properly and all ProxyHTML* directives work except for the one that matters the most. When I do "ProxyHTMLEnable on" in my apache2.conf or vhost conf files, apache complains that it's an invalid directive and I must have misspelled it. Is ...

Nexus One Android Debugging in Ubuntu 9.10

I can't get Ubuntu 9.10 to recognize the Nexus One as a debug device. I tried following the instructions found here but they are not working: http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10 Anyone know of a link or know how to get the Nexus One to debug correctly in Ubuntu 9.10? ...

bash_completion not working, source command not found.

I recently inherited a Ubuntu Hardy box that acts rather funky out-of-the-box. The first things I tried to do was edit my .bashrc profile to do some coloring and add some aliases I usually have, but then when I try to source the ~/.bashrc I get sh: source: not found and I have also noticed tabbed autocomplete is also not working at all -...

Programming with USB Missile Launcher under Linux

Hey! Just got today these ones: http://www.pearl.de/a-PE5858-1413.shtml I want to start programming with these, but I can't find anything usable. I'm using Ubuntu Jaunty 9.04. The Problem is that I couldn't find much samples and modules etc. for my modell. ...

Can't access log files in production.

I was trying to run my application and check for some output on the production.log. However Ruby on Rails throws this error. Apache log Rails Error: Unable to access log file. Please ensure that /var/www/somefolder/someapp/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDER...