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)

-2
votes
1answer
28 views

Overwriting /etc/ Files between two servers

I'm the process of migrating an NIS server from one machine running Ubuntu 9.10 to a new one running Ubuntu 14.04.4 Server, and following these instructions: How do I replace an NIS master server? ...
0
votes
1answer
30 views

BTRFS: “no space left on device”, but btrfs command says otherwise

I am using BTRFS to create a RAID0 volume from 2 disks. Both are on an AWS EC2 instance with 30 GB space available each. The command I used to create the filesystem is: btrfs -d raid0 -L MYLABEL /dev/...
0
votes
1answer
1k views

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but ...
0
votes
1answer
1k views

Host name conflict with avahi daemon on Ubuntu 14.04 LTS

I have two VMs running Ubunut 14.04 on Virtualbox. They are connected via VIP. Syslog on node1 shows recuring error messages from Avahi and I can't find the problem nor the solution. tail /var/log/...
0
votes
1answer
32 views

Ubuntu LAMP server disconnects after some time

I am trying to move my websites from shared hosting to the vps I rented, so I am trying to set up LAMP stack. After installing all, the server works fine at start, when I visit it's IP address on ...
0
votes
0answers
18 views

Can I install echo module (dynamic) without recompiling nginx?

Nginx has dynamic modules. So can I load module without reconfiguring/recompiling nginx?
2
votes
2answers
1k views

upstart pre-stop script

I have libvirt/KVM set up on my Ubuntu and before shutting down the machine I would like it to attempt shutting down the VM's using an ACPI poweroff (virsh shutdown), then I want it to stop shutdown ...
1
vote
1answer
39 views

Configure iptables on linux ubuntu to route only specific IP between two networks

I'm not a linux expert and I need to setup this scenario. I've an Hyper-V host where I have two virtual network interfaces, both of them are added to a linux ubuntu machine, eth0 and eth1. Now I ...
0
votes
1answer
28 views

Posfix: SASL authentication failed (unbuntu/office 365)

I'm unable to get postfix to work with our office 365 mail. here's the main.cf file: smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no ...
0
votes
2answers
4k views

status: Unknown job: smbd

I'm trying to set up a new VPS (Ubuntu 10.10 x64) and I'm wondering if this is going to be a problem: $ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... ...
0
votes
0answers
26 views

How to prevent direct access to the public IP?

There may already be a question similar to this, but I do not find specific to my problem. I was given a public IP for example 10.10.10.15. After setting up DNS, I can normally access through a ...
0
votes
1answer
14 views

Prioritizing I/O in LXC on Debian (without LXD)

I had a couple machines where I used OpenVZ and recently, on newer versions of Debian (Jessie), I've been using LXC. I need a way of giving one container priority on host I/O resources, I could do ...
12
votes
3answers
7k views

Trying to get SSH with public key (no password) + google authenticator working on Ubuntu 14.04.1

I'm using Ubuntu 14.04.1 (with OpenSSH 6.6 and libpam-google-authenticator 20130529-2). I'm trying to set up SSH logins where the public key authenticates (without a password) and a user is prompted ...
1
vote
2answers
1k 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 ...
4
votes
3answers
1k 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 ...
-1
votes
0answers
11 views

mail server behind ubuntu iptables router [duplicate]

I want to run a mailserver behind an iptables router. I set up the router with ip-forwarding on Ubuntu 16.04 Server edition. I enabled ip-forwarding in /etc/sysctl.conf . I have set net.ipv4....
0
votes
0answers
25 views

smtp-request behind iptables-router not working

I set up a router with ip-forwarding on Ubuntu 16.04 Server edition. I enabled ip-forwarding in /etc/sysctl.conf . I have set net.ipv4.ip_forward=1 and executed sysctl -p /etc/sysctl.conf I used ...
0
votes
2answers
143 views

MySQL - high RAM usage

I have VPS with 2GB of RAM running Ubuntu. There are three sites using database on this server - two on WordPress and one on custom script. All of them get max few hits per day. MySQL always had ...
7
votes
7answers
11k views

How to get a list of security updates on the command line in Debian/Ubuntu

In the GUI tool you can get a list packages with security updates. Can this be done on the command line in Debian or Ubuntu? Normally I might use "apt-get upgrade" which would show me what is being ...
6
votes
2answers
4k views

Encoding to base32 from the shell

I'm looking to encode an input string to base32 encoding directly from the shell. I'm looking to do this in ubuntu, but I imagine flavor doesn't particularly matter here. Are there any existing ...
0
votes
3answers
1k views

Make files without an extension go through the PHP parser on nginx

Due to legacy reasons I need to get the following scenario working on nginx and I seem to be struggling. Say I have a file in the document root just called 'info' without any file extension. Now this ...
0
votes
0answers
12 views

Reduce ACK frequency

Good morning, I understand the basics of the ACK response including SACK settings, receiver windows and congestion windows. I wondered is it possible for the server to tell the client the maximum ...
0
votes
1answer
1k views

Configure Monit to monitor PHP5-FPM on Ubuntu/Nginx setup

System: LEMP running on Ubuntu 14.04 I'm trying to configure the tool Monit to restart Nginx or PHP-FPM if ever there is a problem. It is correctly monitoring Nginx however under status for PHP-FPM ...
-2
votes
0answers
9 views

Ubuntu server git clone hangs and restarts from the start [on hold]

I have a fresh install of Ubuntu 14.04 server and I am trying to clone Nominatim repository. The process hangs after a period of time and restarts after several minutes but each time it restarts it ...
0
votes
0answers
20 views

HAProxy across from two different private networks [on hold]

I have two networks, we shall call them Datacenter 1 (DC1) and Datacenter 2 (DC2). Within DC1, there is a host on a private network (DC1 HostA) that needs to communicate with a host in DC2 (DC2 HostA)...
10
votes
3answers
2k views

Encrypt git repository on server (safe against theft of physical hardware)

I have a production server (Ubuntu, running 24/7) with a git repository and some client computers each with a working copy of this repository. In the client computers, simply using home folder ...
0
votes
2answers
2k views

ProFTPd server on Ubuntu getting access denied message when successfully authenticated?

I have a Ubuntu box with a ProFTPD 1.3.4a Server, when I try to log in via my FTP Client I cannot do anything as it does not allow me to list directories; I have tried logging in as root and as a ...
0
votes
2answers
1k views

Samba 4.1 (Ubuntu 14.04) prompts for password when listing shares

I had to upgrade my Ubuntu Server to 14.04 which comes with Samba 4.1 (I used Samba 3 previously). I had to switch from security = share to security = user, because it looks like the first one seems ...
0
votes
0answers
30 views

AWS EC2 network latency or something else [on hold]

I have an AWS EC2 instance(8cpu, 32GB RAM) which serves an API consumed by an web and hybrid app. Only around 100 devices were using it and it was working fine and fast. But as the numbers are getting ...
1
vote
1answer
20 views

ansible: setting variable according to ansible_os_family

Using ansible 2.0.2.0, I want to deploy a file to destination server. The destination folder is different on Debian and RedHat family. I have used set_fact, but it seems that it used the last defined,...
2
votes
1answer
31 views

Adding more mirrored vdevs to a ZFS pool on Ubuntu

I'm on Ubuntu 16.04.1 LTS and I have a ZFS pool named unas containing two mirrored drives. I have now attached two more drives and I want to add these new drives to my unas pool as a pair of mirrored ...
1
vote
3answers
643 views

OSSEC disk space usage

A few days ago I noticed that the disk of my Ubuntu server was almost full. I dug a bit and found out that the disk space was used by OSSEC, in the /var/ossec/queue/diff folder. I wanted to try ...
0
votes
1answer
38 views

ZFS: ARC and buffer cache with PostgreSQL

I am using Ubuntu Xenial, zfs and PostgreSQL 9.5 with all updates available atm. All testing is done on EC2 m4.xlarge (8GB RAM) and table size ~4GB. PostgreSQL effective_cache_size=6GB. First ...
4
votes
3answers
2k views

VSFTPD does not allow upload with virtual users

I am attempting to setup VSFTPD with virtual users on a server running Ubuntu 12.04. I have configured the server to allow for virtual users to login, but I am having trouble getting it to allow ...
1
vote
1answer
3k views

Bringing the xenbr0 interface up on XEN under Ubuntu 8.04

I installed XEN on Ubuntu 8.04 using this tutorial but after I reboot with the XEN kernel, I don't have xenbr0 device. I see that network-bridge script runs and it creates peth0 device, but not xenbr0....
-1
votes
0answers
20 views

Google Cloud Compute This account is currently not available [on hold]

I have just signed up to Google Cloud and just created my first server using Cloud Compute. I have added my ssh key into the control panel, and have tried logging in with the first part of my email ...
0
votes
0answers
23 views

How to resolve Linux web server lost network pockets

My website is hosted on a Ubuntu web server. The web server is installed on VMware from the win server 2012. Server and web server are in same subnet, 20.235.*.*. Yesterday I restarted the web ...
1
vote
0answers
26 views

SSD bandwidth issue and analysis

I have Intel's P3700 SSD mounted on a Lenovo x3650 M5 server with two Intel Xeon E5-2630 v3 CPUs. The server is running Ubuntu 14.04 with 4.6.4 Kernel. I've been using fio to benchmark the SSD using ...
-1
votes
0answers
17 views

Are these Ubuntu Users Suspicious? [duplicate]

My Ubuntu 14.04 server (running Apache/MySQL/Wordpress/FTP) has just been hacked and I lost my root access. Just recovered access and I need help to identify if any of the following users are ...
7
votes
2answers
8k views

Ubuntu 11.04, adduser myuser: admin group is missing

Hi I'm trying to add myuser to sudoers after a fresh install with root account, # adduser myuser admin which gives: adduser: the group `admin' does not exist. however this works: # adduser ...
-1
votes
0answers
8 views

How to create a row of VPNs?

I have multiple VPS and can access each one of them through OpenVPN. While I am fully capable of using each one individually by connecting to them directly from my computer, I can't seem to find any ...
1
vote
2answers
35 views

Ubuntu Server - Make `lastlog` show the hostname rather than the IP address

When logging into Ubuntu Server via SSH, the following line is shown: Last login: Mon Jul 18 20:00:00 2016 from 111.111.111.111 On other serves, 111.111.111.111 is replaced by the hostname me....
0
votes
0answers
13 views

Cacti email notifications on Ubuntu

Im new to Ubuntu and Cacti, so please excuse me... I just installed Ubuntu 15.04 Server and cacti v0.8.8b. Plugin architecture is v3.1 I would like to configure email notifications for downed hosts,...
-1
votes
0answers
7 views

Authenticate on freeradius running the SQL module, via pki

I've see this done a lot of times (and I guess it has a lot in common on how smart card auth works here) but I can't find any information on how to setup a freeradius server that authenticates a ...
4
votes
3answers
4k views

Ubuntu install php5-ffmpeg

When I try to install php5-ffmpeg: apt-get install php5-ffmpeg I get an error: The following packages have unmet dependencies: php5-ffmpeg : Depends: phpapi-20090626+lfs As I understand my php5-...
2
votes
3answers
926 views

crontab fails, cannot find aws executable [duplicate]

I am trying to run a backup script on my ec2 amazon server (ubuntu 14.04), to automatically create a snapshot of amazon ebs volumes. Therefore I am using the aws-missing-tools script: https://github....
25
votes
7answers
5k views

Can you run Docker natively on the new Windows 10 (Ubuntu) bash userspace?

My understanding was that the primary limitation of running docker on other OSs was the Linux Network containers that made it possible. (Certainly for Macs). Recently Microsoft announced a beta of a ...
0
votes
0answers
8 views

Apache server not handling Basic Authentication on HTTP REST queries

I am trying to manage WordPress REST API on Ubuntu 12.04.5 LTS server with Apache, but it turns out that I am not able to get autheticated using Basic Authentication (user and password on HTTP header)....
0
votes
0answers
42 views

How to change from the default shell authenticating using SSSD/AD

Within in the sssd.conf file, does anyone know what the syntax should be to allow me to switch between different login shells? Thanks example@example.com:~$ chsh -s /bin/zsh Password: chsh: user '...
-2
votes
0answers
13 views

Our email server is forwarding spam to other email accounts [on hold]

Our email server is running postfix and the works, there are several email accounts I manage, one of which is a spam email account that captures all the spam sent to us. However quite frequently my ...