Latest Server related questions

Score: 0
Diederik Slob avatar
IIS7.5 How to make a binding for 2 domains, 2 IPs and 2 certificates
pw flag

I am clutching at straws... hope you can help me with this old server.

I want to bind domain1.com to ip 123.456.7.1 and domain2.com to 123.456.7.2, each with its own certificate. As longs as I configure it for http, there's no issue. My bindings look like this:

          type   hostname       port    ip
site2 ->  http   domain1.com    80      123.456.7.1
site2 ->  http   domain2.com    80      1 ...
Score: 2
sdbbs avatar
Proxying a "port" application on relative url ("subdirectory") of same server in Apache 2.4?
ci flag

I have seen How to handle relative urls correctly with a reverse proxy - however I have great troubles understanding this (and applying it to my problem), hope someone can help.

Let's say that I have Ubuntu 20.04 as a server OS on my server, example.com.

Then, I install https://github.com/hartwork/jawanndenn on the server, and run it - this application by default runs on port 8080; and I can confirm t ...

Score: 1
Windows Admin Center Resource Based delegation stopped working with KRB_AP_ERR_MODIFIED error
id flag

Our WAC installation SSO (via resource based delegation) stopped working last week for unknown reasons and it's driving me mad. The following event is logged on the WAC server when attempting to connect to a managed client (any of them) in the WebUI:

A Kerberos error message was received:
 on logon session 
 Client Time: 
 Server Time: 19:6:29.0000 11/29/2021 Z
 Error Code: 0x29 KRB_AP_ERR_MODIFIED ...
Score: 0
How to redirect gsutil/gcloud stdout without elevated permissions
in flag
jws

On Ubuntu 20.04, I'm trying to capture stdout of gsutil ls, but oddly it gives me a permission error.

$ gsutil ls -b gs://my-bucket > /tmp/x.txt
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
PermissionError: [Errno 13] Permission denied

Same error trying to redirect gcloud. Both utilities are installed via snap.

I have no problem with

$ echo foo >  ...
Score: 0
AMRIT avatar
How to setup path based routing in haproxy
ru flag

I want to setup path based routing in haproxy. I have below scenario.

suppose

mysite test.com is main site which is running fine with haproxy and I have a blog server blog.test.com. I want to setup test.com/blog from haproxy so that in browser it will show site is running from test.com/blog but actually it will run from blog.test.com.

Thanks in Advance :)

Score: 0
Dovecot slow searching a huge mailbox
be flag

We store a bcc of every outsent mail in a mailbox and we store the Message-ID in our DB.

We have a web page that gets the sent mail from imap using the message-id using "SEARCH HEADER Message-ID "

On our old Zimbra mail server this was reasonably fast, but we're in the middle of migrating to dovecot with Solr FTS and every search on this huge mailbox (currently 4462637 messages) takes ~30 seconds. ...

Score: 0
Windows 11 home/ Win 10 Pro. How to prevent standard users from installing software?
cn flag

It seems that I cannot prevent a standard account from installing software. I tried that on windows 10 Pro and on Windows 11 home. I have a problem similar to this here. But the admin popup did not even show up in my case.

Editing the registry or using (Group Policy Editor) as suggested all over the internet (Like this) did not work at all. (The funny part is that Windows 11 home does not even h ...

Score: 0
El Hocko avatar
Mumble admin can speak to clients, but clients cannto speak with each other
mx flag

I want to setup a mumble server with the following settins: the admin can speak to each client but clients cannot speak to each other.

Moreover, I also want everyone to speak to each other when the admin enabled this (must be easy to enable and disable)

Because I only have 2 clients and one admin, I tried this channel hierarchy:

root (channel)
 -> client 0 (channel)
      -> client 0 (user)
 -> ...
Score: 0
PCnetMD avatar
How can I highlight lines of a file that begin with abc and DO NOT end with xyz?
de flag

I have a daily script that retrieves hardware stats from all of my RHEL servers every night and saves them to a yyyymmdd_daily.log file. I have other scripts that I run against these files to extract specific data (i.e. DriveArrrayStatus, HardwareStatus, DiskFreeSpace, etc.) for different tasks.

Example HardwareStatus script output:

#######################
Server: abc
** Fans **
Health: Ok
** Power Su ...
Score: 0
Sara June avatar
How to fix trailing comma errors of azure arm templates?
cn flag

I have saved my arm template with yaml extension instead of json extension, because of this the vscode added trailing commas when I save the file.

Once I rename it, i am getting this error while arm template syntax check.

syntax error

How to fix this, there are many lines like these and unfortunately I don't have old file to replace.

My file:

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/d ...
Score: 0
PHP-FPM Full Status displays wrong request URI
fr flag

A bug was opened 5 years ago regarding this issue - https://bugs.php.net/bug.php?id=72319

Has anyone been able to find a workaround?

Score: 0
J Bourne avatar
What is the best AWS infrastructure to run a migration of data from one SQL server to mongoDB?
id flag

I have some terabytes of data in our legacy system which runs SQL server. Our newer version runs on MongoDB. We are migrating this data to MongoDB. We have python scripts written and verfied, all data movement happens properly.

we did this on a lower machine which 4 cores, if we do it on bigger machine, its going to be very expensive. AWS Lambda has 15 minutes processing time, this takes more tha ...

Score: 0
Edgar avatar
Which protections can I use on the server
pg flag

I have read about server protection and I know how to work with fewalld protection because it is not demanding.

My question is: Which of the following protections is best for the server and which of the offered ones can be used together on the server :

  1. Firewalld
  2. Fail2ban
  3. Mod_security
  4. Mod_Evasive
  5. Selinux

Thank you!

Score: 0
OkieOth avatar
What are recommended values for create/close channels in rabbitmq?
cn flag

I have a rabbitmq server with three replicas and see in the management front-end, that about 200 channels created and closed per second. Now I wonder if that isn't too big for a performant system ... espeacially if the overall system performance isn't that good.

What are common/recommended values for creating and closing channels in rabbitmq?

Thank you.

Score: 0
ppenguin avatar
strange NAT issues with pfSense to vagrant VM
tr flag

This one has got me confused:

I have a pfSense firewall (let's call it pfs) and behind it several servers. I NAT several services from my public IP to different servers on the LAN without any issues.

On one of the servers (let's call it s1) I'm running a vagrant (with libvirt) VM (let's call it v1) with a public network configured, which gets IP 192.168.1.159 via pfss DHCP server.

Now I configure a simpl ...

Score: 0
Recreate single docker-compose container with new config
cm flag
Tom

If I make changes to my docker-compose.yml (say, change which host port a container port is exposed on), can I recreate that single container or do I need to restart the whole stack?

docker-compose stop ; docker-compose up will do the job but I want to avoid restarting the rest of the services. I also want to avoid deleting volumes associated with the service that I'm restarting, so docker-compose kill  ...

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.