Latest Server related questions

Score: 0
/usr/bin/google_osconfig_agent is killing cpu and my instance on GCP
cn flag

This happens once a month where /usr/bin/google_osconfig_agent is maxing out the CPU utilization, and then the entire instance is not available (both HTTP/HTTPS and SSH) connections time out.

Only solution I have is to restart the vm instance on GCP.

Score: 0
UniFi Security Gateway (Strongswan) site to site VPN with branch side has no real IP at all (e.g. 4G connections) and dual WAN fallback
mx flag

As title described, here is the scenario I have:

  1. HQ - USG Pro (Unified Security Gateway Pro) with static public IP
  2. Branch Office - USG with dual WAN, either one or both of the WAN port has no real IP due to using mobile 4G Network (the public IP is a 10.x.x.x Class A private network)

Ideally I would like to configure a site-to-site VPN setup but leveraging dialup client for the branch office so th ...

Score: 0
Mike Hermary avatar
Set PHP CLI configuration to load XML modules
in flag

My Linux Ubuntu 20.04 server is running PHP 7.4 using FPM. I have Joomla installed and am trying to run a script inside the cli directory on the site. The xml PHP module is installed under PHP 7.4 FPM, but it is not working correctly under the CLI.

I have tried enabling the module using phpenmod -s cli xml, but the following is printed in the command line: WARNING: Module xml ini file doesn't exist un ...

Score: 0
SSH usually hangs before password prompt
cn flag

I am trying to SSH onto a linux server:

ssh -X -l <username> <address>

When I am connected through my home WiFi router (which is very fast), this command might hang indefinitely. (For others, such as when I use my phone's mobile data, it connects immediately 100% of the time). If I repeat the ssh command enough times (in the order of 100 times), by executing the command and then immediatel ...

Score: 0
user3482229 avatar
75.75.75.75 (Comcast DNS) not resolving ironpawsllc.com
cn flag

IronPawsLLC.com is not pingable, gives an NXDOMAIN, and results in 0 answers when dig @75.75.75.75 ironpawsllc.com is used. So far, all the other DNS servers that I've tested against resolve. IronPawsLLC.com is a HostGator VPS4000 running CPanel, Centos7, and PowerDNS authoritative. CPanel and HostGator have repeatedly looked at it. Comcast says they don't know what's going on.

IronPawsLLC.com's  ...

Score: 1
going avatar
How to use Certreq to generate CSR and install on Windows VM with no IIS Mgr?
in flag

I am running an Azure Windows VM. I used Certreq to create a CSR file using the following command:

certreq.exe -new request.inf nctest.csr

It all looks good. I have to pass the csr file off to a client who is then going to get the SSL from the domain registrar. I then need to get SSL up and running on the VM with the provided certificates.

It appears that I just need to run the command:

certreq - ...

Score: 0
Avahi found IP changes after a few seconds
us flag

I use avahi to find machines on the local network. It's been acting up recently, causing a machine to hand out the wrong IP. I ssh'd into a different machine to debug the issue.

Confirming the currently resolved IP is wrong:

$ getent hosts evan-woodtower.local
172.17.0.1   evan-woodtower.local

Restarting the avahi daemon seems to fix the issue:

$ sudo avahi-daemon -k
$ getent hosts evan-woodtower.lo ...
Score: 1
RabidTunes avatar
Prevent Nginx regex rule to override another rule
hm flag

I have a Nginx server acting as a reverse proxy for a couple services, the config is similar to this one

location /backend/service1 {
        proxy_pass http://pathto/service1;
}

location / {
        root /a/folder
}

location ~* (\.js|\.css)$
        expires 8d;

        root /home/files/abc/bcd;
}

My problem here is that recently the service1 from backend has to serve a couple static files like

Score: 0
Craig avatar
How to disable Root Access, to VPS, via SSH?
pt flag

I run a VPS, on a Linux Server, with CentOS 7 (64 bits) being the chosen Operating System.

I have recently wiped the VPS, so it only has a clean install of Plesk Onyx at the moment. I would now like to disable root access to the VPS, via SSH, prior to setting up domains and emails.

To achieve this, I gained SSH access, via the PuTTY Terminal. Using the Nano Text Editor, I entered the following Com ...

Score: 0
criderkevin avatar
How to safely make changes to AD
tr flag

I'm working on learning some Sys Admin functions and configuring AD. It's occurred to me that in a live/hot environment, how do sys admins apply changes to the AD server(s) without hosing the live environment?

For example...say I have 2 AD servers in sync on my domain...say I want to make a change to AD. My immediate example would be add an attribute, but that might not be a great example. Anothe ...

Score: -1
Zarron1 avatar
GPO policy for Enhanced Storage Access
au flag

#GPO #usb Hi, Has anyone ever configured a GPO policy for Enhanced Storage Access'?

I'm trying to set it so that only users use the dedicated flash drive list. Unfortunately despite specifying "vendorid-productid" in "configure list devices usable on your computer" exceptions do not apply.

https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.EnhancedStorageAccess::ApprovedEnSto ...

Score: 0
Stretch0 avatar
How to restart deluged daemon on macos?
om flag

I am running an old macbook pro as a server and have deluged running on it.

How can I restart the daemon without having to restart my server each time?

Score: 0
Uday Sriramadas avatar
Switching between Reserved instance and convertible instance
us flag

I have a Standard reserved instance for almost 7 months now and planning to switch the Standard reserved to convertible RI, In the beginning i have signed up for 3 years contract, if i convert the standard RI to Convertible now (after 7 months) will my term will start over again from month 1 or will it continue from month 7.

Score: 0
denoise avatar
Language based RewriteRule like mysite.com/en/ in .htaccess
us flag

I'm trying to write redirect directives in the .htaccess to forward internally all user requests like this:

  • Every request in a language folder should redirect to the requested file with the language query string:
example.com/en/contact.php -> example.com/contact.php?lang=en
  • Redirect any request without language path to a default language folder like this:
example.com -> example.com/en
 ...
Score: 0
postfix: how to limit user (SASL login) to only one RCPT TO?
cn flag

I run mail server which receives daily reports from many systems, IoT and cloud ones. All these systems use one SASL user (reports@my.domain) to login to this mail server and send these reports.

All reports must go to one and only one recipient. But senders (MAIL FROM) are all different, as they are originated on different systems.

Now, if this shared login is compromised, it could be used to sen ...

Score: 0
phpMyAdmin with cloudflare ssl certificartes
jp flag

I have 3 wordpress sites, 1 moodle site and 1 owncloud site, all with same apache configuration in my vps, and all of them works fine

But I'm not able to make phpMyAdmin work with cloudflare's origin certificates. When I go to mysql.domain.tld it returns:

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

But if I use Let's Encrypt it works fine

I use the following apache config file for all of my sites:

<VirtualHos ...

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.