Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms

25
votes
2answers
3k views

Can upstart handle symbolic links to config files?

I have all of my upstart config files under version control. My ideal way to use upstart is to create soft links from my version control repository (mercurial - not that it matters) into /etc/init but ...
18
votes
4answers
19k views

upstart scripts: run a task after networking goes up

I'm working on moving my current server setup to newer hardware, and migrating from ubuntu karmic koala to lucid lynx. Currently i'm using gw6c (compiled from the gogo6 website, as opposed to the ...
17
votes
4answers
11k views

How to get HTTP preseed to work correctly on Ubuntu 10.04 LTS (Lucid)?

Installation media: ubuntu-10.04-desktop-i386.iso I tried a lot of different boot parameters, but either the installer ignored the preseed configuration, or it boot itself directly as LiveCD. An ...
14
votes
2answers
13k views

Multiple “ServerName” per VHost?

In Apache2 is it possible to set multiple ServerNames in one VHost? I want to setup a "wiki" vhost for an internal wiki. My network has a ".lan" suffix. How do I get Apache to answer both "wiki" ...
13
votes
3answers
5k views

updates in amazon-ec2 ubuntu 10.04 server

I keep getting this message when I logged into my server in ec2 via ssh think this is called MOTD 43 packages can be updated. 22 updates are security updates. but I have already done sudo ...
13
votes
2answers
9k views

Configuring Jetty to accept connections from all hosts on Ubuntu Lucid

I want Jetty to serve connections from any host on port 8080. My /etc/default/jetty file has: - NO_START=0 JETTY_HOST= JETTY_PORT=8080 The server is an EC2 small instance based on a Lucid Lynx 32 ...
12
votes
1answer
36k views

Accessing a windows shared folder from Linux?

I am trying to copy a (.html) file from a Windows XP Professional shared folder onto a server running Ubuntu Linux 10.04 LTS. As it's a shared folder the usual 'wget' doesn't seem to work. I suspect ...
11
votes
3answers
30k views

Run nginx as a non-root user

I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid I got lost after the point of creating an init ...
9
votes
9answers
25k views

How to repair/restore ubuntu 10.04 after 'sudo chmod / 777'

See Also: Why is “chmod -R 777 /” destructive? I changed file permissions recursively on the root directory / by executing sudo chmod -R / 777, and after that my system won't ...
9
votes
6answers
18k views

What should mysqld.sock contain, why don't I have it?

Does anyone know why my /var/run/mysqld/mysqld.sock socket file would not be on my computer when I install (or reinstall) MySQL 5.1? Right now, when I try to start up a server with mysqld, I get ...
9
votes
5answers
932 views

How do I find the cause for a huge difference in performance between two identical Ubuntu servers?

I am running two Dell R410 servers in the same rack of a data center (behind a load balancer). Both have the same hardware configuration, run Ubuntu 10.4, have the same packages installed and run the ...
9
votes
1answer
7k views

How do I tell what is running on which ports in Ubuntu?

How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use? Thanks, Alex
9
votes
1answer
11k views

Where is php.ini-development on Ubuntu LAMP?

On my development machine I run Ubuntu 10.04.1 LTS. Following the official documentation, I used the following command to install Apache, MySQL and PHP in one go: sudo tasksel install lamp-server ...
8
votes
7answers
13k views

How can I start nginx via upstart?

Background: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" I've built nginx, and I'd like to use upstart to start it: nginx upstart script ...
8
votes
6answers
1k views

Linux I/O bottleneck with data-movers

I have a 24 core machine with 94.6GiB RAM running Ubuntu server 10.04. The box is experiencing high %iowait, unlike another server we have (4 cores) running the same types and amounts of processes. ...
8
votes
1answer
8k views

Changing MySQL data directory in Ubuntu Server 10.04

I was getting the following error when trying to change the data directory in ubuntu server 10.04. 100809 19:33:00 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld: Can't find file: ...
7
votes
6answers
10k views

apache server-status not found. check if mod_status is enabled

I've enabled the apache_ plugins on a munin node: ln -sv /usr/share/munin/plugins/apache_* /etc/munin/plugins/ After restarting the node with service munin-node restart here are the errors I'm ...
7
votes
1answer
4k views

Using Upstart to Manage AutoSSH Reverse Tunnel

I'm using upstart to manage a reverse SSH tunnel via autossh. When I do a "sudo start tunnel" the connection comes up just fine; however the command is not being automatically run when the networking ...
7
votes
2answers
3k views

How to define different stop/restart signals with upstart

I am starting to convert all of our systems to using upstart to manage our various application processes. One thing that I am constantly missing is the ability to send a different signal to the ...
7
votes
2answers
24k views

Correctly changing default locale in ubuntu server 10.04 LTS?

I got a new server but unfortunately the hoster only installs me Ubuntu 8.04 in german. So the upgrade worked smoothly, but now I am trying to change the system to english. I adapted ...
7
votes
6answers
3k views

Ubuntu not letting me download using anything but apt-get

I'm simply trying to clone a repository from github, but I think my problem spans greater than git or github. I've tried the following methods: sudo wget ...
7
votes
0answers
549 views

Exim 4.71 does not add DKIM signature to outgoing emails

I am trying to add DKIM to my domain, I have created a key, added the following to /etc/exim4/conf.d/transport/30_exim4_config_remote_smtp: dkim_domain = mydomain.com dkim_selector = mail1 ...
6
votes
3answers
8k views

apt-get through NTLM authenticated proxy

I must be missing something... I could swear I've done this before but I've torched the VM's that I was using previously. How do you get apt-get to authenticate through a proxy that only supports ...
6
votes
1answer
5k views

Postgresql 9.3 installation fails

I'm trying to install postgresql 9.3 in my ubuntu lucid machine. The problem is that I'm getting this error when running apt-get install postgresql-9.3 => apt-get install postgresql-9.3 Reading ...
6
votes
2answers
3k views

How do I enable swap file on my server?

I've followed this but when I run:- #swapon /swapfile1 I get::- swapon: /swapfile1: swapon failed: Operation not permitted The system is extremely slow with 1GB of RAM trying to run ...
6
votes
4answers
1k views

postgresql on Ubuntu 10.4 doesn't start on boot

I'm trying to have postgresql 8.4 start on boot on Ubuntu server 10.04 (64bit). First, I tried putting: su -c 'pg_ctl start -D /home/postgres -l /home/postgres/serverlog' --preserve-environment ...
6
votes
1answer
2k views

Tomcat7 PPA for Ubuntu LTS 10.04.2

Does anyone know of a ppa / repo that will install tomcat7. I know I can install from source but I'd rather if possible use a PPA/Repo. I found a nice one for sun*cough*oracle-java but there does ...
5
votes
8answers
12k views

Ubuntu 10.04 Server on Hyper-V Server R2 has sluggish install and command line

I've installed Ubuntu Server 10.04 (64 bit) on a Hyper-V Server R2. I've encountered two issues that I think are related: Very slow install Very slow command prompt The text-mode installer goes ...
5
votes
4answers
2k views

How to block all root login attempts using denyhosts and or fail2ban?

I currently block all ssh logins using root. But I wanted to go the extra mile and block the ip address of the client who tried to login as root. I currently have denyhosts and fail2ban setup and ...
5
votes
4answers
2k views

How to do an automated installation of Ubuntu on 100 Remote machines?

Help!  I desperately need some advice / help... I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration ...
5
votes
2answers
2k views

What to do with suddenly unreachable non-logging EC2 instance?

I have an EC2 "micro instance" running Canonical's Ubuntu 10.04 LTS. Has been running for 6-9 months now, infrequently rebooted (once every few weeks at the most). I just did what I thought was a ...
5
votes
2answers
438 views

Is Webmin recommended for recent releases of Ubuntu? [closed]

About Webmin, Wikipedia mentions that: "The best supported systems at the moment are Solaris, Linux (Red Hat in particular) and FreeBSD" My question is, does anyone have experience with webmin ...
5
votes
2answers
3k views

CRON: Module is unknown

I just upgraded our server to Ubuntu 10.04 and cron just stopped working. I tried to restart the server, restart cron but nothing worked for me. It just reports in /var/log/syslog: May 12 16:32:01 ...
5
votes
2answers
433 views

static web server: 32 or 64 bits?

For a webserver serving just static files (lighttpd or nginx) which is better, 32 or 64 bits? Which OS is preferable? Centos 5 or Ubuntu 10.04?
5
votes
6answers
999 views

Ubuntu 10.04 LTS - good enough to jump on it?

I'm currently planning to get a VPS from VPS.net for a PHP project. I personally haven't used CentOS (which is recommended all the time) and this is not a good time for me to start learning it, so I ...
5
votes
4answers
4k views

Setting up vsftpd, hangs on list command

I installed vsftpd and configured it. When I try to connect to the ftp server using Transmit, it manages to connect but hangs on Listing "/" Then, I get a message stating: Could not retrieve file ...
5
votes
1answer
2k views

Direct connection between multiple clients on OpenVPN

I've spent my entire day learning about VPN, and have been working with following setup: 2 VPS Servers at the same data centre in Texas. (Texas1 and Texas2), 1 VPS in England and 1 VPS in Atlanta and ...
5
votes
1answer
2k views

SNMP Extend not working

I've got a server running Postgresql 9.1 replication. I wrote a script which prints out the current replication lag (master inserts a unix timestamp every 60s, and the slave compares it to the ...
5
votes
1answer
2k views

Select locales on ubuntu 10.04 after installation

When I activate a new rackspace ubuntu 10.04 instance I keep getting these messages: perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = ...
5
votes
3answers
2k views

Moving pulseaudio out of home

We have a bunch of Ubuntu desktops with their home directories mounted as NFS shares. If an NFS connection is dropped, even for seemingly less than a second, pulseaudio loses its mind. The results ...
5
votes
3answers
1k views

Supervisord appears to be running, but monitored programs aren't launched

I've got supervisord 3.0a8 installed from the system package on ubuntu 10.04 (64bit). The supervisor service appears to be running, but it's not launching the configured programs. Interestingly ...
5
votes
4answers
2k views

IPvsadm not equally balancing on wlc scheduler

For some reason, ipvsadm does not seem to be equally balancing the connections between my real servers when using the wlc or lc schedulers. One real server gets absolutely hammered with requests while ...
4
votes
1answer
247 views

Weird stuff in in my /var/log/auth.log

I just check my logs on my deed server, I spotted some weird log in the auth.log: Jun 17 22:27:01 mutualab CRON[16249]: pam_unix(cron:session): session opened for user user by (uid=0) Jun 17 22:27:01 ...
4
votes
2answers
2k views

what is the default rate unit in wget?

When I use wget to download a large file, it gives me "56M/s". I want to know if it means 56 megabits per second or 56 megabytes per second. Thanks! Like this: 231,997,440 61.4M/s in 4.0s
4
votes
1answer
21k views

“500 Illegal PORT command” using command-line ftp [closed]

Has anyone figured out how to ftp a file down to a EC2 AMI using ubuntu on the command line? I am able to connect to ftp.drupal.org (I'm trying to dowmload a Drupal module) and then I can't even ...
4
votes
2answers
2k views

Automate proftpd-basic install on ubuntu using apt-get

I'm trying to build a shell script to automate the installation of several packages onto an Ubuntu 10.04 server, and I'm having problems with proftpd-basic. I'm using the command line apt-get -qy ...
4
votes
3answers
9k views

TIME+ column in top command is inaccurate

I just ran the top command to observe the following process chown -r me:me allMyMusic And it's been running for about 5 minutes, however the TIME+ column in the top command has reported it as ...
4
votes
5answers
6k views

Updating Dell PowerEdge firmware on Ubuntu?

The company I work for recently got hands on a batch of second hand PowerEdge SC1425 machines. We'd like to put these to good use. Our operating system of choice is Ubuntu Server 10.04 64-bit, which ...
4
votes
4answers
7k views

Haproxy mysql failover load balancing

I have setup mysql master-master replication and now I am trying to load balance mysql servers with Haproxy. Load balancer: 192.168.1.5 mysql1: 192.168.1.7 mysql2: 192.168.1.8 The below haproxy ...
4
votes
2answers
10k views

How do I upgrade the kernel in Ubuntu Server 10.04?

I'm running Ubuntu Server 10.04 LTS. When I login I see the message: 39 packages can be updated. 18 updates are security updates. The usual formula of sudo apt-get update sudo apt-get upgrade ...