Latest Server related questions

Score: 0
Deleted everything from google cloud - Can it be recovered?
cn flag

I recently deleted everything from my google cloud storage and need to know if there is a way to recover the data.

Score: 0
vivek avatar
Which server will ntpd daemon prefer for time synchronization if we have multiple servers in ntp.conf file
cn flag

I read that ntp uses all the servers for time synchronization. It got me one question. Suppose I am having multiple servers in the ntp.conf file and time gap is also more than 1 day. I have not specified prefer keyword also in the ntp.conf file.

server.1 <ip>
server.2 <ip>
server.3 <ip>
server.4 <ip> 

If I ran ntpd with -g option then which server will ntp daemon prefer for filli ...

Score: 0
htaccess cookie block only blocks static assets
gb flag

I'm putting together a solution to block access to some lower environments with a 404 in the absence of a particular cookie. This is a Drupal site and what I'm finding is that, without the cookie, static assets get 404'd, but the actual php content loads - it just looks ugly, of course.

I'm not seeing anything obvious and it's been a lot of years since I worked with Apache+PHP, so I'm hoping some ...

Score: 0
ttsokov avatar
Use header variable in NGINX to forward traffic
in flag

I am using NGINX (nginx Docker image) as a reverse proxy and want to use the $host variable in stream/server context to forward the traffic to specific host which is defined in the Host header parameter of the incoming request. The configuration is the following:

events {
}

stream {
  log_format log_stream '$remote_addr [$time_local] $protocol'
  '$status $bytes_sent $bytes_received $session_time';

   ...
Score: 0
How to strictly serialize replication of one folder using Windows DFS replication?
ss flag

I have two locations A+B and need to process one special directory between those branches using Windows DFS replication in the following way: All writes into that directory of A need to be pulled by B. All deletions in that directory of B need to be pushed to A again. In the end, it's simply pulling all contents from A by B with emptying at A and B at some point.

The important thing is that the d ...

Score: 0
pacoverflow avatar
Cannot assign a previously used static IP address to an OpenVPN client
ng flag

We have an OpenVPN server with the following server.conf:

local x.x.x.x
port 1194
proto tcp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.0.0
ifconfig-pool-persist ipp.txt
client-config-dir /etc/openvpn/ccd
client-to-client
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status op ...
Score: 0
macOS - sendmail - postfix messages
jp flag

My app is attempting to use sendmail to send an email message. I can see the email's sitting in /var/spool/postfix/maildropbut for some reason which I need help figuring out, the postfix pickup service is not sending them out?? - how to debug?

Score: 0
Query Windows Update via MDM Update CSP
in flag

I'm trying to query accurate Windows Update information on Windows 10

Using the old "Microsoft.Update.Session" method, the data doesn't match what's in the Windows Update UI ("Settings" -> "Updates").

I get the same results with PSWindowsUpdate, i.e. it still doesn't match the UI.

As an example of this, the UI shows:

Windows Update UI

And PSWindowsUpdate shows (which matches my app):

PS C:\Windows\system32>  ...
Score: 0
Mohan Balakrishnan avatar
Jenkins pipeline to call SonarQube code coverage for node.js project
gb flag

I am trying to do code coverage for node js project via Jenkins, I’ve one doubt that where to add the “sonar-project.properties” file, it in root repository that means in sonar-scanner installed repository or in the jenkins path i.e. “/var/lib/jenkins/workspace/$JOB_NAME/”,

can some help to fix this I’m getting error while executing the pipeline.

Error log as follows:

/var/lib/jenkins/tools ...

Score: 0
Apache2 on Centos 7 will not let me restrict access to IPs other than my own
uz flag
Edm

I am trying to restrict access to any IP but my own, and I've searched up how to do it but it doesn't work. I've searched up how to do it on CentOS, but nobody cares about CentOS so there's no help there. This is what I've done in httpd.conf:

<Directory "/var/www/html">
    Options Indexes FollowSymLinks

    AllowOverride AuthConfig

    <IfModule mod_authz_core.c>
        <RequireA ...
Score: 0
ansible doesn't find the role mentioned in the playbook
uz flag

I'm pretty new with Ansible so I might configured things wrong
[I have a Docker container running Ansible service in it
I have an Ansible repository that include the Ansible files (this is a .Git repository]

My will was to automatically revert each lab in vCenter server to a specific snapshot
So, I (with the help of ansible-roles-explained-with-examples guide):

  • Created a role with ansible-galaxy  ...
Score: 0
hultqvist avatar
Using gsutil on Windows to download a Google Workspace Data Export
gs flag

What is the easiest approach to automatically download all export files onto a Windows system?

I need to download a full Google Workspace Data Export using Windows. The Google Workspace Data Export is similar to Google Takeout but for the whole organisation.

When the export files are generated they can be downloaded one by one using the web interface or downloaded using a gsutil command supplied by  ...

Score: 1
OpenSCAP ssh with keyfile
cn flag

I would like to test a CentOS system with OpenSCAP run from my Windows PC. The problem is that I can ssh to the CentOS with keyfile only, as per company policy. I did not find whether SCAP workbench supports this. Can it be done or I need ssh password?

Score: 0
vellai durai avatar
upstream timed out (110: Connection timed out) while connecting to upstream while more concurrent users accessing
vu flag

I am getting this error in error log if multiple users trying to access our site at a time say around 1000 members try to login in our site the site going 502 bad gateway error

My server capacity is 8CPU 32GB RAM

here are my settings

  location ~ \.php$ {
    proxy_read_timeout 3600;
    proxy_send_timeout 3600;
    send_timeout 3600;
    fastcgi_read_timeout 3600;
    proxy_connect_timeout 3600;
    res ...
Score: 0
A. Petrov avatar
Is there exist in a market some usb->ethernet->wifi combo dongle?
cn flag

I have a USB-ended device which I want to connect to Enterprise Wireless network (EAP/TLS via FreeRadius). Is there any device in a market which can act as a WiFi client with EAP/TLS possibility?

Now this device connected to the network via USB-to-Ethernet adapter in a wall-mounted RJ45. Furthermore, is there any combo device in a market which can act as USB-to-Ethernet from one side and in the s ...

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.