Latest Server related questions

Score: 0
Holmes.Sherlock avatar
How can I forward smartd alerts to multiple emails?
ru flag

I want to forward smartd alerts to multiple email addresses. According to smartd.conf man page,

To send email to more than one user, please use the following "comma separated" form for the address: user1@add1,user2@add2,...,userN@addN (with no spaces).

However, on Ubuntu 18.04 and with smartmontools release 6.6, if I drop a line like this in the smartd.conf, and then do systemctl restart smartd ...

Score: 0
Holmes.Sherlock avatar
How do I get smartctl offline test results emailed?
ru flag

I want to schedule smartctl tests like smartctl -t long /dev/sdc, and then have the test result emailed to an email address. Is there any way I can do that?

Score: 0
Holmes.Sherlock avatar
What do Offline_Uncorrectable and Current_Pending_Sector mean in the context of SMART tests?
ru flag

SMART shows there are 6 Offline_Uncorrectable sectors and 1 Current_Pending_Sector on one of my drives. What do these parameters mean? I failed to find a detailed explanation by Googling. Also, is there any way to know which exact sectors are the problematic ones?

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     V ...
Score: 3
Sendmail authenticating with DKIM but Roundcube is not authenticating
cn flag

So I have set up the mail server, Roundcube, and Sendmail both work as expected.

but many of my emails were going to spam in Gmail and others, so I was setting up the DKIM auth and it was successful.

[Side Note] for some reason, I set it up so SMTP uses port 25 instead of 587 (that other people recommended). So I don't know if that causes any issues.

First I tested it with Roundcube and sent an email to m ...

Score: 0
loohhoo avatar
I accidentally set /home/user/.ssh permissions to 755 and I'm locked out of my google cloud bitnami instance SSH
us flag

I'll admit I'm not the most sysadmin savvy person; this is my first time working with google cloud and bitnami so I really do not know what I'm doing.

The problem: I wanted to set the permissions of a project folder to 755 for php related reasons (creating/editing files for accounts on my project) and I did not know that the .ssh folder for the disk was located in the same spot - /home/[myusername]/

Score: 2
Landon Miller avatar
Why does my Linux Kernel have missing directories / files that are crucial for ip_tables to run?
in flag

as mentioned in the header - my Linux Kernel seems to be missing files / directories that are crucial for iptables to run properly. I'm able to temporarily resolve this by reinstalling my kernel, but it's not a permanent resolve as after a reboot I'm back to where I started.

When I run iptables -L I receive an error saying, "Perhaps iptables or your kernel needs to be upgraded." I've found I'm able to r ...

Score: 1
Upgrade from 2012 Standard to 2019 Essentials
in flag

We have a client running a very old physical server running 2012 Standard. We want to upgrade to 2019 essentials. We want to switch to essentials since they will not need more than 25 cals. Is there any way to do an in-place install (even in multiple steps) so we do not have to re-install all of the software? I have tried some different approaches but the option to keep current files is always disab ...

Score: -1
megahertz avatar
Separating networks with limited access between
us flag

I am trying to understand networks better and to help me learn I am working on a home project where I want to setup two networks, let's call them Client and Server, on the same geographic location. (Both networks get Internet from one single WAN, since I was not able to acquire multiple IPs from my ISP.) The two networks should be separated from each other, meaning I want to prevent malware or other thr ...

Score: 0
Adel M. avatar
Migrate a QEMU/KVM VM from qemu:///system to qemu:///session
cn flag

I have a created a Windows 10 VM using virt-manager as user (not root).

However, when try to list the VMs with virsh list --all, My VM is not listed? And, if I specify the system URI with by running virsh -c qemu:///system list --all, I see my VM listed.
I would like to migrate my VM from qemu:///system to qemu:///session to be able to list it with virsh list --all.

  • How can I achieve that?
Score: 2
Tronic avatar
Skeleton files /etc/skel/ automatic syncing of changes to all users
us flag

Linux distributions place some important scripts and config files in the skeleton, from where they are copied to each new user's home directory. Ideally system-wide files would be used instead of anything automatically copied to home but this is not always possible or practical. In particular, shell startup scripts are nearly always placed in skel.

This poses problems when packages are upgraded a ...

Score: 2
Boppity Bop avatar
GCP - which role a permission belongs?
cn flag

I cant understand why use of IAM is so hard to comprehend. For example I am trying to create a schedule for a VM instance. When I add instance to a schedule I got:

Compute Engine System service account [email protected]
needs to have [compute.instances.start,compute.instances.stop] permissions applied in order to perform this operation

I located the account in I ...

Score: 1
How should i debug a Microsoft CIM that fails because MSFT_NetRoute be "not found"?
co flag

In general, how should one debug a failure related to CmdletizationQuery_NotFound messages, and why would the MSFT_NetRoute based queries register such an error?

Details

Specifically, my Kubernetes CNI provider (antrea) is posting an error message related to MSFT_NetRoute when it starts up, because it can't succesfully run a powershell query necessary for bootstrapping itself. The error message  ...

Score: 0
remy_e avatar
How to disable caching in Google Cloud (php, magento, app.yaml?)
kr flag

i'm new with google cloud and here is my problem:

I have a magento/bitnami installation in gcc and i have to run some php files for updating the product database

After the execution of a php file, the cloud (i suppose!) is caching the php-file for about 24 hours (Changes in the file will only occur after 24 hours min) In the documentation they are talking about only 10 minutes caching in the default ...

Score: 0
Lion avatar
Override virsh network from xml file to apply custom dnsmasq options outside
jp flag

I want to automatically add a DNS CNAME entry using the dnsmasq namespace. Since this seems too complex to be handled by virsh net-edit, my idea is to use virsh net-dumpxml, apply the modifications and re-import the network. While the export works, the import throws an error.

$ virsh net-update --xml network.yml
error: command 'net-update' requires <network> option
error: command 'net-update' ...
Score: 1
Lion avatar
Wildcard CNAME record specified by libvirts dnsmasq:options namespace doesn't work, only specific subdomains works
jp flag

Since v5.6.0, libvirt added a dnsmasq namespace with the element, which allows to specify options directly to the underlying dnsmasq server. I'd like to create a wildcard DNS entry for my applications with that option. So I used virsh net-edit, changed <network> to <network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'> and added the following options:

  <dnsmasq:o ...

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.