Latest Server related questions

Score: 0
SSH connect timeout for reaching interactive session
in flag

When connecting to a misbehaving SSH server, is there a flag or config setting I can use to tell the client to give up earlier if an interactive console isn't reached in a short period of time?

I am aware of -o ConnectTimeout which will abort the connection when the host is unreachable. In this case, the host is reachable and the initial connection occurs quickly ("Server accepts key" in less than 1s) b ...

Score: 0
bibofett avatar
Job for docker.service failed because the control process exited with error code
bo flag
root@staging:~# sudo systemctl unmask docker
Removed /etc/systemd/system/docker.service.
root@staging:~# sudo systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

I needed to run this to solve a docker issue. Docker kept crashing after 1-2 hours after I run docker-compose up.  ...

Score: 0
Nova avatar
How do I create an internal Layer 4 load balancer in Kubernetes?
au flag

I am trying to create an internal (no external IP) layer 4 load balancer in AWS - either a Network LB or Classic LB - for internal traffic management instead of using the kube-proxy.

Below is my manifest file - it keeps creating an external LB regardless of how I specify the annotations. I have tried this without the "aws-load-balancer-type" annotation as well as the "aws-load-balancer-scheme", w ...

Score: 0
alzee avatar
Can a Microsoft DHCP server be configured update a Microsoft DNS server with a configured hostname, ignoring the client supplied name?
ye flag

I have been struggling with this for a few days now, and am really at my wit's end. Our infrastructure is very heterogeneous with a mix of hardware devices and virtual machines running a variety of operating systems. This issue is present in situations where "fixing it on the client" is simply not an option, so please, no answers in that vein.

The TL;DR is that I cannot figure out how to simply ...

Score: 0
Can Azure Bastion Host be configured for unattended ssh logins?
us flag

Can bastion hosts be setup for unattended ssh logins?

I've not been able to find anything in the documentation. All I see is that a user goes to the Azure portal and connects through the portual UI over 443. Nothing to indicate that public SSH(22) access is available.

Possible use cases:

  • DevOps Pipeline
  • Cron Job Script
  • Scheduled Backup script
Score: 0
elnaz avatar
Error in Wallaby Openstack segment unable to create
us flag

I have a problem in Masakari, when I want to create segment for HA based on Masakari document with this command:

openstack segment create

I get this error:

Request requires an ID but none was found

Score: 0
Nike avatar
Server log on service best practice
us flag

I've seen many best practice articles about running application with a domain service account. I've tried it on my labs by set GPO to allow specific domain user to log on as a service

However, when I installed a new program (e.g. monitoring tools agent) it's still able to running by Local System. And the Application service is still running as Local System after I restarted.

As I know, Local System  ...

Score: 0
Postfix - forward a single email address of a virtual domain to external server
cn flag
mxc

I have an postfix server (mailserver) that provides mail services for a virtual domain (example.com). I have an email address in that virtual domain (bob@example.com) that is used by an application running on an external server (appserver) that uses its own postfix installation to deliver mail. I would like all incoming mail for bob@example.com to be forwarded to the appserver. I have made an entry in t ...

Score: 0
Mount only a folder of a Google Drive in Linux
in flag

I would like to mount only a folder of a Google Drive on a Linux CLI server. What would be the best way to do that? Share of this folder to a dedicated Google user, and mount it using that account? Is that even possible?

Score: 1
Michael Altfield avatar
How to write pidstat output to a sadc file for analysis later (sar)
cn flag

How can I write the output of pidstat to a file for analysis later?

In sar, you can monitor usage and write-out to a file for later analysis using the -o argument. From the man page:

       If multiple samples and multiple reports are desired, it is convenient to specify an output file for the sar command.  Run the sar command as  a
       background process. The syntax for this is:

       sar -o data ...
Score: 0
vrms avatar
Ansible Install with pip3 - which is the default ansible.cfg?
de flag

I have installed ansible on my contril machine (rhel8.3) via pip3 for my current user and would like to figure out which (of the many) existing ansible.cfg files is being utilized as default im my scenario.

$ find ~ -name ansible.cfg
/home/username/.local/lib/python3.6/site-packages/ansible/galaxy/data/apb/tests/ansible.cfg
/home/username/.local/lib/python3.6/site-packages/ansible/galaxy/data/container/te ...
Score: 0
Is there any way to access the same minio UI which gets deployed by kubeflow from cloud shell?
cn flag

In short, we have deployed kubeflow on GKE & as we know that minio comes pre-installed with kubeflow. On kubeflow UI, one can see that several pipeline artifacts are referencing minio for storage.In order to access that minio UI, I went on to expose the minio service on the specified port using port forwarding in the cloud shell. I accessed that minio UI using web preview option in cloud shell but c ...

Score: 0
Ashark avatar
Why CISCO-ERR-DISABLE-MIB trap does not show interface and vlan information in Icinga?
br flag

I have a cisco and a monitoring server with icinga (a.k.a. nagios, thruk). I want to receive traps from cisco and show them in icinga. But I am unable to see the interface and vlan for the errdisable trap.

I have downloaded mibs from cisco, incliding CISCO-ERR-DISABLE-MIB.my. Then I converted it for snmptt with this command:

snmpttconvertmib --in=CISCO-ERR-DISABLE-MIB.my --out=snmptt.conf --exec='/bin ...
Score: 3
Is it impossible to have conditional headers in Nginx?
cn flag

I am currently trying to only return a set of CORS headers conditionally using Nginx. At first it seemed like a simple task, as I already had this working config:

upstream api-app {
  server unix:/tmp/api-app.sock fail_timeout=0;
}

server {
  listen 80;
  # [other server stuff...]

  # CORS headers added to all ALL responses of this server (needed for all requests)
  more_set_headers 'Access-Contr ...
Score: 0
Héctor avatar
Showing all http connections in vm instance
cn flag

I have a Google Cloud VM instance running Debian and a dockerized Apache httpd inside. I'm trying to count all the http connections in the machine.

I run this:

for i in {1..1000}; do netstat -at | wc -l; sleep 0.2; done

and then I run multiple concurrent http requests, using JMeter, but count doesn't change.

If I execute it inside the Apache container, it works fine because traffic is forwarded to ...

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.