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 (2)

22
votes
2answers
2k 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 ...
14
votes
4answers
8k 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
4answers
15k 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 ...
13
votes
2answers
7k 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 ...
9
votes
8answers
18k 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
5answers
651 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
23k 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 ...
8
votes
7answers
11k 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
924 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
2answers
17k 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 ...
8
votes
1answer
5k 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
5answers
10k 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 ...
7
votes
2answers
3k 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 ...
7
votes
1answer
3k 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
1answer
8k 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 ...
7
votes
1answer
22k 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 ...
6
votes
3answers
7k 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
2answers
2k 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 ...
6
votes
6answers
2k 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 ...
6
votes
4answers
780 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 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
410 views

Is Webmin recommended for recent releases of Ubuntu?

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
6answers
996 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
3k 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
1k 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

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
2answers
1k 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
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 ...
5
votes
3answers
622 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 ...
4
votes
1answer
225 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
6k 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" ...
4
votes
2answers
1k 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
5answers
5k 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
1answer
3k 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
4
votes
2answers
9k 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 ...
4
votes
4answers
5k 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
4answers
7k 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 ...
4
votes
2answers
2k views

Ubuntu Upstart Error

I'm running Ubuntu 10.04 LTS and attempting to run services via start,stop, status and I get the corresponding error below. I've googled around but everything is like 2-3 years old and unanswered. ...
4
votes
1answer
2k 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 ...
4
votes
1answer
6k views

“500 Illegal PORT command” using command-line ftp

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

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 ...
4
votes
2answers
231 views

Mongodb ubdate on Ubuntu 10.04 LTS

I installed MongoDB on live VPS to write logs. The server is running on Ubuntu 10.04 LTS and Mongodb version is 2.0.3. I want to upgrade to latest version (2.0.5) but I want to upgrade only MongoDB. I ...
4
votes
2answers
1k 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 ...
4
votes
2answers
408 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?
4
votes
2answers
3k views

How do I redirect the kernel console output on Ubuntu 10.04

When I reboot my Ubuntu 10.04 nodes, I'd like to be able to see the kernel boot messages when connecting to the IPMI interfaces using Serial Over LAN mode (ttyS0). What do I need to do to be able to ...
4
votes
2answers
3k views

Can you use variables when editing /etc/environment in ubuntu 10.04?

I'm trying to introduce a variable and add it to the global path in ubuntu 10.04. According to the official docs, /etc/environment is the right place. Here's what my example looks like: ...
4
votes
1answer
2k views

Sendmail process failed with error code 67

Everything was worked fine but someday sendmail stop working on me. I'am trying the following command line: echo "Body text" | mail -s "Some subject" example@somemail.com And got: ...