Latest Server related questions

Score: 2
user371793 avatar
How do you port forward a privileged sub-1024 port to a non-privileged 1024+ port with firewalld?
gb flag

The Question

How do you port forward a privileged sub-1024 port to a non-privileged 1024+ port with firewalld?

The Reason

Why we are doing this? We want to be able to switch the non-privileged 1050 port on the gateway and use a different upstream mail server. For example, to test a different spam solution, use port 1051 to send mail to a different mail server with a different spam filtering solutio ...

Score: 0
Connect to SQL server through other server
vn flag

In the image blow you see the situation of a project i'm working on.

enter image description here

On the app server runs Apache for the web app code. The database is an SQL server 2019 which runs on a computer of the client. There is a firewall in the company with a rule. This rule is dat only the IP address of the APP server can connect to the SQL server on port 9988. All other connections to this server:port are blocked.

Ev ...

Score: 0
Apache2 : 2 php versions in the same VHOST
in flag

I am migrating my app from PHP 5.6 to php 8.0 by having a front controller redirecting to my legacy app or my new app depending on the uri.

I tried with alias and it works but I need to keep the exact same host for both and no alias.

Eg: https://foo.bar.com/my_php80_routes https://foo.bar.com/my_php56_routes

Here is my unsatisfaying try with alias

<VirtualHost *:80>
    ServerName foo.bar.com

    ...
Score: 2
solveit avatar
How to delete all namespaces except the kube-system in K3s cluster
ar flag

I have a K3s cluster with system pods (i.e. kube-system namespace) and my application pods:

kube-system   pod/calico-node-xxxx                          
kube-system   pod/calico-kube-controllers-xxxxxx   
kube-system   pod/metrics-server-xxxxx
kube-system   pod/local-path-provisioner-xxxxx
kube-system   pod/coredns-xxxxx
app-system    pod/my-app-xxxx
db-system     pod/my-db-xxxxx

I am looking for a ...

Score: 1
levi-jcbs avatar
Apache: Access management via .htaccess not working
cn flag

For a few hours now, I've been trying to create a working .htaccess file that forbids access to all files with the exception of a few files and folders.

But whenever I write Allow from all in my .htaccess file in a direct subdirectory of my root folder /srv/www/htdocs/, it just says "Server error!" the end. In the attachment I send you my current httpd.conf and `default-server.conf.

My system:

OS: open ...
Score: 0
FindL avatar
502 Bad Gateway with NuxtJS and NGINX Proxy Companion
cn flag

I'm trying to setup a proxy with NGINX proxy companion but I'm facing with a 502 Bad Gateway error...

Here is my docker-compose.yml:

  nuxtjs:
    build:
      context: .
      dockerfile: docker/nuxtjs/Dockerfile
    environment:
      API_BASE_URL: fff.com
      VIRTUAL_HOST: fff.com
      LETSENCRYPT_HOST: fff.com
    ports:
      - "8000:80"
    container_name: ${NUXTJS_CONTAINER_NAME}
    volumes ...
Score: -1
How can I create virtual machine accessible on local network through web browser?
eg flag

I would like to create vm (graphical and not graphical) on an existing ubuntu laptop, and I would like to access this VM through the local network (web browser for example)

This is something like proxmox, but proxmox is an OS, and I don't want to install a new OS (I would like this on the same pc that runs my ubuntu), I would prefer like a proxmox .deb package but it doesn't exist. Or may be conve ...

Score: 0
Clins Muleya avatar
How can I locate a server from the network tab in file explorer?
cn flag

Our server no longer shows up at the network tab in file explorer. I don't know the cause of this. Other computers in the network are showing though. We can still access it by typing the name of the server (e.g \\server) in the search bar of the file explorer and using mapped folders. By default it is not showing. Only the mapped folders are showing. What can I do to have it appear in file explorer.

 ...
Score: 0
remote desktop sessions; How to find the user who is killing / logoff them
ae flag

Since recently, my Remote Desktop session to an admin server gets killed every now and then over night. As I have often long-running jobs on that server, this is obviously not so cool.

I do have admin rights on the server (as do many other users of this server) and I am the de facto admin of this server, so I do not think that we have suddenly AD GPOs which forces a logoff over night (I am not th ...

Score: 1
Marcus avatar
Quick, successive SSH connection attempts hanging
jp flag

I have a bash script which copies small files in succession using scp. So there are a bunch of scp commands in this script. An SSH key is being used to authenticate to the other server.

Because the files are so small, the SSH connection attempts happen very quickly, and not far into the script at all, an scp will hang indefinitely.

  • No errors produced.
  • Network equipment has been eliminated from ...
Score: 0
Use one AWS security group for home IP access to AWS instances
cn flag
Gen

I need to access our company AWS instances from home.
All access is managed by AWS security groups, and I need to change my home IP there every time my provider changes it.
My idea to simplify this routine was to create one security group with all inbound and outbound traffic allowed for my ip, and use this group to grant access permissions to all my instances' security groups.

I tried it with  ...

Score: 0
King David avatar
Kafka + Query the detailed configuration of all Topics
gb flag

we have Kafka servers cluster with Kafka version 2.6 on Linux RHEL machines

machine in the cluster are - kafka1,kafka2,kafka3

usually we are use the following cli in order to get the detailed configuration of all Topics

kafka-topics.sh --zookeeper 172.78.6.5:2181 --describe
  • 172.78.6.5 - is the zoo server IP

and the above approach is working fine

But we also try a different following approach , tha ...

Score: 0
halliba avatar
WatchGuard - BOVPN policy from "Tunnel Address" using "Any-BOVPN"
us flag

I just tried to set up an andvanced ingoing policy for our BOVPNs. Assuming there are 3 active tunnels: office-a.tun, office-b.tun and office-c.tun

We also have a group of privileged users (group privileged-users) that should be allowed to access our local resources in a "trusted" network via those BOVPN tunnels.

So my approach was to setup a new policy (call it BOVPN.in.allow.4-privileged). To: Any-Trus ...

Score: 1
hcr avatar
NFS: control file/folder access using groups on the server
il flag
hcr

I feel a bit stupid to ask as it feels to me to be a very basic question, but anyway I haven't found a solution yet:

I have a Linux dataserver and several workstations that mount folders on this dataserver using NFS. The system is set up in a way that users have the same uids on both, server and workstations. There is no centralized user management, but the accounts are local accounts on the acco ...

Score: 0
larry888 avatar
Drive to fail in 24 hours - Possible Hard Drive Failure Soon
kr flag

Here's what the smartctls is saying. How accurate is the 24 hours failure? Any successful fixes to the Reallocated_Sector_Ct fail?

Here's what I got from running the attributes command:
== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDAT ...

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.