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.

4,087 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 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 ...
sgt-hartman's user avatar
7 votes
1 answer
12k 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 ...
Subhash's user avatar
  • 171
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 ...
user2196351's user avatar
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 ...
Achim Lammerts's user avatar
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 ...
Chris's user avatar
  • 170
6 votes
2 answers
3k 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 ...
Anuga's user avatar
  • 161
6 votes
0 answers
339 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 ...
Dogsbody's user avatar
  • 656
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 ...
Sha's user avatar
  • 61
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. ...
Jack M.'s user avatar
  • 803
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: [...
Nikita's user avatar
  • 61
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 ...
M-Jack's user avatar
  • 1,376
5 votes
1 answer
3k 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 ...
Matthieu FAURE's user avatar
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 ...
Waqas Jamal's user avatar
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:...
Pablo Fernandez's user avatar
5 votes
0 answers
378 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 ...
David's user avatar
  • 414
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 ...
alfish's user avatar
  • 3,137
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 ...
danorton's user avatar
  • 735
5 votes
1 answer
15k 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 ...
Daniel S's user avatar
  • 415
4 votes
0 answers
3k 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 ...
A X's user avatar
  • 519
4 votes
0 answers
1k 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"; "--...
shodanshok's user avatar
  • 50.2k
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 ...
user2395126's user avatar
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 ...
Pankaj Jha's user avatar
4 votes
0 answers
313 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 ...
Tom Bull's user avatar
  • 251
4 votes
0 answers
3k views

HP iLO CPQCIDRV not found when module is loaded

I'm trying to connect to the iLO interface on my HP ProLiant Server. I'm running Ubuntu 18.04 LTS I've been following instructions including https://downloads.linux.hpe.com/SDR/project/mcp/ https://...
tkr65536's user avatar
4 votes
0 answers
820 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. ...
Vardhman Patil's user avatar
4 votes
0 answers
286 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 ...
Robin's user avatar
  • 61
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 ...
Nikita's user avatar
  • 141
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 ...
adminz's user avatar
  • 397
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. ...
G.Daye's user avatar
  • 41
4 votes
0 answers
556 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. ...
Copy Run Start's user avatar
4 votes
1 answer
679 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 ...
Sacha's user avatar
  • 141
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/...
Shailesh Sutar's user avatar
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 ...
stamps's user avatar
  • 141
4 votes
0 answers
539 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 ...
coderkid's user avatar
  • 193
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 ...
jerome's user avatar
  • 203
4 votes
0 answers
810 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 ...
Tisch's user avatar
  • 182
4 votes
0 answers
944 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/...
lebedov's user avatar
  • 203
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 ...
user3398326's user avatar
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 ...
landabaso's user avatar
  • 141
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 ...
OpIvy's user avatar
  • 113
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/...
photon's user avatar
  • 141
4 votes
0 answers
999 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 ...
Ravi's user avatar
  • 163
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 ...
sunside's user avatar
  • 173
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 ...
Dominic Santos's user avatar
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; ...
James L's user avatar
  • 6,115
3 votes
0 answers
97 views

How to investigate 100% CPU load for 15 minutes on random days

"I have a server that runs a website on Apache2 and is behind Cloudflare. The server's normal load, according to 'htop', is 10%. However, at random days/times, the server load spikes up to 100%, ...
CodePanda's user avatar
  • 141
3 votes
0 answers
565 views

Any attempt to connect to a server with ssh times out

after an attempt to get up a IKEv2 vpn server, I lost an ability to ssh to my server (the ssh just times out). I was able to console into the machine (with ubuntu) with hetzner console and reset all ...
Roaring Stones's user avatar
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 ...
Leon's user avatar
  • 179
3 votes
1 answer
188 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.
queryman2000's user avatar
3 votes
0 answers
551 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 ...
1nted's user avatar
  • 49

1
2 3 4 5
82