ubuntu

I need a message/queuing solution for my web-based system

Hi, I am looking for a message/queuing solution for my web based system running on Ubuntu. The system was built on the following technologies: Javascript (Extjs framework) - Frontend PHP Python (Daemon service which interacts with the encryption device) Python pyserial - (Serial port interactions) MySQL Linux - Ccu...

How can you change the path where Hugs98 (Haskell) looks for Module and Libraries?

I have installed Ubuntu as a virtual machine so I could use Hugs98. However, after installing I realised I couldn't use Data.Char and Data.Ratio modules. I had to load them manually with :load /usr/lib/etc . It seems this happens because the modules are not in the place where they should be. Can anyone please tell me how I can change the...

How to Ensure file copy integrity in Ubuntu

In Ubuntu if a file /A/largefile.foo is moved via 'cp' or 'mv' to /B/largefile.foo, how can I ensure that the entire file is written before attempting to move the file a second time to /C/largefile.foo? Case: 1. An remote automated Script X begins an rsync to destination folder A of a very large file. 2. A cron job on the local machin...

Running a python script for django via cron

I have a python script that connects to an external host, fetches some data, and populates a Django database with the data. The python script that populates the database uses these lines to setup the django environment: path = os.path.normpath(os.path.join(os.getcwd(), '..')) sys.path.append(path) from django.core.management import setu...

console logs of red5 on ubuntu running as a service

Hi, I have a java based tomcat server(Red5) which is running as a service(/etc/init.d/red5) in Ubuntu. I am not able to find the console(java system out) logs. Is there a default place for ubuntu console logs. Any help is greatly appreciated. thank you firemonk ...

Svn error, can update code, but cannot commit due to 403 forbidden error

I can update code correctly, but cannot commit code. I get the following error when i try to commit code: svn: Commit failed (details follow): svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for '/site/!svn/act/080632f7-e62d-4987-96ce-88852bf86f46' svn: Your commit message was left in a tempora...

How can I install Jekyll on Ubuntu 10.04 Server?

The definitive guide to installing Jekyll seems to be http://wiki.github.com/mojombo/jekyll/install where it says: gem install jekyll I am getting an ERROR: could not find gem jekyll locally or in a repository regardless of whether I run that command as superuser or not. gem env Returns the following: RubyGems Environment: - RU...

Suitable platform for developing browser based database application (reporting) with SQL Server?

I need to develop a dynamic web page retrieve data from a stored procedure on a SQL Server. Considering the licensing issue, development resources, security and maintainability, can someone suggest a suitable platform for this project? I have a Ubuntu server running Drupal and also a Windows Server 2003 running SQL Server 2000 and IIS ...

Boost Python (Suse and Ubuntu)

Hi, I created a simple .so library containing definition of a C++ class which should be accessed from Python and used for this purpose boost python library. When I'm testing this library using x64 Ubuntu it is enough to set LD_LIBRARY_PATH with the path to boost libs before running python. It doesn't work, however, when I'm using x64 Sus...

Having problem with certain keyboard characters on ubuntu installed on a laptop

I am using ubuntu on my Toshiba laptop. It installed fine, the only problem I am having is that certain key on my keyboards are not appearing, e.g., when I type forward slash I get -, when I press + I get ¡, when I press is equal to I get ¡, could you please let me know how can I fix this problem, ...

QDBus problem: getting org.freedesktop.DBus.Error.UnknownMethod, but method exists

I'm programming C++ on Ubuntu, using QDBus and I've got the following code snippet: this->m_cRemoteInterface = new QDBusInterface("org.my.service", "/data", "org.freedesktop.DBus.Properties.Get"); QDBusReply<uint64_t> cResult = m_cRemoteInterface->call("property1"); The code throws the following error: org.freedesktop.DBus.Erro...

sqlite3-ruby install error on Ubuntu

I have the following error during sqlite3-ruby install: Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sql...

Sqlite undefined reference to `sqlite3_open' error in Netbeans C++ on Ubuntu, Integrating SQLite into Netbeans C++ Ubuntu

Hi! I am trying to use Sqlite in my Netbeans C++ and following the tutorial here http://www.dreamincode.net/forums/topic/122300-sqlite-in-c/ When i build it,its giving me undefined reference to `sqlite3_open' and the other sqlite3 functions. I included the sqlite3.h too. What am i missing here? When i added the linker to static libr...

Where Postgres database files are saved in ubuntu?

How can I find where Postgres 8.x database files are saved in Ubuntu 10.04 file system? ...

GConf Problem gconftool --spawn doesn't work

Last time I started to having problem with gconftools, I'm using Ubuntu Server Edition 10.04 LTS When I make command gconftools-2 --spawn I've gor an error: Failed to spawn the configuration server (gconfd): Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ...

update python modules

How can I update all python modules I have installed on ubuntu? ...

Can I install Ruby on Rails 2.x and Ruby on Rails 3 side by side

Hi, I have a Ubuntu rails enviroment for playing around with ROR. Right now I am running Rails 2.3.8. I want to look into rails 3. Is it possible to run both dev enviroments side-by-side? If not, how do I clean up my rails 2.x system to install rails 3? Or do I need to setup a whole new Ubuntu machine? Any help, links... pointers wou...

MySQL table recovery from crashed server

I managed to wipe a server by mistake but PhotoRec was kind enough to recover the .frm and .myi files from the hard drive. I now have a desktop set up with the same version of MySQL to recover the data but my question is: what do I do? I have about 160 of these files. I haven't yet reinstalled the server in case I need anything else. Al...

Issue of running spring samples

Hi all, This is the second time I ask question about this issue,last time when I tried to run mvc-ajax project,I got error :can't find c.tld file. Then I remove jsp-api.jar,it works. But now I am running spring sample petclinic, the same issue here: org.apache.jasper.JasperException: /WEB-INF/jsp/welcome.jsp(1,1) Unable to read TLD "ME...

Getting permission denied for logging in tomcat.

I have a log4j.properties file as part of my application. #Updated at Thu Apr 01 14:30:43 GST 2010 #Thu Apr 01 14:30:43 GST 2010 log4j.rootLogger=INFO, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n log4j.appender.stdout.layout=org.apache.log4j.Pat...