Latest Ubuntu related questions

Score: 0
Grey Hill avatar
Slow server work high iowait, raid0, cpu 100%, ram is only 20% loaded
cn flag

There is a server

  • CPU ⇢ 1x Xeon E-2236
  • RAM ⇢ 32 GB
  • HDD ⇢ 4x 10TB HDD.

The disks are assigned in a RAID0 array. This is a streaming server (nginx) designed to distribute large video files. The problem arises in the following.

When you start loading the server with traffic:

  1. grows iowait
  2. CPU utilized at 100%
  3. the server starts to get slow

What I don't understand about this is that RAM memory is ...

Score: 1
Sanx avatar
Unable to install MySQL client via pip3 or pip
gh flag

I get the exact same error as shown in Unable to install mysqlclient on Ubuntu 20.10 and Error installing libmysqlclient-dev on Ubuntu 20.04. But after doing all these, if I install mysqlclient via, "sudo pip3 install mysqlclient" it installs successfully. The problem is I don't need it in root since I'm using virtual env and my django is not in root, that is, python in venv does not detect mysqlcli ...

Score: 0
user3303102 avatar
Intel RST RAID and Ubuntu 20.04. used DM RAID utility to rebuild and destroyed RAID config
cn flag

I have set up a local server with an old laptop so I was using RAID 1 mirroring for reliability= 2* 1TB HD SATA 2.5". I did use the Intel RST built in functionality. Only Ubuntu Desktop version recognized the Intel RAID configuration (I don't know why the server version didn't).

Anyway, while mounting back again everything after the first setup, unluckily a cable didn't get connected properly. Ev ...

Score: 0
Vombatus avatar
remote display freezes & poor performance (x2go, XFCE, lightdm)
cn flag

I have a server runnning Ubuntu Server 20.04 with XFCE4 (lightdm) and x2go. On the client side I use the x2go client for windows on windows 10. Since the client and the server are usually in the same LAN, I use the "no-pack" option. Connecting to the server via x2go takes quite a bit (~1 minute). Once the session is opened, it takes around two more minutes until the desktop is fully drawn. Clicking on a ...

Score: 0
Tapasvi Bhatt avatar
How to install Dolfin Package (which is generally used when you are using FEniCS)?
ph flag

To solve Partial Differential Equations, I installed FEniCS on a virtual environment. To use FEniCS, I have to use the Dolfin Library and I wish to know, how to install this library. I tried the following options but didn't get through:

1. pip install dolfin
ERROR: Could not find a version that satisfies the requirement dolfin (from versions: none)
ERROR: No matching distribution found for dolfin

Score: 1
Programmer avatar
apt is not finding packages from ppa
us flag

I am trying to install a newer version on my Ubuntu 18.04, but it somehow doesn't let me. The version I have installed and that is natively available from the repos is 17.12.3. I want to upgrade to 19.12.3 to open a project file from a friend. In order to do that, I added the launchpad ppa of kdenlive to my system:

$ sudo add-apt-repository ppa:kdenlive/kdenlive-stable
 Enjoy latest Kdenlive release!
 ...
Score: 2
Paolo avatar
Is there a way to move "default places" section under "boomarks" section in the left sidebar of Nautilus?
pl flag

I am using ubuntu 20.04, and I would like to have the bookmark section on the top of the sidebar of Nautilus (followed by the default places like "Desktop", "Music" etc.

Is there a way to do that?

enter image description here

Score: 0
Mihiran Chathuranga avatar
How to combine grep command and sed command on the same text file and get output to another file?
mx flag

I copied the following log from grafana log explorer.

2021-06-12 21:59:41 
2021-06-12 20:59:41.118  INFO 1 --- [edElastic-14048] c.o.i.i.s.i.UserManagementServiceImpl    : BUNDLE_PURCHASE_FAILED || 213550040214 |  Failed to Do Simple Bundle Purchase  For Transaction 5001235315807102834, Error JSON decoding error: Cannot deserialize value of type

my expected output:

2021-06-12 21:59:41  2135500402 ...
Score: 0
FedKad avatar
sshd response "Exceeded MaxStartups" while connecting
cn flag

We have a Google Cloud Platform (GCP) server that is open to world with ssh port 22. (I know that this is a bad idea, but fail2ban is running also on this server just for this reason.) Recently, the server started a behavior of suddenly using high CPU and a few hours later it becomes unresponsive. Possibly GCP decreases the CPU credits of the server to a very low value and eventually the server comes ...

Score: 1
Budhayan avatar
No Bluetooth Found. Plug in a dongle to use bluetooth
de flag

I am new to Ubuntu (and to the whole world of Linux) and am using Ubuntu 20.04. I have completely uninstalled windows and installed Ubuntu on my system. Now when I go to the settings to connect to Bluetooth, this is what it shows me enter image description here

Earlier, when I was using windows, Bluetooth would occasionally cause problems but would work just fine most of the time.

Could someone pl ...

Score: 2
Maurizio Santovito avatar
cloned Ubuntu 20.10 installation on same hardware fails at boot
in flag

I have more than 100 units of the same HW I need to prepare for our product delivery. All of them are the very same HW (celeron N platform, 32GB SSD) and come with a standard Ubuntu 20.10 installation which needs to be customized for our specific product. I did all the customization on a single unit I would like to keep as a "master" setup to be spread on all the unit. I dumped an image of this "master" ...

Score: 0
inux avatar
Failed to start Raise network interfaces on Ubuntu18.04.5 LTS
mx flag

I am updating Ubuntu OS to 18.04 from 16.04. During the reboot I see "failed to start raise network interfaces" message. Then, that's what systemctl shows:

● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2021-06-14 16:45:48 JST; 16s ago
     Docs: man:interfa ...
Score: 0
henrebotha avatar
Laptop crashes when not connected to dock
cn flag

I'm running Xubuntu 21.04 on a Dell Latitude 7390 with a Dell D6000 dock. As of a recent update, the laptop stops being responsive if I disconnect it from the dock. It does not become responsive again after being connected; I am forced to reboot. Similarly, when booting from cold without the dock connected, the laptop freezes shortly after showing the Xubuntu login dialogue. This makes me believe the is ...

Score: 0
ali-sezar avatar
Replace sequence of a charachter with another one
in flag

I have an output from a network monitoring command and it looks like this:

                     391KB     7.48MB     7.86MB

Which have a lot of spaces first. Now I want to replace all spaces with ,.
I tried sed 's/ /,/g' input_file > output_file, But result is not exactly what I expect:

,,,,,,,,,,,,,,,,,,,,,391KB,,,,,7.48MB,,,,,7.86MB

I even tried:

sed -r 's/(.*) /\1,/; s/ //g' file.txt > ...
Score: 0
Cristian Florescu avatar
How to install / configure ubuntu 20.04 LTS "Focal Fossa" directly?
se flag

I have Asus K50-IE old laptop. First time I installed it without any problems, and also I did all the updates, and it worked like a charm, even with the Livepatch option. Before I had Windows 7 x64 os installed.

Then I reinstalled it once more (actually many more in different combinations), with the erase option, and put all the updates, and now I can not shut down or reboot properly. I repeated the proc ...

Score: 3
Mohammad javad avatar
apt error: repository doesn't support architecture 'i386'
it flag

When I run sudo apt update got this message:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt hirsute-pgdg InRelease' doesn't support architecture 'i386'

this is output of dpkg --get-selections | awk '/i386/{print $1}'

gcc-11-base:i386
libc6:i386
libcap2:i386
libcom-err2:i386
libcrypt1:i386
libdbus-1-3:i386
libgamemode0:i386
lib ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.