Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

8
votes
0answers
740 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
111 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
0answers
641 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 ...
5
votes
0answers
766 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/...
5
votes
0answers
927 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
286 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 ...
4
votes
0answers
2k 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 (...
4
votes
0answers
125 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
749 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
0answers
329 views

Traffic via static route on router does not find its way back

this one bugs me for a couple of days now and I cannot find a solution. Sorry for the strange title. This isn't my main field of work and I currently cannot think of a better title. Some facts: I'm ...
4
votes
0answers
221 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
0answers
518 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 ...
4
votes
0answers
833 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
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
785 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 ...
3
votes
0answers
297 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
1k 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
0answers
970 views

Cannot tail log file to docker logs in Ubuntu container

This is a similar issue to "tail -f not following log file in Docker container" but I'm not sure if it's the same root cause. I'm trying to setup a simple cron docker container, and have been testing ...
3
votes
0answers
57 views

Problems about snmpd configuration on Ubuntu

I have the following questions about the configuration of snmpd service on Ubuntu server 16.04 LTS: Question 1: In the /etc/snmp/snmpd.conf, there is a snippet of comment: ##########################...
3
votes
0answers
2k views

Ubuntu 16.04 Systemd not possible to use systemctl

I have a Ubuntu 16.04 server, since the last restart, systemctl doesn't work anymore. For example if I want to start the nginx, I get the following error: root@SERVER:/# systemctl start nginx ...
3
votes
0answers
463 views

why does nginx need to be restarted?

Ubuntu 16.04 starts nginx on boot. It's configured to proxy several dev websites on localhost. These sites are not running when nginx starts the first time. If I start the websites and browse to ...
3
votes
0answers
1k views

Mount CIFS-share with users Kerberos-Ticket

we want to mount shares through autofs. Nothing special we thought. But: this must be done in some complex active directory circumstances. What we have: integrated Ubuntu 14.04 workstations on which ...
3
votes
0answers
328 views

Authentication vsftpd account using remote LDAP user

I'm trying to authenticate vsftpd from LDAP logins which hosted remotely another server . vsftpd hosted on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws . from the LDAP server ...
3
votes
0answers
292 views

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a ...
3
votes
0answers
82 views

Installing apache2 ssl - ubuntu

I need to install a ssl in my apache2 ubuntu, and do not know what I'm wrong, but the fact is that I do not get ... I have the relevant files: one .key file and two .crt files. At first, when editing ...
3
votes
0answers
160 views

Adding mfa verification code to ssh command?

Im trying automate the login process using shell script. I got MFA + pub key authentication working. However Im stuck at how to pass verfication code as a parameter to ssh command. I tried go ...
3
votes
0answers
140 views

Get floating ip from mmm to work on Tinc vpn on Ubuntu

I've got 3 ubuntu servers connected with a Tinc VPN right now. 2 servers are running mysql 5.6 db's, and the 3rd is used only as a monitor. We're using mmm to do the monitoring and assign a floating ...
3
votes
0answers
683 views

Kernel parameter isolcpus seems to have no effect on Ubuntu Server with NUMA

I use the isolcpus kernel parameter to restrict the CPUs the Linux scheduler should use to place processes. cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.2.0-18-generic.efi.signed root=UUID=78e5b46f-...
3
votes
0answers
208 views

uWSGI won't start via Upstart, but starts ok from the console

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
3
votes
0answers
1k views

QEMU USB passthrough is not working

I stuck at getting USB passthrough working with Windows 8.1 guest OS on Ubuntu Server 14.04. I started by installing qemu using the Ubuntu Documentation (https://help.ubuntu.com/community/KVM). The ...
3
votes
0answers
143 views

Linux - Outgoing connections from process timeout after the process restarts

banging my head against the wall with this one... I have an Ubuntu Linux server, on top of which our own process which holds 40K persistent connections to external services. When the process starts,...
3
votes
0answers
136 views

/etc/cron.daily/locate has blank line. File is readonly can't edit

I get this output every day. /etc/cron.daily/locate: run-parts: failed to exec /etc/cron.daily/locate: Exec format error run-parts: /etc/cron.daily/locate exited with return code 1 File contents ...
3
votes
0answers
515 views

“Open files” ulimit applied only when using 'su - userX' but not when I SSH into server

I'm running Ubuntu 12.04. My problem is that the ulimit values described in limits.conf are not being applied when I SSH into my server using a non root account. Either that or they are being applied ...
3
votes
0answers
446 views

“ip route get” on Ubuntu returning default instead of static route

We've been trying to solve this seemingly simple routing problem for days. We are trying to route traffic through an OpenVPN tunnel. Specifically, traffic to 10.0.1.136 should be routed through our ...
3
votes
0answers
2k views

How do I set locale when building an Ubuntu Docker image with Packer?

I'm using Packer to build a Docker image based on Ubuntu 14.04, i.e., in my Packer template I have: "builders": [{ "type": "docker", "image": "ubuntu", "commit": true }], and I build it ...
3
votes
0answers
1k views

php-fpm process in D state ,cause nfs wait rpc_wait_bit_killable

my wordpress site which is in clustered environment using NFS,nginx,php-fpm,mysql the infrastructure is hosted on amazon ec2.Under high load/traffic the php5-fpm process goes in D state(...
3
votes
0answers
17 views

Give group of users install privilages in R but not affect root install?

So we have a few users who use a number of servers for various computations. They constantly ask us to install packages from bioconductor and cran for R. It's a real bother and truthfully they can ...
3
votes
0answers
760 views

Using ufw on OpenVZ-based VPSes

I'm facing with a problem to set up ufw on Ubuntu 12.04 running on an OpenVZ-based VPS. I know there is limitations for ufw. I googled a bunch of articles how to resolve the issue (like: http://blog....
3
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 ...
3
votes
0answers
436 views

Having trouble installing Racoon and Strongswan on the same system

I have two applications that I need to run, one uses Racoon for establishing IPSec tunnels and the other uses Strongswan. Therefore, I need both Racoon and Strongswan installed simultaneously on my ...
3
votes
0answers
919 views

Why can't I get logwatch to output anything in Ubuntu?

So I installed logwatch using this guide on a Ubuntu 12.04 box. I also setup postfix and my initial intention was to add a daily cronjob to email me these reports (I have the same setup on a Debian ...
3
votes
0answers
4k views

nginx not listening to port 80

I've just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symlink at sites-enabled. Then restarted nginx. Problem: ...
3
votes
0answers
4k views

Tortoise Git seems to connect then refuse my connection: git did not exit cleanly (exit code 128)

I had been using Tortoise Git from my windows PC to connect to GitHub as well as a local server. One of my OS drives failed (raid 0) so now I'm tasked with getting it back up to speed. I've been ...
3
votes
0answers
1k views

Group membership erratically lost after user logs in - Ubuntu, winbind, AD

I have a really strange issue where the wbinfo -g command properly indicates the AD domain group I am interested in and shows a particular user in that group - this is always true, so on the linux ...
3
votes
0answers
209 views

four-disk md raid10-far can be assembled and ran as “clean, degraded” with only 2 disks. Bug or i'm missing something?

Today i was solving raid failure on raid10-far with four disks. One disk failed and another wasn't re-added after a hard reboot. The mdadm -D was reporting it's clean and running with only two out of ...
3
votes
0answers
370 views

Is there an alternative for the Intel WebConsole for managing the RS2WG160 RAID controler on Ubuntu?

I have a server with 16 HDs connected on an Intel RS2WG160 Raid controller and I would very much like to know the state of the disks using the Web Console that Intel provides. The problem is that ...
3
votes
0answers
649 views

How do I print, identified as an AD user, from an Ubuntu client to a Windows print server?

I know my question may be confusing, so I'll clarify. I'm an admin at a school and am setting up the labs to use Ubuntu (12.04). Users already can authenticate against Active Directory (currently ...
3
votes
0answers
5k views

tftp server configuration under ubuntu, Access violation

Here is my configuration: $ vi /etc/xined.d/tftpd service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /...
3
votes
0answers
120 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 ...