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)

0
votes
0answers
20 views

How to restart nginx when getting 502, with Monit

In Monit, how can I check the health of my Nginx server (if it is returning 502, for example) and how to restart it when this occurs. The environment is an Ubuntu 14.04 64bit
1
vote
1answer
42 views

Forcibly disconnect spammers

I have Postfix, Dovecot and Amavis on my Ubuntu server. Recently, I get every 4 minutes a connection from IP 155.133.82.96, which appears to be Windows XP and maybe has a virus. Anyway, I found the ...
0
votes
1answer
39 views

Can't SSH from one Digital Ocean droplet to another using Private LAN IP [closed]

I have 2 Digital Ocean instances which have private LAN IP's. The first is 10.130.30.82 and the second is 10.130.35.154. I can ping the second from the first but not SSH. I have copied my keys to both ...
0
votes
1answer
41 views

Server not booting after 16.04 upgrade (not pinging)

Yesterday I upgraded my server to 16.04, all fine and when I rebooted the server has rebooted to rescue. I fixed packaging conflicts via apt-get autoremoveapt-get upgrade etc... I also tryed to repair ...
0
votes
0answers
31 views

Tomcat 8 catalina.sh not waiting for tomcat to fully stop

We're using Tomcat 8 on Ubuntu and when I stop the server with catalina.sh stop from the command line it returns immediately, before tomcat has actually had a chance to fully stop. I tried catalina.sh ...
0
votes
1answer
136 views

How to install designate and trove on OpenStack Kilo (Ubuntu 14.04) deployed with Mirantis Fuel 7.0

We've set a basic environment using Mirantis Fuel with 3 controller/storage nodes and 3 computes. We've used Fuel to install the base system and then we added some extra components like FWaaS plugin ...
0
votes
1answer
77 views

OpenVPN on an AWS instance breaks connectivity

Summary: I want to set up an OpenVPN server on an EC2 instance (Ubuntu 16.04). It fails to configure its interfaces after a reboot. Details: the image installs fine, reboots fine apt update ; apt ...
0
votes
0answers
32 views

Samba Share Not Showing All Available Space

So here's the issue. I have two Ubuntu Server systems, one on 12.04 and one on 14.10. I need to mount a share on the 14.10 system (hereby referred to as the NAS) on my 12.04 system (hereby referred to ...
1
vote
1answer
34 views

Port forwarding prevents container from updating

I use the following route on my host machine in order to pass all my traffic to a NGINX server running at port 8080. -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 Unfortunately when I ...
1
vote
1answer
81 views

Ubuntu Apache Server 503 Error: disabled connection for (localhost)

in a bit of a bind here. I'm trying to move a website (www.monkhouselaw.com) from one hosting company to my Digital Ocean VPS. I've changed the DNS settings to: * -> 107.170.29.18 www -> 107....
2
votes
1answer
226 views

MySQL 5.7 bind-address doesn't work

I have always successfully set up a remote connection for mysql 5.5. Today I installed a new server with Ubuntu 16.04 and MySQL 5.7. But for some reasons, I can't make this mysql installation listen ...
-1
votes
2answers
401 views

Cannot start Apache, config test fail: “env: apache2ctl: No such file or directory”

$ apache2 -v Server version: Apache/2.4.7 (Ubuntu) Server built: Jan 14 2016 17:45:23 My Ubuntu version is 14.04. I was fixing a few things on /etc/apache2/sites-available/000-default.conf and ...
1
vote
0answers
24 views

Internet connection repeatedly dropped [closed]

Quite frequently, some days every 15 mins for hours, on other days not at all, the connection drops. Often the connection comes back within 5 mins with no action taken. My setup is an Ubuntu server ...
0
votes
0answers
18 views

Ubuntu shared folder permissions

I have a SMB share, "Share1" which I have mounted on another Ubuntu server. My problem is that when transmission adds a file on that share, it gets permission denied. It can create the folder, but ...
0
votes
1answer
35 views

WordPress can't install plugin even file permission is correct

I have apache2 server, of course apache2 is running on www-data account. All my WordPress files is own by root:webmaster, and have the g+w permission. Three of the accounts in webmaster group are ...
0
votes
1answer
35 views

ELK stack on AWS and web app on Digital Ocean, how and can I grab logs from the later?

I have a python website hosted on digital ocean and ELK stack - Elastic Search, Kibana, Logstash - on AWS. I'm trying to understand how to feed the logs files from my python web app on digital ocean ...
2
votes
2answers
89 views

How do I configure Ubuntu 16.04 to show my ZFS zvols internal partitions?

I seem to be missing some zvol functionality, but I'm not sure how to phrase it. I had this functionality with these same zpools on an ArchLinux installation. (Migrated the server.) Ubuntu puts the ...
0
votes
0answers
20 views

Randomly VPS down and no SSH access

I have a Ubuntu 16.04 (32bit) LEMP SSD, 512MB VPS (Digital Ocean). Its all the time memory usage bellow 60% and CPU usage also normal. After every 2 or 3 days this VPS down and can't even connect via ...
0
votes
2answers
486 views

ERROR: could not open directory /lib/modules/4.2.0-25-generic: No such file or directory

I upgraded Ubuntu 15.10 to 16.04 and somewhere there must happened my trouble. I firstly realised my trouble when I wanted to do sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j ...
0
votes
0answers
35 views

Alghough TCP SYN Backlog size is set to 128 but in practical it is limited to 16

as you know in ubuntu, tcp syn backlog size is 128 by default. i tried to syn flood my ubuntu linux by hping3. to do that, i send 100 spoofed tcp syn packets per second to the ubuntu and meanwhile i ...
2
votes
1answer
51 views

SSH works both ways, but scp and rsync only one way

I have been using SCP and rsync to transfer some files between two servers using SSH keys. Suddently SCP and rsync don't work anymore from server 1 to server 2. They don't give any error or ...
0
votes
0answers
18 views

DSPAM Daemon Fails to Start

I'm running Ubuntu on an AWS instance and the DSPAM daemon fails to start at boot or if I try to start it using: $ /etc/init.d/dspam start It starts successfully if I use: $ dspam --daemon & ...
-1
votes
1answer
24 views

Iptables in ubuntu 14.04 doesn't have statistics extension

I have an Ubuntu box and need to manage iptables rules with the help of statistics extension but everytime I try to run iptables -m statistics --help I'll get such error iptables v1.4.21: ...
0
votes
1answer
30 views

Vagrant: inaccessible from host [closed]

I set my vagrant configuration to add Bridge networking to my VM. config.vm.network "public_network" When I try to use the assigned IP address that I got from ifconfig to ssh it says connection ...
-1
votes
1answer
61 views

Enable modules on nginx and ubuntu

I have a server with nginx installed. I'd like to enable modules (specifically ngx_http_map_module). Ok questions: 1) How can I check if the module is installed or not? 2) What is the workflow for ...
0
votes
0answers
36 views

Cannot start mongo - Mongo killed

I tried to migrate my Mongo installation from 14.04 to 16.04 using a new LXD Container. I used the previous configuration file that can be found below. mongod.cnf # mongod.conf # for ...
1
vote
1answer
80 views

systemd-logind spams in log

In /var/log/auth.log appears too many messages "Removed session" Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session c36006. Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session ...
2
votes
1answer
106 views

dhclient doesn't set default gateway

I'm running a few Ubuntu 16.04 VMs in the Azure cloud. Whenever I reboot a VM I have to set the default gateway manually. The gateway should be set by dhclient. I activated the debugging and get this:...
0
votes
1answer
22 views

Using a VPC from the office vs. VPN from home: Not all hosts are reachable

Here is my situation: Our whole office is VPNed to an Amazon VPC through openvpn. We have 3 VPC subnets: 10.1.25.x (Prod) 10.0.3.x (Staging) 10.0.1.x (build env) While in this office, all is ...
0
votes
1answer
42 views

Weird mail issue

I've got this little script: $to = 'atsome@gmail.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: Admin <admin@mysite.com>' . "\r\n" . 'Reply-To: admin@mysite.com' . "\...
-2
votes
1answer
47 views

sudo yum install apache2 on amazon linux fails [closed]

I've tried running the command:sudo yum install apache2 and got the following error: Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00 ...
0
votes
1answer
73 views

Apache mod_ssl to use OpenSSL ENGINE on Ubuntu 14.04

I have installed OpenSSL 1.0.1f and created an Engine for RSA acceleration using GPU. The Engine is dynamic so it is known globally. Then I have installed Apache $ sudo apt-get install apache2, ...
1
vote
0answers
27 views

ZFS issue after enlarging image

I created a new img using the following command: truncate -s 250G disk.img and I replace the existing image that I used for zpool with that one using (lxd.img was 2G): zpool replace lxd lxd.img ...
0
votes
0answers
46 views

Understanding CPU load vs CPU Time/Percentage

Been reading similar threads, seem to have grasp the idea but can't really put it into practical usage. Can I confirm on the following understanding q1) CPU time - CPU time spent in execution for a ...
1
vote
1answer
27 views

Ubuntu rename loopback interface

I have a Linux box with Ubuntu 16.04. I've noticed some odd behavior when I needed use the loopback interface. So I checked with ifconfig first and it showed that: rename1 Link encap:Local ...
1
vote
0answers
24 views

Ubuntu Clonezilla (Server) Disk Image Import/Export

We are running a clonezilla server(s) and I need to copy off (export) the newest disk image folder to and import it onto another clonezilla server in another city. I found the directory in the ubuntu ...
-2
votes
2answers
80 views

Configure OpenVPN with many users [closed]

Similar to this question I am looking at connecting 1000's of concurrent users: OpenVPN performance: how many concurrent clients are possible? To save CPU cycles I would like to know if there is ...
0
votes
0answers
31 views

Monit run script on restart

So I have been trying to get Monit to run a script on start of a service. While Monit has no problem restarting the service, I of course want to be alerted when if my service required starting, not ...
0
votes
1answer
55 views

IPTABLES nat to LXD Containers

I created the following temporary rule that I enable occasionally but I would like to remove it without the need of restarting the machine. Can someone provide me the command? sudo iptables -t nat -...
0
votes
0answers
39 views

ML350 Gen9 dual-boot Ubuntu/Windows 2012 R2

I read questions of some people active here, doing tests with their ML350 Gen9. I hope some of them can answer to my question, or even better -try and test what I am planning to do -but if any person ...
0
votes
0answers
60 views

Assign 2 IP addresses to one virtual machine

I would like to assign 2 IP addresses to one virtual machine but cannot make it working. I have IP MAC 151.180.39.138 02:aa:cc:73:b1:39 78.132.120.30 02:cc:aa:79:fb:e7 /etc/...
1
vote
1answer
63 views

Ubuntu unattended upgrades not working on Ubuntu 14.04.4

I have enabled unattended upgrades in an Ubuntu 14.04 server, and it seems to be running, but it does not update the packages that can be updated. For example right now I get 46 packages can be ...
0
votes
2answers
48 views

What is this strange nginx running on 8088?

I recently made a nmap scan to my server, and I discovered that there was some strange instance of nginx running on port 8088. 8088/tcp open http nginx 1.0.11 | http-methods: |_ ...
1
vote
0answers
23 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
2
votes
0answers
52 views

Docker DNS not working

I'm on ubuntu 16: I have a server running a docker container with Bind9 that works as my network DNS server at 192.168.3.70. All the hosts from my network use this as DNS and it works great. I have ...
1
vote
2answers
56 views

Gitlab post-receive hook Host key verification failed

I'm having 3 servers: werkstation.example.com -> server where the gitlab repository is cloned & for changing the files fom the repository git.example.com -> gitab server with repository "tomcat" ...
1
vote
1answer
56 views

Large number of inodes being used by Apache mod_cache_disk

I am frequently getting to 100% inode usage on an Ubuntu PHP/Apache box. The main usage seems to be in /var/cache/apache2/mod_cache_disk Once every fortnight I have to manually remove files from ...
0
votes
0answers
26 views

Why is my upstart script failing?

here is the script in question: description "Circuit server" author "anonymous" start on filesystem or runlevel [2345] stop on shutdown # Script fails when setuid and setgid are not commented ...
1
vote
1answer
95 views

Using Amazon SES to send mails to specific domains in Zimbra

We are managing a Zimbra mail server Community edition. Since the IP Address reputation of our ISP is a bit poor, select domains (mail servers) are either blocking our emails which is resulting in ...
0
votes
0answers
62 views

btrfs will not delete device although there is enough unallocated space

I have a btrfs filesystem set up with 2 partitions - each 2,7 TB. Btrfs version is 4.4 btrfs version --> btrfs-progs v4.4 on Ubuntu 16.04 This is the current status and the result of a previous ...