Latest Ubuntu related questions

Score: 0
UFW blocking existing outbound connections when enabled
in flag

I'm having a problem where ufw seems to be blocking existing outbound connections on port 443 when it is enabled. Example:

Feb 24 17:53:00 server5 kernel: [18571501.131985] [UFW BLOCK] IN=eno1 OUT= MAC=d0:50:99:db:0a:be:00:6b:f1:17:4a:81:08:00 SRC=35.196.37.91 DST=1.2.3.4 LEN=40 TOS=0x00 PREC=0x60 TTL=51 ID=24902 DF PROTO=TCP SPT=443 DPT=44496 WINDOW=0 RES=0x00 RST URGP=0 
Feb 24 17:33:40 server5 k ...
Score: 1
Alexander Weihmayer avatar
CURL request only works outside of VM
ru flag

VM: Windows Subsystem for Linux with Ubuntu 18.04.

Curl version: 7.58.0

Command used: curl -v "http://IP:PORT/PATH"

Result:

* Trying IP...
* Connected to IP (IP) port PORT(#0)
> GET /PATH HTTP/1.1
> Host: IP:PORT
> User-Agent: curl/7.58.0
> Accept: */*
>

And it just stays stuck there. What's weirder is that if I have an invalid query string parameter in the path, I get response from th ...

Score: 0
Tobito avatar
I have been trying to remove ppa.launchpad.net/micahflee/ppa/ubuntu impish release without a release file
us flag

As above I have tried to update and received: 404 Not Found [IP: 2001:67c:1560:8008::19 80]

Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/micahflee/ppa/ubuntu impish Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configur ...
Score: 1
Raynkapa avatar
Cannot install Git on Ubuntu 21.10
in flag

When I was trying to install Git on Ubuntu 21.10, I get an error. The command I used to install git is:

sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git

The error I encountered was:

$ sudo apt install git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installe ...
Score: 0
Ubuntu 18.04.5 server unable to detect either SATA drive attached to Broadcom 3808 Tri-mode I/O Controller
br flag

The Ubuntu 18.04.5 Server (kernel 4.15) fails to deploy due to undetected SATA/SAS HDDs. These drives are attach to a Broadcom SAS3808 IOC. However, if drives are not attached to the SAS3808 IOC, the Ubuntu 18.04.5 Server will deploy successfully.

This symptom is evident on both installations - either thru PXE booting over MAAS or performing manual installation thru a boot media.

While, Ubuntu 18 ...

Score: 1
Ido Segal avatar
Forwarded connection refused by server: Connect failed [Connection timed out]
iq flag

I have an Ubuntu 20.4 LTS that running Squid as a proxy server.

I have a scenario that I'm forwarding traffic from another server to the Linux server using plink with the following command:

plink.exe -L 0.0.0.0:PORT:localhost:SQUID_PORT user@x.x.x.x -pw "pass" -N -v

Output:

Local port 0.0.0.0:PORT forwarding to localhost:SQUID_PORT

To test it, I'm using the following python code (After running the comm ...

Score: 0
Is it safe tu turn off fstrim service because of possible data loss due to fstrim
id flag

So, on one of our servers (and we have 154), we saw this log entry:

Feb 21 00:00:03 vps-442 fstrim[3162507]: /boot/efi: 97.8 MiB (102542848 bytes) trimmed on /dev/sda15
Feb 21 00:00:03 vps-442 fstrim[3162507]: /: 15.6 GiB (16687521792 bytes) trimmed on /dev/sda1
Feb 21 00:00:03 vps-442 systemd[1]: fstrim.service: Succeeded.
Feb 21 00:00:03 vps-442 systemd[1]: Finished Discard unused blocks on files ...
Score: 0
HenDoNR avatar
Login loop issue regarding lightdm and gdm3?
cn flag

I was facing problems regarding the login loop. So then I tried to install gdm3 instead of lightdm and now I can't type any command after press CRTL+ALT+F3. The whole screen seems in a loop. Do a have a way to recover the lightdm booting using the recovery mode?

Score: 0
systemd drop-in unit, ExecStartPre as root user, ExecStart as custom user
ru flag

I have a web service running using systemd, this service runs by its own user, and I would like to execute some ExecStartPre commands but running as root user. So more in detail:

i.e /lib/systemd/system/webservice.service

[Unit]
Wants=network-online.target
After=network-online.target

[Service]
EnvironmentFile=/etc/default/web
Group=webuser
Type=simple
Restart=on-failure
WorkingDirectory=/usr/share/web ...
Score: 0
grabbag avatar
What originated signal 15
kn flag

My system is stable for weeks at a time, probably months. But reboots after doing a specific task for about 30 minutes (GPU deep learning).

Unrelated to this task, but about the same time as the reboot I noticed

tail -f apcupsd.events
2022-02-24 11:41:49 -0600  apcupsd exiting, signal 15
2022-02-24 11:41:49 -0600  apcupsd shutdown succeeded
2022-02-24 11:54:32 -0600  apcupsd 3.14.14 (31 May 2016) debi ...
Score: 1
The Bear avatar
How do I fix Ubuntu?
tm flag

Yesterday I installed Ubuntu on my laptop and it was working fine, but today whenever I try to turn it on I can't some weird text appears and I don't know what it is or what to do. I tried to reinstall Ubuntu, but it didn't work. Whenever I try to turn on the laptop right before the aforementioned screen, I see a screen with three boot options.

enter image description here

https://imgur.com/gallery/zGt8aEH

Score: 2
Uninstall XTerm
cn flag

I unintentionally downloaded XTerm and UXTerm. GNOME Terminal is working just fine for me for now (I'm new to LINUX), and I don't want to have XTerm and UXTerm on my computer if I'm not using them. It doesn't appear in the "Installed" category in Ubuntu Software. I don't know if there's a command to remove it, but I can't find one.

Score: 0
Transfer Files - Replacing Mac OSX with UBuntu
cn flag

I have a MacBook Pro mid 2014 with an operating system that I can no longer upgrade which makes it a pain to use. I've been using a USB to test out Ubuntu and feel I'm ready to replace my OSX with Ubuntu. My question is, I was planning on transferring my files using an external hard drive. Is there a particular format that I need to use when saving files to the external hard drive so that I don't have i ...

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.