Questions tagged [ubuntu-12.04]

Ubuntu 12.04, named "Precise Pangolin" was a Long Term Support (LTS) release of Ubuntu Linux that has reached End of Life in April 2017. Extended maintenance stopped in April 2019.

Ubuntu 12.04, named "Precise Pangolin" is a former 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).

1024 questions
9
votes
2 answers

GlusterFS is failing to mount on boot

I'm running the official GlusterFS 3.5 packages on an Ubuntu 12.04 box that is acting as both, client and server, and everything seems to be working fine, except mounting the GlusterFS volumes at boot time. This is what I see in the log…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
9
votes
1 answer

TCP packet being retransmitted 7 times when sysctl tcp_retries1 is set to 3 - why?

Ubuntu 12.04 I am trying to better understand how many times TCP will attempt to retransmit a packet when it does not receive confirmation the destination received it. After reading the tcp man page it seemed clear this is controlled by the sysctl…
HodB
  • 93
  • 1
  • 5
9
votes
1 answer

Is It key_buffer or key_buffer_size?

I search the internet regarding the correct variable in my.cnf file. Some said that key_buffer_size is deprecated, but some said that key_buffer_size is the correct variable in my.cnf. So, what is really the correct variable here? Is it key_buffer…
jaYPabs
  • 299
  • 1
  • 4
  • 20
9
votes
2 answers

How to get USB Devices to AutoMount in Ubuntu 12.04 Server

In Ubuntu 12.04 Desktop, USB devices can be plugged in, and they just work for the most part. In Ubuntu 12.04 Server, when I plug in a USB device it does nothing. How can I setup server do act like desktop when it comes to adding USB devices such as…
LonnieBest
  • 1,510
  • 4
  • 22
  • 39
9
votes
1 answer

bash tab completion only works for root

I set up an Ubuntu 12 server (on rackspace cloud using their preconfigured image) and created a non-root user. When I log in as the standard user, pressing [TAB] at the terminal outputs an actual tab and pressing [UP] outputs ^[[A . If I log in as…
hackerhasid
  • 309
  • 1
  • 4
  • 9
9
votes
5 answers

Ubuntu 12.04 LDAP SSL self-signed cert not accepted

I'm working with Ubuntu 12.04, using OpenLDAP server. I've followed the instructions on the Ubuntu help pages and can happily connect without security. To test my connection, I'm using ldapsearch the command looks like: ldapsearch -xv -H…
MaddHacker
  • 306
  • 1
  • 3
  • 9
8
votes
5 answers

Should I enable automatic security updates on a Ubuntu server?

I can't seem to find an agreed answer on this anywhere, so I figured I'd ask it myself. I have five Ubuntu servers running either 12.04 or 14.04, should I enable automatic security updates on these using unattended-upgrades? Or should I just run…
user229653
8
votes
2 answers

Storing duplicate files efficiently on linux

I host a lot of websites and our system makes it easy to duplicate items in these sites which is handy, but leads to lots of duplicated (and potentially quite large) files. I was wondering if these is any mechanism in linux (specifically Ubuntu)…
Brendon Muir
  • 243
  • 1
  • 6
8
votes
1 answer

Getting AWStats to work in Ubuntu 12.04

I'm new to apache and i'm trying to set up AWStats on my ubuntu 12.04 server. I've followed the guide at Ubuntu docs. I set it up according to the instructions and awstats is able to generate initial stats from apache log successfully. I placed the…
koogee
  • 181
  • 1
  • 4
8
votes
3 answers

Mysterious error with php5-fpm

I'm having a very difficult case with latest php5-fpm (from debphp) and nginx 1.4.3 on Ubtuntu 12.04LTS. In short, I cannot start php5-fp at all, I keep getting this error in syslog: kernel: [1213013.564441] init: php5-fpm main process (7357)…
mr1031011
  • 215
  • 1
  • 3
  • 8
8
votes
1 answer

iotop and iostat disagree

I'm trying to understand what's going on with my server's disks. It's running Ubuntu 12.04LTS and I'm used to using iostat to know when the disk is the bottleneck. But iostat -xd looks to me like the disk is pretty idle: Linux 3.2.0-41-generic…
Leopd
  • 1,757
  • 4
  • 24
  • 30
8
votes
7 answers

Restarting MongoDB automatically if it crashes

I am running MongoDB on an Ubuntu server. It's using an upstart script to start mongod when the machine boots. I noticed that if the process crashes, it doesn't get restarted. How can I make sure that if it crashes, the mongod process is restarted?
Flavien
  • 367
  • 1
  • 2
  • 8
8
votes
2 answers

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 via VirtualBox frontend. I then set up the…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
8
votes
1 answer

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 manually delete: error.log.1 error.log.2.gz --->…
Bob Flemming
  • 1,245
  • 3
  • 14
  • 17
8
votes
3 answers

Not able to install Gearman on Ubuntu 12.04

I am trying to install Gearman on my Ubuntu 12.04 machine by following command sudo apt-get install gearman-job-server libgearman-dev sudo apt-get install php-pear php5-dev Above commands run properly but when I run sudo pecl install gearman it…
PankajK
  • 213
  • 2
  • 7