Latest Server related questions

Score: 0
Gustavo Vargas avatar
SSH identify key used to create a remote random port
in flag

I need to access some servers inside NAT. Since I do have a public server, this is what I am doing:

Both A and B have a service that runs the command: ssh -fnN -R 17000:localhost:22 [email protected] -i privateA

Only difference is the port. For B it is 17001.

This creates a sleeping connection from servers inside NAT to my public server 24/7.

Now I can connect any time to S and use the command: ssh -i p ...

Score: 0
That's Me avatar
Google Cloud Run server keeps restarting after 'Unhandled Exception:' with no details
tr flag

I have a Dart server deployed onto Google Cloud Run. It works perfectly fine in my Dev environment. And works some of the time in Cloud Run. But too often it throws an error and restarts causing the request to fail.

See example logs below. Anyone know what might be causing the restart? Thanks!

Server started at http://0.0.0.0:8080

2023-08-16 08:57:15.683 AEST Default STARTUP TCP probe succeeded after 1  ...

Score: 3
Why does my SLOG slow down sequential sync writes?
cn flag

I jury-rigged a TrueNAS server to run a few tests in preparation for a proper NAS build. I got hold of an older Xeon server with 256GB RAM and a 10GbE NIC, equipped it with 6 sata disks configured as 3 mirror vdevs and installed the latest TrueNAS Core version. I also added a single 850 Pro SSD as SLOG (I know - it's just for a rough performance test).

The dataset is mounted via NFS (with default ...

Score: 0
user22395539 avatar
IPtables uncommon packet dropping
lt flag

I'm setting up a basic iptables firewall on a Rocky Linux-based server with kernel version 5.15.103-1. The primary requirement is to establish specific access rules for different groups of servers. The goal is to allow full access for administrative workstations and a restricted form of access for production servers while denying access for any other requests.

My firewall script currently looks l ...

Score: 0
Joseph Freivald avatar
How do I install an updated HPLIP on Rocky 8?
mk flag

I have an HP Laserjet Pro M148 multifunction printer/scanner that requires an updated hplip. The HP RPMs for Centos and RHEL are broken and HP's instructions for the manual build and install don't work either.

Score: 0
freebie avatar
Troubleshooting K8 cluster with StatefulSets that don't respond to scales
it flag

I currently have a Kubernetes environment which is generally not behaving (slow response times to commands, pods not being scheduled, etc).

I've not been able to find any trouble shooting information in the form of events or errors (that I've encountered) that are pointing me to what is causing the issue.

What I'm asking is what are some general ways I can start getting the health status of the clus ...

Score: 0
Bushkin avatar
Cannot Start Apache2 - httpd bound to port 80
la flag

I have a fresh install of Ubuntu Server 22.04, on which I installed apache2 via apt-get install After the installation I got the following error whenever I tried to start Apache2:

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80

After some investigation, I found that httpd was already bound to port 80 and preventing Apache2 starting. I hadn't realised that this versi ...

Score: 0
ItsPronounced avatar
LDAPS certificate isn't working on new server for third parties
cv flag

About 5-6 years ago I setup LDAPS on my Primary Domain controller. I setup Active Directory Certificate Services (all on the same server), forwarded the port 636 on my firewall, and was able to successfully authenticate with third parties using this. Last week I decommissioned that server, removed all roles and built a new Primary and Secondary domain controller (Server 2016). After some reading I ...

Score: 0
p asst avatar
Postfix: recipient_bcc_maps for incoming mails only
bs flag

With the parameter recipient_bcc_maps in main.cf from Postfix it is possible to send incoming mails from a list of email addresses as a BCC copy to other email addresses.

I want to BCC copy only those incoming mails where the sender's domain can not be found in the list of virtual_mailbox_domains from main.cf. That means I don't want to send emails as a BCC copy where Postfix is the "home" server for tho ...

Score: 0
Yonoss avatar
"550 5.1.2 Relay not allowed" Error returned when trying to send emails from my on-premises mail server
sh flag

I setup an on premises mail server for my domain, to send and receive emails.

I've picked Stalwart mail server for this.

I deployed and configured the system, to the point which I am able to receive emails on my domain email addresses, but I've failed at making the system send emails properly.

It can send emails to my domain email addresses, but if I try to send an email to a gmail or yahoo account, I  ...

Score: 0
J D avatar
Best way of implementing a VPN for remote device management
sk flag
J D

Looking for thoughts on how to proceed with our remote management of hardware.

We deploy MileSight LoraWan UG65 gateways at our customers.

The tooling Milesight themselves provide for remote management are a bit wonky so I'm looking to connect the devices through a VPN so we can reach and manage them.

We have now tried two things:

  1. We have an IoT simcard in these devices. This works well and we ca ...

Score: 13
0x11111 avatar
Finding how a Linux system was booted
at flag

I have a remote server, running Linux 5.19.0-41-generic x86_64, I am trying to find out how it was booted.

Apparently, it does not use systemd :

PID 1 process is bash.

ps -p 1 -o comm=
bash

Apparently, there is no GRUB, at least there is none in /usr/sbin , and

grub-install --version
-bash: grub-install: command not found

I guess, GRUB was not used at startup.

It does not seem to be a virtual machi ...

Score: 0
SamTzu avatar
Do spaces in DKIM records matter?
jp flag

I'm trying to get BIND show my DKIM exactly like it was generated but it seems like the " sign is messing up the results for dig.

If I don't insert the public key within "" then dig only shows v=DKIM1 (and not the key). If I insert it inside "" then the other " characters used in the public key create spaces to ;; ANSWER SECTION.

Does that matter? Or will the extra spaces mess up the public key?

 ...
Score: -1
Bhrol avatar
How to set up a ptr record to allow my ip for sending email?
rw flag

I'm trying to set up a raspberrypi 4 as a mail server. Since I own a domain name using a provider (gandi.net), I use this domain name for my mail server (with mx records, redirection to the raspberry, etc.)

Using the tutorial of Makeuseof, I did configure the pi to send mail. But the thing is, when I try to send a mail to, for example, my gmail account, I receive the error :

IP you're using to send 5 ...

Score: 0
Allmektiger avatar
Nginx returns different SSL certificates for one domain
my flag

Problem summary:

  • one nginx server
  • one domain with SSL certificate
  • when accessing the site from one network, nginx returns the correct current certificate (1), and when accessing from other networks - some other one (2), expired a couple of years ago
  • The old certificate (2) is missing from the server, it's not in any nginx configuration

I even tried using the grep like "grep -r 'row_from_bad_cert' /

Score: 0
markfree avatar
Replicate local user policies between PC's
ci flag

I used the Local Policy Editor Management Console that applies local policies to a specific user on a Windows 10 PC.

After saving the new policies, I want to replicate it to other PCs.

When I opened it on another PC with the same user, I got an error saying that there was no mapping between the account names and security id.

How can I replicate those local policies for multiple PCs?

Score: 0
JDS avatar
Active Directory Win2k19 DNS record refused
us flag
JDS

I am migrating a Samba domain to AD on Windows 2k19. The domain successfully replicated, and I transferred 5 of the 7 Samba FSMOs (there are 2 additional FSMOs that Samba claimed that Active Directory documentation does not reference). The DNS zone was replicated successfully, and up until just recently I was able to add/edit records on the new server. However, I just started experiencing an issue whe ...

Score: 0
user1043312 avatar
Using Rank Math REgex for subfolder redirects to home
qa flag

So short summary: im a SEO specialist working on a website that has over 1000 404 pages due to a translator app. The subfolders /de/ /fr/ /es/ /en/ and URL's within the subfolder need to be redirected to the homepage. Because it is not possible to load up a CSV file in Rank Math I thought why not use REgex... however I don't know what to place in Rank Math.

So please anyone write the REgex code f ...

Score: 0
Subzero123 avatar
Ansible playbook with 'async' outputs out of order when executing on multiple servers
gb flag

I have a playbook that is suppose to run a script on 5-10 servers in parallel

- name: Run script & cleanup
  ansible.builtin.shell: |
    ...
    bash {{ SCRIPT }}
    ...
  args:
    executable: /bin/bash
  async: 1800
  poll: 60

I have to add this async + poll because the script takes ~10 minutes to finish. If I don't specify them, Ansible complains that it lost connectivity to the server.

Score: 0
thebart_the avatar
Extract GALsync contact photos from Zimbra server
gy flag

The scenario:

I'm trying to write a shell script that automates the creation of email signatures on a Zimbra server. Most users have added their information and their photo to the domain's GALsync account. Ideally I would like the image as base64, but a public URI would be better. The image must be sourced from the GALsync upload, and this process of automating signature creation should run from the ...

Score: 0
Rewony avatar
Failed to start PowerDNS Authoritative server
vn flag

use systemctl restart pnds command system said me you should use to systemctl status pnds ı show this fail message . I saw code=exited, status=1/failure do you have any idea ?

ı can create succesfull database ı wrote some mysql quary. I can see my table in mysql and later ı try install pdns and installed but later ı saw this error code

oot@goktug-virtual-machine:/home/goktug# journalctl -xe
Autom ...
Score: -1
How do I get the total number of iOS devices by generation from Microsoft InTune?
cn flag

I'm new to Microsoft InTune and I want to be able to determine how many iOS devices I have enrolled by generation (4th, 5th, 6th, etc). I've looked and it doesnt seem straightforward.

Score: 1
Codex avatar
Troubleshooting SMTP and IMAP Configuration for Postfix Email Server on Ubuntu
pr flag

I've recently installed Postfix and dovecot on my linux machine running Zorin OS 16.3(Ubuntu Based Linux Distro) to be able to host my own email server for my website.

The server is port forwarded using the internet providers fiberlink service. So any forwarded ports can be accesed by the provided subdomain. The domain is firecat.go.ro. The mail server I will forward to codrutsoft.com, but after I ...

Score: 0
Carlos Yuan avatar
Nginx as http proxy in two different networks and must use udp
tn flag

I face a challenge, nginx as http proxy in two different networks and must use udp. There are some conditions:

  1. Two different networks: A network and B network, they can't connect directly.
  2. One proxy server that only support udp: udp-proxy-server, this server have two network interface cards that one is A network and another is B network.
  3. Data transfer to A network udp-17002(port) will transfer to B net ...
Score: 0
Nautilus avatar
Error on deploying OpenStack infrastructure
ci flag

I'm going to deploy Openstack as an infrastructure on 3 servers as described below. 3 Hp DL380 G7 servers with 2TB HDD that separated in 2 logical volume , the Ubuntu 22.04 is installed on a 200Gb logical volume and fully updated, also each servers has at least 128gb RAM. the second logical volume has been reserved for infrastructure the problem :

i have follow this instruction to deploy the Open ...

Score: 0
Martin D avatar
GKE Arm-based cluster starts in invalid state
sd flag

After I install a new GKE cluster on Arm-based VM it immediately starts in a failing state. Specifically antrea-controller-horizontal-autoscaler cannot be run as it has no toleration for Arm-based architecture.

Did it happen to anyone else? Official docs don't mention anything like that and HPA should be allowed for Arm-based clusters.

EDIT: I'm running a GKE Standard Cluster. By trial and error I'v ...

Score: 0
Johannes avatar
AppArmor issues with Libvirt
ph flag

I have a fresh Ubuntu Server 22.04.3 and Debian 12.1.0 installed and updated. Along with Cockpit and Cockpit virtual machines on both tests machines.

I am getting the following errors and warning when looking at the log section in Cockpit:

Failed to read AppArmor profiles list '/sys/kernel/security/apparmor/profiles': Permission denied libvirtd

Failed to open file '/sys/kernel/security/apparmor/profi ...
Score: 0
Reedz avatar
Packet loss with local WebRTC clients
bs flag

I stream live audio to clients via WebRTC, and a streaming app called Barix on a local network for translated events.

When there are more than 20 or so clients, the network undergoes significant packet loss at a start of the event, for the first 10-15mn, resulting in the audio cutting and a lot of packet loss if I try to ping any resource on the network.

There are periods of packet loss at other tim ...

Score: 0
Gour DEV avatar
Tap interface injected packet not received at user appllication
cx flag

I have written an application using AF_XDP sockets, currently all packets are received on the interface are received by the Af_XDP application. The application filters packet of specific port number all other packet are reinjected into linux network stack using a tap interface. I have other application running on the system. I am pushing the packets back in with tap, but finding that nothing gets delive ...

Score: 0
Geordie avatar
What can cause smbclient to attempt connection on port 139 to a SMB2 server?
ca flag

I have an Isilon NAS connected to two subnets. I can mount the SMB share fine from the same subnet the Isilon is in, but can't from the other. My It team has assured me ports 445 (and 139 for that matter) are open between the subnets with no IP restrictions.

Weirdly even though I'm specifying SMB2 in the smbclient command it seemly is trying to connect to the NAS using port 139 but can't. I've ...

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.