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...
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...
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...
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
...
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...
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"): ...
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 ...
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?
...
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?
...
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...
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...
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...
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...
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...
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 ...
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).
...
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...
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...
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 ...
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...