Tagged Questions

Ubuntu 12.04, named "Precise Pangolin" is the current Long Term Support (LTS) release of Ubuntu Linux. LTS releases receive updates for 5 years and have available paid support from Canonical. The version number comes from the year and month of release (April of 2012).

learn more… | top users | synonyms

0
votes
1answer
55 views

How Do I Know the Memory Used by Apps [closed]

Is it possible to know the memory used by any apps running on my linux server? I'm using the following command to know how much memory used by php-fpm. ps -ylC php5-fpm --sort:rss | awk '!/RSS/ { ...
0
votes
2answers
311 views

Migrating to new dovecot server; Dovecot fails to authenticate using old password database

I am migrating my companies intranet from a OS X server to an Ubuntu 12.04 server. We use a flat file to store user names and passwords hashs. This file is used by Apache and Dovecot to authenticate ...
0
votes
1answer
190 views

Clamdscan scans file in 0 seconds

I have to run clamav on large files. I was wondering which command was the fastest between clamscan and clamdscan. But it seems that clamdscan is not working properly: it scans file larger than 1 GB. ...
1
vote
1answer
2k views

Diagnosing packet loss / high latency in Ubuntu

We have a Linux box (Ubuntu 12.04) running Nginx (1.5.2), which acts as a reverse proxy/load balancer to some Tornado and Apache hosts. The upstream servers are physically and logically close (same ...
0
votes
2answers
997 views

Extremely high mysqld CPU usage with no active queries

I have a VPS running Ubuntu 12.04 LTS with LEMP stack, followed the guide from Linode Library (since I'm using a Linode) to setup, and everything worked fine until now. I don't know what's wrong, but ...
1
vote
2answers
313 views

Is Apache 2.2.22 able to sustain 1.000 simultaneous connected clients?

For an article in a news paper, I'm benchmarking 5 different web servers (Apache2, Cherokee, Lighttpd, Monkey and Nginx). The tests made consist of measuring the execution times as well as different ...
0
votes
1answer
59 views

Postfix/Dovecot: Relay access denied

I've installed postfix and dovecot-imadp. Connecting using thunderbird works fine, but when I try to send an email I get the following error: 5.7.1 <receiver@example.com>: Relay access denied. ...
0
votes
2answers
75 views

Safely run two versions of Nginx

I'm running a webserver and streaming video server on the same ubuntu box. I have the resources on the box to handle everything and in time will probably use two boxes but I don't want the overhead of ...
0
votes
1answer
109 views

Adding Multiple Interfaces to EC2 Ubuntu 12.04

I have a m1.medium Ubuntu 12.04 instance with two ENI's. I have a VPC setup with a private and public subnet. Private: 10.50.1.0/24 Public: 10.50.101.0/24 I initiated the instance on the private ...
1
vote
1answer
818 views

How to restore pam confiugration?

I did some modifications in "/etc/pam.d/common-auth , /etc/pam.d/common-account , /etc/pam.d/common-password , /etc/pam.d/common-session" files. Is there any way to restore default pam configuration?. ...
1
vote
1answer
248 views

Ubuntu 12.04: Unable to add or delete a user named 'mysql'

I am trying to install MySql on Ubuntu 12.04 but the installation is failing with the error: "Can't change to run as user 'mysql'. Check if the user 'mysql' exits." So I go ahead type in the command ...
0
votes
1answer
81 views

Bootstrap not mounting EBS volume

I'm running the following when Bootstrapping an Ubuntu 12.04 EC2 instance: mkfs.ext4 /dev/xvdf mkdir /vol01 echo "/dev/xvdf /vol01 auto noatime 0 0" | tee –a /etc/fstab mount /vol01 It formats the ...
1
vote
2answers
7k views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
2
votes
2answers
606 views

Ubuntu upgrade process failed

I tried to dist-upgrade my ubuntu server on my percona cluster but it failed with this message The following packages have unmet dependencies: libmysqlclient18 : Depends: libmariadbclient18 (= ...
3
votes
1answer
1k views

Why does this package (ppa:ondrej/php5, it's PHP 5.5) break the apache2 installation?

Problem Currently this package (ppa:ondrej/php5) is quite popular for installing the latest version of PHP 5.5. I've worked quite much with it, and everything ran smoothy, on several (dev) servers. ...
0
votes
1answer
127 views

Digital Ocean LAMP stack z-panel installation “cannot execute binary file” on Ubuntu 12.04

Having an issue installing z-panel on a Digital Ocean VPS running Unbuntu 12.04. Specifically, when I try to execute the installer I get the following error: installer-10-1-0-ubuntu-64.sh.x: ...
0
votes
2answers
380 views

OSX 10.7 Directory Utility - Editing OpenLDAP

I am attempting to get Macs, running os 10.7.5 Lion, to authenticate using OpenLDAP running on Ubuntu 12.0.4 LTS. One of the things that I would love to be able to do is to use Apple's lovely ...
1
vote
1answer
446 views

Write hash password to LDAP when creating a new user

I am working on a project with a central user database system. One of the requirements of the system is that there should be only one set of users for all the application. FreeRADIUS and Samba are two ...
0
votes
2answers
582 views

Configure mod_wsgi WSGIScriptAlias with mod_rewrite

I want to redirect ex.com to www.ex.com but I still want www.ex.com/ to point to my app.wsgi without it showing up in the url. When I use the conf below and I go to ex.com, I get a 404 error saying ...
1
vote
2answers
107 views

DNS Lookup takes too long

I've got BIND9 DNS running on local Ubuntu machine. Used https://help.ubuntu.com/lts/serverguide/dns-configuration.html to set it up. Everything works ok, but sometimes it take awhile to load, ...
0
votes
1answer
102 views

Speed up Nginx displaying website - Time to First Byte

I have an Nginx server with a few sites on, and some sites on the server are taking quite a while longer to transfer the first byte then some others. As far as I am aware, Nginx looks through each ...
0
votes
1answer
234 views

Forcing 644 Permissions on Files with ProFTPd

We have an Ubuntu 12.04 server set up with ProFTPd for users to upload files. Each user has their own account and are jailed to their directory. Normally, everything works fine, they get 644 ...
5
votes
2answers
3k views

Ubuntu Server hanging on adding swap

A fresh install of Ubuntu Server is refusing to boot and hanging on "Adding 524284k swap on /dev/mapper/test--vg-swap_1. Priority:-1 extents:1 across:524284k I can get around this by dropping onto ...
0
votes
2answers
71 views

Apache2 SSL 'default virtualhost' does not work

I have a server with a number of virtualhosts, most of which do not have or need https:// connections, and some that do. What I want to happen is for users who accidentally type in ...
0
votes
1answer
103 views

Permission denied when setting values in sysctl on Ubuntu 12.04

I am trying to configure my Ubuntu 12.04 VPS (OpenVZ) to reboot when it runs out of memory. To do this I have added following lines to my "/etc/sysctl.conf" file. vm.panic_on_oom = 1 kernel.panic = ...
0
votes
2answers
850 views

Relay Access Denied - Postfix - Ubuntu

Been having a bit of trouble getting my Ubuntu server to relay my mail to external addresses. Here's whats currently happening: When I telnet locally to port 25 I can send email to any host just ...
0
votes
1answer
271 views

Adding a custom SSH port to Ubuntu 12.04 LTS through UFW

I am trying to configure a Ubuntu 12.04 based VPS and I have changed my ssh port from 22 to 803 and everything worked fine. After this I've installed UFW and now I can't login using SSH. Before I ...
0
votes
2answers
2k views

How to share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? [closed]

I use Windows Server 2008 R2 with Hyper-V and a guest running Ubuntu 12.04 LTS. How can I share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? UPDATE What protocols ...
0
votes
1answer
54 views

IP was blocked even allow order [closed]

I have protected my database PHPMYADMIN. I try to do like: <Directory /usr/share/phpmyadmin> DirectoryIndex index.php Options Includes ExecCGI AllowOverride None Order ...
2
votes
2answers
953 views

How to restore Linode to Vagrant VM?

I'm trying to set up a Linux development environment so I can safely make changes to my website without breaking the live site. Linode hosts my live site. A simple solution would be to host my ...
0
votes
1answer
412 views

Debugging HAProxy

I have tested / been testing a server cluster locally for quite a while with no problem. I have recently set my server cluster up for a live test, and I have noticed problems, and believe that the ...
0
votes
0answers
158 views

Remove information revealed in packet inspection

I did a security scan of my server and got the following message: This test gives some information about the remote HTTP protocol - the version used, whether HTTP Keep-Alive and HTTP pipelining are ...
0
votes
1answer
73 views

munin-node send data to more than one master?

I'm in the process of making everything on our server setups redundant, and so comes the monitoring. We have one virtual machine acting as munin master and all other virtual machines are munin nodes ...
1
vote
1answer
207 views

bind apache2 to localhost only Ubuntu 12.04.3 LTS

Trying to bind apache2 to localhost only, running Ubuntu 12.04.3 LTS on OpenVZ VPS. It fails on me (see /var/log/apache2/error.log). Default configuration is: # cat /etc/hosts fe00::0 ...
2
votes
1answer
1k views

Change and initialize Postgresql 9.3 default data and log directories on Ubuntu 12.04 LTS

On Azure with Ubuntu 12.04 LTS image, we're trying to change Postgres 9.3 default data and log file paths and also initialize them for the first time on a secondary drive /mnt/pgdata. We've starting ...
2
votes
1answer
284 views

MySQL Crashing and failing to restart

MySQL seems to be crashing, normally later in the day but I can't see why! It says out of memory but there is loads of free ram and no swap space being used. I'm using Azure. Here is the log: Oct 3 ...
0
votes
0answers
247 views

OpenVPN on Ubuntu 12.04 - unable to connect to internet

I'm trying to use OpenVPN on my Ubuntu 12.04 web server, but as soon as OpenVPN is running, I can't connect to the internet. Befor starting OpenVPN, route says: Kernel IP routing table Destination ...
1
vote
0answers
1k views

lxc container doesn't start because - lxc_conf - failed to setup the console

I use ubuntu 12.04 server with all updates I was restarted lxc container by a command in shell: "reboot" lxc version is: 1.0.0~alpha1.0+master~20130930-1830-0ubuntu1~ppa1~precise1 #uname -a Linux ...
3
votes
1answer
2k views

How do I enable gzip Compression on NGINX PageSpeed Module resources?

I have been focusing heavily on optimizing a certain website so that it scores 100 on the Google PageSpeed Insights tool (for both mobile and desktop). Most of the items are working flawlessly, but I ...
1
vote
1answer
1k views

VMWare tools not installing with an error

VMWare tools not installing on Ubuntu 12.04. I'm using Chef to manage the installation, but the Apt commands fail if run manually. I'm using the VMWare tool Debian repo. Example: $ cat ...
0
votes
2answers
127 views

Will re-installing phpmyadmin will have any effect on my Databases?

I am quiete new and somehow I crashed my phpmyadmin website, it can't be displayed without errors after changing the port of it once. So does it has any effect on my databases when I reinstall my ...
0
votes
1answer
229 views

Amazon EC2 Ubuntu Instance package installation problems

I have an amazon EC2 installation of Ubuntu Precise 12.04, 64Bit (ami-ce7b6fba) I just don't seem to be able to install anything as you would normally expect. When I run 'sudo apt-get update' I get ...
-1
votes
2answers
64 views

What's the most lightweight option to forward mail on Ubuntu 12.04?

I want to setup mail forwarding on my Ubuntu 12.04. It will be only used to forward mail to several existing custom domain Gmail accounts. What is the most lightwieght option to do this?
0
votes
1answer
37 views

How to configure DNS nameservers for Ubuntu cloud machines non-interactively?

I want to setup custom nameservers for my Ubuntu cloud instances (which have static IPs). When I try to edit /etc/resolv.conf, I see that it gets overwritten on reboot. If I try to set it in ...
0
votes
1answer
62 views

Configure FTP on Ubuntu to default to a certain directory

I am trying to configure an FTP server on my 12.04.3 LTS machine. I am hosting a website from /home/webuser/public/mywebsite.com/public. Now, I want to configure the FTP server in such a way where, ...
4
votes
4answers
1k views

12.04 preseeded install with RAID and LVM

I am trying to set up a preseed install (Ubuntu 12.04.03 64-bit) with the following partitioning recipe, but it's just not working and I'm not sure why. Please, Obi-Wan, you're my only hope. The -1 ...
0
votes
1answer
266 views

How do I “duplicate” a server?

I have a EC2 and Digital Ocean servers and I want to re-create them locally (same config files and everything). By local I mean virtual box (vagrant). I had started out by managing them with Chef but ...
0
votes
0answers
159 views

mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) … start: Job failed to start

Seems this issue is common but I cannot solve it. How do I reinstall mysql-server. Every time I try, I receive this crash message. Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ... start: ...
1
vote
0answers
96 views

How do I allow www-data to (negatively) change the niceness of a process in Linux?

So I'm running a website using django and sometimes I call scripts located on the server by spawning a subprocess in python. When looking at the processes with "top" I see these are called under the ...
1
vote
1answer
433 views

SSH doesn't work with my key for an user but works for another

Server (Ubuntu): ~/.ssh/authorized_keys file (on issue-user): just one public key on one single line. No extra lines! No comments! correct user/group owner 644 rights Local Machine (Windows 7): ...