Latest Server related questions

Score: 0
Mike avatar
Sendmail does not masquerade the hostname.domain combination
ru flag

My MASQUERADE settings looks as follows...

dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
MASQUERADE_AS(`wantedomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envel ...
Score: 0
Restore data from terminated google compute engine disk if i do not have any snapshots
eg flag

My google compute engine vm instance has been terminated by google due to the payment issue. I have never taken any snapshots for this vm instance or disk before. Is there any way i can get the data on the disk recovered.

Score: 1
Dwight J. Browne avatar
coredns will not start on the vagrant ubuntu/impish64 image but will start and run successfully with ubuntu/bionic
ru flag

I am trying to run k8s on ubuntu/impish64. I have a reference env that is successfully running ubuntu/bionic. The only differences between the environments is the ubuntu image and ip address ranges

This is the Bionic output:

vagrant@ubuntu-bionic:~$ kubectl get pods -n kube-system -o wide
NAME                               READY   STATUS    RESTARTS       AGE    IP              NODE       NOMINATED N ...
Score: 0
Using DHCP reservations instead of static IP address configuration for servers
de flag

I was wondering if it is better to use DHCP reservations for servers and computers that must have static IP address, excluding DHCP servers themselves, Domain Controllers, and DNS servers of course, by setting DHCP scopes for servers and setting for them extremely long DHCP leases?

The obvious benefit of using DHCP with IP address reservations instead of local static IP address configuration is that ...

Score: 0
Vic avatar
Apache 2.4 Require ip not working as expected
in flag
Vic

My apache conf. file looks like;

<VirtualHost *:80>
    ServerName test.co.ke
    ServerAdmin admin@test.co.ke
    DocumentRoot /var/www/html/test.co.ke
    <Directory /var/www/html/test.co.ke>
            AllowOverride All
    </Directory>

    <Location /api/payment/callback>
            Require ip 197.211.30.203
    </Location>

    ErrorLog ${APACHE_LOG_DIR}/error. ...
Score: 0
DanRan avatar
Amavis error in /var/log/mail.err "mail amavis[2768]: (02768-01) (!!)AV: ALL VIRUS SCANNERS FAILED"
mx flag

I am running an Ubuntu LEMP server with postfix/dovecot, as well as clamscan, amavis, and spamassassin. As of now, everything is working just fine. However, I am glancing over my mail error logs located in /var/log/mail.err, and noticed two lines, that may or may not be related. I am very new to understanding mail logs, so need some help in understanding what this is trying to tell me, and how to fix ...

Score: 2
How can I set up interactive-job-only or batch-job-only partition on a SLURM cluster?
ua flag
wdg

I'm managing a PBS/torque HPC cluster, and now I'm setting up another cluster with SLURM. On the PBS cluster, I can set a queue to accept only interactive jobs by qmgr -c "set queue interactive_q disallowed_types = batch" and to accept only batch jobs by qmgr -c "set queue cu disallowed_types = interactive".

However, I cannot find the equivalent setups with SLURM after browsing through the official SL ...

Score: 0
Sara June avatar
how to fix ProvisioningDisabled for postgres flexible server
cn flag

I am trying to create a flexible server of postgres and when I tried, the quota exhausted for eastus2. So I tried centralindia and got below error.

Error: waiting for creation of the Postgresql Flexible Server "testaksk8s-del-postgres-del" (Resource Group "testaksk8s-del-postgres"): Code="ProvisioningDisabled" Message="Specified Availability Zone not supported in this region."
│
│   with azurer ...
Score: 0
TexasTim avatar
Can't get rid of old DC from DNS (reappear after deletion)
in flag

I think I'm missing something here with regards to a fundamental...

Had two 2012 r2 DC's (dc1 and dc2), dc1 was demoted years ago, and dc2 has been flying solo working just fine. Promo'd up a new DC1 last week without making sure everything was already clean.. bad assumption. The new DC1 wouldn't replicate (due to the bad existing data i assume) so we demoted it back down, and removed the DNS.

Now ...

Score: 0
pepoluan avatar
Interpreting fio test result
tr flag

I ran fio on a VM provided by my VPS provider and got this result:

$ fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=4k --numjobs=1 --size=4g --iodepth=1 --runtime=60 --time_based --end_fsync=1

[--- snipped ---]

Run status group 0 (all jobs):
  WRITE: bw=86.8MiB/s (91.0MB/s), 86.8MiB/s-86.8MiB/s (91.0MB/s-91.0MB/s), io=6518MiB (6834MB), run=75080-75080msec

Disk stats (read/write):
  sda ...
Score: 0
Hakanai avatar
Is there a way to configure Bitbucket to show compiler warnings in PRs?
cn flag

A common problem we have at work is people committing code without having noticed that they're increasing the number of compiler warnings.

The ultimate goal is to make warnings errors, but until the count gets to zero, there's no clean way to do it.

We use Bitbucket for the pull request process, so it seems like that would be a fairly sensible place to display the warnings.

We use Jenkins for the build ...

Score: 0
Cannot change NTP Time Source on a 2012 R2 DC Server
in flag

So I have seen dozens of people with this issue on various websites and forums, but here I am asking again. No matter what I try so far, nothing has fixed the issue which I will describe below in as much detail as I can.

To start, the server is running Windows Server 2012 R2 and is the only server on the network. (Customer refuses to update to new equipment, no hate please.) It is the DC and runs a prog ...

Score: 0
Creating compliance policy for enforcing tags
mx flag

In Azure I have created tagging policies that require that certain tags be applied when creating a resource or the deployment will fail. Cost center is one of these. It allows finance to charge back to the correct department. Is there a way to import these policies or a way to create them in GCP

Score: 0
boraas avatar
PATH not set after SSH from MacBook to Windows
pk flag

The goal is to start some jupyter notebooks remotely from my Macbook on my Windows machine, because of the GPU power.

I've installed the OpenSSH server utility on my Windows machine and I am able to connect to it from the Macbook. Unfortunately if I type in jupyter notebook in the remote PowerShell it can not resolve the command jupyter. I assume that it does not set the PATH variable. However the  ...

Score: 0
LXD: restore the deleted image
us flag

After creating an lxd container in the ZFS storage I deleted the based image by mistake.

Now the ZFS structure looks like:

# zfs list -t all -o name,clones
...
main/containers/mail
...
main/deleted/images/d0...a6e7                                                            
main/deleted/images/d0...a6e7@readonly  main/containers/mail
... 

How can I restore the deleted based image?

Score: 0
ondravirag avatar
Mysql remote connect CentOS
us flag

i have problem with mysql remote connect. In my.cnf have: bind-address = 0.0.0.0 and #skip-networking. In users mysql have special user remote@% And still not working.

If i try: nmap -p 3306 remote.ip.com

Output is:

PORT       STATE      SERVICE
3306/tcp   filtered   mysql

It is way ?

Thanks, Regards.

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.