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
150
votes
9 answers

Monday morning mistake: sudo rm -rf --no-preserve-root /

Please note: The answers and comments to this question contains content from another, similar question that has received a lot of attention from outside media but turned out to be hoax question in some kind of viral marketing scheme. As we don't…
Jonas Bylov
  • 1,613
  • 3
  • 11
  • 5
59
votes
5 answers

Correct way to move kvm vm

I'm wondering what is the correct way of moving a VM between two KVM hosts without using any kind of shared storage Would copying the disk files and the XML dump from the source KVM machine to the destination one suffice? If so, what commands need…
Onitlikesonic
  • 1,201
  • 5
  • 17
  • 24
52
votes
3 answers

Do I need to restart my server after editing fstab and mtab?

I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report. I am using ISPConfig 3 with the help of the tutorial from howtoforge. But due to…
jaypabs
  • 823
  • 2
  • 10
  • 15
45
votes
4 answers

What is the ibdata1 file in my /var/lib/mysql directory?

Logging in to my Webmin control panel, I noticed that virtually all of my disk space is full. I searched for the ten largest files/ directories on my system and found that a file called ibdata1 is taking up around 94GB of space. It resides in my…
James
  • 623
  • 2
  • 6
  • 13
38
votes
3 answers

How to reset Ubuntu 12.04 iptables to default without locking oneself out?

Could anyone kindly provide the commands to completely reset the iptables (firewall) for Ubuntu 12.04 to its default "factory" setting? From what I understand, doing this wrong would cause one to be locked out of the linux box?
Honey Badger
  • 829
  • 3
  • 11
  • 15
36
votes
1 answer

NameVirtualHost has no effect

What do you think would be solution to my problem? user@admin:~$ sudo service apache2 restart sudo: unable to resolve host admin * Restarting web server apache2 AH00548: NameVirtualHost has no effect…
alex
  • 361
  • 1
  • 3
  • 3
31
votes
5 answers

Remove IP with ip command in linux

If I add two IPs like this: ip addr add 1.1.1.1/24 dev eth2 ip addr add 1.1.1.2/24 dev eth2 and then I try to delete one of like this: ip addr del 1.1.1.2/24 dev eth2 BOTH IPs will be deleted and I don't know how to handle it. Any one knows how to…
Hamed JML
  • 443
  • 2
  • 5
  • 10
29
votes
2 answers

How to automate changed config files during apt-get upgrade in Ubuntu 12

I like to use "knife cloudstack server create ..." to build a new VM. My bootstrap template starts off with an "apt-get update" and "apt-get -y upgrade". The upgrade then halts with: 10.190.113.11 Configuration file `/etc/nscd.conf' 10.190.113.11 …
Mojo
  • 955
  • 2
  • 9
  • 24
28
votes
1 answer

php-mysqlnd or php-mysql

Long story short: just installed Ubuntu 12.04 (Debian based), nginx, php-fpm and mysql. Now I need the MySQL driver for PHP, but which should I choose? Which is better php-mysqlnd or php-mysql?
Thomas Jensen
  • 517
  • 2
  • 5
  • 9
25
votes
3 answers

psql: fe_sendauth: no password supplied

I have an up and running PostgreSQL database. Now I would like to automate some operations on my database but I have a problem with the password. I am using the following bash script: #!/bin/bash export PGPASSWORD="postgres" sudo -u postgres psql -d…
alibaba
  • 427
  • 2
  • 6
  • 14
25
votes
2 answers

Why does snmp fail to use its own MIBs?

I've done a fresh install of Ubuntu 12.04LTS, and installed the snmpd and snmp packages. If I type: snmpwalk -m ALL -v2c -c public localhost 1.3 I get swathes of errors, of the form: Cannot adopt OID in SQUID-MIB: cacheClients ::= {…
fadedbee
  • 2,068
  • 5
  • 24
  • 36
20
votes
5 answers

Is it usually safe to run "apt-get upgrade" (in terms of stability) on a production server?

I often log into my Ubuntu 12.04.2 server (with Postgres 9.2.4 running with live production data) and see something akin to: 4 packages can be updated. 4 updates are security updates. This happens about every few days, of course. I'm not interested…
orokusaki
  • 2,763
  • 4
  • 32
  • 43
20
votes
6 answers

Find out what high CPU usage apache process is actually doing?

Currently having a few issues with our server where, intermittently, we seem to get apache processes which just run and run, taking up 100% CPU. When running top, we see the following: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ …
BT643
  • 551
  • 3
  • 9
  • 21
19
votes
1 answer

Why isn't my upstart service listed in service --status-all

I created a bunch of upstart jobs for my services that I'm running on an Ubuntu 12.04. I can successfully start them and stop with with: service my_service start service my_service stop but they are not listed when I do service --status-all Any…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
17
votes
2 answers

Postfix master.cf versus main.cf

I see a lot of the time that the same settings can be specified in both main.cf, and also in master.cf using the -o prefix. My question is, does one override the other, and if so, which file is given priority if the same setting (with a different…
Dale C. Anderson
  • 587
  • 1
  • 5
  • 13
1
2 3
68 69