Latest Server related questions

Score: 1
Appleoddity avatar
Will rsyslog recover from unavailable unix domain socket?
ng flag

I am following the instructions for NXLog here: https://nxlog.co/documentation/nxlog-user-guide/linux-logs.html#linux_logs_forwarding_socket_example under 80.2 about forwarding syslog messages to NXLog.

It specifically states to restart NXLog and then rsyslog so that NXlog can create the socket before rsyslog tries to write to it.

My question is, during a reboot, and across different versions of Linux, ...

Score: 0
Outbound proxy using multiple public IP addresses on EC2
br flag

We have a bunch of backend servers in the form of EC2 instances based in a private subnet in AWS VPC that need to talk to a 3rd party API. This API is limiting the requests we can send based on the originating ip address and while scaling our setup we have started hitting the limits on the IP of the NAT gateway that is used for all outbound traffic.

Thus I want to setup a proxy for outbound traff ...

Score: 0
stackhatter avatar
Why would userdel report that a user is currently used by a process that is running as another user?
au flag

When attempting to delete userA, userdel reported that userA is currently used by process 1296; however, ps reported that this process was running as userB. userC ran userdel.

userdel: user **userA** is currently used by process 1296
(base) **userC**@server:/dir1/home$ ps -aux | grep 1296
**userB**  1296  0.0  0.0  21604  5096 pts/0    Ss   Jan02   0:00 /bin/bash -l

Distro name and version:

(base) us ...

Score: 0
RoyalGoose avatar
What's the best practice for setting up new servers?
ni flag

I'm facing the problem that from time to time, when installing a new system, be it virtual machines in VMWare, be it new VDS of the customer's server, I have to constantly install the same packages (Nginx, firewalld, htop, python), make the same configs and install the same application. And it's all in the command line. Is there some way to make this process comfortable? I was thinking about various Web ...

Score: 0
Can't connect to sql server by instance name
ca flag

I have a user 'user_1' requesting access to sql server 'server1'. The user_1 is in domain 'domain1' and the sql server 'server1' is in domain2.

After I granted the user with permission, he found he couldn't connect to the server using name 'server1'. Instead, he has to connect using the name 'server1.domain2' (its FQDN).

I myself have no problem connecting to the server using either instance name on ...

Score: 2
Pie avatar
Access Kubernetes Dashboard Via HTTP Instead of HTTPS
es flag
Pie

Question

How can I enable HTTP requests? I have a primary web server that is a proxy and sends HTTP requests to the MicroK8S server but cannot due to the HTTP error.

Install command used:

sudo snap install microk8s --classic --channel=1.23/stable

Infrastructure

Self-Hosted on a virtual machine locally

Problem

I have a MicroK8S server setup using this command: microk8s enable dashboard dns regis ...

Score: -1
Henry avatar
Onboard ethernet versus Intel NIC
cn flag

I would need some recommendation about the benefits of using a dedicated Intel Ethernet card versus simply using the integrated Ethernet of the motherboard. The typical use case would be the following:

  1. Payload of around 100 KB per message,
  2. Frequency of around 1000 messages per second maximum,
  3. Ideally, the handling of these messages should consume CPU time as minimum as possible (the CPU will be used fo ...
Score: 1
Troubleshooting issue with nginx
cn flag

Yesterday, the server worked, but now the url that used to work gives me:

404 Not Found
nginx

I am using Linux version 2.6.32-754.35.1.el6.x86_64 (mockbuild@x86-02.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP Sat Nov 7 12:42:14 UTC 2020

The access log gives me a lot of garbage like:

Â@{¿â°•‚¹{÷‘„ÄJDFEp!…XD]q1QAñëM!§›a8©¢„´ÑduÛr,çõMjÖ: ...
Score: 0
how do I create multiple VMs from the same OS image with the same rendering output?
cn flag

Currently I am doing pixel v pixel on a single AWS VM.

I am running all test on a single machine comparing golden vs test image.

Id like to do pixel v pixel tests on multiple machines to parallelize testing using a single master golden image db.

Does anyone know if I create multiple VMs from the same OS image would their rendering output look the same?

how will i use this: I want to compare 2 of the same  ...

Score: 0
Kiekem avatar
Apache2 response times abysmal after enabling php-fpm module
cn flag

I'm running Apache2 on a Debian 11 VPS. I've written an API, and I'm trying to stress test it via an external server using ApacheBench.

With mpm_prefork enabled and php8.0-fpm disabled, the 95th percentile response times are around 30ms. The output is as follows:

Server Software:        Apache/2.4.52
Server Hostname:        XXX.XXX.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE- ...
Score: 0
javathunderman avatar
Connecting to a wireguard peer through a VPS
cn flag

My current Wireguard setup has a VPS connected to two devices on different local networks. Each of the home network devices are connected to the VPS using Wireguard, but are not configured to accept connections from each other (they haven't been added as peers in each others config files).

I'd like to use the VPS similar to a reverse proxy server, so that home device 1 can connect to the VPS and  ...

Score: -1
D.L. avatar
A file named "off" located at /server/nginx
ma flag

There is an "off" file in /server/nginx. It records error logs. I 've set error_log to /dev/null crit; in nginx.conf. Don't understand why this "off" file was created. How can I stop it from recording logs. My nginx version is 1.16

Below is the nginx.conf:

user  www www;

worker_processes auto;

error_log  /dev/null crit;

pid        /www/server/nginx/logs/nginx.pid;

worker_rlimit_nofile 51200;

even ...
Score: 0
dnsmasq DHCP not working, not replying to DHCP requests
cn flag

I have setup dnsmasq as DHCP server on a CentOS VM, however it is not replying to DHCP requests. What could be the issue? Following is the configuration and tcpdump logs.

interface=ens224
listen-address=::1,127.0.0.1,172.17.11.1
dhcp-range=172.17.11.10,172.17.11.50,24h
dhcp-option=option:router,172.17.11.1
dhcp-authoritative
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases

Following is the DHCP request  ...

Score: 0
Postfix alternate transport based on recipient SMTP server
de flag

Is there a way in Postfix, similar to the transport table, to specify different transports for outbound mail based on a recipient mail server?

In other words, if xyz.com is a large mail hosting provider and it's determined that user@destination.com relays through mx-01.xyz.com, can I configure Postfix to send all *.xyz.com-bound messages through Amazon SES instead without having to enumerate all  ...

Score: 0
Global Read-only permissions (for pulling Inventory from all Projects)
in flag

We just starting to you GCP, and we would like to have ability to export/ have a list all our Compute resources, so they could be used for Inventory purposes (imported into Netbox).

I don't have yet a lot of experience and it's hard to understand how to achieve this goal. So far we created user account (inventory@example.com), and tried to understand how to grant permissions (and which ones). We  ...

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.