Latest Server related questions

Score: 0
Kalcifer avatar
ssh connection refused despite PermitRootLogin yes
ax flag

In /etc/ssh/sshd_config I changed and added the following:

PermitRootLogin no
Match Address 192.168.0.*
    PermitRootLogin yes

When I try to connect via ssh, however, I get Connection refused.

I know that its those lines affecting it because if I remove them and just leave it as

PermitRootLogin yes

I can connect just fine. What's going on here? It seems that SSH is ignoring the Match block.

Score: 0
SQL Developer queries are very slow if I am not connected as sys
ru flag

I want to run my PL/SQL Queries on SQL Developer and created a new user connection. But if I run:

set serveroutput on size unlimited;

begin
  dbms_output.put_line('Hello Oracle.');
end;
/

clear screen;

It takes more then 100 seconds. But only if I am connected to a user wit default role. It is very fast when I am connected to sys. How can I fix it?

Score: 1
mr.zog avatar
Can the portworx "internal" kvdb coexist with etcd?
at flag

I have a tiny (three worker node, one controlplane) kubernetes cluster running and I want to configure portworx for storage. All my hosts are kvm virtual machines running Ubuntu 20.4.3 LTS with 5.4.0-73-generic kernel. I used https://central.portworx.com/specGen/wizard to generate a portworx 2.8.1.2-c9b840b (OCI) spec file and applied it to my cluster. I chose to not configure a dedicated kvdb drive on t ...

Score: 0
anil avatar
AWS IAM user with special permissions
my flag

I am having following task to do.

I want to create 10 IAM users each user should have login username and password and each IAM user should have separate ec2 instance that can not be visible to others.

for an example: user1 user2 user2 .... user10

when user1 login in his dashboard he can see his own ec2 instance added by root/ super-admin user.

Thanks in advance..

Score: 0
How To Add Docker Container Static Route?
tr flag

Have a server with 4 subnets - 1 usable IP each and each configured on separate network port on the network card. Running 4 docker containers, but they are randomly accessible upon reboot. How to add a static route for each?

container1 - network card port1 - Subnet/IP1
container2 - network card port2 - Subnet/IP2
container3 - network card port3 - Subnet/IP3
container4 - network card port4 - Subnet/ ...
Score: 0
philolegein avatar
How to get mimedefang's md_syslog to log?
cv flag

I'm trying to debug a mimedefang filter I've written, and I can't seem to get md_syslog to actually log anything. This is with mimedefang 2.85 on Amazon Linux 2. Somehow logging seems to be working because I'm seeing stuff like this

Jan  9 18:00:41 ip-10-0-200-150 mimedefang.pl[26660]: C51DA80055: MDLOG,C51DA80055,mail_in,,,<frommail>,<tomail>,Test
Jan  9 18:00:41 ip-10-0-200-150 mimede ...
Score: 0
What could cause a PD (access point) to not detect / pull power from a PSE (switch)?
ge flag

I've got a PD (Powered Device : Ubiquity AirCube ISP access point) and a PSE (Power Sourcing Equipment : TP-Link TL-SG1005P switch).

My understanding is that there are two ways of supplying power : A and B. The PSE (switch) in this case supports A. It is also my understanding that for a PD (access point) to be compliant, it needs to support both A and B. So in other words, the PSE controls which one  ...

Score: 0
Did/When did the Apache Custom Log Format of SSL env vars change?
mx flag

For years I have been accessing SSL custom log variables using directives like

CustomLog /var/log/apache2/ssl_type_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"

Specifically: %{SSL_CIPHER}x

Today, apache was killed and restarted. I think I got a version updated to 2.4.52 in the process, but I'm not sure what version I was upgrading from. But suddenly it didn't like the %{SSL_CIPHER}x format.  ...

Score: 0
Samuil Dimitrov avatar
Can a Workgroup be part of a Domain?
in flag

Can a Workgroup be part of a Domain? If someone could answer me I'd be very thankful.

Score: 0
Timur Sabet avatar
Dante server high CPU% load and negotiation process
jp flag

I am a noobie trying to figure out a way to host proxies for my family and friends (around 20 people maybe) for Telegram. I am using a DigitalOcean droplet with 2vCPU and the rest are base configurations. Below is my server config. I run it on the specific port which is open in the firewall, and there are no issues connecting. However, when Dante creates new processes named "negotiation" (or something  ...

Score: 7
Upgrading Debian Linux to a specific patch level
jp flag

I have a few dozens of Debian boxes which I want to keep up to date in a deterministic fashion, and also follow the Engineering => Pre-Prod => Prod routine with a deterministic staging process.

Ideal world for me would be to have some sort of 'patch level ID' at hand, like 2022-01-10.e28de15cc1 and be able to say apt upgrade --to 2022-01-10.e28de15cc1, but I've not found anything remotely si ...

Score: 0
Nibras Shami avatar
Can multiple keypairs added to an instance in aws?
bw flag

Regarding to this question here "https://serverfault.com/questions/221760/multiple-public-keys-for-one-user" and many others on getting ssh access using multiple pub keys for one user, can I somehow add multiple keypairs to the authorized_keys folder inside the instance for the same user?

So the user can access the instance using any authorized keypair he is allowed to use to connect to the insta ...

Score: 1
agatek avatar
zfs does not recognize its own physical disks
us flag

I have repeating problem with the zfs pool where zfs stops recognizing its own, properly labeled (or so it appears) physical devices.

Ubuntu 20.04.2 LTS
5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
libzfs2linux/now 0.8.3-1ubuntu12.11 amd64 [installed,upgradable to: 0.8.3-1ubuntu12.13]
zfs-zed/now 0.8.3-1ubuntu12.11 amd64 [installed,upgradable ...
Score: -1
Sara June avatar
How to turnoff machine completely in azure?
cn flag

In AWS, when I turnoff my windows machine with shutdown command inside it. The AWS portal, it will show as turned off.

But in azure, if I turnoff from portal, it is releasing IP and showing as turned off.

turnoff from portal

But if I turn it off from machine, it is showing as stopped but not deallocated and keeping the public IP still. shutdown from machine

stopped only

What is the billing difference in the above two? And, users will ask us to turn  ...

Score: 0
NetServOps avatar
WSUS in disconnected environment
us flag

I need to build a WSUS server in a disconnected environment. This environment bears no relation to our office domain in any way. So I have built the WSUS server and followed the instructions from Microsoft on how to configure it, instructions here - https://docs.microsoft.com/de-de/security-updates/windowsupdateservices/18127442

Essentially instructions advised to do the following:

  1. Using 'Windows Se ...

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.