Questions tagged [ubuntu]

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.

2,971 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
3answers
3k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...
3
votes
0answers
123 views

Connection reset with duplicate query parameters

Is there anything that could cause a connection reset when duplicate query parameters are passed to a page? http://test/?test[]=1&test[]=2 Causes a connection reset http://test/?test[]=1 Works ...
2
votes
0answers
104 views

gsutil rsync fails on Ubuntu with UnicodeDecodeError

I'm trying to rsync between google cloud storage and amazon s3. On my local machine (MacOS) this command works gsutil rsync -d -r gs://mira-internal/data/exports/20191108 s3://mira-temp/raw/20191108 ...
2
votes
1answer
69 views

Repeating script every 5 seconds not overlapping existing runs with crontab and watch

I know crontab can only schedule tasks down to the minute and to schedule something more often than 60 seconds another method has to be chosen. My understanding is watch will wait for the process to ...
2
votes
1answer
13 views

How to grant to an openldap user only a specific privilege?

I would like to create an user apart from Admin user, who should have access to update password as well as create another user in openldap. I tried configuring the user with the following ldif file. ...
2
votes
0answers
37 views

Raid filesystem check or mount failed (after probable physical shock)

I was redirected here from askubuntu. I work on a server where the operating system is installed on an SSD but data storage is on internal harddrives set up in a RAID system. Recently I have been ...
2
votes
1answer
253 views

Nginx reverse proxy hide url

Here is my nginx proxy.conf file, server { listen port 9090; root /usr/share/nginx/html; # not sure whether this line is needed or not index index.html; # not sure whether this line is ...
2
votes
0answers
178 views

No internet access through L2TP/Ipsec using Ubuntu 18.04 - Routing table

I have set up a VPN network using the package https://github.com/nm-l2tp/NetworkManager-l2tp. The VPN works well (on certain situations) but I think there's a problem with the routing. When I'm not ...
2
votes
0answers
58 views

Accidentally installed RPM package into ubuntu

I accidentally installed a package using directly RPM in my ubuntu system. The package was libiconv-1.15: > rpm -i libiconv-1.15-1.el6.src.rpm rpm: RPM should not be used directly install RPM ...
2
votes
1answer
40 views

Force “www” only in cases other than subdomain (nginx)

I have a problem with Nginx (Ubuntu 18), I need to force the "www." in dynamic domains, it is neither multiple domain, it is really dynamic, it can be any one that point to the server. Currently, I'm ...
2
votes
0answers
135 views

Slow sequential reading in large zfs pool

We are running a zfs pool as temporary storage for scientific data with 24 10TB disks in 4 vdev, each consisting of 6 disks in raidz2 config (recordsize 128K). ~ # zpool status pool: tank state: ...
2
votes
0answers
298 views

Run Systemd Service Unit After AWS EBS Volume Mount

I launch m5.large (nitro-based) EC2 instance from Ubuntu AMI and attach EBS volume. There is systemd as a default init system. As AWS documentation "Making an Amazon EBS Volume Available for Use on ...
2
votes
1answer
287 views

Multi-client architecture AWS EC Nginx rtmp server setup with raspberry pi camera as client for live video streaming

Our Approach Set up ngnix rtmp webserver on AWS EC ubuntu 16.04. Successfully completed single client(RPi Camera) streaming. Now we want to send multiple Pi Cameras live Feed on this server which ...
2
votes
0answers
68 views

Force traffic between virtual interfaces to use corresponding interface MAC

I am running an application on Ubuntu 16.04 which creates multiple virtual interfaces dynamically like so ip link add link eth0 eth0.v0 address AA:BB:CC:DD:EE:00 type macvlan ip link add link eth0 ...
2
votes
0answers
516 views

Every startup i need to manually run fsck /dev/mapper/ubuntu--vg-root

Hi every day when I start my ubuntu 18.04, then it's not starting and gives a below error. (initramfs) exit /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that ...
2
votes
0answers
271 views

Openstack Error: No valid host was found. There are not enough hosts available

As a purpose of testing, I am trying to spin up instances of large size, I mean of 8 vCPU's and greater than 20 GB memory, with 50 GB storage. Physical host has 48 GB RAM and 16 CPU. But everytime ...
2
votes
0answers
509 views

Dnsmasq unable to resolve local host

I'm unable to get my local DNS server to work and totally stumped. Here's what I have done so far to make it work... Dnsmasq configured on Ubuntu 18.04 ( Static IP: 192.168.1.100) /etc/resolv.conf ...
2
votes
1answer
33 views

esxi 5.5 unable to detect previous hard disk

I have a 129GB SSD on HP Proliant DL380 G7 with ESXi 5.5 installed from a pen drive. The hard drive contains 2 virtual machines that contain a lot of work in them. I had to remove the drive as I am ...
2
votes
0answers
231 views

ZFS Faulted Pool Corrupted Data, resilver completed, incorrect paths, io error

I recently encountered a disk failure, for which I got a replacement disk, and successfully replaced the disk as well as completed the resilvering process. I was able to use the raidz2 without issues ...
2
votes
1answer
425 views

Zentyal 3.3 to 5.1 upgrade. Cannot access samba shares from windows

We recently upgraded our Zentyal 3.3 server to 5.1 It was an upgrade process via software updates menu. The samba version were 4.1.3 and now it's 4.6.7 After the upgrade I noticed that nobody can ...
2
votes
0answers
97 views

internal-sftp on chroot jail disconnects with status 1?

Server: Ubuntu 18.04.1 LTS SSHD: OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n I have created a test user sftpuser and sftp group to try logging in through a WinSCP client, as a start. In sshd_config I ...
2
votes
1answer
74 views

Identify the top processes when the overall system has large CPU utilization in Ubuntu server

I have a Ubuntu server running in EC2. Occasionally, I get a large CPU usage 99+% utilization as measured in EC2 monitoring dashboard, even though most times it is less than 10%. Since traffic to my ...
2
votes
1answer
391 views

Name resolution issue on Windows 10

I have a small office network with a handful of Windows / Ubuntu machines of varying releases. A few days ago, one Windows machine lost the ability to access any services on the Ubuntu machines by ...
2
votes
1answer
333 views

Can't get USB/IP to work

I have Ubuntu 16.04, and USB cash device plugged on it. I want to share this cash device through USBIP. So I plugged this device and usbip list --local Then I see my device (emphasized with bold) ...
2
votes
1answer
145 views

Git push cause remote to have untracked files

Recently, both our Git remotes (one a production server, and the other a staging one) cause issues when pushing changes. Typically : Local git add <list of untracked files> git commit -m <...
2
votes
1answer
2k views

LVM: One or more devices used as PVs in VG have changed sizes

I recently installed LVM on Ubuntu 18.04 running on a physical workstation, and then I created my first LV. After first reboot I found a problem, as I cannot activate it anymore. I noticed this error:...
2
votes
1answer
2k views

Lets encrypt ERR_CERTIFICATE_TRANSPARENCY_REQUIRED on chrome 68.0.3440.106

I have a VPS server under Ubuntu 17.10, and I have 2 domains, I have created a successful SSL certificate for the first domain 2 months ago, Today I tried to install lets encrypt domain for the 2nd ...
2
votes
1answer
131 views

Is it possible to change the IPv6 address of docker0 bridge?

I'm trying to set up a docker based application on a virtual server running Ubuntu. The application is supposed to work with IPv6. No problem, I got a /64 network from my server provider, it is ...
2
votes
0answers
144 views

Access default unity desktop only over VNC connection

I installed Unity desktop on my cloud instance (18.04.1 x64) sudo apt-get install ubuntu-desktop and the VNC Server sudo apt-get install vnc4server What would be the contents of .vnc/xstartup file ...
2
votes
0answers
74 views

Preventing Ubuntu EC2 server locking up with high CPU

I have a server that runs celery tasks. It runs a couple of worker threads with celery multi start 2, configured using systemd. Sometimes, it gets overworked and hits 100% CPU. When this happens, ...
2
votes
1answer
78 views

MAAS install CA to new machines

How could we add custom trusted Certificate Authority to the new deployed ubuntu 16.04 machines on MAAS v2.3 ? is there a direct way to do that, or we have to perform custom installation nodes ?
2
votes
0answers
2k views

ssh connection : ssh_exchange_identification: read: Operation timed out

i'm kind of a newbie for all of this but i'll try to explain my best. First of all i'm on MacOSX I have a remote server under ubuntu to which i would like to access by ssh. The system administrator ...
2
votes
1answer
54 views

/tmp directory is not cleaned on live server

Laravel: 5.5 Horizon: 1.2.3 php: 7.2 ubuntu: 16.04, LAMP I don't know if this issue is related to redis server of horizon, but what I'm sure that this happens. When using database driver the /tmp ...
2
votes
1answer
6k views

LACP 802.3ad load balancing (bonding) on Ubuntu 18.04 not balancing evenly

I upgraded to Ubuntu 18.04 and the new Netplan configuration, but my (2) network cards stopped sharing the load evenly. In my network configuration, I have many connections to many different servers; ...
2
votes
0answers
775 views

Ansbile playbook to apply only security updates with apt module

I have a subset of servers that are running Ubuntu and I am trying to create a playbook that will only apply security updates to them. I am aware that unattended-upgrades will do this for me, but I ...
2
votes
0answers
2k views

VConfig error: cannot add vlan interface

I started working with VLAN kernel capabilities only recently and found a pretty challenging domain. I thought I had almost everything in control but then found a problem which I am apparently unable ...
2
votes
0answers
846 views

How to change I/O scheduler for a disk in ubuntu 16.04?

I am trying to set noop I/O scheduler for my disk. However, I am getting this error, -bash: echo: write error: Invalid argument I checked and found that there is no I/O scheduler option in my disk. ...
2
votes
0answers
877 views

Nginx + php7.1-fpm, upstream timed out (110: Connection timed out) while reading response header from upstream

I have installed Nginx and php7.1-fpm on Ubuntu 16.04. It was working perfectly fine. I am started getting 504 Gateway Time-out error. When I checked the Nginx log, I got this errors: *1 upstream ...
2
votes
0answers
567 views

Can't use Intel Quicksync(headless) for transcoding

/dev/dri and /usr/lib/dri doesn't exist. vainfo returns: error: can't connect to X server! error: failed to initialize display Aborted lspci | grep VGA returns: 00:02.0 VGA compatible controller: ...
2
votes
1answer
1k views

Failed to fully start up daemon: Connection timed out

After a few Ubuntu updates this started happening. Whenever logging into this server, either by using the LDAP client or a local user, it takes a long time to get authenticated and log in. /var/log/...
2
votes
2answers
498 views

Postgres 10.1 slow on Ubuntu 16.04

Installing a single table-dump is significant slower on U16.04 (and higher) than on U14.04. The test was done on the same computer with default settings. testdb=# \d photos_searchlog ...
2
votes
0answers
63 views

DNS leaks on a vpn server

I have set up an openvpn server on a vps, everything is running as it should. I have not configured any DNS settings. My question is. If i do an extended leak test at dnsleaktest.com, i can indeed ...
2
votes
0answers
40 views

How to know which program is modifying iptables?

I noticed at some random time, my iptables rules se flushed, or not matching what I set up. I'm the only user of this server, so it is not another user but it is another program I guess. How to know ...
2
votes
0answers
66 views

How to assign specific ethernet interface to specific user on Ubuntu?

I have an Ubuntu 16.04 server running with multiple ethernet cards all connected to the internet with distinct IP addresses. I want to configure specific user to use specific card so that they will ...
2
votes
2answers
1k views

NUMA placement failed, performance might be affected

I'm running SuperMicro 6048R-E1CR36H Storageserver on Ubuntu Xenial 16.04.03 LTS and Xen Kernel: 4.4.0-97-generic Xen: xen-hypervisor-4.6-amd64:amd64/xenial-security 4.6.5-0ubuntu1.2 Problem: when ...
2
votes
0answers
2k views

ntp_gettime() returns code 5

I'm trying syncronize clock on ubuntu server with commands: $sudo apt-get install ntp $sudo service ntp stop $sudo ntpd -gq $sudo service ntp start But it anyway gives me: $sudo ntptime ...
2
votes
0answers
1k views

Autofs + Kerberos + NFSv4 works on RHEL, but not Ubuntu

We have our /home directories stored on a NetApp SVN, and are automounting them as NFSv4 with Kerberos. This seems to work flawlessly on RHEL7.x, however it will not work in Ubuntu 14.04 or 16.04 no ...
2
votes
0answers
842 views

Ubuntu 16.04: extremely slow DNS resolution using wget/curl, and in python using requests (GET)

I'm on Ubuntu 16.04, fully updated. Noticing some really really slow DNS resolution on things like curl/dns, and within python. I've done some searching, but nothing has solved it. I"m trying ot ...
2
votes
1answer
421 views

AWStats not showing anymore Referrers / Keywords /keyphrases

Me and my colleagues are struggling to find a solution over a strange problem with AWStats. Some months ago, we moved a production environment from a CentOS to an Ubuntu 14.04. Since then, the ...
2
votes
1answer
318 views

fail2ban appends to chain after installing iptables-persistent

I've used fail2ban a while now. Today I wanted to learn more about iptables and found iptables-persistent. After installing, saving and cleanup the iptables rules in /etc/iptables/rules.v4 it looks ...