Latest Server related questions

Score: 0
Tom Dee avatar
MySQL shuts down
ss flag

Got unexpected shutdown of mysql in my VPS server (with 40GB SSD, 2GB ram and 2 vCPU's). Hosted only one website (with LAMP stack). Of course - increased some mysql limits for bigger queries which are necessary.

My /var/log/mysql:

2023-01-07T15:44:25.668222Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.40-0ubuntu0.18.04.1) starting as process 2611 ...
2023-01-07T15:44:25.705604Z 0 [Note] InnoDB: PUNCH HOLE s ...
Score: 0
nginx equivalant of apache's IncludeOptional
bg flag

Both Apache & nginx have a way to “include the contents of this file in the configuration”, (Include & include resp.). Both will cause the configuration to be invalid if the provided filename does not exist.

But Apache also has IncludeOptional, which fuctions the same, except it will not cause an error in the configuration if the file does not exist. (It will cause an error if the file  ...

Score: 1
nginx equivalent of Apache's ``
bg flag

Apache (as of v2.4.34) has an <IfFile path> configuration directive. Does nginx have equivalent functionality? How can I do this?

In Apache, when the configuration is loaded, if that file exists, then it the apache directives inside the <IfFile>…</IfFile> is loaded. If not, everything inside is ignored.

This functionality is useful for (e.g.) enabling a HTTPS vhost only if the SSL ...

Score: 1
chandrasiri avatar
Remote Desktop without using IP address but with a domain name (URL)
mr flag

I have a VPS (say, 13.15.65.5) with Windows 2019 and I want to access it by using the Remote Desktop service with a subdomain without using the IP of the VPS.

I configured all settings for the subdomain by using the IP of the VPS in Cloudflare. Then I checked it by pinging the URL and received the messages "Reply from..." and "Success 100%".

But still, I cannot access the server by using that URL wi ...

Score: 1
ShenLin avatar
How do i receive DMARC reports with external domains that i have no permission to control
it flag

I want to receive reports with gmail or outlook or anything else that i have no permission to add (mydomain.com)._report._dmarc.(gmail|outlook).com as a record. What i can do? Example just like:

v=DMARC1; p=quarantine; rua=mailto:[email protected]; [email protected]; fo=1; aspf=s;

Then i as it must be have no permission to add an txt record for gmail.com.

PS: I know i can just set my record as  ...

Score: 0
Deux Sorbets avatar
Reverse proxy serving html linked content as 404
lt flag

I've set up this reverse proxy to route a simple web page served on a port (say 61185). Instead of querying example.net:61185, i'd like to have the same behavior with example.net/listing

Here's the config:

server {
  listen 80;
  server_name example.net;
  location /listing {
    proxy_pass http://127.0.0.1:61185/;
  }
}

The html loads fine, but when fetching the css linked inside it I get a 404. I ...

Score: 2
Steve Summit avatar
Safe way to clear all packages from yum cache?
us flag

I know that yum clean all doesn't necessarily clear all the package files. I know from "Maybe you want: rm -rf /var/cache/yum" that I might have to, good grief, bluntly clear all of /var/cache/yum. But I've just discovered that I very definitely do not want to clear all of /var/cache/yum, because evidently the record of which packages are installed is also kept down in there somewhere. Without certain ...

Score: 0
Greg Schmidt avatar
Exim sends outgoing mail to all or none, not some
au flag

I have a PHP application sending emails via SMTP through a local Exim (v4.96) server. I am connecting on port 587 with authentication, and in the vast majority of cases everything works great. The problem arises when I try to send to multiple addresses, and one of them does not have a valid DNS. On other servers I've worked with, in such a case, it will go ahead and deliver to all the valid addresses, a ...

Score: 0
anxiety avatar
Whitelisting Gmail SMTP in CSF
bg flag

In my csf.deny, I have 0.0.0.0/0 blocked to prevent requests being sent to the raw server IP. This creates issues with sending e-mails. I utilize Google SMTP to send e-mail. I can't seem to figure out how to whitelist Gmail's SMTP while blocking 0.0.0.0/0. My Gmail SMTP settings are correct, and send e-mail properly when I don't have 0.0.0.0/0 blocked.

I've tried a variety of things to try to allo ...

Score: 0
vijaya lakshmi avatar
Kubernetes upgrade from 1.21 to 1.22 caused Prometheus to fail
ir flag

We recently upgraded Kubernetes 1.21 to 1.22 version on aws eks. The upgrade was successful. However, the associated prometheus deployments fails with error

$ kubectl -n monitoring logs prometheus-operator-***
W0109 20:31:28.602872       1 client_config.go:608] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"level":"info","msg":"patching webhook  ...
Score: 0
jeanix46 avatar
Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices - fedora 37
gm flag

I added the section in the xml file of the VM win10 and I got the following error: Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices when trying to start the VM I got this error

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/s ...
Score: 0
steven aguilar avatar
EC2 - rails - Docker - NGINX Unable to proxy_pass redirect to localhost:3000
cy flag

Infra

I have an EC2 instance running Ubuntu 20.04. Within this ec2 instance I have 2 docker containers, one running a NGINX server and another one running a rails application. For the NGINX server which Im using as a reverse proxy, I'm redirect using HTTPS to localhost:3000. When I navigate to the website godomus.com Im able to see that NGINX is reached via port 80 but never hits the localhost:3000 endpoint. ...

Score: 0
Markcodes avatar
Increase disk size from terminal after increasing size from azure
ai flag

I have 30 GB base memory disk on azure and another 64 GB that I increased from 32 GB but I am having issues with allocating the newly added memory.

here is my output of df-h terminal output

any idea how to allocate the memory? Thanks

output of fdisk -l as root is-

Disk /dev/loop0: 44.6 MiB, 46710784 bytes, 91232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes ...
Score: 0
desiguy avatar
Alias in apache httpd.conf
cn flag

I am trying to serve robots.txt on an existing https site being served via reverse proxy on an apache windows server.

Here is what I added to httpd.conf file however this is not working. What am I doing wrong.

# global robots.txt file 
<Location "/robots.txt">
    ProxyPass !
</Location>

Alias /robots.txt "C:\Ampps\www\robots.txt"

and here is what is in my httpd.ssl file:

AddType applic ...
Score: 0
zerobit avatar
cisco anyconnect with hosted cloud setup
cl flag

I am running an Ubuntu image hosted on the cloud. This is my development machine and it already has all the tools that I need. I have a new client that is using Cisco any connect as their VPn client. When I connect to their VPN, I lose connection to the Linux box. How can I stay connected to my machine while connected to the customers VPN?I have tried adding an extra NIC for my inernal access and st ...

Score: 0
user38643 avatar
Can you self-host a DNS server with custom domains and still get TLS?
cy flag

I assume the easy answer here is no, but I'm wondering the following. Without having to pre-install a certificate on each client, can I get TLS support for domains if I self-host a DNS server?

For example:

  • I host a DNS server that maps serverfault.com to my private IP address.
  • Some TLS termination would happen at this point of the communication and then I'd just forward off to whatever I want

The r ...

Score: 2
DB_2022 avatar
Puzzling issue with Hyper-V backup (volume shadow copy) integration and DPM 2019
sy flag

I have a Microsoft DPM 2019 server that's been backing up various Windows Hyper-V VMs without issue until recently. No apparent changes have been made, but now a particular VM is failing its backup due to the SQLServerWriter failing after the backup completes (status 12).

If I disable the backup integration for the VM (under Integration Services) and run a backup, it's fine. I can re-enable the b ...

Score: 0
Ritz avatar
Zabbix DB connection support DNS SRV Records
tc flag

I have Zabbix Mysql 3 node Innodb cluster, which gives 3 DNS SRV Records with Mysql Router endpoints. I need to configure Zabbix server and web DB connection as DB host (e.g _mysql._tcp.example.com), but it doesn't work.

Are the any configuration parameter Zabbix offer that will allow to enter DNS SRV records? OR Is there an alternative available.

Score: 0
Anm avatar
Windows asking me to sign in with a company email?
mk flag
Anm

Windows is asking me to sign in with my company's email, problem is I don't have one and nor is the company related to me whatsoever. I am trying to run Windows LTSC on QEMU. What gives?

Score: 0
Adam avatar
How to troubleshoot missing Solr metrics via Google Ops Agent?
ee flag

Following these instructions: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/solr

Logs start ingesting fine, metrics never come.

JMX is enabled: enter image description here

No errors found in /var/log/google-cloud-ops-agent/subagents/logging-module.log.

How can I troubleshoot?

Score: 1
nemisis enforcer avatar
AWS client VPN can't resolve DNS server
cn flag

I am swapping out a wiregaurd vpn running on an EC2 instance with a AWS client VPN so that i can use MFA with google. I have most of what i want in place, but i am stuck on setting up the VPN to use my DNS server.

About my configs:

  • Set up the CIDR block of my VPC as 173.0.0.0/16 so my DNS server should is at 173.0.0.2.
  • aws console set the DNS server entry of the VPN to 173.0.0.2
  • The client assoc ...
Score: 0
Michael Chourdakis avatar
PHP to use specific SQLite version
my flag

Default PHP 8.2.1 on Centos includes SQLite 3.7.17. I am able to upgrade it to the latest SQLite with the aid of this article.

The problem is now this is a production server I wouldn't want to change the sqlite version for existing databases, only for new ones. Is there a way to tell PHP on some php.ini option to use the specific latest libsqlite3.so version on a specific project and keep the old /us ...

Score: 1
Mehul Kumar avatar
SPF Limits and SPF Merging
ph flag

I am using Zoho Mail, AWS SES, GMAIL SMTP, Cloudflare email route and Yahoo SMTP. they all have there own SPF record. i saw on Google the only 1 SPF should be added in hostname and maximum 10 SPF hostname is supported in 1 SPF record.

I am trying to merge and which is the correct one?

v=spf1 include:_spf.mx.cloudflare.net include:zoho.in include:_spf.google.com include:_spf.mail.yahoo.com ~all

or ...

Score: 2
Gabriel Grinspan avatar
How to give partial user access to systemctl without sudo/su/root
ua flag

I'm a bit new to this, so I'm not sure where to look.

I have access to a server that as a command that executes a limited version of systemctl, and I want to expand it.

The command acts as follows: It allows specific users without sudo rights to execute systemctl. It only allows the user to run systemctl on 3 specific services.

I took a peek at how this was originally accomplished, and the creator of t ...

Score: 0
Jeremy L. avatar
SSL expired root certificate for one client, on some computers but not others
mt flag

I'm a non-network pro who has a situation with one of our largest clients. They get the red Certificate Invalid icon, because of an outdated, expired root certificate, even though our certificate is up to date.

It happens only on about half of their computers and not others, despite having the same network, the same computers, and using the same browser as all their coworkers for whom the site do ...

Score: 0
Chaofan avatar
gnome is not working properly
US flag

My device is installed with Archlinux x86_64 Kernel: 6.1.4-arch1-1 DE: GNOME 43.2 wayland

I also installed fcitx5 input method and other common software. But every time I start the device, I can't start using it immediately, for example, when I open Google Chrome, I observe the input method icon in the tray at the top right corner of the desktop keeps blinking and then disappears after a moment,  ...

Score: 1
Natasha avatar
Archive Mail send through sendmail service from outlook
gb flag

I have sendmail running on linux host with email alias group, from outlook I am sending mail through this sendmail server. Am looking for an option to archive all outgoing mails using this sendmail service running server ?

May I know how to achieve it, I would require some mail ID to kept in Bcc while sending mail from outlook which should archive all messages broadcasted ?

Well I have gone through  ...

Score: 0
henfri avatar
docker bind mounts sometimes empty
io flag

I am using a docker container with this definition:

  webserver:
    image: ghcr.io/paperless-ngx/paperless-ngx:latest
    volumes:
      - /srv/dev-disk-by-id-ata-Micron_1100_MTFDDAV256TBN_17501A32891E-part3/dockerconfig/paperless/data:/usr/src/paperless/data
      - /srv/dev-disk-by-label-DataPool1/Paperless/paperless_ng_media:/usr/src/paperless/media
      - /srv/dev-disk-by-label-DataPool1/Pape ...
Score: 0
Long Tran avatar
::qWireguard unable to initiate handshake from one direction Site-to-Site VPN
sz flag

I am trying to setup a Site-to-Site VPN between SiteA (OpenWrt Router) and SiteB (Oracle instance with public IP)

Since SiteA is OpenWRT, I use the GUI

OpenWRT_Server_Conf_Screenshot

OpenWRT_Peer_Conf_Screenshot

Here is wg showconf output of SiteA:

[Interface]
ListenPort = 51821
PrivateKey = REDACTED

[Peer]
PublicKey = BY...Cwo=
AllowedIPs = 10.2.0.0/16, 192.168.100.0/30
Endpoint = SITE_B_PUBLIC_IP:518 ...
Score: 0
xiaojueguan avatar
how to enable virsh console a ubuntu domain
in flag

Environment description:

host:
libvirtd (libvirt) 6.0.0
os version: 20.04.2 LTS (Focal Fossa)

guest:
os version: 20.04.2 LTS (Focal Fossa)

Problem description:

I tried to follow https://wiki.libvirt.org/page/Unable_to_connect_to_console_of_a_running_domain to enable virsh console IAS(my guest name), but failed with step 1. When i use virsh edit to change the content in below, it will be restore ...

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.