Unanswered Questions

4,075 questions with no upvoted or accepted answers
10 votes
1 answer
3k 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
1 answer
11k 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 ...
7 votes
1 answer
1k 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
0 answers
1k 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
1 answer
4k 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 ...
6 votes
2 answers
2k 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 ...
6 votes
0 answers
329 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 ...
6 votes
2 answers
4k views

Creating a virtual network for KVM guests spanning multiple host machines

I have 5 physical machines running Ubuntu 14.04, all of them are together in a network. These all have static IP addresses. Each of these machines has 1 to 4 virtual machines via KVM/QEMU running ...
6 votes
1 answer
4k 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. ...
6 votes
1 answer
3k 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
1 answer
14k views

x11vnc on Ubuntu 16.04 Gnome with systemd

I am having troubles to start x11vnc service on Ubuntu server 16.04 Gnome. It used to work just fine under 14.04. Not sure if related to x11vnc itself or the systemd. Here is the systemd service file ...
5 votes
1 answer
2k 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
2 answers
2k 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
2 answers
2k 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:...
5 votes
0 answers
375 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
0 answers
3k 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 ...
5 votes
1 answer
2k 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 ...
5 votes
1 answer
14k 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
0 answers
2k views

HyperV Type Clipboard Text does not work in Ubuntu 20.04 (or Linux in general)

I am using Hyper-V in Windows Server 2022. I installed Ubuntu Server 20.04 from ISO in Hyper-V. Now, all I want to do is use the "Clipboard > Type Clipboard Text" command in HyeprV ...
4 votes
0 answers
918 views

unattended-upgrades conffile prompt

To enable unattended-upgrades for packages which can show dpkg config change menu, one has to configure apt and dpkg with these config options: Dpkg::Options { "--force-confdef"; "--...
4 votes
0 answers
1k views

Moving Rocket.Chat data to different hard drive

I have Rocket.Chat running on Ubuntu 18.04.4 LTS through Snap. I would like to move the data (but not the entire snap) to another hard drive. So far this is what I have tried: Backup Rocket.Chat ...
4 votes
0 answers
1k views

Ways to integrate incoming and outgoing mail webhook in Postfix

I am trying to build an application in PHP which will be able to create a Ticket whenever a new mail arrives on a specific account and whenever a reply is done for that email, the application will ...
4 votes
0 answers
287 views

What steps should I take to secure a microk8s installation in 'production'?

Is microk8s secure enough to use in 'production'? Are there any steps that I should take to secure microk8s if the server it is running on is accessible to the internet? I’m considering using ...
4 votes
0 answers
800 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. ...
4 votes
0 answers
274 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
0 answers
8k 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 ...
4 votes
0 answers
3k 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 ...
4 votes
0 answers
2k 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
0 answers
542 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
1 answer
658 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
2 answers
4k views

logrotate not writing logs to correct file

I have a production system on which there are multiple nginx apps hosted. those are nginx applications servers. Now for each of these nginx app servers a logrotate config file is configured in /etc/...
4 votes
1 answer
7k views

nginx - CORS configuration that allows files to be served to localhost?

Here is my current nginx configuration file: server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; # Add index.php to the list if you are using PHP index index.html ...
4 votes
0 answers
535 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 ...
4 votes
0 answers
2k views

Does openconnect have native support for Pulse Secure?

Since they rolled out Pulse Secure in place of Network Connect, I have been attempting to connect to my company's vpn using openconnect. I am seemingly able to run openconnect without errors, do the ...
4 votes
0 answers
753 views

502 Bad Gateway Error - exited on signal 11

I have an issue on a particular Magento store, on two different servers. The issue is that when I save admin panels, I get a 502 error. The values actually save to the database, as pressing back on ...
4 votes
0 answers
934 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
2 answers
10k 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
1 answer
1k 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
0 answers
2k 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
0 answers
6k 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
0 answers
998 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
1 answer
2k views

ethtool, WOL: What does "wake on physical activity" actually mean and (how) can I use it?

I fighting with the WOL settings of my Ubuntu box at the moment. The idea is to have an HTTP/SVN server to sleep while it's unused and wake up when it's accessed. So far, wake-on-LAN works and is ...
4 votes
2 answers
4k 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
2 answers
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
2 answers
5k views

netplan does not implement the route to gateway, in Ubuntu 22.04

sorry if this is trivial ... but I do not seem to be able to get netplan to set the proper route to the default gateway. I have to manually set it using 'sudo route add default gw [...]' to enable the ...
3 votes
1 answer
2k views

How to inspect why my service process be killed by Linux?

I have a vital service running a Ubuntu(20.04.1) server. Recently it is always killed by OS. At first I guess that probably is resulted by the OOM(out of memory) operation of OS, so I modified the ...
3 votes
1 answer
167 views

Why is apache -X stuck in a pselec6() NULL loop?

version 2.4 pselect6(0, NULL, NULL, NULL, {tv_sec=0, tv_nsec=100000000}, NULL) = 0 (Timeout) Repeats forever using strace. Only one httpd process enabled.
3 votes
0 answers
535 views

How to forward all incoming traffic to server A to server B and B returns it to A?

Suppose I have two servers: A and B. On both I have installed WireGuard. On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24. Let's say server A's ...
3 votes
0 answers
3k views

Using SSH key for install npm module from private repository inside docker

I make container for nodejs project. Inside the project I am using private repository. I need an access to it. For that I am using next Dockerfile FROM node:15 RUN echo "StrictHostKeyChecking no&...
3 votes
0 answers
1k views

Use SNI with pip/pypi on Ubuntu 14 Trusty

pip no longer works on old versions of Python 2, because https://pypi.python.org/ now requires Server Name Indication (SNI), which isn't available in Python 2.7.6, the version of Python that comes ...

15 30 50 per page
1
2 3 4 5
82