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

2
votes
1answer
431 views

No buffer space available and tuning with sysctl

Not really a network guy so please bear with me. I'm currently hosting a web application that sends UDP to all IP addresses in it's subnet periodically. That's 2048 IPs. My problem is it throws No ...
1
vote
1answer
55 views

Unable to login applications using LDAP alias

We have several applications and we are able to integrate LDAP successfully. In application we have given base dn as ou=People,dc=geo,dc=com and the user dn: uid=geo_pc,ou=People,dc=geo,dc=com can ...
1
vote
2answers
308 views

Is there any reason to use fail2ban with SSH password logins disabled?

I am setting up an Ubuntu server hosted by Linode. I am stepping through their security guide and they recommend installing fail2ban after disabling password based SSH logins. I don't see the point ...
0
votes
1answer
635 views

Ubuntu 12.04 strange locale behavior

I'm running Ubuntu 12.04 with Vagrant. And I'm having hard time understanding what's wrong with locales on my system. When I login to my box via ssh $ vagrant ssh and try to run something locale ...
1
vote
0answers
50 views

Restrict users to certain applications only

We are using many applications like zabbix, phabricator, AC etc. We need to integrate LDAP in all these applications. These application support LDAP but not group based authentication. Please let us ...
0
votes
2answers
50 views

How to boot copied partition

I have just ghosted an Ubuntu (12.04) instance from a 200GB HD to a 1TB HD. The ghosted instance has two mounted storage partitions both of about 100GB each and I have the following partition table: ...
3
votes
1answer
298 views

GlusterFS Mount Keeps Disconnecting Randomly

We are using GlusterFS to provide a distributed file system on 2 web servers which use a shared media directory and cache. So i have created 2 gluster volumes (media and var) and have mounted these in ...
0
votes
1answer
84 views

Run fail2ban without banning

It is possible to run fail2ban in some kind of "simulation mode" so it does not ban but log somewhere who it would have ban? Running fail2ban on Ubuntu 12.04. Thanks
0
votes
2answers
394 views

How to run a shell script on my amazon instance when it bootsup?

I have my amazon instance, i need to add a shell script to its rc.local file so that the shell script executes when i boot my instance. how to set permission to my shell script in rc.local file? if i ...
0
votes
1answer
43 views

How to configure ubuntu server with LDAP group based authentication

By installing libnss-ldap we are able to integrate an Ubuntu server with ldap (openldap). But we are unable to configure ldap group based authentication. We need to configure in such a way that user ...
0
votes
0answers
175 views

SSH won't work after associating Elastic IP on Amazon Ubuntu 12.04 32 bit micro instance

This morning my EC2 and elastic IP were working fine. All of a sudden, all hell broke loose and my EC2 won't access through my elastic IP anymore. When I did a ssh -vvv I get debug1: Connecting ...
0
votes
1answer
143 views

Ubuntu 12.04 AMD64 vs. i386 servers on AWS EC2 [closed]

Are there any important (e.g. performance) differences between AMD64 and i386 AMIs on AWS - assuming both have EBS-backed storage? Can also assume micro instances in a US availability zone. Are the ...
1
vote
1answer
2k views

Invalid system activity (sysstat) file on Ubuntu server

I'm periodically getting this message from the daily cron on my server. (I don't get this message every day.) /etc/cron.daily/sysstat: Invalid system activity file: /var/log/sysstat//sa28 Here's ...
0
votes
0answers
71 views

Cant connect to mysql server

I'm trying to configure a freshly installed mysql server to listen on port 3306. I've removed skip_networking, I have changed bind-address=172.20.33.1 (which is my server ip) and it completely ...
0
votes
1answer
250 views

libcurl Reporting Different Version Between Commands

I previously had cURL 7.22.0 on Ubuntu 12.04 Server.. but I now need to upgrade to cURL 7.30.0. I've done the following to compile this version for Ubuntu: wget ...
0
votes
1answer
210 views

OpenVZ - Ubuntu 12.04 unable to enter

I've setup an Ubuntu 12.04 on OpenVZ, it's been created and appears to start up fine. When I try to enter the OS it just hangs. I've ran ps aux with the exec and it returns: USER PID %CPU %MEM ...
6
votes
0answers
3k views

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu/Debian? [closed]

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu Create a directory to download necessary packages (optional) : mkdir pagespeed && cd pagespeed Make sure that you have latest version ...
1
vote
0answers
47 views

Cache LDAP users from Server 2008 to Ubuntu

Is there a way to cache user creds from a Windows Server 2008 to a Ubuntu server? We have 2 internal Active Directory servers on Windows Server 2008 and we have many different applications that use ...
0
votes
1answer
217 views

Sane permissions for webroot using Apache-MPM-ITK

I've installed apache2-mpm-itk on a new VPS to run multiple sites on the same server with isolation following the directions here: http://www.webtatic.com/packages/httpd-itk/. I want to lock it down ...
0
votes
1answer
264 views

Organizing Chef resources and extending cookbooks: Apache2 package + Compiled PHP

I'm trying to understand how to organize my Chef kitchen and extend the functionality of Opscode community cookbooks. Disclaimer: n00b. PLANNED STACK Ubuntu 12.04.2 Apache2 (package) PHP 5.4.13 ...
2
votes
2answers
2k views

Used vgextend/lvextend to add addtional 8GB space but it is not reflected in df output

I have created an instance of ubuntu VM in VirtualBox. At the beginning I have only allocated 7GB for the storage and the VM has now run out of space. First I added another 8GB (/dev/sdb) to the VM ...
0
votes
0answers
214 views

RoundCube mail redirects to itself all https requests

All requests to https://example.com end up being redirected to RoundCube login page. I want https to work the same way as regular protocol does, and to use the same URLs. Setup: Ubuntu 12.10 with ...
0
votes
2answers
3k views

How do I change www-data home directory from /var/www to /home/www-data?

I'm setting up a private Ubuntu web server. In my company I'm used to a deployment where the home folder of www-data is in /home/www-data, but on my plain Ubuntu installation it is in /var/www. Now ...
0
votes
0answers
130 views

Postfix + Dovecot wont send outgoing mails (only sending to local mails works)

As the title says do i face problems with my postfix configuration since i cant get it to send mails out from the server. Im running Ubuntu LTS 12.04 on a cloud server. all the mails i try to send ...
0
votes
1answer
233 views

HP DL380 G3 and Ubuntu

I have bought a HP Proliant DL380 G3 and am attempting to install Ubuntu Server 12.04 LTS. My server's got two Ultra320 SCSI HDDs but in the Ubuntu installation process, the OS fails to recognize ...
1
vote
1answer
824 views

SSL Error 107 - Apache2 SSL config

I'm trying to configure a new web server to host a website/php application. All web traffic to this server is supposed to be through https. I've read numerous tutorials as well as the Apache docs and ...
0
votes
1answer
272 views

The system cannot log you on now because the domain is not available

I am using two virtualbox machines, one running XUbuntu 12.4 LTs and the other running a Windows XP as a testbed for implementing a Samba-based domain. The Linux machine is my PDC and the XP machine ...
1
vote
1answer
121 views

mongodb mystery crashes with sigkill under strace

I have a mongodb instance that seems to crash roughly once a day. I don't see any useful information in the mongo log file. All is well and then the process is just crashed with no additional ...
0
votes
1answer
89 views

Apt-get hangs at first repo

When I perform an apt-get upgrade or apt-get update, I notice that it can take almost a minute when connecting to a repo. For example, when doing a aot-get upgrade, it will be stuck for about a ...
0
votes
1answer
191 views

Can't get opendkim to work on Ubuntu

I just set up my first mail server on Ubuntu 12.04 LEMP server with Postfix and Dovecot using this guide, and it may have been the happiest day of my life to send an email to my Gmail account. The ...
0
votes
1answer
626 views

nginx not listening to port 80

I've just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symlink at sites-enabled. Then restarted nginx. Problem: ...
1
vote
0answers
132 views

Mounting /var/www for File recovery

I'm in the process of recovering my server's files in a "Rescue" mode. Its a Ubuntu 12.04 with 2x3TB in RAID1. The instructions were to SSH into the server in "Rescue" mode, mount the partitions, ...
1
vote
1answer
116 views

Ubuntu Upstart Job to Persist tcp_slot_table_entries Before NFS Mount

NOTE: I'm aware of the question Persistent changes to /proc/sys/sunrpc/tcp_slot_table_entries and while this older question is quite similar, the selected and proposed answers do not work for us, nor ...
0
votes
1answer
1k views

Setting up SSL: Recompiling Apache with mod_ssl

I've got an old machine running Ubuntu 12.04 32bit in my office to host our internal wiki and bugzilla sites. We're also testing our new php app with it and I'm trying to get SSL working with a self ...
-1
votes
2answers
1k views

PostgreSQL server failed to start: request for a shared memory segment exceeded your kernel's SHMMAX parameter

I increased PostgreSQL's shared buffer (among other settings) to 4096M and now PostgreSQL fails to start, giving the error message below. Should I change the kernel's SHMMAX parameter to 4096M? The ...
0
votes
1answer
373 views

collectd stores NaN instead of correct value in ubuntu 12.04

I installed collectd using sudo apt-get install collectd on my ubuntu 12.04, but it just collect NaN values in the rrd files. for example for file named memory-used.rrd this is the values it saved. ...
0
votes
1answer
181 views

How to lockdown a Ubuntu 12.04 web server [duplicate]

All my servers have just been hacked and now I'm ready to start locking down my web servers. They are currently running Ubuntu 12.04 with nginx 1.27 php5-fpm php 5.4.14 mysql 5.5 postgresql 9.1 ...
2
votes
2answers
683 views

How do I protect my Wordpress/Apache website from a brute-force botnet attack?

There's something (a botnet?) that is apparently attacking my Wordpress site. I see lots of entries like this in the Apache access logs, several per second: 46.105.113.8 - - [14/Apr/2013:22:57:18 ...
1
vote
1answer
157 views

Upgrade Ubuntu Kernel from command line

I am running Ubuntu 10.04 on my server. It has Ubuntu kernel 2.6.X running on it. I was trying to update my kernel yesterday. For that I had run the following commands sudo do-release-upgrade -c ...
0
votes
2answers
597 views

Best way to recover mysql from a “chmod -R 777 /” with databases intact

Question: What is the best way to recover mysql (or worst case: migrate away) from a "chmod -R 777 /" with databases intact? System: Ubuntu 12.04 LTS MySQL 5.5.24 64 bit Amazon EC2 cloud server. ...
0
votes
0answers
37 views

shutdown temporary specific database

I have a wordpress installation on my VPS and it uses too much RAM. Is there a way to temporary shutdown this wp, so it wont make use of the database it is connected to and earn that additional ram ...
1
vote
2answers
127 views

rsync --exclude not excluding

I'm using rsync on an Ubuntu 12.04 LTS server with the following script to back up all of /, however, whenever I run the script (as root), the directory /backup is included, when it should be ...
0
votes
0answers
301 views

Error attempting to join a windows xp to a samba domain

I have installed SAMBA and LDAP on XUBUNTU and they work normlly but when I try to join a windows xp machine it fails. I have already added the workstation using smbldap-useradd and the worksation ...
0
votes
1answer
109 views

Adding disks to and resizing a LVM

I'm managing a virtual cloud server on EC2 for a client which has the requirement of expandable storage. Currently, I have a 1TB EBS drive mounted at /mnt which I need to expand. Since 1TB is the ...
0
votes
1answer
1k views

How can I automatically delete old apache error log files?

My /var/log/apache2 folder is getting out of hand. It has loads of old compressed error.log files that I want to get rid of before my server runs out of space and explodes. Firstly - Is it safe to ...
0
votes
1answer
940 views

Slaptest for slapd.conf fails due to an invalid path

I have just installed Openldap on Xubuntu. The slapd daemon is working and I can easily stop and start it. Nevertheless when I run a test for the configuration file slapd.conf as follows: slapdtest ...
0
votes
1answer
169 views

Enabling DSA key authentification for SFTP while still keeping password login as optional (Ubuntu 12.04)

I have a server running Ubuntu 12.04 Server. I want to be able to use SFTP on the command line with a DSA key, so I don't have to type the password into the terminal. Is this possible to do on the ...
0
votes
1answer
2k views

No voice while making external calls - NAT configuration - Asterisk 1.8.13

As we were trying to setup our Asterisk server, we went on a huge problem: The inability to make call to or from external devices connected to the server. In fact, I can dial and answer the call on ...
1
vote
1answer
512 views

I can SSH but can't SFTP

I am dumfounded at this issue. Brand new Ubuntu 12.04 Server install, I can SSH in, but can't use SFTP (Using Filezilla). It seems to authenticate fine .. But then it errors: The error is: Error: ...
0
votes
1answer
54 views

Heartbeat with two machines each different network

I am able to configure the heartbeat for two machines at same network. Properly set&configure ha.conf and haresources. I would like to know how I can establish same configuration for two machines ...