Latest Server related questions

Score: 0
Pause or disable receiving logs in Influxdb 1.8?
in flag

Is there an option to tell influxdb to temporarily stop receiving new logs, or to stop appending new measurements to a database? Haven't found anything in the docs around this.

Essentially my use case is that I need to do some data maintenance on a db but my application is still sending logs. I don't want to have to commit code and redeploy the app while doing this unless there's no other way.

Score: 0
Console frozen on server but I have full access to the server and I can ssh in
de flag

I have a Linux server running CentOS7. I am able to ssh in, run commands etc. It's running a number of services such as apache, mysql etc. When I go to the console it's showing services that were started and some logs from syslog. Nothing else seems to work (e.g. ALT + f2). If I ssh in in the server and use w it shows the only session there being my SSH session. How do I kill the process that control ...

Score: 1
Unable to fetch Vault Token for Pod Service Account
za flag

I am using Vault CSI Driver on Charmed Kubernetes v1.19 where I'm trying to retrieve secrets from Vault for a pod running in a separate namespace (webapp) with its own service account (webapp-sa) following the steps in the blog.

As I have been able to understand so far, the Pod is trying authenticate to the Kubernetes API, so that later it can generate a Vault token to access the secret from Vault. ...

Score: 0
can I have A record and MX record for the same hostname?
eg flag

Can I have an A record and a MX record for the same hostname?

For example

example.com  A   192.0.2.42
example.com  MX  mail.anothersite.example.

Context

I'm trying to conciliate a gmail email forward (GMail requires for that MX records with hostnames without mail.*) with a website hosted at the 192.0.2.42

Example of typical gmail email forward configuration: enter image description here

Score: 0
Spuria avatar
asterisk not recognizing answer from sip trunk
cn flag

I have an Asterisk server (15.5, FreePBX) with three SIP trunks from different providers configured, two of them are working fine while the third for every call keep sendind the invite despite the correct answer from the trunk.

The trunk was working well until we had some NAT problem with a change of configuration in the firewall, but I solved this issue and now I can see that the server connects ...

Score: 1
xandercagexxx avatar
Upgrading to debian 11 (from debian 10) not add the kernel in /boot/ (Dedibox Server)
bd flag

I have make upgrade on my server and reboot the server to use the last kernel, but after reboot, the server just use the old kernel (4.19.0-16-amd64).

In /boot/, I just seen files for kernel 4.19.0-16-amd64. If I do apt install linux-image-amd64 the result is linux-image-amd64 is already the newest version (5.10.46-4) but this kernel version is not available in /boot/, so update-grub do nothing.

What  ...

Score: 0
Sterina Pen avatar
pm2 Multiple God Daemons and node process Spawning
ng flag

I Have node apps unning using pm2.And it is spawning multiple pm2 daemon instead of one which is eating up all the memory.

When I run ps aux | grep pm2 Command I see multiple God daemons for the pm2 process instead of one. I have a total of 10 pm2 processes for which there should be only one God Daemon. I have installed pm2 globally and it is running by user appuser. Can anyone tell me how can I ...

Score: 0
DevopsinAfrica avatar
how can I NAT a NAT IP
kz flag

I have a server on AWS with a floating (secondary) IP. During integrations with a partner I provide my secondary IP to be whitelisted and define a POSTROUTING rule to SNAT my IP to the secondary IP to reach to destination such as

sudo iptables -t nat -A POSTROUTING -d partnersip/32 -s myprivateip -j SNAT --to-source secondaryip 

But now I've come to a scenario where my partner is also using NAT and I ...

Score: 1
Mcsky avatar
FTP retrieve user home directory from an admin connection
in flag

I'm implementing a cleanup of old files on SFTP server. I have a user named admin who has full access rights on the FTP.

I would like to know if it's possible to retrieve the home directory for another "classic" user when being connected as an admin.

To illustrate imagine 2 users

  • admin with full access on the FTP
  • bob is a simple user that has his own directory on the FTP

I want to know as an admin

Score: 0
pugazhendhi avatar
Apply Security patches using zypper module
ar flag

Do we have any options to apply security patches only with Zypper ansible module for suse linux server. We don't want to use shell or command module and incorporate the command.

Equivalent command shell: zypper patch --category=security

Score: 0
How does systemd ensure to run cron.daily for desktops/laptops that occasionally are powered off?
ar flag

How does systemd ensure to run cron.daily for desktops/laptops that occasionally are powered off?

In the past I relied on anacron, it took care of my /etc/crod.daily.

UPDATE I see https://github.com/systemd-cron/systemd-cron but I'm not sure if it is official systemd project.

Score: 0
johan855 avatar
Google Cloud Firewall Rule stuck on 'Updating firewall rule "rule_name"...'
tr flag

I am using a firewall rule to grant access to my Compute Engine instance. I have been using it for a few years now and all of a sudden, when trying to add a new public ip to the rule set, the message box 'Updating firewall rule "rule_name"...' stays stuck, and even if I see the IP added to the rule set, it does not take effect and the IP is still blocked.

Score: 0
Gill-Bates avatar
nginx on Debian Buster: The right way to handle Config-Files?
ps flag

Nginx can be configured via various configuration files:

  • *.conf-Files inside /etc/ngninx/conf.d
  • *.conf-Files inside /etc/nginx/sites-available
  • Last but not least: /etc/nginx/sites-available/default

Can anyone shed some light on when to use which file correctly for which application scenario? The documentation only says how config files should look like, but not how to store them where.

Score: 0
crichavin avatar
Hyper-V did not merge .avhdx after delete checkpoint
ch flag

I have a Windows 10 laptop that has a Hyper-V host login and that has a VM that I use to native boot to a vhdx file. I hardly ever log into the Hyper-V host but did today to backup the vhdx file and noticed a checkpoint existed, the VM Disk Hard Drive is pointing to an .avhdx instead of the .vhdx file.

I deleted the checkpoint using the Hyper-V gui and now it shows no checkpoints... but VM Disk s ...

Score: 0
Regular expression for location with slash at the end
ru flag

I have location

location ~ /(apple|club|car|fly|fitness|nivea|nesquik) {
    alias /srv/static-pages/$1.html;

}

I tried

location ~ /(apple|club|car|fly|fitness|nivea|nesquik)(\/)* {
    alias /srv/static-pages/$1.html;

}

But it nothing gives me Nginx gives me files accords uri, but i need work it with '/' at the end and without / Example: example.com/apple example.com/apple/ Now i don't know how i ...

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.