Latest Server related questions

Score: 1
Byob  avatar
Memcached error for apache httpd 2.4
jp flag

I created an EC2 instance with Apache HTTPD 2.4 with mod_ssl version 2.4.34. I've created a Memcached cluster on AWS ElastiCache version 1.6.17 with encryption in transit.

The goal is to have HTTPD use MemCached with TLS for the SSLSessionCache. However, whenever a request is received, the server logs the following:

vhosts.conf

...
SSLSessionCache memcache:test-memcache.2dr943.cfg.use1.cache.ama ...
Score: 1
PeterL avatar
Problems with excluding an url from being redirected
pr flag

I'm retiring the legacy site http://extranet.contoso.com but there's a specific functionality that will be needed for a while still. What I'm trying to achieve is the redirection of all requests to an info page at https://contoso.com/new-extranet-info-page/, excluding requests to http://extranet.contoso.com/printdoc.aspx?ID=1234567&AccountID=vd3l1bn&UserID=Matt which should still go through wit ...

Score: 2
Mikkel Rev avatar
Getting IP suitable for email server
tt flag

I am trying to use a VPS to host an email server using postfix. OpenDKIM and certbot was used to get DomainKeys and TLS. The data center setup reverse DNS. In case it matters, the IP is 188.68.231.119. It appears it is not on any of the public IP address blacklists. However, hotmail and gmail refuse to post it in the inbox of receivers. Gmail doesn't give me a reason, but my emails bounce when I send to ...

Score: 1
Edner Junior avatar
NGINX Reverse Proxy redirecting HTTPS to HTTP
ao flag

I'm setting up a reverse proxy with nginx and I need it to work as follows:

reverse proxy structure

The client will access my url (cron.mocxmonitoramento.com.br) and it will fall into my reverse proxy. With this, my proxy must direct the connection to servers 1 or 2 or 3 as required. Such configuration it works correctly when we make the HTTP access, however when the HTTPS connection is made, the  ...

Score: 3
Matthew McDonald avatar
Active Directory: Account Operators can delete Domain Admin accounts
ph flag

Scenario

Active Directory has a scheduled background process called SDProp that periodically checks for and applies a specific security descriptor (permissions) of certain groups (and its members) that AD considers protected. The permissions that are set are derived from those set on the AdminSDHolder object in AD.

For the purpose of this discussion, we'll focus on Domain Admins.

See here: https://learn ...

Score: 1
mitchellJ avatar
NVMe drive disappears after kernel panic
nl flag

I'm working on imaging a Dell OptiPlex Micro 3000 device with Linux (custom Yocto-based OS). Grub version 2.04. I'm using an A/B partitioning scheme and trying to get the fallback to function properly but I think I might be running into a conflict with a BIOS (UEFI) setting somewhere.

Desired result: if either boot option encounters a kernel panic, the system should fall back to the other boot option. ...

Score: 0
kingofworms avatar
iPerf3 UDP TX/RX bytes mismatch but no loss
pr flag

I am not able to interpret the following iPerf3 results.

Client:

iperf3 -c SERVER -u -R -b 350M

Connecting to host SERVER, port 5201
Reverse mode, remote host SERVER is sending
[  5] local CLIENT port 47128 connected to SERVER port 5201
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec  37.2 MBytes   312 Mbits/sec  0.039 ms  0/26961 (0%)  
[  ...
Score: 0
ATG avatar
Copied/Imported Xen Server VM can't see all CPUs?
st flag
ATG

I have installed a new Xen Host Server with more cores. I attempted both a copy and import of the VM from the old Host. When I attempt to increase the CPUs, the option only shows me what was available on the old Host. If I create a new VM on the new Host, I can see all of the CPUs. Why is that? How can I resolve the issue?

Score: 0
KoenDG avatar
Port mapping between machines that used docker containers
in flag

I have 2 machines.

  • 192.168.0.10
  • 192.168.0.20

Which run a few docker services.

On the 2nd machine I'm seeing incoming traffic from a service on the 1st machine on a few ports.

But when I check on that 1st host, I'm not seeing those ports in use.

So for instance I'll be seeing:

 192.168.0.10:48002 ->  192.168.0.20
 192.168.0.10:51364 ->  192.168.0.20
 192.168.0.10:52502 ->  192.168.0.20
 ...
Score: 0
zaca011 avatar
Ansible file check and send mail
mq flag

I am trying to create file check using ansible . basically in specific folder every day some job copy some files. I want to receive an email if there are no new files.

I try something like this :

---
- name: Check if file exist and send mail
  hosts: localhost
  tasks:
  - name: File
    stat:
      path: "/home/backup/"
      file_type: directory
      age: 1d
    register: file_date

  - mail:
    ...
Score: 0
ricebus avatar
How to find the source of operation in netlink
pl flag

There's a route I'm trying to add that seems to be automatically deleted by something in my OS/kernel itself. I can't seem to get the origin of this or the reason. When I add the route, the command returns with success return code, but the route is automatically deleted afterwards. I understood this by running "ip monitor" while adding the route:

[admin@localhost]# ip monitor
10.0.200.0/24 via 172. ...
Score: 0
Lou avatar
Using vault password with ansible-runner
pe flag
Lou

I am looking for a way to use ansible-vault password required to run a playbook ran with ansible-runner. I did find some doc and advices like this one (which is a pretty old post and I am not quite sure that I can rely on what's advised here) or this one (which is newer but do not provide a consistent answer), but I do not manage to replicate these behaviors.

I also tried the following things :

  • to ...
Score: 0
Allow a systemd service access to /sys/…/energy_uj - udev rule changing owner having no effect?
fr flag

I'd like to collect the my CPU power usage on some "plain" linux boxes (i.e. no fancy things like VMs or let alone K8s) via scaphandre or prometheus_node_exporter, running as systemd service and not as root.

The problem: The /sys/…/energy_uj exposed by the kernel module intel_rapl_common are by default owned by root and mode 0400.

My first approach was to

ExecStartPre=-+/usr/bin/modprobe intel_ra ...
Score: 0
Prometheus expose any metrics on itself? (e.g. disk space it uses)
bg flag

Does Prometheus expose any metrics on itself? i.e. how much disk space it's using etc.

I want to start fine tuning our prometheus server, so need to monitor what's currently there. I want to be able to see how much disk space it using.

Prometheus v2.31 installed via apt on Ubuntu Linux 22.04 LTS.

Score: 0
ibrahim avatar
Gitlab runner fails when running too many job same time
jp flag

I've set some scheduled jobs on gitlab. It is running some parallel jobs every minute and reaches about 500 simultaneous process . After some point runner throws below error and fails.

Running with gitlab-runner 15.5.0 (0d4137b8)
  on XXXX y4s23Bpz
Preparing the "shell" executor
00:00
Using Shell executor...
Preparing environment
00:00
ERROR: Job failed (system failure): prepare environment: failed ...
Score: 0
StorageQuotaExceeded: The user's Drive storage quota has been exceeded.) for service account - how do I increase it?
fr flag

I have a google drive API integration setup using a service account. The service account name ends in: iam.gserviceaccount.com.

Now it is correct that this account has quite some files created in our organisation - maybe 30Gb or so. However I would like to increase this quota, but I cannot figure out how?

I have tried searching in both developer console IAM (I can't find any quotas related to sto ...

Score: 1
astre avatar
cachefilesd - how to ensure file is copied from local cache?
se flag

I have setup cachefilesd and to check if it is correct I verified following:

  • cachefilesd service is running
  • NFS storage is mounted with -o fsc and able to see FSC set to yes in /proc/fs/nfsfs/volumes
  • when a file is copied from NFS I see new content added in /var/cache/fscache (this is setup in /etc/cachefilesd.conf

Now when I first copy a 4 Mb from the NFS and the time taken as per the time command co ...

Score: 0
Matteo avatar
howto edit provisioned IOPS of an Extreme Persistent Disk
gg flag

I'm looking how-to change/edit the provisioned IOPS setting of an Extreme Persistent disk. I'm not able to find any suitable API to change this settings and also seems not possible from the GUI.

I'm looking some reference in the doc in case of this limitation

Any advice? Thanks

Score: 1
Muhammad Saboor avatar
iptables rules not working for allowing a specific IP
tz flag

I have a host with 2 network interfaces: wifi and site-site vpn (zerotier).

root@host:~# ifconfig wlp0s20f3
wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.38  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a098:2166:78af:d78d  prefixlen 64  scopeid 0x20<link>
        ether ac:12:03:ab:6e:31  txqueuelen 1000  (Ethernet)
         ...
Score: 0
Peah Kemah avatar
Failed to rsync with new volume
ma flag

The new volume still have plenty of storage, but when run rsync, it only copy half of the current total storage to new volume.

screenshot

It always prompt 'no space left on device (28).

Why is this happening?

Score: 0
alinn avatar
Log Ssh Traffic per User
mo flag

i use ubuntu server for ssh tunnel.

i want to save log for ssh trafic per user.

One of the server users is creating brute force attacks and I want to find that person.

my os: ubuntu 18

Score: 0
Firhanh avatar
What is the correct number of Puma workers when there are two Rails application multithreaded, inside server with 4 CPU cores?
lk flag

I have a server with four CPU cores and two rails applications served with the Puma in multithreaded mode. Both applications use the same number of resources and are expected to have an equal load. How should I set the number of workers in Puma configuration on each application? Should each application have four workers or should I divide the CPU core and use two workers for each application?

I h ...

Score: 0
Donlon avatar
On Linux, how to send packets with local destination NOT through the loopback interface
cn flag

I have a Linux server with two ethernet interfaces which are connected to the same switch and are in the same subnetwork. The topology is as following

+--------------------+
|                    |
|         +----------+        +----------+
|         | enp1s0f0 |<======>|          |
|         +----------+        | ethernet |
|  Server            |        |          |
|         +----------+     ...
Score: -1
Daniel avatar
Domains and Exchange 2019
gr flag

I've got a full domain environment at home and I've had my primary domain name for 13 years now and wanting to change it so it matches my exchange servers email domain.

For example; fyi those domain names are example not my real domain name. All my domain computers and all my servers including exchange 2019 at home logon to "mydomain.com.au" and my email address is "yourdomain.com" which is hoste ...

Score: -2
Eagl3 avatar
How to configure this multi user logon scenario in Windows 10 pro?
au flag

I have a machine that runs Windows 10 pro. I've configured RDP with a max user limit of 3. I would like to achieve a login scenario where i have User A logged in physically using the machine for monitoring with Account A, and also the ability for a user B to login via RDP with Account B and perform tasks in his account. (so two separate logins, one for each user).

However this does not seem to wo ...

Score: 3
Nicolas De Jay avatar
Unable to su or ssh as anyone but root on CentOS 7
mx flag

I seem to be unable to ssh or su as a local user on my CentOS 7 machine as of today.

$ adduser ndejay
$ passwd ndejay
Changing password for user ndejay.
New password:
Retype new password:

$ su ndejay
su: failed to execute /bin/bash: Permission denied

$ ssh ndejay@localhost
ndejay@localhost's password:
Could not chdir to home directory /home/ndejay: Permission denied
/bin/bash: Permission denied
C ...
Score: 0
Mandke avatar
Cannot connect to Surfshark via a Azure VM
ae flag

I am trying to connect to a 3rd party VPN via a Azure VM.

Following the instructions here: https://support.surfshark.com/hc/en-us/articles/360011051133-How-to-set-up-manual-OpenVPN-connection-using-Linux-Terminal-

But, the process never gets completed, and I don't get the Initialization Sequence Completed message. How to solve this?

Server details

  • Operating system: Ubuntu 20.04
  • vCPUs: 2
  • RAM: 4 G ...
Score: 0
LM10 avatar
Interpret Iperf3 results for bidirectional UDP Test
vg flag

I am trying to make sense of the raw logs of an iperf3 UDP bidIrectional test.

Here are the iperf3 client logs:

[ ID][Role] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5][TX-C]   0.00-1.00   sec  1.04 GBytes  8.93 Gbits/sec            124718  
[  7][RX-C]   0.00-1.00   sec   586 MBytes  4.92 Gbits/sec  0.017 ms  51093/119778 (43%)  
[  5][TX-C]   1.00-2.00   sec   ...
Score: 1
Bengt avatar
How to delete all but the latest revision of Google cloud run container images?
ua flag

I am hosting my containerized application using Google cloud run. To save cost, I want to delete all but the active revisions of my application's Docker image.

I use a job of my GitLab pipeline to handle the credentials and settings using environment variables.

I can list my revisions like so:

gcloud run revisions list --region="$GCP_REGION"
Score: 0
Steve Moretz avatar
Nginx upstream wss proxy SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading)
in flag

What I need is

Client <--wss---> nginx <--wss--> server

I am doing a wss proxy, I have already got it working on Apache but I want to switch to nginx now here's the apache config:

<LocationMatch "/statistics">
        ProxyPass wss://127.0.0.1:23456
        ProxyAddHeaders Off
        ProxyPreserveHost On
        RequestHeader set Host %{HTTP_HOST}s
        RequestHeader set X-F ...

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.