Latest Server related questions

Score: 0
Currn Hyde avatar
Oracle cloud compute change ssh port fails
cn flag

I am new to cloud computing and plan to use an always free compute service from Oracle Cloud to obtain a public IP address to run a website. As a basic security measure I require my machines to not listen for SSH on default port 22 as this is too easy to sniff for but swap it to a new port that I will keep secret but I will refer to as NEWSSHPORT. This is especially important when using a public IP addr ...

Score: 0
Two PDCs, two ADs, two domains - how to replicate one domain/AD to the other?
jo flag

Here's the history:

SERVER2 was a 2016 Essentials Edition server, standalone with no other DCs. The OS became corrupted in a few areas, and so a decision was made to replace it. A standalone clean install wasn't an option, as applications running on member servers rely heavily on AD user SIDs.

So a second DC was introduced, SERVER3, and the domain/AD/DNS/PDC/fsmo were replicated from SERVER2 to SERV ...

Score: 1
Openstack Pike Configuration (kolla deployment) - Cinder-volume and Cinder-backup stuck in down state
ke flag

We have an Openstack Pike system setup (6 servers) via kolla/docker containers. We recently had to restart the system due to a planned power outage and we were successful in getting it back up and running. A couple of months later we started having issues where any disk activity on one of our servers in the cluster was running into issues. We could not create any new VM's on it nor could we delete or ...

Score: 0
develop1 avatar
Apache2 reverse proxy
gt flag

I set up a domain with port 443 open where all the traffic is coming in through.

I want to set up Apache2 as a reverse proxy so that when traffic comes into my domain depending on the subdomain, Apache will route it to the correct server within the network.

An Example Domain entered -> Internal server Address

https://cloud.example.com -> 192.169.29.250 // Server where Nextcloud is  ...

Score: 0
kvm, virt-clone: WARNING The filesystem will not have enough free space to fully allocate the sparse file when the guest is running
bd flag

I'm cloning VMs on Debian server with following command and get a warning:

% time virt-clone --original vmtmpl --name vm2 --file /dev/vg/vm2 --check path_exists=off 
WARNING  This will overwrite the existing path '/dev/vg/vm2'
WARNING  The filesystem will not have enough free space to fully allocate the sparse file when the guest is running. 62916 M requested > 24132 M available

Well this (template ...

Score: 1
DevOpsSauce avatar
Enable systemd service with a parameter
jp flag

I have a systemd service with a paramter. It's working great. However, I cannot start it without a parameter.

The parameter would look like systemctl start my-service@1-0.service, where the 1-0 would be parsed by a php script. The php script has a default of 1-0, but I cannot start it with systemctl start my-service@.service. It tells me:

Failed to start my-service@.service: Unit name my-service@.s ...

Score: 0
felixc avatar
Terraform-vsphere work with Cobbler for OS installation
br flag

I'm trying to use terraform vsphere to provision vSphere VMs. Now I can create VMs.

resource "vsphere_virtual_machine" "k8s_cp3" {
    name = "sat-k8s-cp3"
    datastore_id = data.vsphere_datastore.vsan.id
    resource_pool_id = data.vsphere_resource_pool.pool_esxi_storage.id
    host_system_id = data.vsphere_host.esxi_storage.id

    guest_id = "ubuntu64Guest"
    wait_for_guest_net_timeout = -1
  ...
Score: 1
Is there a simple way to synch up two AWS RDS Mysql Instances?
th flag

I have two databases. One for development and one for production. The production database has been used for while now and we need to start development of new features, so we obviously want to try out everything in the development DB. These are two RDS MySQL instances which are configured exactly the same.

My question is: is there a simple way where I can make the development DB have the same info ...

Score: 1
Where is Windows getting it's proxy settings from?
bm flag

I've been configuring the proxy settings on a Win10 image that users will launch instances of. I initially configured the settings in the Internet Options tool and then used netsh winhttp import proxy source=ie to pull them into that system.

I needed to amend the bypass list. I tried to do this by adding the entry in Internet Options, but it didn't persist. Each time I closed the tool and reopened i ...

Score: 2
Jethro avatar
How do you login to docker hub when using containerd?
it flag

With docker I would run docker login, but how do you do similar with ctr/containerd?

We need to login due to hitting rate limits:

ctr: failed to copy: httpReaderSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/[...]: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgradi ...

Score: 1
Julien avatar
Sinatra + Thin + Nginx connect() failed (111: Connection refused) while connecting to upstream
cn flag

I have a Sinatra app that is running on Thin with Nginx as a reverse proxy and receives a lot of traffic. My users are reporting 502 errors and looking at the Nginx logs i see a lot of these:

[warn] upstream server temporarily disabled while connecting to upstream
[error] connect() failed (111: Connection refused) while connecting to upstream

If i look at the logs from the Sinatra app i see no errors. ...

Score: 2
OpenSSH server on Ubuntu Impish fails to start after reboot, only manual restart works
lu flag

Preface and issue

I have an Ubuntu 21.10 (Impish) server, which network is managed by netplan and systemd-networkd.

My /etc/netplan/01-netcfg.yaml looks like this:

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      addresses:
        - 1.2.3.4/32
        - dead:beef:f00:ba1::2/64
      routes:
        - on-link: true
          to: 0.0.0.0/0
          via: 1.2.1.2
        - on-link: tr ...
Score: 0
Relay access denied error attempting to setup relay to another SMTP server
cn flag

I am attempting to setup 2 SMTP servers behind one firewall. One server for domainA.com and another for domainB.com. I want to configure the server for domainA.com to accept mail for domainB.com and forward it internally.

I have added the following setup in /etc/postfix/main.cf on domainA.com:

transport_maps =
    hash:/etc/postfix/transport
    proxy:mysql:/etc/postfix/mysql/transport_maps_user. ...
Score: 0
Alex Nvn avatar
GCE - Startup script - Can't use metadata anymore
fr flag

Good evening, I've been trying to modify my Instance Startup script in Google Compute Engine, nevertheless with a new version of GCE (probably Dec 2021 or Nov 2021) the display has changed. Moveover it seems like we can't use a "startup-script" metadata anymore and need to use the "startup script section" instead. But this section is nowhere to be found. At least to me. Does anyone have more info about  ...

Score: 1
Monitor website (http) not accesible via webmin (server status tool)
cn flag

I am trying to workout how to test that a site is inaccesible with webmin's tools... System and server status.

This is... an URL that should not be accesible to anyone except certain IPs or an http logged user which we do via nginx.

The questions is similar to this How to check HTTP response code of a secured website with Nagios? but for webmin.

The tool allows a head, get or post responses but w ...

Score: 1
Postfix unable to authenticate with Microsoft Exchange (No credentials were supplied)
us flag

I want to setup postfix on my nagios server to relay emails to our Microsoft Exchange server and I am running into issues with authenticating with Microsoft Exchange.

Specifically I am getting this error:

warning: SASL authentication failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible (No Kerberos credentials available (default cache: KCM:))

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.