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.
1,023
questions
2
votes
0
answers
3k
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 ...
13
votes
3
answers
14k
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 ...
2
votes
1
answer
8k
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 /etc/apt/...
0
votes
2
answers
4k
views
Will re-installing phpmyadmin will have any effect on my Databases?
I am quite 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 have any effect on my databases when I reinstall my ...
0
votes
1
answer
850
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 ...
0
votes
2
answers
177
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
1
answer
108
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 /etc/...
0
votes
1
answer
1k
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, ...
7
votes
4
answers
7k
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
1
answer
3k
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 ...
1
vote
0
answers
1k
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
1
answer
5k
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):
...
3
votes
2
answers
24k
views
Excluding some messages from syslog-ng
I'm trying to exclude some messages from being logged by syslog-ng, such as this LDAP log entry:
Sep 18 15:18:34 myserver slapd[9682]: conn=1043 op=24 SEARCH RESULT tag=101 err=0 nentries=1 text=
I'...
-3
votes
1
answer
198
views
What are some unnecessary processes in Ubuntu 12.04? [closed]
So, I'm using Ubuntu 12.04 for my AWS instances and when I first start it up and look at the processes there seems to be a lot of things running that I'm not sure are necessarily needed for my ...
7
votes
6
answers
10k
views
setting debconf selections for keyboard-configuration fails... layout ends up as Afghani
I have a machine I netinstalled, with german keyboard set, but it ignored my setting, and it is installed with US keyboard. I'm sure I set it, because if I don't set it, it asks interactively, but I ...
0
votes
1
answer
260
views
Can't stop LAMP graceful restart
I just got my first LAMP up and running, everything works fine except that my server is restarting itself every sunday.
When I read the logs I see "Graceful restart requested, doing restart"
Should ...
1
vote
2
answers
6k
views
Ubuntu 12.04 LTS server - Failed to bring up
sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ...
0
votes
2
answers
897
views
Create Exception on Mime filtering on squid
I have a server with the operating system Ubuntu 12:04 LTS version. I also paired the squid version 3.1.19 on my server. with the client about 30 units.
to prevent my clients to download any files ...
-1
votes
3
answers
3k
views
How can I scp files over ssh OVER through an intermediate server that does not allow TCP tunneling? [closed]
I'm ssh'ing to my university network, and from there I can ssh to my server. How can I transfer files from my local machine to my server? I tried tunneling but it seems it's not allowed, I get:
Note ...
1
vote
0
answers
69
views
Installation of nagios failed due to ucf and file acls
While installing Nagios give me this error and hence the packages left unconfigured on my server. I looked for some help but they don’t tell me the exact solution. Does any one have a fix.
cp: ...
2
votes
1
answer
10k
views
Bad Gateway when seting up NGINX as a reverse proxy server for GAE
I want to use NGINx as a reverse proxy server so I can open my GAE (google app engine) web site from china mainland, because there most of google IP's are blocked by the GFW.
DNS: I have those DNS ...
2
votes
1
answer
496
views
CUPS: "Too many open files" message
I have a small Linux server (Ubuntu Server, 12.04 LTS) which is serving as a print release server. Essentially, I have defined a CUPS printer, and added Option job-hold-until indefinite to the entry ...
0
votes
2
answers
288
views
I am unable to execute a PHP file via NGiNX
Here is the config I am calling from the browser:
location ~ ^/getfileinfo/(.*)$ {
proxy_pass http://127.0.0.1/editionspanda_conn/$1;
}
Here is my config that calls the PHP file:
...
2
votes
2
answers
9k
views
MySQL without password prompt?
I have a MySQL server with the MySQL root password is an empty string. If I try to connect to MySQL without a password, I am denied. Like this:
# mysql
ERROR 1045 (28000): Access denied for user '...
0
votes
1
answer
804
views
Automation of blocking IP address
I have an Ubuntu 12.04 machine running Apache2 which hosts about 10 wordpress websites.
Recently I have been subjected to attacks from clients which seem to be sending POST requests to a wordpress ...
0
votes
4
answers
2k
views
Can't login via ssh after upgrading to Ubuntu 12.10
I have an Ubuntu 12.04LTS instance on AWS EC2 and I upgraded it to 12.10 following the instructions at https://help.ubuntu.com/community/QuantalUpgrades.
After upgrading I can no longer ssh into my ...
1
vote
1
answer
2k
views
Gunicorn error: "Error opening file for reading: Permission denied"
I'm getting an error when running my Django app with gunicorn: when I make a post request over 7800 bytes I see the following error from gunicorn:
"Error opening file for reading: Permission denied".
...
1
vote
1
answer
836
views
ServerAlias not working in ubuntu
I know it is a question asked several times, but I've read them all and not solved the problem.
I have configured the virtualhost apache like this:
sudo nano /etc/apache2/sites-available/example.loc
...
0
votes
1
answer
133
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
3
answers
14k
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/>
DirectoryIndex ...
1
vote
2
answers
644
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 ...
-1
votes
1
answer
1k
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
3
answers
1k
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
1
answer
815
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
1
answer
139
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.
http://people.canonical.com/~ubuntu-security/cve/2012/...
1
vote
2
answers
529
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 ...
5
votes
2
answers
12k
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
1
answer
449
views
Observium not showing ubuntu icon before my ubuntu server [closed]
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
1
answer
174
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
2
answers
235
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
1
answer
2k
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
1
answer
250
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
1
answer
7k
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 ...
4
votes
1
answer
9k
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
1
answer
3k
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
1
answer
2k
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" does ...
-2
votes
3
answers
445
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
1
answer
5k
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 file ...
0
votes
1
answer
191
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: http://www....
11
votes
2
answers
25k
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.
...