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)

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
3answers
6k 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 ...
2
votes
2answers
316 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 ...
2
votes
1answer
1k views

disable .recycle feature for samba shares

I had a pretty big scare when my company file server filled up. after tacking down the source I discovered that there is a .recycle folder that keeps ALL the files ever deleted (which is also ...
1
vote
1answer
2k 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
947 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
711 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
1answer
628 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
481 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
213 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
126 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
591 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
709 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 ...
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
3answers
15k 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
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
18k 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
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
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 ...
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
1answer
65 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
1k 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
664 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
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
163 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
102 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 ...
1
vote
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
1
vote
3answers
279 views

How to give user permissions on ubuntu server?

i have an ubuntu server and i give hosting to some users and i use the next command to create users and their ftp accounts: sudo adduser nameofthepage This command creates a directory with the name ...
1
vote
1answer
3k views

massive packet loss when servers are brought online

This is a continuation of ubuntu server, ssh, write failed: broken pipe . I'm starting a new question, because I don't believe the issue is isolated to ssh/ubuntu. I've got two brand new servers ...
1
vote
2answers
392 views

Anyone burned by MySQL 5.5RC on production server?

I've been thinking to upgrade to MySQL 5.5 on our Ubuntu production server. As it's a RC already and we don't stress our server too much, I don't expect any problems. However, it would be good to ...
1
vote
2answers
664 views

Is there an application to monitor bandwidth usage broken out to the application level for Linux (Ubuntu)?

I'm currently running Ubuntu on several machines and I need to track bandwidth usage per application. Is there a pre-built package or system that will track bandwidth usage and report on that usage ...
0
votes
1answer
33 views

mySQL issue at installation

I have great trouble with mySQL installation. The error message in log (/var/log/debug) is: Nov 20 11:17:41 gotfarm1 /etc/init.d/mysql[11880]: 0 processes alive and '/usr/bin/mysqladmin ...
0
votes
2answers
61 views

Issue with multiple virtual hosts on dedicated server. 2nd VH won't respond, 1st one does

I've got two virtual hosts setup and enabled using a2ensite. It's Ubuntu Server 14.04.1 LTS, Apache2, etc. So there's two config files in /etc/apache2/sites-available and their respective symlinks ...
0
votes
2answers
133 views

Why can't I send/receive emails from AWS Ubuntu using Postfix?

I'm trying to send/receive emails on my AWS Ubuntu box. To do so, I'm following the instructions posted by Amazon here. (I skipped the section entitled "To configure integration using a secure ...
0
votes
0answers
89 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): $ ...
0
votes
1answer
233 views

Linux commands shows different results

I'm really having a hard time to process these results on my Ubuntu server. I have a major problem with my JBoss server where I get FileNotFoundExceptions along with "No space left on device" errors ...
0
votes
1answer
206 views

Why don't mails show up in the recipient's mailspool?

I have postfix dovecot running with local email system on thunderbird. I have two users on by ubuntu, mailuser 1 and mailuser 2 whom i added to thunderbird. Everything went fine, except the users dont ...
0
votes
2answers
69 views

How does a hosting company change a file on a vserver without logging in?

In my virtual server, ssh is not on port 22, I don't allow login with passwords, and I don't allow root logins. Recently, the server was not responding. My hosting company told me that my Apache ...
0
votes
2answers
205 views

Partition keeps filling up, don't know why

My partition /dev/sda1 keeps filling up. Besides the "/" directory, I cannot tell what directories are even on this partition in order to search for files to delete. I was able to get it down to 97% ...