Latest Server related questions

Score: 0
Andrey avatar
Create git server with many repositories
aw flag

Please consider my question from a technical point of view. I am faced with the problem of access control to git repositories. I need to somehow distinguish the access of certain ssh-keys. That is, the key should give access to one repository, not to all. I looked at how git servers are organized: a git user is created (that's what it's called, I'm shocked))), a repository (one) is created and shh keys  ...

Score: 0
user1204270 avatar
storcli - remove physical drives from a virtual drive
us flag

Using an AVAGO Megaraid controller with the storcli command line software on Ubuntu.

My virtual drive has 8 10TB physical drives in a RAID5. I want to remove 2 of them so I can use those slots for another purpose. I have already shrunk the file system and the partition and have the device unmounted.

Here is part of what 'storcli /c0/v0 show all' gives:

    /c0/v0 :
-------------------------------- ...
Score: 0
S.Beale avatar
rsync directory is smaller at destination
na flag

I am having a difficult time using rsync from my computer to a remote server. I have a folder with a few sub directories and a lot of small files. On my computer the total size of my directory (using du -h) is 6.4GB. When I try to rsync it to the remote server it seems to work fine but when I check the file size it is only 1.3GB. It looks like all the sub directories are there as well as the files bu ...

Score: 0
somenxavier avatar
nft Quality of Service (qos)
jp flag

Is there any way to have a QoS over nftables.

I have a webserver and I want to restrict that HTTP input traffic should have maximum of 90% of bandwith. Is it possible?

Nothing found in official documentation.

Score: 0
Bjohn avatar
ADDC for domain could not be contacted, because there are two domains and DNS for second (new DC) used to be point to old domains DC
ad flag

I feel like this is a pretty simple question but I'm still little new to DNS. So the company I work for had an old Domain setup on a vlan that just wasn't worth the effort of saving so I created a new vlan and started a new domain but I wasn't ready to retire the old yet as there was still several offices using it. So, to keep old clients/services I bridged the two networks with a nic on each side of th ...

Score: 0
joeldesante avatar
What is the origin and meaning of the shorthand "[::]:25" when refering to an ip address and port number
my flag

Sometimes when working with certain libraries or applications that listen on a given port I will receive a log entry that looks like the following:

[2023-07-17 19:04:36] INFO  SMTP Server listening on [::]:25

The above log is produced by the SMTP-Server package for NodeJS.

I recognize that [::] is probably referring to localhost and :25 refers to the port to which the application is listening. Bu ...

Score: 0
naps1saps avatar
Unable to add VM Switch: Hyper-V was unable to find a virtual switch with name
ne flag

I messed up our host running Core 2022. I can ping the server but can't connect to anything and the server can't communicate out either. I have no idea what is wrong however Hyper-V has been tied to the issue. There was a vm switch present when I reset the NICs after which the vm swtich has disappeared. I cannot add a new switch. When I run the command add-vmswitch server and add a resource grou ...

Score: 0
RootPhoenix avatar
iptable rule for an IP address with "any" subnet mask
cn flag

I have a requirement to add an iptable rule for lets say src IP dest IP any.

iptables -t filter -A FORWARD_0_IN -p all --ipv4 --source --destination  -j DROP

Above command fails with error: iptables v1.8.6 (legacy): invalid mask `any' specified

This /any implies all possible subnet masks /0 to /32. I want to avoid adding individual 33 rules for each subnet ...

Score: 0
mtloya avatar
TrueNAS SMB Share Inaccessible by NetBIOS Name
pt flag

I'm currently working on a TrueNAS server to create a file share for a computer lab, and I've got everything working except for being able to connect to the share via it's custom NetBIOS name.

I can connect to the share via \\TRUENAS or its direct IP, but I'd prefer that the NetBIOS name that I had set be what students can connect to and see.

Everything on the console side looks correct. Hostname, N ...

Score: 0
fueggit avatar
When mounting external disk in fstab via fuse.sshfs it requires password although identityfile is set
eg flag

Using Ubuntu 22.04. My fstab entry: /mnt/volume fuse.sshfs defaults,allow_other,reconnect,_netdev,users,ServerAliveInterval=15,identityfile=/root/.ssh/id_rsa,uid=101,gid=101,ServerAliveCountMax=3 0 0

Check fstab line with:

mount /mnt/volume-1

storage requires to enter password although I'm using rsa key with identityfile parameter.

Could it be related with  ...

Score: 1
preferred_anon avatar
What exactly is the nginx request_uri?
pk flag

I'm trying to understand the $request_uri variable in nginx configuration. The documentation says

full original request URI (with arguments)

To me that seems to be totally unambiguous - it should be the entire requested URI, including the host and protocol. But in actual usage, it seems to only include the path & query arguments. Is there any authoritative source that says exactly what nginx con ...

Score: 0
Marshall Davis avatar
How To Terraform Datadog Monitors with Dynamic Thresholds
in flag

I'm attempting to create a number of resources from the DataDog provider. I'm hoping to have to define as little as possible for each resource. For many properties there is some sensible default. I am having difficulty in deciding how to handle monitor thresholds, specifically that some may be optional.

resource "datadog_monitor" "monitor" {
  for_each = {
    faulty_deploy = {
      message    = " ...
Score: 1
Dboy avatar
deploying pfSense in OVH public cloud as a DHCP server in HA
za flag

I am trying to deploy two pfSense in the OVH public cloud (OpenStack). Each has its own public IPs and public connectivity works without any problem.

Things become more complicated on the vRack part (private network).

A network was created using both regions and subnets as defined below (no DNS nor routes are defined):

  "GRA": {
  "SBG": {
    "s ...
Score: 0
Alan Nicolas de Oliveira avatar
Redirect http calls inside iframe to https using nginx
ie flag

I have an https website that needs to render an iframe of a external website that only works with http. The external http endpoints is all inside a url like:

Browser don't allowed this (mixed content error. http inside https...), so I configured my https website nginx to create a reverse proxy on url /foobar to solve this issue.

Now I call the url: https://my-webs ...

Score: 0
Avinash raj avatar
Unable to start managed server in running mode ,it has been stucked after
is flag

Unable to start managed wls_report server in 12c ,it was strucked after this the server has successfully established connection with domain level diagnostic services.

It has been stucked managed server .

I have 2 managed server ,one is running wls_forms and wls_reports stuck .

Please help me . it's very urgent

Score: 0
MonkeyZeus avatar
Interpolate environmental variable into a string
in flag

In a <VirtualHost> block I have this:

# Extract the first subdir and assign it to "subdir"
SetEnvIfNoCase Request_URI "^/?([^/]*)(?:/|$)" subdir=$1

# Add the subdir to the logging path
CustomLog "|bin/rotatelogs.exe -l c:/logs/%Y.%m_apache_%{ENV:subdir}_access.log 86400" combined

But it's not creating the desired:

c:\logs\apache_app3_a ...
Score: 0
MondQ avatar
Can't get .pfx file to work on Linux
ge flag

I am writing a C# program that has to call an API endpoint that requires authentication via certificates.

I have got a .pfx file, which I can import in Windows and everything works fine, however the app must run in a Linux environment in a Docker container.

I can import crt files into the /etc/ssl/certs folder in my Docker container just fine using the update-ca-certificates command.

I have tried ...

Score: 0
Alois Kraus avatar
Cannot enable Diagnostics Log Kernel-Power Thermal-Diagnostic
fk flag

When I try to enable Thermal Diagnostic event log I get the code 15003 which means that no ETW provider is registered. Is the Thermal Diagnostic event log no longer supported in Windows? It sounds useful to check if an overheated CPU was throttled due to overheating which could explain strange performance issues.

How would one detect CPU thermal throttling without that ETW provider?

enter image description here

- <Event xmln ...
Score: 0
Georgy Potapov avatar
prometheus-operator when configuring alertmanager config for PagerDuty
is flag

Have next issue: When try to set up alertmanager configuration over CRD, get wrong configuration on pod. Problem look like:

- routing_key: |

routing_key parameter after all CD use multiline string type, and it crash configuration - alertmanager don't understand it as pagerduty config and don't use default template for custom configuration. It not made expected json for PD and PD send back  ...

Score: 0
dofar21 avatar
How to make updates to BIND9 zone files to be visible for queries?
tz flag

I am using BIND 9.18 for testing purpose. I create a zone which supports dynamic DNS, and I try to use nsupdate to update the domain's resource record. After 15 minutes the update is successfully written into the original zonefile. However, when I use dig to query the domain and the response didn't change. Then I shutdown named , restart it and use dig to query the domain again, and the response shows ...

Score: 0
Prabhu Thiagarajan avatar
Changes made to install.wim file is not in effect
cn flag

I am using the DISM command to mount the install.wim and adding few folders and file to the root folder c:\ and them committed the image file. then creating a bootable ISO with the modified the WIM file. but the folders and file I added to the image is not visible after the windows installation.

what am I missing here?

below is sequence of the steps

  1. Extract the original windows bootalble ISO into ...
Score: 0
Ceyntas avatar
Postfix using asterisk user to send emails. Mapping did not work, are there any other options?
vu flag

I am trying to set up a PBX server to send voicemails to emails, which is being triggered properly, however, the from email is not the correct one I want to use. Instead of using [email protected], it's using [email protected]

So far I have tried adding mappings into generic file for postfix:

root@*   [email protected]
asterisk@*   [email protected]

Then making sure it's being relayed to ...

Score: 0
0xab3d avatar
FreeRADIUS Certificate Based Authentication WiFi
mk flag

We are currently trying to deploy a new SSID for BYOD devices. The plan is to host a FreeRADIUS (CA) server and generate a certificate which can be shared to all staff and can be imported onto their devices.

Is it solution feasible? If yes, does anyone have a guide on how to do it? I've searched online but the term radius is so broad.

Score: 0
Алексей Пашнин avatar
How to open Wordpress by server IP addres instead domain?
ai flag

I'm trying to install Wordpress via Nginx. I want to open Wordpress by accessing public IP address.

I extracted Wordpress to ~/wordpress

ls ~/wordpress/
index.php    readme.html      wp-admin            wp-comments-post.php  wp-content   wp-includes        wp-load.php   wp-mail.php      wp-signup.php     xmlrpc.php
license.txt  wp-activate.php  wp-blog-header.php  wp-config-sample.php  wp-cron.php  wp ...
Score: 1
LunarLaurus avatar
HPE Proliant Gen8 FlexibleLOM options for homelab network
bs flag

In my homelab rack I've got a pair of DL360p's and a pair of DL380's (one P, one E). Network hardware wise I've got a 24 port Brocade 300 and a 48 port POE+ Avaya switch with a single SFP+ port. (3549GTS-PWR+).

Originally I had considered just using SFP+ LOMs (530FLR-SFP+, 560FLR-SFP+, 571FLR-SFP+), but having recently obtained the Brocade FC switch was thinking maybe using one of the FlexFabric  ...

Score: 0
dontspeak avatar
K8s Port Forwarding via kubectl and socat
cn flag

My k8s pod is connecting to a certain https target. This target is not reachable from my local machine, so I wanted to use kubectl proxy + socat to make that target available on my local machine für local development.

The problem is that I even cant get socat working and Im very confused why.

First I check connection to target on my pod:

curl -v -k https://target/rest/
Score: 0
How to tell how many users are sending/receiving encrypted email in Postfix/Dovecot?
cn flag

I have access to the /var/log/mail.log files. They also output to Splunk. How do I find out how many users are sending/receiving encrypted email in Postfix/Dovecot? They use Enigmail/PGP in their Thunderbird clients.

Score: 0
jb_alvarado avatar
nftables: VM to VM Communication over Host IP
tc flag

I have the following situation:

  • A Debian Linux host with multiple VMs running on it.
  • One VM is set up as a mail server.
  • nftables on the host redirects the mail traffic from the world to the mail VM with NAT.

My problem is that when I want to send an email from another VM on the same host. Because of the DNS entry, it tries to connect to the host, but the host doesn't forward this traffic to the mai ...

Score: 0
user340971 avatar
ru flag

Just created the mysite example from

Running fine with python runserver

Instead if I build and run from docker I get:


docker build .

docker run name

+ gunicorn mysite.wsgi:application
[2023-07-17 09:08:44 +0000] [9] [INFO] Starting gunicorn 20.0.4
[2023-07-17 09:08:44 +0000] [9] [INFO] Listening at: (9)
[2 ...
Score: 0
yosisviva avatar
GCloud compute snapshots list doesn't show creation type
ki flag

Trying to sort out the GCP disk snapshots i have, and filter which snapshots had made by policy or backup software like veeam, or these snapshots made manualy by persone. While in the console i can see the value of "creation type" for a snapshot, in cli i can't find this attribute. I tried defferent formats but they al providing the same attributes, and there is no attribute for creation type.

th ...

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.