Latest Server related questions

Score: 0
dgarg avatar
Why Apache2 total threadcount is more than MaxRequestWorkers
gb flag

I recently moved my mpm from perfork to event (& also mod_php (php7.0) to php-fpm (proxy_fgi)) I estimated my max concurrent connection load to be around 300. So i set the following configuration in mpm_event.conf

StartServers                     5
MinSpareThreads          25
MaxSpareThreads          75
ThreadLimit                      64
ThreadsPerChild          35
MaxRequestWorkers         35 ...
Score: 1
Restore File Owner from Backup, but not Content
in flag

By mistake we did a

chown www-data:www-data / -R

on a production server.

We do have a backup, but as only the permissions are wrong we want to restore only the permissions from the backup, not the file content.

Is there a simple command for this, for example with rsync?

Score: 0
Oecophylla avatar
Rsyslog & Auditd - Parsing audit.log / proctitle hexadecimal value to ascii
mx flag

I'm trying to edit my rsyslog.conf in order to set hex parts of my auditd logs in clear.

Does anyone know if it is possible to configure rsyslog in order to apply a parsing on the log received by a bash script ? (Or any other technique)

It should only parse the data and not change the output of the logs.

I would use a bash script that would hex2str the content of PROCTITLE, see this example of auditd l ...

Score: -1
How to create a routing on windows server A lookup
ng flag

I created A lookup that when someone types the url it resolves to an IP Address(e.g. 18.1.5.9). Now I would like to put a routing that when the above IP address comes route via another IP(10.1.2.2) address. So the idea is when the (18.1.5.9) IP address comes route it via (10.1.2.2). I am using windows server 2012. Can someone please point me to the right direction.

Score: 0
maxig avatar
Allowing IP & Port specific traffic for card terminal
cz flag

I hope you can help me :)

I am setting up a credit card terminal in my store network. (It‘s just a mobile LTE Router with a static IP address and a switch)

The payment processing provider requires me to allow traffic to their specific IP adresses and ports in my network in order for the terminal to work.

They gave me a list of several IP adresses and corresponing ports:

eg. 198.192.112.14:3443

I  ...

Score: 0
Sara June avatar
How to give alternate name to localhost for sharing on windows?
cn flag

I have a jenkins production job which involves multiple nodes/slaves and when we run the job it utilizes them based on the slave mentioned. And also, it has access to some machines shared folders.So from master, it is trying to access shared folders like \machine1\c$\sharefolder1 \machine2\c$\sharefolder2

So for my test environment, I installed jenkins and want to keep everything in a single slav ...

Score: -1
Hussain Nagri avatar
Kubernetes on OpenStack
tr flag

We have a private OpenStack infrastructure. We want to create a Kubernetes infra on top of OpenStack. I want to use whatever block storage device we have in OpenStack as a HA storage cluster which can tolerate failures and is highly available as well.

I gather that I can use Glusterfs and achieve this. Is there any other opensource solution available? Any tips? any gotchas?

Score: 0
Zenonk avatar
How is the default gateway determined when centos is running in a docker instance connected to multiple macvlan's
in flag

I have a docker instance of Centos 7.8 that is connected to 5 networks via 5 macvlan's configured on the host. Everything is working perfectly except that I cant figure out how to define a default gateway inside this Centos docker. Normally I would expect to be able to configure '/etc/sysconfig/network' and|or '/etc/sysconfig/network-scripts/' but neither the 'network' file nor 'network-scripts' folde ...

Score: 0
IIS 500 Fault From Specific Server
us flag

I have run into a bit of a brick wall with this issue and am hoping someone with a bit more expertise on the matter can be of assistance.

We have doing a POST from Server A to an web API hosted on a customer server and getting the following exception:

System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt ...
Score: 0
mahen3d avatar
How to Create a SSL Key and a SSL Cert from a Given CA File (Certificate Authority)
cn flag

I Need to create a encrypted db connection to the Azure Cloud MySQL Servers, They have given us a CA certificate called "BaltimoreCyberTrustRoot.crt.pem" to use when connecting with the Azure MySQL Servers.

My Question is when i connect to the MySQL server i need to provide a path to a both key and a certificate file as well like below, How do I generate my own one or Do i need a above two files  ...

Score: 0
2 servers, 2 databases on each, 1st server 1st db master and 2nd slave, 2nd server 1st db slave, 2nd master, is it possible?
th flag

I have 2 MySQL/MariaDB servers each of them with its own database and I would like to set up a continuous backup on each other via replication.

Is it possible to make 1 DB master and 1 slave on each one of the servers?

Server 1         Server 2

db1 (master)     db1 (slave)
db2 (slave)      db2 (master)

Or is there a better option to do it? But I would like to have ready-to-use DB(no dump files) in case  ...

Score: 0
wookieluvr49 avatar
Server set up using app.yaml, cron.yaml, etc. But directories aren't recognized
mx flag

As the title says, the server has been configured to recognize sub directories but for whatever reason they are not being recognized when I load a web page. Is there any way to debug what is going on?

threadsafe: true
api_version: 1

handlers:
- url: /(.*\.html)
  static_files: html/\1
  upload: html/(.*\.html)

- url: /robots.txt
  static_files: html/robot.txt
  upload: html/robots.txt

- url: /pa ...
Score: 1
Madushan Perera avatar
Nginx - changing root folder for specific url gives 404 error
us flag

I am trying to arrange a location block for anyone get through mydomain.com/game/admin url, make sure the nginx server to pull the content exists in /var/www/html/my-cakephp-app/ directory. My application is built using cakephp framework and its directory structure is shown below:

  • /var/www/html/my-cakephp-app/
    • admin
      • Config
      • Console
      • Controller
      • View
      • webroot (App entry-point index.php file exists in t ...
Score: 1
Modify loadbalanceinfo for RDS Session Collection
fr flag

Does anyone know how to change the loadbalanceinfo string for a RDS Session Host Remote Desktop collection?

Use case: we had a case today where something got corrupted in our RDS collection, and there was little info available on the errors that were being thrown except "delete the collection and recreate it." Given that we had 70 people unable to work, that was our best option.

That is what I did, ...

Score: 2
Ruby avatar
Why am I getting "Connection refused"?
vn flag

I am running a hello-world http server on an ubuntu EC2 instance, let's say, myurl.com. I am unable to curl it from my client:

$ curl myurl.com:4296                     
curl: (7) Failed to connect to myurl.com port 4296: Connection refused

When I try to reach any other port, my connection is timed out:

$ curl myurl.com:4244                   
curl: (7) Failed to connect to myurl.com port 4244: Opera ...

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.