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
-1
votes
1
answer
2k
views
Grant SFTP permission and limit Ubuntu user to only one directory [duplicate]
I'm trying to let create a user with SFTP permissions to only one directory (that is not his home directory). When he connects through a SFTP client I want him to land on this directory and I don't ...
0
votes
1
answer
220
views
Block unauthorised users from sending mail
I am using ubuntu server with postfix, ispconfig as control panel.
I am using a mail relay server from mailjet. I am getting notification from them like
Emails sent from this sender will not be ...
1
vote
1
answer
720
views
linOTP to openVPN authentication ubuntu 12.04
I am working on a project in which I have to install a one-time password authentication. I have successfully installed openVPN to which I can connect without any authentication. I have installed the ...
1
vote
1
answer
103
views
Are both /etc/my.cnf and /etc/mysql/my.cnf needed?
I recently setup a new web server with Ubuntu 12.04. I noticed that there are two my.cnf files, and MySQL successfully reads both:
/etc/my.cnf
/etc/mysql/my.cnf
Do I need to keep both of these files?...
0
votes
1
answer
69
views
Apache2 wildcard cert www and non-www domain trouble
I've run into a bit of an issue with my SSL. I have a CA-signed wildcard cert by Digicert. I have installed it properly and am attempting to use it to access my sites, comp.org and www.comp.org via ...
1
vote
2
answers
4k
views
PHP5 unmet dependencies when upgrading
Trying to upgrade PHP from 5.3 to 5.6 using the following:
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get install php5-common
When I try this, I run into this error and ...
0
votes
1
answer
323
views
SSL Not Working in Apache2/Ubuntu
I'm trying to get my SSL working on apache2 with Joomla. However, I run into a connection timed out issue. I have done tons of research and am fairly certain that my code is correct. I've got my ports....
0
votes
1
answer
26
views
Forwarding custom page rule for known ip adresses
I want to add some ip adresses to a blacklist, and i want to show these ip addresses in blacklist a custom web page that includes a "you are in blacklist" message on body.
How can i do this?
I have ...
0
votes
1
answer
430
views
Ubuntu - Nginx + php5-fpm - suddenly times out every request even after restart
Caveat - Newbie nginx/php5-fpm/ubuntu
I inherited a couple linux boxes and have had the same thing happen on both. I assume it's user error, but for the life of me I don't know what I did.
Symptoms:...
0
votes
1
answer
4k
views
Can't login to round cube new domain
I have multiple mail domains boxes on my mail server, and all are working normally,
I configured new mail domain "example.ae" normally on mysql mail db, and the domain's inbox was created on server,
...
1
vote
1
answer
32
views
Using Nginx nodejs apps need to run with test1domain.com/directory
I have to run nodejs app with the url like http://test1domain.com/directory:
https://test1domain.com == live website
https://test1domain.com/api1 == nodejs api
https://test1domain.com/api2 == ...
-1
votes
1
answer
13k
views
How to solve "The apache2 configtest failed." in ubuntu 12.04 lts [duplicate]
After update my php got the error:
The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/...
0
votes
1
answer
749
views
EC2 NGINX 301 Moved Permanently
I'm managing two domains domainA.com and domainB.com on DNS Made Easy. Both domains point to the same EC2 instance.
domainA had a HTTP redirection record for www.domainA.com to domainA.com, that ...
0
votes
0
answers
17
views
Website slowed down all of a sudden? [duplicate]
My site example page is very slow, this is the server status page of apache My guess is that the iptables are slowing it down, as there is no reason from the hardware side, there are enough free ...
3
votes
2
answers
3k
views
Apache Suddenly Slow
Apache on my webserver is suddenly very slow.
I have a 8 GB Ram, 4 CPU server at digitalocean with LAMP installed.
What can I do to fix this?
This is the top output:
top - 10:37:15 up 93 days, 20:20,...
1
vote
1
answer
205
views
disk space usage by process in ubuntu 12.04
Is there any way to know how much disk space currently running process is using? I have checked ps and top command but could not find out.
Background behind this question:
I have a server which is ...
-1
votes
2
answers
212
views
Risks of not updating an Ubuntu server on a local network?
Through work I recently came across a server that is used by 10-20 users daily as a sort of web server. It is running Ubuntu 12 and it has not been updated for a very long time it seems. Currently ...
1
vote
1
answer
987
views
OOM score adjustements
On Ubuntu 12.04/Java 1.7
I have been reading/searching about OOM killer and generally understood what "proc" man page says especially oom_adj part. It all started because my important "MQ listeners" ...
0
votes
2
answers
2k
views
Successfully adding routes in an Ubuntu Server 12.04
I have a virtual machine on top of VMware on which I run Ubuntu Server 12.04. I have two network adapters configured for the virtual machine and my /etc/network/interfaces configuration looks like ...
0
votes
1
answer
308
views
Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04
Summary: I'm testing a simple catch-all rewrite rule. It doesn't seem to be taking effect, it's not being logged and I'm not getting any errors.
I'm a junior server administrator trying to gain a ...
1
vote
1
answer
50
views
Apache2 Virtual Host 1 file for any URL
I have an Apache2 Virtual host set up to pick up access from any URL (dns) other than the ones I have set up.
Basically I want any access to this to show a page (index.html) but keep the URL the user ...
1
vote
1
answer
4k
views
How to generate self-signed cert for use with Tomcat7
Goal: To use a self-signed cert with my dev Tomcat server.
Step 1: Create a certificate with openssl following this Ubuntu certificate guide:
openssl req -new -key server.key -out server.csr
I ...
0
votes
0
answers
1k
views
Gnokii SMS issue
I am trying to setup a linux machine (Ubuntu 12.04 64bit) to send out SMS messages from a Nokia phone (Nokia E50) plugged in via USB through Gnokii.
I have downloaded/installed Gnokii, having edited ...
1
vote
0
answers
342
views
Network Traffic fluctuating, even with loopback
I am using iperf tool to benchmark my network interfaces on two identical machines (Dell Blade Server M620). Both have given different results.
On 1st machine, I ran server and clients as:
Server ==>...
1
vote
0
answers
952
views
Web Server The connection has timed out everyday
Recently, my web server cannot be access. It give me
The connection has timed out.
The server at IP_ADDRESS is taking too long to respond.
Server reboot fix the problem. but the problem appear the ...
2
votes
1
answer
2k
views
Unable to Boot Ubuntu 12.04.5 VM running on Hyper-V 2012 R2
We have a VM running Ubuntu 12.04.5 which we're currently experiencing issues with that will not boot up correctly.
Based on my research it appears there are known issues with some storage drivers ...
0
votes
0
answers
1k
views
Disable PHP in subdirectory, but allow in parent directory
I'm using multiple virtual hosts on Ubuntu and want to disable PHP in a sub-directory from within httpd.conf (not from .htaccess)
Here is the virtual host's configurations
<VirtualHost subdomain....
1
vote
0
answers
63
views
Can't make SPDY work on Apache 2.2.22 (Ubuntu 12.04 server)
I'm trying to enable this apache module. I did everything this documentation from Google says: https:// developers.google.com/speed/spdy/mod_spdy/
However, if I use "SPDY indicator" chrome extension ...
1
vote
0
answers
1k
views
Node.js w/ Apache, same IP, different ports. Virtual Host config breaks normal Apache (Site on 80) access?
We have clients who don’t want to open port 3000 on their firewall and our app uses that port for Node.js.
Been trying to find a way to redirect port 3000 (node.js) traffic so we can bring our site ...
0
votes
1
answer
88
views
login failure on Ubuntu 12.03 when user exists and correct password entered
I manage an IT lab for students.I am experiencing this weird problem on some of our computers in the lab that i can login on some of the computers and can't login on some of the computers. These ...
2
votes
1
answer
3k
views
Ubuntu Allow users access to roots "screen" command, also restrict which screens they can attach to
I'm trying to allow a user to connect to the screens that the root user has. When another user does "screen -ls", it shows "No Sockets found in /var/run/screen/S-USERNAMEHERE".
In addition to this, ...
0
votes
0
answers
153
views
Install RocketRaid 644L Raid Controller driver on Ubuntu
I bought a RocketRaid 644L and get stuck at driver installation.
uname -a
Linux hb38-backup 3.2.0-41.generic #66-Ubuntu x86_64 GNU/Linux
lsb_release
Description: Ubuntu 12.04.2
lspci
RAID bus ...
0
votes
1
answer
993
views
Apache view access history of specific file
I was on a support chat with someone for a piece of software I have installed on my Ubuntu server, and he had direct access to an SQL file that has valuable information on it, because he knew my ...
0
votes
1
answer
1k
views
Apache and php5 fail on ubuntu server
I update a PHP 5.5.28-1+deb.sury.org~precise+1 (cli)
and have apache
Apache/2.2.22
but when run a restart apache2
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on ...
2
votes
0
answers
557
views
Error trying to install any package on Ubuntu 12.04
after:
apt-get install curl
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The ...
2
votes
1
answer
4k
views
why is are there dns host names in my iptables entries? (fail2ban)
I recently installed fail2ban which has begun blocking bad ssh attempts.
I also set up an additional filter to permanently ban repeat offenders.
I notice now that there are some entries in my ...
0
votes
1
answer
1k
views
Strange symbols in /var/log/auth.log
I just installed fail2ban after realizing that there were tenthousands of attempts to log into one of our servers over SSH.
After installing fail2ban, the log bloat stopped, but I still wanted to ...
0
votes
1
answer
460
views
Installed KVM, but Virtual Machine Manager says localhost(QEMU)
My understanding is that KVM uses the CPU virtualization properties and is much faster than QEMU, which is emulation.
I used the Virtual Machine Manager to create the virtual machine. I am nearly ...
2
votes
1
answer
1k
views
Bind9 recursive queries have intermittent very long response times
I'm running BIND 9.8.1-P1 caching server on Ubuntu 12.04 LTS on kernel 3.2.0-86-generic-pae.
I've been banging my head against the wall trying to figure this out for weeks and I just have no idea ...
-1
votes
1
answer
306
views
Apache2 new VirtualHost entry can not find server - DNS issue?
I'm using Apache2 on Ubuntu 12.04.5 LTS server. Server is my company (work) server and has a public IP, moreover, it hosts about 5 different pages which are available worldwide, I mean, on the ...
0
votes
0
answers
272
views
Real-time Filesystem Replication between 2 NAS and ubuntu 12.04.3
I have two 16TB NAS setup and are mounted on one server. What is the best way to implement real-time file replication of write to 1 NAS to the second NAS.
I can mount the 2 NAS in one server but I'm ...
1
vote
0
answers
187
views
Ubuntu 12.04 Router Firewall TTFB Delay
I use Ubuntu Server as my router/firewall for my network for a number of reasons. Until recently, I was using 10.04 with great success for this purpose. The OS provides DNS lookup and DHCP using ...
0
votes
1
answer
428
views
group permissions on directory being ignored for user
It seems that there is a Linux user (on an Ubuntu 12.04.4 server) who is unable to access a shared directory, even though that user belongs to the group which owns the directory. Here is an example ...
0
votes
0
answers
107
views
not able to create openvpn tunnel for two interface host
I am new to openvpn.
I try to create openvpn tunnel between two hosts.
Both hosts have two interfaces.
Say eth0 and eth1.
So I created two config files, server.conf, server1.conf.
At client side, ...
2
votes
1
answer
703
views
Inconsistent "unable to open database file" error from a CGI program using SQLite
I've been running a task program for a psychology experiment on my virtual private server with lighttpd 1.4.28 and Ubuntu 12.04. The experiment is a CGI program written in Perl using a Perl module I ...
0
votes
1
answer
300
views
PHP-FPM on Linux, SCHED_BATCH or SCHED_OTHER?
I have a Linux webserver (Ubuntu 12.04, kernel 3.2.0) running Magento with quite a number of PHP-FPM child processes.
Since Magento is a heavy framework, I often see several child processes to baloon ...
2
votes
1
answer
703
views
apt-get unmet dependecies, traditional solutions not working
The problem
Taking any action that will change installed packages on my Ubuntu 12.04 LTS server (remove, install, purge, etc.) fails with:
Reading package lists...
Building dependency tree...
...
0
votes
0
answers
1k
views
High CPU usage for Apache server on Ubuntu
Wondering if anyone know's why the processes below are taking up some much CPU resources on my Ubuntu apache server.
100% /usr/sbin/acpi
71% /usr/local/apa
68% /sbin/syslogd
66% /usr/sbin/cron
59% /...
3
votes
2
answers
2k
views
Sendmail down on Ubuntu 12.04 after update, SSL related?
I posted this on askubuntu.com yesterday but haven't gotten any responses.
We run a production Ubuntu server that serves thousands of people per day. Sendmail is currently not working on this server. ...
0
votes
1
answer
877
views
Ubuntu 12.04 LUKS/dmcrypt disk to disk copy freezes
I have 2 external USB hard drives encrypted with LUKS in Ubuntu 12.04. Generally, the both drives are very slow with LUKS/dmcrypt, e.g. 7 MB/s for both read/write, but I could live with this.
However,...