ubuntu

Why can't I get Apache's CustomLog directive to work?

I'm trying to use Apache's CustomLog directive to create some custom log files, but can't get it working. Here is the configuration I'm using for the custom logs: LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/apache2/jb_common common CustomLog /var...

Trying to set up Apache+svn, but having troubles. http://localhost doesn't work

I'm running Ubuntu 8.10 and I've installed the necessary packages as fast as I can tell. Under System > Administration > Services I see "Webserver (Apache2)" on the list. Googling around suggested that there might be a problem with the /etc/hosts file not having a line reading "127.0.0.1 localhost", but I checked the file and it's ther...

Amazon EC2 - Which Ubuntu server to choose: 32bit or 64bit?

I'm in the process of selecting an AMI for my website on the Amazon EC2 network. It seems like the Ubuntu instances come in either 32 or 64 bit flavors. Presumably the 64 bit systems give you more memory address space, which is good. However, I'm wondering if it is a problem finding pre-compiled binaries. Am I better off sticking wit...

libstdc++.a is missing

Hello, I'm working on a Ubuntu 8.04 / 32 bit (as virtual machine). While performing some makes on a project that is not min, I get the error: g++: /usr/lib/libstdc++.a: No such file or directory What should I do? the gcc package is installed through synaptic, what do i miss? Thanks, Lucian ...

Mounting mysql volume to new machine - Not working!

I'm using Amazon EC2 and am switching from one server instance to another. My original instance has an EBS volume (e.g. hard drive) with the mysql data on it. I want to attach that volume to my new server instance. To originally create the volume I executed the following: apt-get update && apt-get upgrade -y apt-get install -y xfspr...

How to include "port" package under CLISP in Ubuntu

I'm trying to follow this tutorial: http://cl-cookbook.sourceforge.net/sockets.html And I cannot get it working because of the port package. First the "(in-package :port)" did not work, it said the package could not be found. So I changed it to "(clc:clc-require :port)" but this causes another error: "INTERN("STRUCTURE-KCONSTRUCTOR"): ...

Ubuntu Linux, what programming languages should I learn?

I am a windows OS users for couple of years. I want to try Ubuntu Linux. I have couple of questions I would like to ask here: Is Linux a good OS for learning programming languages? What programming languages should I learn in Linux? Should I stick to Windows OS or change to Linux OS if I want to be a great programmer in future? Some ...

AWK - My regexp won't respect case.

I'm running Ubuntu 8.04 and my code looks like this... for (i=1;i<=n;i++) { if (arr[i] ~ /^[A-Z]{2,4}$/) printf(arr[i]) } I quickly discovered that the {n} expression won't work in gawk without the --posix switch. Once enabled the expression works but it is case-insenitive matching AAAA and aaaa. What is going on here? ...

How to solve TPTP Monitor error ( IWAT0435E ) in Eclipse, on Debian-based Linux?

After installing Test & Performance Tools Platform in Eclipse Ganymede on, whenever I tried to profile a Java application, I was confronted by the launch configuration dialogue which contained an error along the lines of: Error IWAT0435E could not connect to host How is this problem fixed? ...

Creating new exception in C++

Hello, I have a c++ class and I am trying to run it in ubuntu: #ifndef WRONGPARAMETEREXCEPTION_H_ #define WRONGPARAMETEREXCEPTION_H_ #include <iostream> #include <exception> #include <string> using namespace std; #pragma once class WrongParameterException: public exception { public: WrongParameterException(char...

what is the equivalent of the following jdk path in slicehost ubuntu?

I got to setup the following two variables: export LD_LIBRARY_PATH=/usr/java/jdk1.6.0/jre/lib/i386/:/usr/java/jdk1.6.0/jre/lib/i386/client/:./ export JAVA_HOME=/usr/java/jdk1.6.0/ Since, the above is for the version of jdk installed via SunJDK, what could be the equivalent path for the openjdk-6-jdk package! My OpenJDK is installed at...

How can I have two instances of rhythmbox running or how to program rhythmbox to start playing at previous position in a mp3 file?

I like to alternate between listening to internet radio and other things e.g. a podcast, but don't like to lose my place in the podcast file. And oddly, sometimes in the process of fast forwarding in an audio file, rhythmbox just quits. Or instead of having two instances of rhythmbox, would I be able to write a program so that it can au...

Why does PostgreSQL run on Ubuntu after install without using initdb ?

I am curious as to why you don't have to use initdb as per the postgresql manual prior to running psql the first time? (I have installed version 8.3 on 8.04.1) Red Hat requires -c postgresql start but not init.db. However, on FreeBSD you have to run initdb. Why isn't setup consistent? Does it come down to a difference between apt-ge...

Vanishing Ruby Gems

I'm using Ubuntu 8.10 and I installed Ruby and Ruby on Rails following the directions on this site. The exact directions I followed are no longer there as it appears the rubyonrails.org wiki has changed recently. But I installed it the long way. Installed Ruby, then Gems, then installed Rails using "gem install rails". I haven't really m...

Will I be able to successfully run this Ubuntu (linux) setup in Virtualbox?

Have 4 DVI output. Seems I hopefully will have driver support on this. Details are sketchy online about supporting 4 outputs, but seems possible. My question is from the Linux group and Virtualbox pros.... Will the seamless method of VirtualBox allow me to use all 3 of my monitors for multiscreen. I'd like to stick with Ubuntu and run ...

How do I run two isolated instances of firefox?

For testing purposes, I want to install two different instances of firefox on ubuntu - so that they don't share cookies. (I want to simultaneously login with both instances as different users to our website). How do I do that? I do it with Firefox & Opera, but I prefer Firefox (because of firebug). ...

Any ideas why this NFS setup won't work?

I set up an NFS server on my CentOS box with this for the /etc/exports file: /var/www 192.168.0.0/24(rw,sync,no_root_squash) Then on my Ubuntu machine, I ran: # cd ~/ root@bill-murray:~# mount -v 192.168.0.21:/var/www ash mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Thu Mar 5 13:27:59 2...

OpenGL/SDL problem in Ubuntu

I have a C-code which I have not managed to run http://dl.getdropbox.com/u/175564/problem-sdl.png The problem is in OpenGL or SDL. I do not have SDL.h at /usr/local/SDL/SDL.h, so gcc cannot find it. I have SDL.h installed by MacPorts at /opt/local/include/SDL/SDL.h. I tried to copy it to /Masi/local/SDL/SDL.h unsuccessfully at the fol...

High latency using brctl, eventual timeout.

When using brctl, my latency on the notebook that is doing the bridging becomes horribly slow. Eventually, I cannot get the notebook to connect to anything, even the routers admin panel, or pinging the router. The scenario is I have an 802.11b router upstairs, an 802.11b card in my notebook, and an eth port in my notebook. I am setting ...

Can a clickonce app be published on Ubuntu

Hello, C# 2008 SP1 I have built an application and this is published on windows server using clickonce. The clients go to the url and can download and run the application. The client is now changing their servers to run Ubuntu. Can a clickonce application be published on a server running Ubuntu. The version of Ubuntu is 8.10. Many th...