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)

6
votes
2answers
2k views

Where does Ubuntu store partition UUIDs on disk?

Exactly what part of the disk is a UUID stored on? MBR? Somewhere within the partition? Is it a calculated value, or randomly generated and recorded?
6
votes
2answers
14k views

L2TP client for Ubuntu

It's easy enough to get a pptp client going on a Ubuntu 9.04 (Jaunty) desktop: sudo apt-get install network-manager-pptp However, I can't seem to find documentation find a corresponding L2TP ...
5
votes
2answers
13k views

Expand disk space on Ubuntu 10.04 (VMWare Guest)

I need to resize the disk space of an ubuntu guest in VMWare Workstation. After using the expand disk utility in vmware workstation, I need to do some linux magic to resize the parition. I have ...
5
votes
4answers
3k views

ubuntu - how can I avoid typing a password on every admin action?

I just set-up ubuntu 9.10 on my computer, and I'm trying to figure out how to avoid typing a password on every action that requires sudo privileges. I just want to type a password once on login and ...
5
votes
5answers
15k views

ubuntu: let a user run a script with root permissions

I have ubuntu 8.04 and I want to write a bash script that runs as root which every user can run. I myself can do sudo. How do I do that? CLARIFICATION: I don't want to do it with sudo, because then ...
4
votes
1answer
3k views

ZFS on Linux/Ubuntu: Help importing a zpool after Ubuntu upgrade from 13.04 to 13.10, device IDs have changed

I have updated Ubuntu from version 13.04 to version 13.10, only to discover that the SATA disks IDs have changed, and my ZFS pool now fails. On new Ubuntu 13.10 the disk IDs are now ata-* instead of ...
4
votes
2answers
2k views

Recompile NGINX with “--with-http_stub_status_module” configure line

I've installed NGINX with sudo apt-get install nginx and now I'd like to recompile it with the configure option --with-http_stub_status_module. How can I do this, and is there a way I can not loose ...
4
votes
2answers
1k views

How to setup PXE boot server in CentOS

I am working on researching a project for work and thought that I would ask for your advice. I am trying to find out how to setup a PXE boot server within CentOS that would allow us to PXE boot a ...
3
votes
4answers
11k views

vsFTPd default uploaded file permissions on Ubuntu not working

I have a Server running Ubuntu 12.10 x64, and the last version of vsFTPd. My user example.com has its home folder set on /var/www/example.com, I created a public_html folder inside and gave 777 ...
3
votes
1answer
3k views

How to create UDP proxy using iptables

I have a server running UDP server on port 50000. This server receives updates from clients, and pings back the clients every 5 seconds to the socket they were connected from. Now I want to redirect ...
3
votes
4answers
2k views

Cannot access javascript folder

I signed up and setup a small ubuntu VPS slice during the week and everything is going great so far, except one small problem. I have two virtual hosts setup but cannot access the javascript folder ...
3
votes
3answers
3k views

Comprehensive guide to init.d scripts?

I'm looking for good resources to learn more about how to write/debug/maintain init.d scripts on Ubuntu. Do you have any links or books to recommend ?
2
votes
2answers
352 views

Restrict User Access to Certain Ports

This question is purely hypothetical. Is it possible to restrict which ports certain users may use for their processes? Say users1 gets ports 8000-8999 and user2 gets ports 9000-9999. I am running ...
1
vote
1answer
3k views

ive got dkim=neutral (bad version) header.i with gmail and dkim=fail (unknown key type) with yahoo

I'm having external ip and ubuntu server with exim4.71 and bind9. I'm trying to set valid dkim entry to send mail for gmail Here are my configuration files: bind9: _domainkey.example.com. IN ...
1
vote
1answer
1k views

stunnel: SSL-to-SSL? (for smtp/imap)

How can I configure stunnel to accpet SSL connections, and connect then to an SSL port on a different server? Here is my setup: Our ISP's server, "Mail Server", supports smtp/imap over SSL. (Not ...
1
vote
3answers
961 views

Two NICs, one server

I have two NICs on a fresh install of Ubuntu 10.04 LTS. Both are config'd be dhcp. Both cards are on the same lan with same gateway. everything about the cards is the same except the IPs they get, ...
1
vote
3answers
3k views

(How) can I use syslog to diagnose mysterious crashes?

I run a LAMP stack on Ubuntu server. Twice today it has ground to a halt and required a hard reboot. Prior to this it had been stable for many months. It has been about a fortnight since the last ...
1
vote
1answer
395 views

Ubuntu server 9.10 freezes up after ~10 minutes - unconventional

There is a topic by essentially the same name, but my answer leads to another question which I would like answered so... My case is as follows: I connect through SSH to my server... no problems for ...
1
vote
5answers
730 views

Encrypted file system on Ubuntu cloud server

Hi We have a cloud server (AWS) running Ubuntu 8.04. All the employees (around 15 people) in the company have system accounts in the server and all are sudoers. We want to provide a way for all the ...
0
votes
4answers
656 views

Ubuntu installation can't detect hard drives

I'm installing Ubuntu onto a HP Proliant DL360 G7 server, which has a hardware Smart Array RAID controller that is not compatible with Ubuntu. HP say the RAID controller needs to be disabled in the ...
0
votes
1answer
680 views

mod_vhost_alias VirtualDocumentRoot many domains

I'm sure I'm not the first person to encounter this problem, but I cannot, for the life of me, find an answer - although that could be down to not knowing what to search. I have the need to host many ...
0
votes
1answer
486 views

adding DKIM signature to email where dkim=pass

I am building a e-mailing app and I am using Amazon SES API to send emails and long with that I am adding the DKIM signature to the email which are being sent. Presently the app is in the testing ...
0
votes
1answer
220 views

Amazon Instance Hung Up (Any Hope?)

I have very, very few users. I was scrapping some data today but that's usually not a problem. I've attached a screenshot of my instance stats. Everything has normalized and the instance is still ...
0
votes
2answers
127 views

Apache local verses external (domain)

I have an Apache server running on Ubuntu server 10, using Passenger for Ruby on Rails. I have configured my site under the sites-enabled directory of Apache and can hit the server with an internal ...
0
votes
2answers
618 views

Running NFS with iptables, change firewall?

I have a number of web servers on which I've set up iptables as the firewall, this is working great. However, I also have a dedicated file server running NFS and I need to firewall this machine as ...
-1
votes
1answer
2k views

set up single directory ftp access for customer on Ubuntu

I have a user who like to use the our Bitnami AWS ec2 instance to store podcasts. Up to this point they have been using http://www.lemonzdream.com/podcastmaker/ with MobileMe. Now that MM is dead, ...
10
votes
6answers
9k views

SSD for swap on Ubuntu server

Currently I am reading SSD reviews and I wonder how much exactly I will benefit if I move the 24 GB swap from 7200rpm HDD to SSD. Does anyone implemented swap space on SSD? Is this generally good ...
7
votes
1answer
3k views

limits.conf setting doesn't 'stick'

Trying to get the equivalent of ulimit -n 20000 on a high load web server, however the /etc/security/limits.conf on ubuntu hardy doesn't seem to stick. here is what I set in the config file. root ...
5
votes
1answer
769 views

Running some benchmarks using ab, and tomcat starts to really slow down

I'm running some benchmarks using apache bench for a java app that is running on tomcat. Say I run a test like: ab -c 10 -n 10000 http://localhost:8080/hello/world It will run just fine. If I ...
4
votes
5answers
2k views

What is the cause of this kernel panic?

I've just set up a PXE boot server on Ubuntu 14 - running kernel 3.13.0-30-generic - as it is described here https://help.ubuntu.com/community/DisklessUbuntuHowto on Supermicro X9DRFF hardware. I ...
4
votes
3answers
17k views

ssh client problem: Connection reset by peer [closed]

I'm having a really annoying problem on my Ubuntu laptop. I noticed it today, after upgrading to Ubuntu 11.04, although I'm not entirely sure this is the cause as I played with my ssh keys a few days ...
3
votes
1answer
171 views

Random SSH entries in Auth.log out of date order [duplicate]

Running an Ubuntu Trusty 14.04.1 LTS server at Rackspace but recently after running updates for bash, then with the reboots for the xen host vulnerability, I have the following weird issue. Some ...
3
votes
1answer
3k views

Unrar-free doesn't work

So this is the error i'm getting ubuntu@ip-my-ip:~/mt2$ unrar-free -x -p smon.rar Password: unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers Extracting from ...
3
votes
6answers
2k views

why ps aux is stuck?

I wonder on my staging server, whenever I run ps aux, it'll stuck. It outputs a list of process and stop responding. I checked there is enough RAM (1GB). When I run the top command, it looks ok to ...
3
votes
2answers
6k views

How to downgrade a certain ubuntu 10.04 package (php) back to karmic

I've updated from 9.10 to 10.04 but unfortunately the PHP provided with 10.04 is not yet supported by zend optimizer. As far as I understand I need to somehow replace the PHP 5.3 package provided ...
3
votes
1answer
19k views

How to conform to update-rc.d with LSB standard?

This is a migrated question from stackoverflow, as I was told, this is the place for it to be. http://stackoverflow.com/questions/2263567/how-to-conform-to-update-rc-d-with-lsb-standard I have set ...
3
votes
3answers
1k views

Open mysql only to localhost and a particular address

My config: ubuntu server 9 and msyql 5 my.cnf = bind-address = 0.0.0.0 my iptables script = iptables -A INPUT -i eth0 -s 99.88.77.66 -p tcp --destination-port 3306 -j ACCEPT I can connect from ...
2
votes
3answers
1k views

Why is SSHD hanging at “Server accepts key”

I've been ssh'ing to this box without problem for a year using public-key authentication. No changes have been made to the client or server's ssh config. Now, ssh connections never complete or fail, ...
2
votes
3answers
4k views

getting error “SIOCADDRT: File exists” when trying to restart network on ubuntu

Error/stdout /etc/init.d/networking restart * Reconfiguring network interfaces... SIOCADDRT: File exists Failed to bring up eth0. ...done. netstat -nr Kernel IP routing table Destination ...
2
votes
2answers
3k views

.htaccess allow from hostname?

Ubuntu 9.10 Apache2 Hi Guys, Long story short, I need to restrict access to a certain part of my web site based on a dynamic IP source address that changes every now and then. Historically, I've ...
1
vote
0answers
205 views

How can I make daemontools run a simple service without manually calling supervise?

Based on various start guides on the web, the sequence of steps I'm using to go from no daemontools installed to having a simple service running automatically is the following (on Ubuntu 14.04): $ ...
1
vote
1answer
75 views

PPTPD VPN only forward DNS requests?

Is there any possible way of configuring a PPTPD VPN server to only forward DNS requests on so that I can save bandwidth? Thanks, Francis
1
vote
1answer
2k views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
1
vote
1answer
846 views

How to configure Python Script to run as a daemon

I have a couple webservers sitting behind a loadbalancer, and i found "watcher.py" here: https://github.com/splitbrain/Watcher I chose this script for several reasons: recursive through folders, lots ...
1
vote
1answer
764 views

Ubuntu server: hard drive always full

I have a 50GB vps when I run df I get Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 49982172 46580100 863064 99% / none 507212 ...
1
vote
2answers
2k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
1
vote
2answers
167 views

How to create a new user and exempt the user of key authentication?

1 I have configured Ubuntu server with Key authentication & it is working fine. I have disabled password authentication for key authentication to work. Server is always accessed via remote ...
1
vote
2answers
106 views

What rights does /vol/www have on ubuntu web server?

We are deploying our rails app on a ubuntu 10.04 server. When cap deploy:setup, there is a error saying that: * executing "mkdir -p /vol/www/myapp /vol/www/myapp/releases /vol/www/myapp/shared ...
1
vote
4answers
3k views

problem dhcp3-server ubuntu server 11.04

I installed dhcp3-server in ubuntu server 11.04 apt-get install dhcp3-server However, an error message during installation: Traitement des actions différées (« triggers ») pour « man-db »... ...
1
vote
1answer
107 views

Ubuntu: mailserver + database

I want a mailserver on Ubuntu that saves e-mail in the database and uses users in the database to let them login into the POP server and SMTP server. There are also different domains. How can I do ...