Ubuntu 12.04, named "Precise Pangolin" is 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
78 views

Is there a way to restore iptables rules to the ones set after a fresh installation?

I have a server which is being kept behind a corporate firewall, so the corporate firewall takes care of all firewall issues. After making a fresh installation of the server, and setting the ...
0
votes
1answer
932 views

DirectoryIndex works in htaccess but not in apache2 .conf files

I need my Ubuntu install to use index.php as the default file. Added DirectoryIndex index.php to /etc/apache2/apache2.conf Added <Directory /path/to/website/root/> ...
0
votes
0answers
267 views

problems while installing python-mysql package

I've got an Ubuntu 12.04 x64 Server edition VM that I'm running python2.7 on and trying to install the MySQLdb package via the command (I've already got easy_install installed and working): $ sudo ...
1
vote
2answers
368 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
0
votes
1answer
849 views

Redirecting sub-domains of different domains to the same site

I have a cloud VPS on which I am hosting a few sites on behalf of a few clients. My Apache is configured with VirtualHosts (I use Zpanel), so each site has its own root folder, and from the DNS ...
0
votes
3answers
544 views

Ubuntu not enough space on AWS EC2

I have 25GB volume on EC2. OS is Ubuntu 12.04 LTS. I can connect to it, but cannot even write 1KB. I tried to delete some files and write again - the same result - not enough space. I tried to check ...
0
votes
1answer
462 views

Odd permissions issue with php-fpm, session_start failed on some but works on others

Ok, I have php-fpm/apache/apc installed on ubuntu 12.04 with a website running a php shopping cart. I am getting flooded with perrmissions errors like "Failed to write session data (files). Please ...
0
votes
1answer
111 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
1
vote
2answers
64 views

Is there a way to source cron jobs from a file

One of our servers has around 20-25 different cron jobs scheduled on it. Usually, we periodically check-in the cron jobs to a file in the repo using crontab -l > cron.jobs While bringing up a new ...
0
votes
2answers
743 views

How to run rsync without staying logged in?

I want to run the following rsync command to transfer a folder from a remote server to my current one sudo -r -a -v -e 'ssh -p portnum' username@serverip:/home/path/* /home/path this directory is ...
-1
votes
1answer
195 views

Observium not showing ubuntu icon before my ubuntu server

I just have set up snmpd, observium settings on my ubuntu machine, but sadly observium webpage shows linux icon before my ubuntu machine's name, not the ubuntu logo. Why is this happening, and how ...
0
votes
1answer
86 views

fail2ban doesnt permanently block

Fail2ban doesn't seem to block permanently. I have bantime =-1 but if i look a bit later on my iptables its just not there anymore all ill see is Chain fail2ban-ssh (1 references) target prot ...
1
vote
2answers
120 views

Best way to migrate entire server?

I have a kimsufi box running Ubuntu 12.04, on this machine I have a number of websites supported by various installed packages such as apache and mysql. I have since purchased an improved server and ...
0
votes
1answer
745 views

Best way to update Tomcat 7 of Ubuntu Server 12.04

Ubuntu Server 12.04 repository has Tomcat 7 in version 7.0.26. I prefer using this installation because it creates the user, init script and log rotation configuration. What would you suggest to keep ...
0
votes
1answer
83 views

Recover lost POST data on LAMP site

I've had a screwup on my LAMP based site where a certain string value that's posted to the site from a form, was not being stored in the db. The db column for it was an enum but it needed to be a ...
0
votes
1answer
927 views

Domain name required for sender address

I'm trying to setup postfix on a new vps I just got and this is the first time doing any kind of email setup. I am getting an error when trying to perform a test email. I posted my config and error ...
3
votes
1answer
4k views

Why does name resolution not work on the server itself?

I have got an Ubuntu Linux 12.04.1 server which as one service runs bind9 for name resolution for a xxx.local domain which forwards all other requests to the name servers of my Internet provider. ...
0
votes
1answer
824 views

How to apply security update to apache

I have been running some penetration tests against our webserver and it's come up with a few issues. One of them is that apache needs a security update (http://www.ubuntu.com/usn/usn-1765-1/). I am ...
0
votes
1answer
544 views

Start Squid Cache Proxy

I'm having trouble starting squid. I type in console squid -k shutdown and get: squid: ERROR: Could not send signal 15 to process 2065: (3) No such process I have checked and process "2065" ...
-2
votes
3answers
100 views

Stop server crash [duplicate]

I run my python scripts and Scrapy framework for web scraping project on my Ubuntu 12.04 precise server. These scripts run whole day. This project is under developing/testing stage. So i dont know ...
0
votes
1answer
2k views

LVM drive is not mounted after boot

I have created an LVM with three physical disks named "orcafiler1". Problem is, every time after boot, the LVM drive is not mounted and I have to manually run vgchange -ay orcafiler1 The fstab ...
0
votes
1answer
162 views

Setting up multiple Hadoop clusters [closed]

Hopefully this question isn't off topic. I asked this on AskUbuntu but haven't gotten a responses: I've followed Michael Noll's excellent guide to get Hadoop set up on a single cluster: ...
3
votes
2answers
4k views

Why can't I create this gluster volume?

I'm setting up my first Gluster 3.4 install and all is good up until I want to create a distributed replicated volume. I have 4 servers 192.168.0.11, 192.168.0.12, 192.168.0.13 & 192.168.0.14. ...
1
vote
1answer
3k views

Aws Rds - Mysql Block host due to many connections

Recently I have migrated the wordpress database to AWS RDS Large Instance (MySQL 5.6.12). After that occasionally Mysql locked my ec2 instance Ip with below error message. "blocked because of many ...
0
votes
1answer
87 views

How to enable a website on apache2 Virtualserver running Ubuntu 12.04?

I managed to run one website on my apache2 virtualserver using port 80. now I want to have another site running on the same server, but I can't manage it. either I corrupt my old page or my folder of ...
1
vote
0answers
239 views

Hyper-V: Ubuntu guests running out of memory

We appear to have a problem with Ubuntu guests running out of memory. We have several on 12.04 (LTS) and one on 13.04 and seem to have the same problem. It takes around 30 days from restart to ...
0
votes
1answer
32 views

how to remove login process from a website hosted on apache2?

I am running ubuntu 12.04 server and i try to host a website which i copied from another server. When I now try to connect locally with ip xxx.xxx.xxx.xx/mywebsite a window opens and i have to ...
0
votes
0answers
58 views

URL rewriting not working in apache2/ubuntu

I need to redirect my request from one url (/var/www/imgservice/test.php) to another URL (/A/B/C) where A,B and C are folders. I am currently on Ubuntu 12.04.2 LTS and my DocumentRoot is /var/www/ I ...
0
votes
0answers
99 views

not sure how to handle postgresql connections

I've done a fresh install of ubuntu and am setting up PostgreSQL I'm perplexed by something: In order for my commandline user to access PostgreSQL, I need to export an environment variable export ...
-1
votes
3answers
1k views

How to Copy files from one Ubuntu server to another? (MYSQL Database for website migration) [closed]

I'm very new to Ubuntu and my first task is to copy one website with a MySQL database to another server. Both servers are virtual machines and in the same environment. I have both the IP addresses and ...
-1
votes
1answer
402 views

Step by Step guide to setup Ubuntu VPS server with at least lamp, email and ftp [closed]

Sorry If it is duplicate, but I can't find nice way for this. Can anyone please suggest me on how to setup an UBUNTU 12.04 - 64bit VPS to host website. The server should have lamp, email and FTP at ...
1
vote
0answers
243 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
1
vote
1answer
489 views

Amazon EC2 Servers with syslog-ng communication

I have 3 Amazon EC instances with ubuntu 12.04 Production Server (LAMP Server w/o MYSQL, syslog-ng client) Development Server (LAMP w/ MYSQL, syslog-ng client) Logging Server (syslog-ng Server) I ...
0
votes
0answers
33 views

Get Value of SMEM using PHP

I'm using smem command to know how much RAM each user is using. It also display the Count column. As far as my knowledge is concerned, Count column is a value PHP-FPM pm.start_servers and PHP-FPM ...
1
vote
2answers
3k views

enable/disable ntp service on ubuntu 12.04

Our application runs on Ubuntu 12.04 Precise. On this server, we have both ntpdate and ntp. How to enable and disable the NTP service on-demand? I tried # sudo update-rc.d -f ntp remove/default ...
3
votes
1answer
9k views

a2ensite error “Site not exist” when creating virtualhost apache2 on ubuntu

I have created files for my site in the /home/junda/www/ directory. I use symfony2, means the public files goes to /home/junda/www/symfony2-tries/web/ directory. I then type this following command to ...
1
vote
1answer
139 views

How to create a init.d script for openssh-server which was compiled and installed from source using configure + make + make install?

I have installed openssh-server in my Ubuntu PC using apt-get install openssh-server. The version is 5.9. Now, I would like to compile and install openssh-server version 6.2 from source codes. I have ...
1
vote
2answers
484 views

Ubuntu server is sending emails via Gmail. How do I stop this?

I have recently taken ownership of a sever which hosts multiple websites. For some reason, when the websites send notification emails (i.e - when a contact form is submitted) the email received comes ...
0
votes
1answer
1k views

Thawte ssl 123 certificate installation on ubuntu 12, apache

I have recently purchased the ssl123 certificate from thwate. They have provided me following files 1:x.509 certificate 2:Apache Bundle 3:intermediate CA1 I am trying to install on my server but no ...
1
vote
1answer
210 views

Shell script error on filename with spaces

I have a bash script that search for every static file located under my server root and stores a gzipped version next to each file. I got it from ...
0
votes
1answer
314 views

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 ...
-2
votes
1answer
60 views

How to run a command when ssh connection closes

I know that I can run additional scripts on login if I place them in /etc/ssh/sshrc is there a pendant for logout/ disconnect? running openssh
1
vote
0answers
336 views

python ubuntu and ImportError: libblpapi3_64.so: cannot open shared object file: No such file or directory

How do I set a LD_LIBRARY_PATH in ubuntu 12.04? in .bashrc LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ubuntu/blpapi_cpp/Linux in /etc/environment ...
0
votes
1answer
661 views

Ubuntu 12.04 - Grub1 won't load new kernel

For some reason I can't get grub to load the new kernel. I tried removing the old kernels with aptitude and running update-grub but it still loads the old kernel - even though I've removed it! I ...
4
votes
1answer
4k views

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 ...
2
votes
1answer
3k views

apt-get purge mariadb leaving traces which stop mysql install

I'm trying to bug test a database issue with a website I'm working on. I would like to see if switching between mariadb and MySQL fixes the issue (however unlikely that is). I thought this would be a ...
2
votes
1answer
959 views

What are the side effects of a full root partition?

I have a mission critical server running that I cannot take down (or at least, I'm told I can't right now). It unfortunately filled it's root partition up. It's running a custom process that's ...
1
vote
2answers
3k views

Activesupport gem complains that it needs ruby 1.9.3 while it is already installed

I have problem installing paperclip gem in Ubuntu 12.04.2 LTS. Activesupport complains that it needs ruby 1.9.3 but I have it already installed. root@Ubuntu-1204-precise-32-minimal ...
4
votes
2answers
63 views

What is the effect of adding a user on a MySQL slave?

This is on a Ubuntu 12.04 server running MySQL 5.5 which is slaved to an OS X server running MySQL 5.1 Logrotate has been sending error: error running shared postrotate script for ...
0
votes
1answer
1k views

Netgear ReadyNAS 316 Share getting Nobody NoGroup Permissions on Ubuntu?

We have a Netgear ReadyNAS 316 set up to replace an older ReadyNAS Ultra 6 which died, but we're having trouble getting permissions working as they did on the Ultra 6. Basically we're using the NAS ...