Latest Server related questions

Score: 0
Can the Release pipeline reference the target's environment vars in places where pipeline vars are commonly used, to vary values per target?
us flag

In the tasks of an Azure DevOps pipeline Release, can I reference Environment variables from the registered deployment target in my release tasks where I would normally use a pipeline variable? The target machine is the computer on which the service agent is registered.

For example, I currently have a Pipeline variable:

deploymentFolder [ c:\inetpub\wwwroot\site1 ]

that I reference throughout the re ...

Score: 0
kubernetes using only public IP without load balancer
jp flag

we have to work with instances of a poorly designed software;

it does grab at random the instance IP, no matter if it is local or private; the current solution that we have is to deploy an isolated namespace and associate the public IP to it via macvlan; but we would like to use kubernetes;

kubernetes pledge to be CNI compliant hence it should have macvlan capability as defined in here

we completely un ...

Score: 0
SF.express avatar
IPsec on ESXi - How to avoid inputting plaintext crypto keys in command line?
us flag

The ESXi's IPsec commands require the encryption/integrity keys be inputted in plaintext from the command line. This is not recommended security practice. The command line history is even logged to /var/log/shell.log.

So how can I hide the keys?

$ esxcli network ip ipsec sa add --help
Usage: esxcli network ip ipsec sa add [cmd options]

Description:
  add                   Add a Security Association ...
Score: 2
Shankar S Bavan avatar
Postfix email not send from subdomain
us flag

I have setup email server on ubuntu with Postfix, roundcube, powermta.

mail server domain: mail.example.com emails are working fine when I test with gmail.

I have installed mautic on another subdomain (mautic.example.com)

email id: support@example.com

I added smtp details on mautic setting panel.

when I test campaign emails are working.

issue is I can not send mautic test mail to same email address (s ...

Score: 1
Divija Gogineni avatar
Why do you need serial port connection between QEMU quest and host?
nl flag

I am new to qemu. I was exploring some commans to setup qemu VM. Can someone please explain why serail ports are required/desired between guest and the host? Also, what does '-serial pty' and -'serial mon:studio' mean?

Score: 0
proxy_read_timeout - setting higher than default
cn flag

can anyone describe what adverse effects would be of setting the timeout value to something like 8hrs, 16hrs, or even 24hrs? any particular memory/processes to monitor?

some of our apps take a while to complete transactions.

Score: 0
Import cfssl cert in keytool: Input not an X.509 certificate
cn flag
Tom

I generate a CA and a cert with cfssl but I am not able to import the cert in the JAVA keystore with keytool.

Is the generated cert incompatible with keycert/ Java x509 implementation? Or am I doing something wrong?

Generate the CA

# generate my-ca{,-key}.pem
cfssl print-defaults csr \
  | cfssl gencert -initca - \
  | cfssljson -bare my-ca
# import ca
keytool -importcert -alias my-ca -file my-ca.pe ...
Score: 0
Returning custom HTTP status apache2
ru flag

I'm hosting a webpage with apache and would like to be able to return custom HTTP status codes on a certain page. PHP does this just fine with http_response_code($code) but once it gets to apache it fails with HTTP 500. I have found where the http responses are defined in the apache source, but is it possible to modify this in configuration and without recompilation?

E.g. what's the easiest way to get c ...

Score: 1
Make gnutls-cli print local root certificate as well as server-provided certificates
kz flag

I'm diagnosing a TLS certificate verification problem in Ubuntu Xenial that resulted from the recent Let's Encrypt root certificate expiration. The problem happens in cURL which uses GnuTLS under the hood -- so I've used gnutls-cli to diagnose it (when using openssl, a different problem happens even before certificate verification -- so it's of no use).

Despite the fact that I've updated the DST Root CA ...

Score: 1
DockerDesktopVM can't start due to Hyper-V
th flag

For some reason I keep getting the error that "DockerDesktopVM" can't be started because a Hyper-V component isn't running, but how do I change that?

I found people adding commands like hypervisor.cpuid.v0 into their vmx files, but I dont have access to that, but is this really the problem here?

Error message

Hyper-V is enabled?

Hyper-V  Enabled already

I've tried to follow this guide, but might have missed somthing? https://docs.docker. ...

Score: -1
Deleting subdomain A record with wildcard record in place
cn flag

I have an A record sub.example.com and another record *.example.com

If I delete sub.example.com A record, will there be any resolution issues if they both point to the same IP address?

I am migrating subdomain records to use wildcard and I want to make sure there is no interruption when I delete sub.example.com

Score: 0
qwerty avatar
Setting up Nginx: port appears as not opened
br flag

I have gained access to a CentOS 8 machine which already has a web running on port 80. I have checked that there are no firewalls running (neither firewalld nor ufw). My idea is to set up a Django web running on port 55555. Therefore, the first thing that I am trying to achieve is displaying the default Nginx page from outside the machine.

Currently, my Nginx configuration is as follows:

    include   ...
Score: 1
GID avatar
Oracle will not start after VM crash
th flag
GID

My Oracle 11gR2, running on a VM, crashed when the datastore of the host filled up. I got the VM to start and as I'm trying to start the DB, I see this:

Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area 1987563520 bytes
Fixed Size                  2229704 bytes
Variable Size            1476397624 bytes
Database Buffers          503316480 bytes
Redo Bu ...
Score: 0
Mlok avatar
Docker container communicating with mariadb crashes on Got an error reading communications packet
cn flag

I have Rails app in docker and also mariadb docker image.

But it fails during connection on

2021-11-05 8:27:49 3 [Warning] Aborted connection 3 to db: 'development' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)``

My dockerfile is

FROM ruby:2.6.5

RUN apt-get update; apt-get install -y build-essential nodejs npm vim htop
RUN npm install --global yarn

RUN mkdir -p /a ...
Score: 0
renno avatar
Link user accounts (hierarchy) with Google Identity Platform
us flag

I'm planning on having family accounts and I was wondering if Google Identity Platform allows some sort of hierarchical chain across users.

Example: my family consists of three people, but I'm the one paying. I'd have full permission (edit payment, for example). I'd like to give to my spouse some sort of parental consent (if it was a streaming service, he/she could watch R rated videos), but my c ...

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.