Latest Server related questions

Score: 1
Ben Holness avatar
What is the fastest method of getting a small amount of data from whitelisted servers?
us flag

I have a bunch of servers which build various different programs for various different systems.

Once a build has completed, it gets archived into a single file and compressed, then an md5sum is created of the file. One server might build multiple different versions, resulting in multiple archive files and archive.md5 files.

Finally, a script runs on various other servers that checks the md5sums of each  ...

Score: 0
Mike Texter avatar
Persistent Memory Redundancy?
ma flag

This is the first time I've really dug into PMMs (Intel Optane), so bear with me if I'm a little slow on the uptake.  It looks like you can configure these in either cache- or disk-mode, depending on your system.  As one who wants to add disk-mode PMMs to their environment but has concerns about redundancy, what happens in the event of a PMM failure?  It seems as though there's no way to set up somet ...

Score: 0
Ind avatar
Server Performance experience share
us flag
Ind

I would like to know your expertise for high traffic site to choose a sever with backend.

I am familiar with PHP, NodeJS and Go programming languages. Also these days more popular HTTP servers are Apache and NGINX. I am happy to know your experience with following combinations in performance and features like load balance, low overhead, security. for high traffic site.

  • NGINX + PHP
  • NGINX + NodeJS
Score: 0
ServerMan avatar
RHEL 9 server with cloned disk unable to find logical volume after boot
ke flag

We have an RHEL 9 server. We cloned it's disk drive to a new disk. (dd if=/dev/olddrive of=/dev/newdrive bs=4096)

It has a couple LVM partitions (as shown on /etc/fstab on the cloned disk): enter image description here

However when booting from the new disk, we got an error: enter image description here

Here is what lvs reported for example: enter image description here

I resolved the error by first checking what ID is present in cat /etc/lvm/devices/system.devices(which I figured is w ...

Score: 0
PJ87 avatar
Exchanging AD user groups with an external -not trusted- server for authentication and authorization
cy flag

I'm not really sure how to short and precisely describe my problem. Thus, I was unable to find a solution or at least a hint via google.

We have a Microsoft AD domain and are currently planning to use an external developed software on a third party managed server. It is planned to utilize our AD for authentication and authorization, but our information security department does not like the idea o ...

Score: 0
s_qw23 avatar
Jenkins with GCP ephemeral agents take much longer to start agent with declarative pipeline
af flag

We have a jenkins instance using ephemeral agents in gcp. We use container image to build in. Our existing pipeline (scripted and setup via gui) takes about 5-10 seconds to spin up an agent and start building.

Now we created and equivalent declarative pipeline in git. It works as expected but it takes about 3-5 minutes to get the agent running and start building.

Unfortunately I have limited access  ...

Score: 0
Arcath avatar
RRAS VPN using Wrong Server Authentication Cert
zm flag

I've got a RRAS VPN setup using IKEv2 and certs issued by the domain's CA. It has a cert for the public domain and I know this is getting presented to the client.

How ever it seems that either the server is sending the wrong cert, or is sending all its server authentication certs which includes one issued by MS-Organization-P2P-Access [2022]. This of course isn't trusted by the clients who then kick ...

Score: 1
Nikko avatar
Django CSRF verification failed after setting SSL with Certbot
ng flag

I'm currently working on a Django project that utilizes Docker, and I recently set up an SSL certificate using a containerized version of Certbot in order to secure my Django app through HTTPS. However, after implementing the SSL certificate and updating my nginx configuration, I began to experience the 'CSRF verification failed' error, which was not an issue before the setup. Previously, I was a ...

Score: 0
awado avatar
Set up nginx to proxy web and ssh by domain?
us flag

I'm not a pro with nginx. Please bear with me. I couldn't find a working how-to anywhere in the net. Only old stuff with nginx versions not able to pre-read anything. So this is my last resort, kind of.

I want to connect to some servers by http/https and ssh through nginx via subdomains from outside.

  • www.mydomain.com -> 192.168.1.1:443
  • ssh ssh2.mydomain.com -> 192.168.1.2:22
  • ssh ssh3.mydom ...
Score: 0
somedude avatar
javascript and css files are encoded in nginx
se flag

I have a reverse proxy that returns only the javascript and css in some encoding. I do not know if it is encoded or just not decompressed.

This is wat the server returns: ���^style.css��;ks�:��;S��d�y�WMjIB2�3I

this is what I expect: *{margin:0;padding:0}

My html loads in just fine it's only the css and js files. I already tried turning on/off gzip and brotli. I also tri ...

Score: 0
MDickten avatar
Configuring ufw for Access via https, understanding the rules
ai flag

I have a docker ecosystem running. Multiple containers need to communicate with each other. For reasons of my own I do not use the docker-supplied inter-container-communication but ordinary http/https URLs. My containers run on a pre-configured Digital Ocean droplet (which works very well). This comes with a pre-configured ufw firewall. The standard rules are:

root@sc-testserver:~# ufw status verbo ...
Score: 2
MikiBelavista avatar
Why I can not ssh to my Vagrant host? [email protected]: Permission denied (publickey)
in flag

I created 5 VMs for my project vagrant status

Current machine states:

master-1                  running (virtualbox)
master-2                  running (virtualbox)
master-3                  running (virtualbox)
node-1                    running (virtualbox)
node-2                    running (virtualbox)

I can do

vagrant ssh master-1
vagrant ssh master-2
vagrant ssh master-3

vagrant ssh-config shows ...

Score: 0
Jean avatar
ModSecurity : How prevent the body to be displayed in the JSON output?
jp flag

Using Modsecurity, I write the catched requests in a log, in a JSON format. The body field is too verbose for my ELK index, and generates a lot of parsing errors.

Can I disable the presence of the body in the JSON log ?

Score: 1
Using cgroup & tc in linux seems to NOT apply exactly my rates: 10x discrepancy
bd flag

I'm using the "standard" way that I found everywhere on the internet (including ServerFault) to try and limit the bandwidth of a process, using cgroups & tc.

What I see in practice is that the limits I set through tc will be about 10 times more in practice, see this screenshot:

enter image description here

I set rate and ceil to 100kbit (NOT 100kbps), so I expect to see my wget below to show about 10 kilobytes per second. In ...

Score: 0
Wordsmith avatar
Confused Email server
sj flag

I have recently migrated my server from Centos 6.9 to a new server with Centos 7.9 and I faced numerous issues owing to drastic change in OS, Version Changes in Perl, Python, PHP and Apache. I have sorted them out.

Except that the Postfix/Dovecot servers continue to cause deep anguish. For example: [email protected], [email protected] and [email protected] - all land up in the admin account of the ...

Score: 0
Kokizzu avatar
Systemd upgrade binary using reload
mx flag

I have a program that when given SIGUSR2 it would fork and create a new process gracefully (passing all existing parent socket to child, and kill parent), without downtime, so normally without systemd it would be something like this:

cp newbinary coredns
kill -s USR2 oldpid

Systemd only have ExecReload wich according to this answer

In other words, systemd wants you to only implement "reload" if th ...

Score: 0
Ali Khazaee avatar
Linux tunnel device config
it flag

Currently, I have multiple android users connected to my server through TCP connection.

Each authorized users have an interface and an unique IP address between 10.0.0.0 … 10.255.255.255.

Whole user’s traffic as raw IPv4 data will pass to server from TCP connection then server will pass that data to a tun device then the data will forward through eth0, till now every thing is fine, Inside server ...

Score: 0
sflyer avatar
gitlab runner error with environment
cx flag

I have installed a new gitlab runner and am getting an error.

ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

my file /home/gitlab-runner/.bash_logout is empty. My config:

concurrent = 1
check_interval = 0
shutdown_timeout = 0

[session_server]
  session_timeout = 1800

[[runner ...
Score: 0
Konrads avatar
Very old segments in Kafka
ru flag

I have set my segment retention via (log.retention.ms) for topic to 2h. However I still have a lot of old messages in the message queue and some of the segment data files (data/topic-0/00000000000000658568.log) are older than two months. I was expecting kafka to roll these over, but it doesn't. Why?

Score: 0
Felix avatar
Vagrant VM lost port connection to host machine
bf flag

I'm duplicating my question from superuser, but I want to know why it doesn't work. Let me explain, I have a server on Ubuntu 22 where I have MongoDB running. In this server I created a vagrant vm where Ubuntu run with nginx and a python program. I set the VM like this

Vagrant.configure("2") do |config|

    config.vm.hostname = "nginx"

    config.vm.box = "ubuntu/focal64"

    config.vm.network " ...
Score: 0
Saravanan Arumugam avatar
fix crm cluster in sles12sp5 for 12 node master slave configuration
de flag

When we try to add the additional servers 0f 6 004,005,006,104,105 & 106.to the existing server of primary 001, 002 & 003 Secondary 101,102 & 103.

crm configure show

node 1: pbh001
attributes hana_pbh_site=PBH001
attributes hana_pbh_gra=2.0 hana_pbh_srmode=syncmem node 10: pbh106
attributes hana_pbh_site=PBH101
attributes hana_pbh_gra=2.0 hana_pbh_srmode=syncmem
attributes hana_pbh_ ...

Score: 0
edward tian avatar
How can I use the rwx access mode of PV and PVC in pods of GKS clusters?
cy flag

It seems that I can not use the rwx mode of PV and PVC in GKS autopilot cluster, it reports the error when I create more than one pod as following: Should I use 1T filestore or NFS insead? thank enter image description here

Score: 0
Abhiram T N avatar
403 FORBIDDEN APACHE django
sa flag

Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12 mod_wsgi/4.9.4 Python/3.11 Server at localhost Port 80

I am trying to run my django project on my windows machine.. in apache this the configuration i have added in httpd.conf file . i have installed mod_wsgi. and everything is correct . but iam getting the error error 403 forbidden LoadFile "C:/Program Files/Python311/python311.dll" LoadModule wsgi ...

Score: 0
snowlash avatar
How to allow connections only from frontend container to backend container?
ne flag

I'm trying to setup my frontend, backend and my DB using docker. Here are the conditions where only my frontend container should make request to backend and not to the public. I have written a conf file but that still I'm able to access the backend with postman. Also I'm moving the frontend build files to a volume and mounting it in /usr/share/nginx/html where then the frontend container will stop an ...

Score: 0
edward tian avatar
Should I use console to apply the config/secret in GKS autopilot cluster?
cy flag

I am not sure if I should use console to apply the config/secret in GKS autopilot cluster?

Score: -1
Blason R avatar
My location restriction to admin panel is not working in Nginx
eg flag

My website is at https://www.example.com and I have a CMS Panel at

https://www.example.com/administrator -> 301 ->
https://www.example.com/administrator/ -> 302
https://www.example.com/administrator/Login.aspx?Session=Out

And I am trying to restrict the access to /administrator but this is not working - Can someone please help?

location ~*/administrator {
allow 10.0.0.0/8;
deny all;
}

he ...

Score: 0
kumanote avatar
Log data of http status 200 in user directory with Apache2.4
ne flag

I want to log http status 200 data in my user directory with Apache2.4.

the current

SetEnvIf Request_URI "~data” ssl_datalog nolog
CustomLog ${APACHE_LOG_DIR}/ssl_data_log combined env= ssl_datalog

As, the directory can be restricted, but please tell me how to filter by http status.

CustomLog ${APACHE_LOG_DIR}/ssl_data_log combined env=ssl_datalog "expr=%{REQUEST_STATUS} <= 210"

but got an error.

Score: 2
Geist avatar
Nginx reverse proxy ssl: This page isn't redirecting properly
ws flag

Okay, to start off with I'm new to all of this and still learning. I've got Nginx set up, and my standard reverse proxies work both inside of and outside my network. I've set up certbot and generated a wildcard SSL cert, I'm trying to get my proxies set up to use it. Now, they work ON my network, but outside of my network we get "Cannot open the page because too many redirects occured". Can anyone more  ...

Score: 0
ThomasAtFault avatar
ufw firewall not working as expected (block specific incoming IPs)
br flag

So, I see these Apache access.log entries coming in every minute:

mydomain.com:80 95.211.199.153 - - [19/Apr/2023:23:34:28 +0000] "GET /index.html HTTP/1.1" 200 1425 "-" "Leaf/52 CFNetwork/1402.0.8 Darwin/22.2.0"

So I like to deny that IP address.

My Debian ("… 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux") uses ufw, and uwf status shows:

# ufw status
Status: active

To        ...
Score: 0
BenMorel avatar
Storing 100 million files in the same "directory" under S3-compatible storage?
vn flag

I have > 100 million image files (book covers) as a flat list of files under a single "directory":

/images/000000093e7d1825b346e9fc01387c7e449e1ed7
/images/000000574c67d7b8c5726f7cfd7bb1c5b3ae2ddf
/images/0000005ae12097d69208f6548bf600bd7d270a6f
...

A long time ago, these were stored on Amazon S3, and are now on Backblaze B2 (which is S3-compatible).

So far, this worked fine:

  • storing a new file is  ...

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.