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,960 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
0answers
6k views

Adding second network interface to Ubuntu 18.04 on AWS EC2

The provided 18.04 AMI comes with one interface, and I am adding a second one with its own IP (for stuntman-server). However the instance is only responding to one elastic IP or the other, not both (...
8
votes
1answer
1k views

Is it possible to do multiseat the systemd way with one graphic card / two heads?

I would like to setup a multi-seat configuration using Ubuntu Xenial 16.04. After some researches, it seems the way to do now is by systemd through "loginctl" calls. (saw here for example). Before ...
7
votes
0answers
160 views

How can one php-fpm 5.6 site cause an outage across all sites?

I have a real head scratcher with one site on a server affecting others in separate php-fpm pools. I thought the idea was that php-fpm pools gave isolation to stop (reduce) this from happening. We ...
7
votes
1answer
633 views

Ubuntu server hang with ascii NUL characters in syslog and other files ( ^@^@^@… )

We are experiencing occasional hangs with ubuntu 16.04 LTS (kernel 4.4.0-34-generic) and we wonder if somebody has some clues how to get to bottom of this. The log looks like this: Aug 24 10:02:04 ...
7
votes
0answers
719 views

How to re-compile iconv on Linux (Ubuntu 14.04 LTS) with pseudo-charset UTF8-MAC?

I was googling around for hours to find a solution for my problem and I couldn't get it to work: I have to rsync a file structure on an ext4 formatted drive to a hfs+ formatted drive. Folders and ...
7
votes
4answers
3k 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 ...
7
votes
1answer
3k views

postgres not starting after reboot on ubuntu

I'm not familiar with ubuntu (raring), so could someone help me please: I'm using postgresql 9.1 from apt. It installed the appropriate init script in /etc/init.d/postgresql. I can start the server ...
7
votes
2answers
3k views

uwsgi queue of socket message flood?

I found my website unresponsive and I see a ton of *** uWSGI listen queue of socket "0.0.0.0:5002" (fd: 3) full !!! (101/100) *** *** uWSGI listen queue of socket "0.0.0.0:5002" (fd: 3) full !!! (...
5
votes
0answers
3k views

SSH connection stuck in 'Local version string'

I am trying to SSH connect from my MacBook to my Ubuntu machine. I have typed in this command ssh -p 22 -vvv <username>@<ip> The firewall is also disabled in the server side, and typed ...
5
votes
1answer
820 views

Proper way to override Mysql my.cnf on CentOS/RHEL?

Context: I'm porting an opensource server software (and writing associated documentation) from Debian/Ubuntu to CentOS/RHEL. For the software to run correctly, I need to add a dozen of specific ...
5
votes
0answers
1k views

Make LXC containers directly accessable with ipv6

First off I have a special IPv6 address allocated to my dedicated server, just 1. A ::1/128 one. But I can assign addresses to eth0 (eg ::2/128, ::3/128, etc). Now I would like to run LXC containers ...
5
votes
0answers
604 views

Checking if two virtual machines are running on the same host

Is there a way to see if several Virtual Machines are running on the same host? Specifically, I have three VMWare VMs (each running a Ubuntu Server 14.04) and I have tried to compare different pieces ...
5
votes
2answers
1k views

AWS connection error: Permission denied (publickey)

Sorry if this sounds redundant to you but trust me its not. I have tried almost majority of the links related to this problem but nothing is working for me so far. I even tried this article two. Below ...
5
votes
0answers
295 views

Apparmor externally included hats not working

Running apache2 on Ubuntu 12.04, using mod-apparmor for change-hat support. I have installed and verified that change-hat is working but that it is not working for externally included hats like the ...
5
votes
1answer
2k views

docker network freezing randomly

Sometimes , all network's of my dedicate server is freezing (ssh also not working). it's randomly repeated. OS: Ubuntu 14.04.3 LTS On server installed docker containers, and i see in dmesg logs: [...
5
votes
1answer
10k views

curl and wget attempting an ipv6 connection

On my dedicated server (hosted by OVH), that is running a fresh install of Ubuntu 14.04, curl and wget take approximately 10 seconds to complete a simple request. $ curl -v google.com * Rebuilt URL ...
4
votes
0answers
148 views

Not sure I really get 10 Gbit between our servers on the 10 Gbit network

We have a 3 Unix (1 Ubuntu 2 Redhat) servers connected via their 10 Gbit network cards to a 10 Gbit switch (our IT person made sure we got the correct cables). We experience some odd behaviour when ...
4
votes
0answers
984 views

Getting to enforcing google safe search using CNAME with unbound and nsd?

I am trying to implement this using Unbound and Nsd: https://support.google.com/websearch/answer/186669?hl=en To force SafeSearch for your network, you’ll need to update your DNS. configuration. ...
4
votes
2answers
1k views

Docker throws two warnings related to cgroup rt period/runtime in Ubuntu

When I run docker & I get: INFO[0000] libcontainerd: new containerd process, pid: 3091 INFO[0000] [graphdriver] using prior storage driver: aufs INFO[0000] Graph migration to content-...
4
votes
0answers
260 views

DHCP Server Listing Host as “BAD_ADDRESS” and not Registering DNS

Question Why is DHCP showing "BAD_ADDR", why does it think there is a Conflict, and why can't the host register its DNS name? Devices: DHCP Server = Server 2012 on bare metal. Also running DNS. ...
4
votes
2answers
1k views

ZFS Shares not exported until sharenfs property re-set on Ubuntu 16.04

I am setting up ZFS and NFS on Ubuntu Server 16.04LTS and have a weird issue that is causing me to go crazy. I have set up ZFS and NFS using ZFS shares as described in https://pthree.org/2012/12/31/...
4
votes
1answer
390 views

Debugging Node.js disk I/O and CPU spikes

I'm running a Node/Meteor/Mongo app on Ubuntu (on a Digital Ocean 1GB droplet), and I've been seeing some weird disk I/O spikes, which are then followed by CPU spikes: I was wondering: If that ...
4
votes
1answer
934 views

cloud-init module order is wrong, how to fix?

I'm using cloud-init to setup AWS EC2 machines running Ubuntu 14.04. One of the more useful features of cloud-init is the write_files module that allows me to install additional files during the ...
4
votes
0answers
878 views

detecting whether GPUs are accessible before running nvidia-smi during boot to create dev files

In the past, I've successfully configured Ubuntu systems containing NVIDIA GPUs to launch nvidia-smi in the background from within /etc/rc.local during the system boot to create the requisite /dev/...
4
votes
3answers
9k views

Promiscuous mode in KVM

I have cloud system based on Openstack Icehouse-version. Now I want to test newer version of Openstack (Juno) inside my existing cloud. All hosts and guests use Ubuntu 14.04 as their OS. KVM is ...
4
votes
2answers
9k views

How to preserve xrdp session on ubuntu 14.04?

I installed xrdp on my ubuntu 14.04 machine using the below commands. I can now remote desktop from my windows machine easily into my ubuntu machine. However, what I notice is when I close the ...
4
votes
1answer
1k views

GlusterFS fails to mount on boot but mounts later in Ubuntu 12.04

Having two machines, profitmargin and revisionist, I created a volume in profitmargin: root@profitmargin:~# gluster volume info Volume Name: uploads Type: Distribute Status: Started Number of Bricks:...
4
votes
1answer
899 views

Ubuntu 12.04 crash analysis - strange binary data on all open files at the moment of crash

A couple of hours ago we got a system crash on Ubuntu 12.04. We checked all the log files and there is nothing suspicious to blame to. Last stuff that was logged was some dovecot activity. There are ...
4
votes
0answers
1k views

Ubuntu Locales Incorrect for Python Application

I have a NGINX -> UWSGI -> Django(python) stack installed on an Ubuntu AMI on Amazon EC2. I've run into a problem when accessing a file with unicode characters in the name. The exact output from the ...
4
votes
0answers
5k views

mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect

When I'm trying to install MySQL 5.5 community edition on my Ubuntu 10.04 by compiling the source code, I met the following problem: $ fg % 1 sudo ../bin/mysqld_safe --basedir=/usr/local/...
4
votes
0answers
822 views

Ubuntu SOCKS proxy setup with two interfaces - how to pass DNS

I setup a SOCKSv5 server (Dante) on Ubuntu with two ethernet interfaces: eth0 is connected to my WAN with a static routable IP eth1 is connected to my LAN with a private IP I have a client ...
4
votes
0answers
2k views

Do I need to trim my SSD? How?

I have been using a pair of Intel 320 in RAID 1 on my busy Ubuntu server for about 4 month. While the disk usage never reached 50% of the capacity, but I FEEL that the server has become less ...
4
votes
1answer
2k views

Analyze uwsgi strace log to find out why it takes high CPU usage

I'm running a django site with nginx through uwsgi. The problem is uwsgi process take a lot of CPU time when traffic become heavy. The same configuration works fine on test server and siege/ab ...
4
votes
1answer
3k views

Turn off EPMD listening port (4369) in Ubuntu / RabbitMQ

I'm trying to secure an install of RabbitMQ, and am not sure how to secure the Erlang EPMD port. I only have one machine running anything, so I'd like to make it listen only on the loopback device. ...
4
votes
1answer
1k views

Ubuntu upstart hangs on interactive start & stop

How do I get Ubuntu upstart to not hang on interactive start & stop? I have created many upstart scripts that work fine during init, but often hang when I enter them at the console. If I CTRL+C ...
4
votes
2answers
3k 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 ...
4
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; ...
3
votes
1answer
86 views

fail2ban not banning on Ubuntu 19.04

I configured a jail for a PHP application login page, but failed login attempts: stephane@example:~$ tail -400f /home/stephane/dev/docker/projects/common/volumes/logs/php_error_log [15-Oct-2019 12:15:...
3
votes
1answer
210 views

Replace systemd-machine-id-setup with alternative?

We're using a ubuntu-18.04 template on a virtualization environment. Therefore, before creating the template, we always empty the /etc/machine-id file so it's recreated upon the first boot. The ...
3
votes
0answers
170 views

Apache2 stops after system graceful-restart

System's effected: Ubuntu 16.04, Ubuntu 18.04, not 14.04. Frequency: Approx. around 24 - 36 hours. [Wed May 08 03:44:25.964597 2019] [mpm_prefork:notice] [pid 7670] AH00171: Graceful restart ...
3
votes
1answer
2k views

how to force Nginx to override header?

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text. I tried to override content type with below configuration but it didn't help. ...
3
votes
0answers
302 views

Can I delete events.out.tfevents.XXXXXXXXXX.computer_name files from TENSORFLOW training folder

I am training faster_rcnn_inception module for object detection on custom dataset. In training directory,we found folder called eval_0 and tensorflow generated events.out.tfevents.xxxxxx files. ...
3
votes
0answers
159 views

Puma + Nginx permission denied on files that don't exist

Getting an error in the nginx logs: [error] 6193#6193: *1 open() "/home/ubuntu/app/assets/bootstrap.min-2e2a039f4eb020ba4438b6e2ad6a83748c14257a60f68facd2d72df75c452969.css" failed (13: Permission ...
3
votes
0answers
588 views

kworkerds process using up all the cpu - ubuntu

Screenshot I have this weird process using up the all the CPU. I kill it and it gets restarted again. Not sure what's going on here and how do I proceed further. We have solr, apache and mysql ...
3
votes
0answers
306 views

Compiling linux-tools tools for custom kernel

I have compile my own RT kernel for ubuntu 16.04 but when i try to use the perf or cpupower tool it says "cpupower not found for kernel 4.4.138-myrt". Then even if i have install the linux-tools-...
3
votes
1answer
745 views

Has anyone had trouble deploying Azure VM using Ubuntu 18.04 after March 8th?

I have a template based deployment that deploys our dev, staging, and production environments. This template has been working just fine since mid February. When I attempted to deploy the dev site ...
3
votes
0answers
2k views

Hostname provided via SNI and HTTP are different (AH02031 and AH02032 ) Error

I am using Apache 2.2 webserver on ubuntu Aws instance. My website goes down with below errors on error log, [ssl:error] [pid 46283] AH02032: Hostname provided via SNI and hostname provided via ...
3
votes
1answer
363 views

Hosting multiple websites (Apache Virtual Hosts), Postfix settings for sending mail FROM those domains?

I am not sure that this was the right solution in the first place but I have Postfix up and running on my Ubuntu VPS with G-Suite using relayhost = [smtp.gmail.com]:587 Mail is delivering fine, ...
3
votes
0answers
492 views

Unable to add interface to network namespace on boot

I have problem with adding a phyisical ethernet interface to a predefined namespace , adding that to interfaces file in pre-up/post-up event do not work. It adds eth to namespace, but ip address and ...
3
votes
1answer
444 views

Loopback interface is renamed to rename1

On my Ubuntu 17.04 Server the Loopback Interface keeps beeing renamed to "rename1" during boot (Syslog: rename1: renamed from lo). I tried to disabling renaming by editing grub.conf: ...