Latest Server related questions

Score: 0
Cannot determine what is taking up space on Ubuntu lv
in flag

As you can see here my root volume on / shows full via df -h.

Filesystem                         Size  Used Avail Use% Mounted on
udev                                16G     0   16G   0% /dev
tmpfs                              3.2G  1.6M  3.2G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  196G  185G 1009M 100% /
tmpfs                               16G     0   16G   0% /dev/shm
tmpfs                         ...
Score: -2
uday avatar
with terraform version 13, I am getting error nvalid default value for variable in region params, how to fix that?
ke flag

variables.tf

variable "region" {
  default = "us-central1"
}

variable "zone" {
  description = "override default zone specified in region_params"
  default     = ""
}

variable "region_params" {
  description = "Map of default zones for each region. Can be overridden using the `zone`."
  type        = map(string)

  default = {
    asia-east1 = {
      zone = "asia-east1-b"
    }
    asia-east2 =  ...
Score: 0
Karn Kumar avatar
How to overcome the Weaker MD4 hash issue with samba
cn flag

We are using samba configuration on our RedHat(RHEL7.9) systems, where SMB authentication is based on a NTLM password hash which basically a clear-text credential for a challenge-response authentication which getting stored in a separate attribute, sambaNTPassword in the LDAP(Oracle unified Directory) directory database.

So, Our security team carried out some pen-testing and found the MD4 which i ...

Score: 0
number9 avatar
Openstack Victoria SPICE configuration not working
us flag

Running openstack on Ubuntu 20.04 with a controller node and four compute nodes. I am reading the instructions on configuring SPICE here. I will admit, I found out about which packages to install from other sites, as the instructions at the link do not actually list any software that needs to be installed.

  • On the compute nodes and controller, I installed nova-spiceproxy
  • On the controller I installed
Score: 1
McLayn avatar
CentOS doesn't boot with "A stop job is running for Security Auditing Service" message
br flag

CentOS prints the following during boot

[ ***  ] A stop job is running for Security Auditing Service (9s / 1min 30s)

and then switches into the single user mode.

Score: 1
J-SN avatar
USMT workgroup to domain
us flag

I am using USMT to migrate a large amount of computers from workgroup profiles to domain profiles.

My scanstate is:

scanstate.exe C:\temp\migration /ue:*\* /ui:"%computername%\@localUser@" /o /vsc /i:migdocs.xml /i:migapp.xml  /i:"C:\temp\USMT-Deploy\Config.xml" 

My loadstate is:

loadstate.exe C:\temp\migration /c  /mu:"%computername%\@localUser@:@domain@\@domainUser@" /auto /i:migdocs.xml /i:migapp ...
Score: 0
Javier Paz Sedano avatar
Containerd-shim hangs when running docker run
es flag

My problem is that from time to time, when I try to start a new container with docker run, it just hangs forever. All the running containers keep working fine, but I'm unable to start any container.

The only way of getting out of there is with Ctrl+C, but then I can't remove the failed container (nor the associated image, of course). What I've found so far is that the associated containerd-shim proce ...

Score: 2
Guarantee ResourceQuota in a Namespace
ng flag

I'm running a cluster that is shared across teams and I'd like to guarantee each team a minimum amount of resources, especially memory.

Following the instructions I've tried using the following on their namespace:

apiVersion: v1
kind: ResourceQuota
metadata:
  name: mem-quota
spec:
  hard:
    requests.memory: 8Gb

However from reading more docs, it turns out this doesn't guarantee they have 8Gb of mem ...

Score: 0
Old Geezer avatar
AWS Ubuntu instance keeps dropping ssh connections
us flag

My AWS LightSail Ubuntu instances used to allow my ssh clients to stay connected forever. However, a newly created Ubuntu 20.04 instance now keeps dropping the ssh connection, even though connections on the same PC to other cloud Ubuntu instances remain uninterrupted. I am unable to tell whether it is due to inactivity.

I check /etc/ssh/sshd_config and the following are all unset:

#TCPKeepAlive yes ...
Score: 1
HAProxy 2.0 - retrying some of the requests based on URL
jp flag

I have HAProxy version 2.0.14 installed, and I'm looking for a peculiar use-case which I haven't yet managed to configure correctly.

Basically I have a frontend which listens on a port, and two backend servers. Once a session is started, cookies are used, so a session is tied to a particular backend server, and cannot be shared to another server. To achieve this I'm using stick-table and stick on

Score: 2
iomv avatar
tail command retry flag not working with wildcards?
tr flag

I want to tail a bunch of unknown directories names containing a particular non-existant file, e.g.:

tail -F /tmp/*/app.log

However that does not work as intended with the wildcard: if I create a file with that path, tail won't start following unless I restart the command. On the other hand if I run:

tail -F /tmp/example/app.log

as soon as the file appears the command will output: tail: '/tmp/example ...

Score: 1
jwir3 avatar
nginx redirect or return single location
cn flag

I am trying to get videos.mydomain.com/kickboxing to redirect to a YouTube link, as well as videos.mydomain.com/classes to redirect to a different YouTube link. (These are both unlisted playlists, and I want anyone who has access to our website to have this redirect happen automatically for them. This is step 1 of several steps of configuring this and I can't seem to get it to work).

Here's my configu ...

Score: 1
ricekab avatar
Cannot access samba Ubuntu server via hostname UNC path (IP works) in Windows explorer
cl flag

Setup

We have an AD server running on Windows Server 2012 (ad01.<domainroot>). There is a Samba file server running on Ubuntu 20.04 (fs02.<domainroot>). The file server is domain joined using winbind.

In this post I'll be using <domainroot> to be the equivalent placeholder of AD.EXAMPLE.ORG and <workgroup> for the workgroup.

Problem

We're unable to access the samba server /  ...

Score: 0
Torsten Bark avatar
ChromeOS or a derivative in a virtual machine
in flag

I am planning to buy a Chromebook and wanted to ask if you can install and test ChromeOS or a derivative in a virtual machine before investing that much money.

I hope I will put my question in the right group and would be very happy to receive an answer ;-)

Kind regards Torsten

Score: 0
SFTP - Match Group ignore in sshd_config
ru flag

I have the following settings, and I restart the sshd service every time I make a change.

Match Group sftp_users                                                                                                                 
ChrootDirectory /home/sftp-data                                                                                                        
ForceCommand internal-sftp 

But when I log ...

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.