Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (2)

6
votes
3answers
2k views

How do I configure another instance of redis on ubuntu?

I basically want to have 2 instances of redis on Ubuntu. I looked at /etc/init.d/redis-server script and tried to create a new one (redis-server-dev) pointing to another config file (new port etc) ...
1
vote
1answer
912 views

Nginx 10k concurrent connections

We are not able to handle more than 3k concurrent request in nginx (Connecton time out). We change also the ulimit to 20000. Following are my nginx.conf and sysctl.conf files: user www-data; ...
0
votes
0answers
16 views

VPS, Apache and blank page on mobile devices _sometimes_

Got really strange situation on one webserver. Sometimes, several times a week website looks like blank page, but only from mobile devices, and only from couple of mobile operators. Suddenly ...
0
votes
0answers
13 views

ERR_SSL_VERSION_OR_CIPHER_MISMATCH on Ubuntu

I'm running wordpress on a Digitalocean VPS with cloudflare installed. My ssl was working perfectly till a few days ago when a buch of clients informed me they received the following error when ...
0
votes
0answers
12 views

Ubuntu 14.04 having two postgres server, removing one

after installing postgres using apt-get and adding the repo for 9.4, I have two versions, 9.3 and 9.4 running. How can I remove 9.3? apt-get purge removes both actually. Thanks ins advance
-4
votes
0answers
12 views

how to setup custom nameservers with two ips? [on hold]

I have dedicated server with two ips one is fixed ip and other is failover ip (i dont know about this ) But i want to setup nameservers like below mentioned Tell me which free hosting panel support ...
0
votes
3answers
38 views

Softether. Clients can connect but I can't access the server

I followed this guide in setting up a Softether VPN server on a Digital Ocean Ubuntu 14.04 instance. I installed Softether vpn client and openvpn on my laptop (ubuntu 14.10). The server logs ...
-1
votes
1answer
1k views

Internal Server Error when running Gunicorn as a service

I'm trying to deploy my Django app for the first time on a Digital Ocean VPS. I've used their Django droplet which setup things like this except I'm not using a virtual environment. After adding my ...
0
votes
0answers
5 views

PowerEdge 1950 II fault server freezed

Server is a PowerEdge 1950 II 2x Intel(R) Xeon(R) CPU E5345 @ 2.33GHz 8x DDR2 FB-DIMM - Synchrone 1024 Mo log says: Tue May 26 22:56:04 2015 Multi-bit memory errors detected on a memory ...
0
votes
2answers
810 views

openvpn connection has established but cant ping the server

I have a openvz vps and setup a openvpn server, and I successfully connect to the server in my ubuntu 14.10 client. server.conf: port 1199 proto udp dev tun ca ca.crt cert server.crt key server.key ...
23
votes
10answers
9k views

Find last time update was performed with apt-get

I need to find the last time that the apt-get update command was run on my server. How can I determine this information?
0
votes
0answers
40 views

Ubuntu RAID1: How to boot after (physically) removing /dev/sda? (mdadm, Grub2)

Several months ago I installed Ubuntu 14.04.2 Server (x64) with RAID 1 using the following instructions: https://help.ubuntu.com/lts/serverguide/advanced-installation.html I followed the ...
0
votes
0answers
4 views

Beanstalkd queue with supervisord opening too many FIFO files

I'm running a Laravel queue job called "webhooks" using beanstalkd and supervisord on my Ubuntu server. I can see the job properly running with process ID 4403: webhooks ...
4
votes
10answers
19k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
1
vote
0answers
8 views

corosync/pacemaker “stale” state after a week of running

I have a simple 3 node pacemaker/corosync setup. Ubuntu 14.04.2. 3 nodes, 2 resources - IPs - configured. ii crmsh 1.2.5+hg1034-1ubuntu4 all CRM ...
0
votes
1answer
35 views

How to create a swap for Azure Ubuntu VM?

I have read quite a few posts on this, but I am still unsure about the correct approach, assuming: I have a default Ubuntu 14.04 LTS VM created by and running on Azure, which doesn't come with a ...
3
votes
2answers
2k views

Using Ubuntu Karmic as an L2TP Client for VPN

I'm trying to connect to a VPN service over L2TP using Karmic as a client and it's not working. The only details I have are the remote IP address, username & password, and a shared secret string; ...
1
vote
2answers
71 views

How to specify exceptions from wildcard settings in a logrotate configuration file?

For my logfiles I have the problem of all but one (or a few) files use the same configuration, while the rest has another one. I tried to realize this by giving a general configuration for all files ...
3
votes
1answer
156 views

Asterisk - very high Load Average with no reason

There is a problem with Asterisk server showing high Load Average I can not explain. Ny setup is: Asterisk 13.1.0 Linux 3.13.0-24 (Ubuntu Server) Dual socket (Xeon E5-2620) server, HT enabled - 24 ...
0
votes
0answers
16 views

find user's scp history [duplicate]

I am using an Ubuntu Server over an AWS instance. To find out the scp history on server I can check the .bash_history file cat .bash_history | grep scp But, does the server maintains a log of all ...
-1
votes
0answers
15 views

Getting error for keyboard permissions [on hold]

I'm getting keyboard permission errors after installing MongoDB sudo apt-get install -y mongodb-org Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
31 views

iptables slow down connections

When I enable iptables (v4/v6) for my server, every connection like ssh, imap, smtp, http, https and so on are slow down so if I try to connect to ssh, it tooks up to 30 (!) seconds. The imap service ...
-4
votes
0answers
31 views

0 bytes free space is available on Ubuntu server file system out of 75 GB

I am using Ubuntu server installed in 75 GB space of my entire Hard-disk. But the problem is while I see the disk space it show 0 bytes free space out of 75 GB. I am sure I have no soft, files, ...
0
votes
0answers
20 views

Having trouble with PHPMyAdmin on Ubuntu

I'm having trouble getting PHPMyAdmin to run on our new Ubuntu14.04 LTS servers at Linode where we migrates sites from CentOS6.02 using VirtualMin/WebMin to back up and restore. PHP is fine and our ...
0
votes
1answer
1k views

Apache fast-cgi and php-fpm on Ubuntu 14.04 - Run PHP File as the owner

I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners ...
2
votes
2answers
2k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
1
vote
4answers
613 views

ulimit -n not persisting, tried everything

I need to increase ulimit -n on Ubuntu 12.04. It's currently: open files (-n) 1024 (1024 soft, 4096 hard) In /etc/security/limits.conf I have: root soft nofile 10240 root ...
1
vote
0answers
16 views

Apache configured as mpm_worker - why it still shows as mpm_prefork?

I believe that I properly configured Apache MPM as worker under Ubuntu 13.10, including PHP-FPM and FCGI, and disabled mod_php. When I run top I can clearly see multiple Apache (~2-3 MB) and php (~ ...
1
vote
2answers
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
0
votes
2answers
78 views
+100

iked mutex lock issue

On Ubuntu 15.04, fresh install of the ike package with these requirements installed: cmake libqt4-core libqt4-dev libqt4-gui libedit-dev libssl-dev checkinstall flex bison results in: $ sudo iked ...
0
votes
2answers
1k views

How to share Internet connection with Ubuntu Virtual Machine?

I have Windows Server 2008 R2 as host and Installed Ubuntu 11.04 as Virtual Machine using Virtual Box. My proxy is configured using URL. I tried configuring in the networking settings and also with ...
0
votes
0answers
12 views

Changing value of tcp_fin_timeout in unix machine

I was looking at this article in which they have mentioned how to increase two property for better performance of application if we see lot of TIMED_WAIT connections My question is: if I modify ...
0
votes
1answer
253 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
3
votes
3answers
1k views

Environment variable not being picked up by app when started with Upstart (Ubuntu)

How does one go about getting a new environment variable picked up system-wide without restarting the server? As its an Ubuntu 11.x server, I'm using Upstart to start/restart processes. I added a ...
0
votes
1answer
20 views

Ubuntu DHCP Server not assigning itself an address

I am setting up a virtual environment inside an ESXi server. I have a version of Ubuntu Server running isc dhcp. When the server boots up I issue the command ifdown eth0 followed by the ifup eth0. ...
-1
votes
0answers
18 views

Install quickBooks in a server Ubuntu 14 64bits (I have the fedora instructions) [migrated]

Hi I try to install qb in a server ubuntu 14 64 bits, all the system is for fedora. the steps I make: dowload the package qbdbm_25.0.i386.rpm installer, (don't exist 64bits) add 32 bits ...
0
votes
1answer
28 views

run PHP file from shell script

I have never added a cron job and am not much use with shell either... My chosen cron directory is /etc/cron.daily/ all I need my script to do is run a php file daily. I would be nice if it ran at ...
1
vote
1answer
1k views

lftp, setting for ignoring time-stamp?

I am using lftp for mirroring the files on a server to a PC. The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
2
votes
2answers
885 views

Juniper Network Connect and Ubuntu

I'm trying to install the Juniper Network Connect client on Ubuntu -- I'm wondering if any seasoned network admins or otherwise knowledgeable individuals know if it's possible for me to download the ...
1
vote
2answers
952 views

How to install APC on a vagrant box running Ubuntu 12.04 with PHP 5.4?

In my "Vagrant" file I have this line: chef.add_recipe("php::module_apc") But it gives me this error: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc ...
0
votes
4answers
954 views

Reset postgresql

I want to bring postgresql back to its original empty state. On Ubuntu: $ sudo service postgresql stop $ sudo apt-get purge postgresql* Followed by $ sudo apt-get install postgresql Does what ...
1
vote
0answers
24 views

How to optimize Apache speed for serving static content?

I'm well aware ngix is much better for static content, but I can't use it. Otherwise I have full access to my server (VPS). I've found numerous articles and posts about optimizing apache, but it's ...
0
votes
0answers
34 views

Cannot access apache2 and tomcat running on my ec2-instance

My ec2 ubuntu instance has apache2 working on port 80 and tomcat working on 8080. I'm not able to access them from my browser, i checked the access.log for apache2 it doesn't show the request coming ...
1
vote
3answers
25 views

Ubuntu / iptables: Using a server as middle-man to talk to firewalled server [duplicate]

I have a situation where I need to communicate with an API that only allows connections from one particular IP. So api.example.com accepts connections on port 443 from whitelisted-ip I want to be ...
1
vote
3answers
2k views

Rails + Nginx + Unicorn multiple apps

I get the server where is currently installed two apps and i need to add another one, here is my configs. nginx.conf user www-data www-data; worker_processes 4; pid /var/run/nginx.pid; events { ...
1
vote
1answer
128 views

How to setup 3 networks on a 2 NICs Ubuntu box?

I need to configure 3 networks on my Ubuntu machine (OpenStack Network node) The /etc/network/interfaces I have is: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet ...
0
votes
1answer
3k views

very slow connection to ssh server from client (but not other servers)

I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I ...
2
votes
1answer
48 views

How to persist on a wifi network in a ubuntu machine?

I've got a Ubuntu machine running a software that requires internet. However, sometimes the wifi fails (router reboot for example) and doesn't find the network again, until I manually service ...
1
vote
1answer
1k views

How to make sysctl network bridge settings persist after a reboot?

I am setting up a notebook for software demo purpose. The machine has 8GB RAM, a Core i7 Intel CPU, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit. The notebook is used as a KVM host and runs a few KVM ...
4
votes
2answers
267 views

Is /etc, /home and /var enough for a Ubuntu server backup?

From my experience, /etc, /home and /var holds the user created files and the others (/usr, /bin, etc) are installed by packages. Are there other directories that I should backup besides these three? ...