Latest Server related questions

Score: 0
Paul avatar
How to fix AH02565: Certificate and private key do not match
cn flag

We have an application hosted on Ubuntu apache server and letsencrypt SSL is installed there. Now i want to change Letsencrypt ssl certificate by Digicert certificate. I followed the Digicert ssl installation document and when i try to start my apache server its gonna failed. After check error log i found below error.

AH02565: Certificate and private key urbaninspirations.biz:443:0 from /etc/cert/d ...
Score: 0
Greg Azar avatar
I want to exclude specific words from the results when piping tail into grep
fi flag

I am using "tail -f /var/log/fail2ban.log -f /var/log/ufw.log | grep -e Ban -e BLOCK -e ALLOW" (without the quotes) and it is working but I want to exclude the results that have the words UDP and ICMP in them. When I try "tail -f /var/log/fail2ban.log -f /var/log/ufw.log | grep -e Ban -e BLOCK -e ALLOW -v UDP -v ICMP" I get an error "grep: UDP: No such file or directory" It seems as though using -v to e ...

Score: 0
McLayn avatar
Wildfly standalone.xml - passing secret to KeyCloak SPI from elytron credential store
br flag

I'm migrating KeyCloak v15 (WildFly v23) passwords from the old vault to elytron credential store. It works fine for the standard use case. In standalone.xml, I have: /server/extensions/extension:

<extension module="org.wildfly.extension.elytron"/>

/server/profile/subsystem:

<subsystem xmlns="urn:wildfly:elytron:13.0" final-providers="elytron" disallowed-providers="OracleUcrypto">
    < ...
Score: 1
Text decoration (strike-through) in "Depends on" column of bug lists
in flag

Bug lists in the Bugzilla installation on (see this one) have linked numbers with decoration in the “Depends on” column:

Decorated text in Depends-on cells

which is very helpful for picking a new candidate to assign, but which we miss in the Bugzilla installation of our company:

Plain text in Depends-on cells

I wasn't able to find out the version they run, but the linked documentation is about version 4.2. Our company runs version 5.0.6. I tried to find s ...

Score: 0
Andreas avatar
Azure VM Restore snapshot to same AD
us flag

I need to restore a Azure VM snapshot backup of a VM and keep them both in the same AD. The DC is on the same subnet also in Azure.

When restoring, the windows computername on the restored server will be exactly the same as the old one, that will cause some DNS-issues in the AD. So I need to rename the new one after the restore.

Now how do I do that without touching the old server and its AD object /  ...

Score: 2
benjimin avatar
Lustre glitch: latency of minutes
in flag

Using a HPC lustre filesystem, we occasionally experience glitchiness where even simply opening a terminal and typing "ls" can take minutes to return. That is, any process that involves the filesystem has random massive latency (but generally produces no actual errors), and processes that do not involve the filesystem (like dragging windows around in an x-windows session) remain responsive.

What  ...

Score: 0
(GCP) How to save a specific instance when auto scaling in an instance group
br flag

After registering the instance group (Auto scaling instance min 1, max 5) and setting the external IP, the added instance remains and the instance with the external IP setting is deleted.

How to use external IP instance group?

Score: 4
IpsRich avatar
Will certbot actually renew my certificate?
id flag

Looking at /etc/cron.d/certbot, I don't think it will! That file includes the line:

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

and, unless I'm reading it wrong, renewal will only happen if there's a readable, executable file called /usr/bin/certbot (there is) AND if there's not a directory called

Score: 0
Toodarday avatar
nginx exclude image.php from rate limits
pk flag

/etc/nginx/nginx.conf

limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_req_zone $binary_remote_addr zone=foo:10m rate=3r/s;
limit_conn addr 3;

In my sites block I have

    location / {        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass $scheme://$CPANEL_APACHE_PROXY_REQ_IP:$CPANEL_APACHE_PROXY_REQ_PORT;
limit_req zone=foo burst=300 nodelay;
limit_conn addr 1;
li ...
Score: 0
Hamish Moffatt avatar
how to set ssh ControlMaster=no when using sftp or scp
de flag

I want to use SSH multiplexed connections and also forward my SSH agent.

When the SSH persistent socket is created by scp or sftp, the agent is not forwarded (see https://unix.stackexchange.com/a/327100/295426). If I then use ssh over the same socket then the agent is not available.

If ssh creates the persistent socket then the agent IS available.

Is there a way to have "ControlMaster no" for sftp ...

Score: 1
Chris Halcrow avatar
What process does certbot run as on Linux?
ls flag

I'm guessing certbot must operate as a continual running service on Linux however using ps on a server that uses Let's Encrypt certificate auto-renewal, I'm not seeing any obvious process for certbot. If it's running successfully, is there a central process for certbot, and if so, what is it?

I can find the version with apt-cache policy certbot | grep Installed - in my case 0.25.0-1~bpo9+1

Score: 0
Can I use a wildcard ssl cert for subdomains, with let's encrypt for bare & www?
cn flag

Our main site is hosted with free LE certs included. We have several subdomains on different hosting providers and our own servers that need https. Can we keep the main/www LE cert as is, and get a wildcard cert for the others?

Score: 0
Randy avatar
sp_send_dbmail succeding but sometimes failing
in flag

Also posted in Stack Overflow. Any feed back would be much appreciated.

I have a need for a SQL job to send multiple emails, and I have come across this error that I am unable to find any solutions for. When I send emails this way is succeeds every time I have tested.

EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'AzureManagedInstance_dbmail_profile',
@recipients = '*Valid Email Address*',
@body = 'tes ...
Score: 1
bilzz avatar
Windows 2019 and IIS Virtual SMTP Virtual Relay (Office 365)
pe flag

I have hit a wall with this setup and I cant for the life of me figure this out, despite having setup a few other Virtual SMTP servers in the past. Maybe something has changed in 2019?

I will provide as much info as possible to help you help me :)

I have installed SMTP Server and Telnet Client on my 2019 server, I have followed guides and rechecked my settings to ensure all is setup correctly.

[General ...

Score: 0
Michael Sandy avatar
neg. lookahead not working for postfix header
ph flag

I'm trying to exclude all emails not received from a mainstream domain The full postfix regex in /etc/postfix/header_checks is: /Received:(?!.*\.((net|com|edu|gov|org|info)))/m DISCARD

Bu the negative lookahead is failing to match longer header strings. These longer header strings are seen in emails that are automatically forwarded from a gmail account (in the example below, forwarded from rocketman600@ ...

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.