Latest Server related questions

Score: 0
how to block drop function in mongodb?
ua flag

MongoDB replication was created in AWS by using Ubuntu machines. I created a database in mongodb, but it was deleted in my office. Am I able to enable termination protection, that is "drop command not executed in my database"?

Score: 1
NFS v3 linux permissions issue
mz flag

new with linux permissions and I'm having an issue on write between my fileserver (192.168.1.1, debian) and my new nextcloud instance (192.168.1.2, ubuntu) on the file server side:
exportfs
/mnt/storage/cloud 192.168.1.2(rw,sync,no_root_squash,insecure,no_subtree_check,fsid=1)

on the nextcloud instance
sudo mount -t nfs 192.168.1.1:/mnt/storage/cloud/ /mnt/cloud/

permissions on /mnt/storage/cloud  ...

Score: 0
Does the BaseDN need to be different than the olcServerID in openldap/slapd?
cn flag

I am trying to configure a master master replication between two ldap servers. After configuring the olcServerID of slapd I get the following error : daemon: listen(ldap://my.server1.org, 5) failed errno=98 (Address already in use).

The baseDN of the server is my.server1.org and the olcServerID is olcServerID: 1 ldap://my.server1.org.

Does the BaseDN and the serverID need to be different ?

Note : To av ...

Score: 0
Shouma avatar
Squid does not write into access.log with kerberos authentication
jp flag

I finally managed to get squid with kerberos authentication and LDAP group checking to work. I am using squid 4.1, kerberos v5 and Linux Mint Cinnamon 20.1.

Everything works fine, but I got a little problem: As soon as I am using Kerberos as authentication method, squid won't write the access.log anymore. When I use NTLM, squid is writing the access.log perfectly. But with Kerberos it won't work. ...

Score: 0
Devops-Learner avatar
command to add the port 80 to the sftpgo service
kz flag

While doing sftpgo setup on linux, getting below error, what I believe is we might need to add the 80 port to sftpgo service. But not getting command that we can use to add the port to the service, configurations looks good and have compared them with one existing setup and don't see any discrepancy. Would appreciate if someone can suggest the command to add the port 80 to the sftpgo service

Error: {"le ...

Score: 0
Mikec avatar
Unable to schedule restart at a specified time after Windows Update
ve flag

I'm running Windows 10 Pro 21H1 on an unattended PC to manage a door entry control system. For operational reasons it's important that Windows Update should only initiate system restarts overnight after midnight.

Initially I configured Windows Update settings to only apply updates outside active hours which I'd defined as 07:00 to 01:00 which should have given a 6 hour window from 01:00 to 07:00  ...

Score: 0
Why is sudo very slow (more than 30minutes) to display initial password prompt for a domain account?
ph flag

I am hoping someone can help me figure out why 'sudo' takes longer than 30mins (on average) to display the initial password prompt when using a domain account.

This problem occurs even after a reboot, but it works fine when using a local account.

quick summary:

  • I have 3 brand new Linux VMs running in a VMware vSphere 6.7 environment -> problem occurs on all of them
  • each VM was built using the U ...
Score: 0
Mohamed Eleraqy avatar
Veeam Data Compression (File-level backup)
mx flag

I’ve used Veeam Backup & Replication V10 solution; have File-level-backup jobs, Synthetic full backup, local repo, and use Optimal Data Compression.

My issue is, High and Extreme Data Compression does not compress The Backup.

my backups took massive storage, why is the compression not working?

Score: 1
Tony avatar
Multiple vlans on same interface in the same subnet
ng flag

In a device application we use the following VLAN network setup:

In the device we have an internal network for internal devices and an external network for the customer / customer network. All devices are connected via managed switch to a raspberry pi compute module, where the application runs.

In the setup we use the following VLANs

  • VLAN 1: externel network
  • VLAN 2: internal network

The compute module h ...

Score: 0
BitShift avatar
Assigning hard disks directly from the pool vs syncing back to zfs/block host
za flag

What are the specific pros and cons, perhaps even conventions, of attaching a volume to a VM directly from a proxmox zfs pool VS mounting the volume through a file/block storage solution like TrueNAS (which is running inside a VM)?

I have a proxmox server with several VMs, one of them running TrueNAS and another running Linux with all my docker instances (others running various services)

The idea of ...

Score: 0
Bibek Raj Pandey avatar
deploy issue in GKE
jp flag

when i build the image through cloud build and auto deploy in gcp server it sometimes doesnot auto deploy in GKE cluster. Already have image (with digest): gcr.io/cloud-builders/gcloud Step #10: WARNING: The private SSH key file for gcloud does not exist. Step #10: WARNING: The public SSH key file for gcloud does not exist. Step #10: WARNING: You do not have an SSH key for gcloud. Step #10: WARNING: S ...

Score: 1
Dean Attewell avatar
Redirect All emails to
cn flag

I have a test system in ubuntu that I want to redirect all emails to using PostFix, the following works, But I want to have multiple recipients, or to allow specific people to get emails.

edit /etc/postfix/main.cf and add

canonical_maps = regexp:/etc/postfix/canonical-redirect

create /etc/postfix/canonical-redirect and enter the address you want all emails sent to.

/^.*$/ email1@example.com

sudo po ...
Score: 2
capitalg avatar
Create "shortcut" for GET parameters redirection in Apache2
cn flag

I try to create a config in apache server that will transfer the url

foo.bar/baz/hq

to

foo.bar/baz#a=1;b=2;c=3

where baz can be anything. I tried this (see https://stackoverflow.com/a/8606198/3475778)

RewriteRule ^([A-Za-z0-9-]+)/hq$ $1#foo=bar [NC,NE,R=302]

but somehow the redirect doesnt seem to work and I do not know why.

My conf file looks like this - sorry it is a bit messy, I am not a sysad ...

Score: 0
MySQL replication warning "Automatically adding IPv4 localhost address to the allowlist. It is mandatory that it is added."
cn flag

I have a MySQL 8.0.27 InnoDB cluster running on three Ubuntu 20.04 servers. Everything's working fine, but when MySQL starts I get these warnings in MySQL's error log:

2021-12-07T21:26:47.858979Z 2 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Automatically adding IPv4 localhost address to the allowlist. It is mandatory that it is added.'

2021-12-07T21:26:47.859017Z 2 [War ...
Score: 1
Athena Wisdom avatar
Slow File Transfer Macbook to Synology/Proxmox Server using AFP
jp flag

Noticed slow transfer speeds of ~35 MB/s when sending a single 5 GB file from my Macbook Pro to my NAS running on Xpenology/Synology in a Proxmox VM.

The NAS is first mounted onto the Macbook Pro using AFP over TCP , then the file is dragged and dropped into the mounted drive.

The Proxmox server is connected to a 1G network switch port, and the Macbook Pro is tested over both Wifi 802.11ac and a wir ...

Score: 0
Why is this SSH handshake failing?
sa flag

The server logs this

2021-12-07 21:57:29.889029102  Server listening on 0.0.0.0 port 2222.
2021-12-07 21:57:29.889033114  Server listening on :: port 2222.
2021-12-07 21:57:30.635958078  Connection from 172.17.0.1 port 56406 on 172.17.0.3 port 2222 rdomain ""
2021-12-07 21:57:30.636572922  kex_exchange_identification: Connection closed by remote host
2021-12-07 21:57:30.637124145  Connection closed ...

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.