Latest Server related questions

Score: 0
Jhon Lozano avatar
Serving Static files from different folders
eh flag

How can I publish multiple folders on a server to different locations or disks on a server?

Example...

mydomain.com/files

I want /files to be able to see the contents of folders in c:/myvideos or f:/mymusic or / d:/myfiles/myshows like alias in FTP.

Score: 0
Karl avatar
Apache 2.4 AH00687: Negotiation: discovered file(s) matching request: (None could be negotiated)
in flag

Apache 2.4 on Windows 11, thus localhost.

I'm running a Wordpress site and Apache serves all URLs correctly except for one. One URL 404s. The Apache error log contains this error:

AH00687: Negotiation: discovered file(s) matching request: C:/wwwroot/site/the-page; (None could be negotiated)., referer: http://localhost:8090/

How is it possible that Apache can serve all the other PHP pages (Wordp ...

Score: 0
Mojoman317717 avatar
remote network unreachable to Anyconnect clients
cn flag

I have a Cisco 5516 ASA that serves as the VPN Gateway for Anyconnect clients. If I connect to the Anyconnect VPN the ASA will assign me an address in the 172.25.1.0/24 subnet and that allows me to communicate on our trusted internal networks. Recently we added a remote site with a UDM-PRO that connects to the 5516 ASA via a site to site ipsec tunnel. Anyconnect clients are unable to "talk" to the new r ...

Score: 0
aggieNick02 avatar
Can't get Winlogon automatic restart sign-on (ARSO) to work on a specific machine
ng flag

I'm trying to get Windows ARSO to work on a machine but am unable to. (Windows 10 Pro 22H2)

It runs on other machines just fine, but not this specific machine. I've read through and double checked the two group policy settings (and associated registry entries) mentioned in the documentation. It doesn't matter if I do a regular restart or one via shutdown /g.

The referenced documentation states that  ...

Score: 0
Vinicius Gonçalves Melo avatar
UFW + Docker - allow Tinyproxy container to receive all HTTP/HTTPS traffic
jp flag

Situation

I have a Tinyproxy Docker container forwarding traffic on a host. I also have Nginx reverse proxy receiving/passing HTTP/HTTPS connections to other servers on the same host. Tinyproxy and Nginx are on different Docker networks. Nginx and the servers behind it share the same Docker network. If I try to restrict Nginx's incoming connections to connections coming from Tinyproxy, everything  ...

Score: 0
Sebastian avatar
How to escape {{ in AWS SSM?
us flag

We're using Atlantis & Terraform to set SSM values. One of the parameters contains raw {{ ... }} in the same syntax used by SSM for dynamic parameters.

AWS SSM refuses the value with:

Error: creating SSM Parameter (/path/name): ValidationException: Parameter value: 'Something with {{ ... }}' failed to satisfy constraint: Parameter value can't nest another parameter. Do not use "{{}}" in the value. s ...

Score: 0
arunkumar avatar
iptables - port 25 not getting traffic even though default policy is ACCEPT and all rules are flushed
br flag

I am having a problem that's driving me up the wall. I have a server, where after several attempts at various iptable rules, I have flushed iptable rules and set default policy to accept.

The output of $ sudo iptables -L:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT  ...
Score: -4
Executifs avatar
How many RJ45 outlets is too many?
jp flag

This is going to be a silly question.

Good friends of mine are opening an ophthalmologist office, and have asked me to provide input on their plans for the IT network. I'm a cybersecurity expert, not a network specialist however.

The job is to be taken care of by a small and local consulting firm. Looking at the design, I was very surprised to see that they have been advised to add an RJ45 outlet

Score: 0
Chris Woelkers avatar
NFSv4 and CentOS
in flag

I have a storage server, running Rocky 8, and multiple clients, using Rocky 8, CentOS 7, and Debian 10/11, that connect via NFS with different exports for different file systems. One of the file systems is ZFS the other is not. This works fine with NFSv3 as I can put the various directories to export in /etc/exports and here is the /etc/exports for that.

/hpc/projects 10.0.20.100/32(rw,crossmnt,asy ...
Score: 0
How to rsnapshot keep mirror backup and 'retain' directories have only deleted and changed files
in flag

I'm triyng/testing rsnapshot in my Ubuntu desktop to make incremental backups from a remote server to my desktop.
I use a custom config file where I set retain alpha 7

I executed rsnapshot -V -c /path-to/rsnapshot-my1.conf alpha and the backup was successful to the directory alpha.0 (17GB)

After some hours I executed it again and got another full backup at directory alpha.0 and the previous one was rota ...

Score: 0
BAD_SEED avatar
Join a SuSE 15.4 to Active Directory
cn flag

I was reading this post because I have to add a SuSE 15.4 Server to an Active Directory domain. I followed it but the packages that he ask me to install cannot be installed. For instance, the command:

zypper in adcli sssd sssd-ldap sssd-ad sssd-tools

gave me

'sssd' not found in package names. Trying capabilities.
No provider of 'sssd' found.
'sssd-ad' not found in package names. Trying capabilities.
 ...
Score: 0
Kaspar avatar
Custom error page not shown when custom error gets returned
cn flag

I'm trying to serve a custom error page for a 403 error that gets triggered when a non HTTPS request is made. The 403 error gets returned fine, but the default nginx error page get shown instead of the custom error page.

Changing the order (defining the error_page above the if statement) doesn't seems to have any impact.

server {
    listen 80;
    server_name example.com;
    root "/var/www/example.c ...
Score: 0
breversa avatar
Brocade FabricOS 8.2.2d: "rbash: setcontext: command not found" through SSH
cn flag

Context:

I’m writing a script that monitors all SFPs on a Brocade SAN switch and needs to iterate over all FabricID contexts.

When I log into a FabricOS 8.2.2d (also with 9.0.1) device through SSH then type:

setcontext <FID>

then the command behaves properly.

But when (as part of my script) I try to run the same command non-interactively via:

ssh <username@hostname> setcontext <FID> ...

Score: 0
YacineSM avatar
How to set maximum spending on azure account
ca flag

I need your help to understand how I can set a maximum budget limit on my azure account. For example, let's say I don't want to spend more than 200 dollar per month how can I set that?

Score: 5
Shaul Behr avatar
Why is my Systemd service not passing parameters from my EnvironmentFile?
sa flag

I'm new-ish to systemd. I've got a service that's been working fine with the ExecStart command line hard-coded. Now I'm trying to parameterize it, and I found EnvironmentFile written up online. So I modified my service file as follows (some things obfuscated for privacy):

[Service]
Type=simple
EnvironmentFile=/etc/my-service/my-service-systemd.cfg
ExecStart=/usr/local/bin/my-service -port=$PORT -log-le ...
Score: 1
George Y avatar
How to use nginx as ssl reverse proxy for postgresql TCP connection?
vn flag

What I want to achieve is this

[Postgresql Database] -- transparent TCP -- [clients on the cloud]

[Postgresql Database] -- transparent TCP -- [nginx on jump server] --SSL TCP-- [clients outside the cloud]

I would like to add an additional layer of SSL encryption by nginx reverse proxy on stream with SSL parameter.

The added configuration in nginx.conf is this (with SSL certificates and keys already m ...

Score: 0
digicommons avatar
Signal to WebDAV client that server doesn't offer Sharepoint capabilities
cu flag

I have a server with paths that can be mounted via WebDAV as a network drive. Clients (MiniRedir) accessing these drives recently started sending additional requests to Sharepoint paths (/_api/...), which don't exist in this setup.

Is there any way to signal to clients that the server does not offer Sharepoint capabilities? Replying with a 405 didn't make a difference.

Score: 0
Rahul Mukati avatar
Exim allow outgoing for specific domains
nz flag

I am using Exim as MTA. I want if an email is sent out from my server, then the sender domain must be in the list "+local_domains", else it should be through the message "Not Allowed". I applied a rule, but it also blocks any other server from sending mail to my server. I only want this rule to be applied, when an email is sent out of my server, but any other sender (like gmail.com, outlook.com) can sen ...

Score: 0
Sindar avatar
No OCE available for RAID expansion via storcli
nc flag

I have an issue with RAID expansion for the controller LSI MegaRAID SAS 9260-4i. It looks similar to the case described here but in my case OCE option is unavailable. I've changed 2x10TB HDD to 2x20TB consequently with intermediate synching. But now I can not expand VD1 size to 20TB.

TOPOLOGY :
========

---------------------------------------------
DG      Arr     Row             EID:Slot    DI ...
Score: 2
yaoviametepe avatar
I need help to achieve (as close as possible) 40G network transfer speed (~1250 MB/s x 4)
me flag

I had a Gigabit network, which I upgraded recently to 40Gbps. To do so, I replace my TPLINK switch with a Cisco Nexus 9396PX switch, which has a module with 12x 40G ports. The 40G network interconnects DELL servers with ESXi7 installed.

The problem is that I am not able to achieve the throughput speed of a 40Gbps network (~1250 MB/s x 4).

  • When I run iperf between two virtual machines, I get a ba ...
Score: 0
GoldenH4ck avatar
Deduplication inside VHDX
kw flag

I want to use deduplication on files coming from a vhdx, but it doesn't seem to work as it doesn't optimize space. I tested it on another 'normal' file system (containing xlsx, pst, doc files, etc.) and it works fine. I'm wondering: could it be that deduplication simply doesn't work inside a vhdx? If anyone could shed some light and provide an answer, that would be great. Thanks in advance!

Score: 0
Asma Mohamed Nacer avatar
df command showing incorrect information
cm flag

i have two rhel 7.9 servers with replicated glusterfs storage, and the df command is dispalying wrong size information on both servers The machines size on Vcenter is 16.3To but when using df it shows 17To on the glusterfs FS.

Does anyone have any idea on how to solve this issue ?

[root@**** ~]# df -h /var/ftps
Sys. de fichiers                    Taille Utilisé Dispo Uti% Monté sur
****.***:/repl-vo ...
Score: 0
SinaOwolabi avatar
Haproxy as a mail protocols reverse proxy with SSL termination
ng flag

Looking for guidance of how to configure haproxy 2.4 in a container, to proxy for a mail server (all protocols, imap/s, smtp/s, pop3/s, http/s) and having haproxy doing ssl termination, but also sending properly to the encrypted ports (pop3s, imap/s, especially) on the backend mail server.

Here is my configuration:

 frontend smtp-in
  bind *:25
  mode tcp
  tcp-request inspect-delay 5s
  tcp-request c ...
Score: 0
MecaTheclau avatar
How to fetch attribute in freeradius plicy.d/filter
mo flag

I have an issue with getting empty Called-Station-Id in policy.d/filter of Freeradius. there are different VLANs the user can connect from I want to assign VLAN by filtering the WIFI name in the request packet EX: Called-Station-Id = "1A-EC-DA-8A-FD-73:WIFIRadius".

filter

filter_ssid {
        if ("%{Called-Station-Id}" =~ /WIFIRadius/) {
                 update reply {
                        Tunnel- ...
Score: 0
Loki avatar
Azure VM and Multiple Apache Instances
td flag

I am doing some experiments and trying to setup multiple websites on 1 host without it being obvious that the websites are related. I want them to have their own IP address and names.

I have added an IP Alias to the interface in the Azure console, so the VM has two Public IPs linked to two Private IPs, for example:

172.1.1.1 -> 21.1.1.1
172.1.1.2 -> 21.1.1.2

I have followed the apache guide to setu ...

Score: 0
Low cost TCP listener for Azure
kh flag

We've been going through the process of migrating VMs from our data centres into Azure. When migrating, one of the gotchas is networking rules; i.e. there are NSGs, hardware firewalls, OS firewalls, VPN routing rules, etc in various places, each managed by different teams, so saying what needs to be updated & ensuring it has been ahead of migrating the VM can be awkard - and you can't test until the ...

Score: 2
premar avatar
nginx not reloading certificate after renewal
ps flag

We have the following setup: multiple linux server with Ubuntu 20.04 and 22.04. Hosted on this servers are website for our customers. We using certbot to generate or renewal certificates. As webserver we using nginx.

The certificates are generated with the following command:

certbot --webroot-path /path/to/webroot -d domain.name

For the renewal the following cronjob is executed:

certbot -q --post-ho ...
Score: 0
Zdenko.S avatar
ActiveMQ: Constantly increasing number of tasks
mw flag

I am running ActiveMQ 5.15.8 and MCollective client on Ubuntu 18. With every request, number of tasks increases by 4.

sudo systemctl status activemq | grep Tasks

At some point, Out of memory is reached and ActiveMQ must be restarted. How to recover allocated memory and force releasing completed tasks?

Score: 0
donkeyx avatar
Ceph - reset ceph osd_max_backfills to default value
na flag

I am attempting to reset some backfill settings to defaults after having changed them to slow down the backfilling. I am struggling to work out how to do it though:

This example shows that the backfill is still set to "override", and I would like it to be default?

$ ceph config show osd.11 | grep osd_max_backfills
osd_max_backfills                                1000                                    ...
Score: 0
sndrvanes avatar
How to route traffic from source IP to gateway on another subnet?
us flag

I have the following network setup:

2 LANs; 1 local and 1 remote, connected site-to-site via WireGuard.

192.168.0.0/24 -> local
192.168.2.0/24 -> remote

192.168.0.0/24 has a gateway 192.168.0.20

192.168.2.0/24 has a gateway 192.168.2.254

All hosts on each side are able to reach each other.

I would like for one host (192.168.0.4), to be able to use the gateway (192.168.2.254) on the remote network  ...

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.