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)

2
votes
1answer
4k 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
3answers
997 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, ...
0
votes
2answers
696 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
3k 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, ...
13
votes
3answers
810 views

SSH session never closes when executing “apt-get install”

Problem When running apt-get install in an non-interactive SSH session, the session never closes. Example: ssh user@target "sudo apt-get -y install my_package" The my_package does get installed ...
10
votes
6answers
10k 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 idea?...
6
votes
1answer
664 views

Slow copying between NFS/CIFS directories on same server

Please bear with me, I know it's a lot to read. This problem may be applicable to others, so it would be great to have an answer. I had to give away the bounty because it was going to expire. When I ...
6
votes
1answer
1k 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
2answers
302 views

Accidential CHMOD 755

Alright, I accidentially chomdded everything to 755, which isn't as terrible as chowning everything to the local user. How insecure is this and how would I restore it easily, without reinstalling?
4
votes
1answer
672 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
4answers
5k views

mysql my.cnf ignored

The Issue I'm trying to modify a my.cnf value on my production server but the changes aren't taking effect after a sudo service mysql restart, using an exact copy of the my.cnf (downloaded and ...
2
votes
2answers
4k 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 ...
2
votes
3answers
4k views

How to fix “Could not open a connection to your authentication agent.” error when trying to add ssh-key?

I'm using Ubuntu server 10.04. ssh-add /foo/cert.pem gave the following output: Could not open a connection to your authentication agent. These are my running processes: ps -aux | grep ssh ...
2
votes
2answers
1k views

Hibernating Ubuntu on EC2 instance?

I've got an application I'd like to move to EC2. It will likely spend more than half the day completely dormant, so I'm trying to come up with a good solution for starting and stopping it as needed. ...
2
votes
3answers
4k 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 (...
2
votes
1answer
1k 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 ...
2
votes
2answers
13k views

Can't access website or restart apache2 server [closed]

Error I'm getting when typing in: sudo /etc/init.d/apache2 restart * Restarting web server apache2 [fail] * The ...
2
votes
1answer
3k 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 ...
2
votes
3answers
3k 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, ...
1
vote
3answers
285 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
276 views

Creating new users using PHP not recognized by Apache 2.4

I have a server setup where new linux users are created using (PHP) shell_exec ( '/usr/sbin/useradd ' . $username ); exec ('usermod -a -G ' . $username . ' '. $username); #add user into the usergroup ...
1
vote
2answers
3k 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
3k views

Cant find my harddrives in ubuntu installation?

I was trying to setup a Microserver with two 1TB harddrives as a software RAID. Somehow it didnt work and now ubuntu 14.04 is not starting. My problem is that I dont see the drives anymore when I go ...
1
vote
1answer
467 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 ...
1
vote
1answer
108 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 ...
0
votes
1answer
1k views

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean?

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean? It is not defined in Ubuntu Community Docs or on man 1 locale. Related question: In Ubuntu, what is the difference ...
0
votes
2answers
679 views

mysql data loss after server crash

After the server restarted due to a power cut, we lost all data saved in the database during the morning (client records created in the website). A few minutes before the crash, I was able to see such ...
0
votes
2answers
1k views

Run shell script from Apache conf or at Apache (re)start

I have a complex web application that contains a lot of dynamic Aliases. I created a shellscript that updates the .conf file(s) with these aliases. Is it possible to call this shellscript from within ...
0
votes
1answer
2k views

file system is going into read only mode frequently

My server file system is going into read only mode frequently. If I reboot my system, It is performing a fsck operation on disks. But, It is exited with exit status 4 ( File system errors left ...
0
votes
1answer
3k views

Temporary Lookup Failure - Postfix/Dovecot

Alrighty... So here's what's going on. I can sign in with Outlook to my Mail Server, but when I go to send an email, I get this error. Using SquirrelMail, I don't get any errors, sending works fine. ...
0
votes
1answer
2k views

LDAP dying for unknown reasons

We're using LDAP as a backend user database for our drupal sites (drupal reads from/and writes to it). LDAP has been running fine for weeks but for some reason it justs stopped running today. I was ...
-2
votes
2answers
3k views

How to configure nagios realtime SMS alert

I have configured nagios SMS alert and it takes around one minute to send notification. I want to get SMS notification withing one/two second(s) after system/service failure. I could not find any way ...
-4
votes
1answer
111 views

KNow nothing about ssl , how to setup apache to run with ssl? [closed]

I have an ubuntu server with apache installed i run a game on the server and want to integrate it to facebook but it is required to be through HTTPS :s how can i move the game to run on https ? i ...
-5
votes
2answers
502 views

Portscan attacks from somewhere

I realize this is a lamer/beginner question, but I've been attacked by a couple of addresses in China and I'm not sure how to close the hole. My snort logs (yes I'm using snort! I see you are ...
55
votes
3answers
20k views

What are the functional differences between .profile .bash_profile and .bashrc

What are the functional differences between the .profile, .bash_profile and .bashrc files?
28
votes
6answers
76k views

Improving TCP performance over a gigabit network with lots of connections and high traffic of small packets

I’m trying to improve my TCP throughput over a “gigabit network with lots of connections and high traffic of small packets”. My server OS is Ubuntu 11.10 Server 64bit. There are about 50.000 (and ...
33
votes
5answers
25k views

gpg not enough entropy!

SO I've got a ton of processes running in the background to try and get enough entropy but I am still failing. **We need to generate a lot of random bytes. It is a good idea to perform some other ...
32
votes
7answers
99k views

How can I edit the welcome message when ssh start?

I have a vps for my website hosting. It is running a ubuntu server. Every time I logged in my server by ssh, it displays a lengthy welcome message in my terminal. Linux node61.buyvm.net 2.6.18-...
16
votes
1answer
26k views
67
votes
11answers
71k views

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

I keep getting this warning when I (re)start Apache. * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ...
51
votes
1answer
22k views

How do I ask apt-get to skip any interactive post-install configuration steps?

I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages ...
27
votes
9answers
11k views

Are configuration management tools (Puppet, Chef) capable of keeping installed packages up to date?

This is probably a simple question for those of you already running configuration management tools. Are configuration management tools such as Puppet or Chef the right approach for keeping installed ...
17
votes
6answers
6k views

Updating production Ubuntu boxes the dos and don'ts

Every so often I login to production web/db/tools boxes and see the typical message: 30 packages can be updated. 16 updates are security updates. My question is, how do all of you handle updates on ...
58
votes
5answers
19k views

How does Ubuntu keep track of the “System restart required” flag in motd?

I have a few Ubuntu servers (8.10, 9.10) that is set to automatically install security updates. Some times these updates requires a restart of the system, and this string is shown in motd: *** System ...
22
votes
4answers
26k views

Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host

I'm running into a problem with my Docker containers on Ubuntu 14.04 LTS. Docker worked fine for two days, and then suddenly I lost all network connectivity inside my containers. The error output ...
12
votes
3answers
73k views

How do I cleanly remove apache2 server on ubuntu server and then reinstall?

I am having some wierd issues with Apache2 server on my ubuntu server. I believe some configuration files may have been tampered with. What is the easiest way to remove apache2 completely from my ...
37
votes
3answers
38k views

list all packages from a repository in ubuntu / debian

is there a command to see what packages are available from a certain ppa repository?
28
votes
4answers
26k views

Testing whether jumbo frames are actually working

Is there a command to test whether jumbo frames are actually working? i.e. some sort of "ping" that reports whether or not the packet was broken up along the way. I've an ESXi host with an Ubuntu VM ...
24
votes
3answers
165k views

How to properly set permissions for NFS folder? Permission denied on mounting end.

I'm trying to connect to an NFS folder on my dev server. The owner of the folder on the dev server is darren and group darren. When I export and mount it to my Mac using the Disk Utility it mounts, ...
8
votes
2answers
18k views

How To Tune Apache on Ubuntu 14.04 Server

Currently on my Apache 2 (Apache 2.4.7 to be exact) on Ubuntu 14.04, I have this setting: /etc/apache2/mods-enabled/mpm_prefork.conf <IfModule mpm_prefork_module> StartServers ...