Latest Server related questions

Score: 0
Kalusan avatar
Nginx, Docker, Prerender.io error “could not be resolved (110: Operation timed out)”
tr flag

I am actually working in a company and to improve SEO, i am trying to setup our angular (10) web app with prerender.io to send rendered html to crawlers visiting our website.

The app is dockerized and exposed using an nginx server. To avoid conflict with existing nginx conf (after few try using it), i (re)started configuration from the .conf file provided in the prerender.io documentation (https: ...

Score: 0
How to Install Office 365 version 2002 on Windows 7
us flag

We have a few legacy Windows 7 machines in our environment (long story) that have old versions of MS Office. While MS 365 is no longer supported on Windows 7, MS 365 Apps at version 2002 will at least continue receiving security updates until 2023.

Per Microsoft: "This means that if you want to continue to deploy and update Microsoft 365 Apps on devices that are running Windows 7, you need to use ...

Score: 0
Koenig Lear avatar
installing packages in AWS EMR
cn flag

I'm trying to install Google Tink in AWS EMR 5.28.0 without much luck. It looks like the AWS EMR image is rather strange in nature. Any ideas?

sc.install_pypi_package("tink")

error: Could not find bazel executable. Please install bazel to compile the Tink Python package.

 sudo yum install -y bazel3

Requires: java-11-openjdk-devel

sudo yum install java-11-openjdk-devel

No package java-11-openjdk-dev ...

Score: 0
Nimafire avatar
Create bash script to upload backup over FTP
cn flag

im working on my own bash file to backup DB and transfer over ftp.
problem is the output is:

Could not open file for writing.

my code is:

DATE=`date +"%FT%T"`
DB_NAME="clcl"
DB_USER="clcl"
DB_PASSWORD="evfdfd"
LOCAL_BACKUP_DIR="/backup"
FILE_NAME="$DB_NAME-$DATE.sql.gz"
mysqldump -u $DB_USER  -p$DB_PASSWORD $DB_NAME | gzip  > $LOCAL_BACKUP_DIR/$FILE_NAME

ftp -n << EndFTP
open REMOTIP
user US ...
Score: 1
SnotMcBooger avatar
iRedMail: Domain alias not working with some external mails (diacritics/punycode)
ke flag

After successfully setting up an iRedMail server for my main domain, I tried to add my secondary domain as an alias by following the steps on here: https://docs.iredmail.org/sql.add.alias.domain.html

This didn't do the trick just yet, so I additionally added the secondary domain into the /etc/postfix/main.cf:

virtual_alias_domains = domain2.tld
virtual_alias_maps = hash:/etc/postfix/virtual

Note: ...

Score: 0
Francisco avatar
Redirect to internal page on squid errors
ca flag

I try to redirect to an internal page when a squid error occurs. In order not to customize squid template by template and that the error messages are different, what I try to do is in each original squid lang error file, change the onload event of the page so that it redirects to the own php script: For example, in the ERR_DNS_FAIL file I added a script tag:

 <script type="text/javascript">funct ...
Score: 0
Dhrumil Patel avatar
Subdomain in nginx with codeigniter
cn flag

So currently all users profile page are loaded on path https://example.com/username. i want to change that and load user profile page on https://username.example.com.

i am using nginx as web server,below is the server block i have tried

server {
    listen 80;
    server_name *.example.com;
    if ($host ~ "^(.*)\.example\.com$") { set $subdomain $1;}
    rewrite ^ $scheme://example.com/$subdomain$req ...
Score: 1
Print Nightmare patch missing for Server 2016
cn flag

Windows Server 2016 Standard servers seem to be unable to receive or see the PrintNightmare patch.

According to Microsoft documentation, I should be seeking KB5004948. According to this Microsoft page on the KB, it requires the latest SSU. I verified SSU KB5001402 was installed on the server.

However, Windows Update does not show KB5004948 as available. The server has no remaining hotfixes per Windows  ...

Score: -1
What does this webserver log entry tell me?
cn flag

I am troubleshooting a system failure that occurred this morning and found these log entries shortly prior. In my mind these should be returning 404... right? Should I be concerned?

80.82.76.76 - - [13/Aug/2021:09:20:15 -0400] "GET http://azenv.net/ HTTP/1.1" 200 569
80.82.76.76 - - [13/Aug/2021:09:37:12 -0400] "GET http://azenv.net/ HTTP/1.1" 200 569

How would I reproduce this with cURL or postman? W ...

Score: 0
rising avatar
Cannot tunnel AMQP traffic through SSH tunnel
pl flag

I've been trying for hours and need some new input.

My set-up:

  • Ubuntu VM (UVM) running a docker container that forwards RabbitMQ messages to an external machine
  • Local Laptop (LVM) with Windows 10 running a RabbitMQ instance in docker on port 5672.

What I am trying to do:

On my UVM I have set-up a test environment that communicates via RabbitMQ with different microservices. I get data into this test  ...

Score: 0
Gamer In The Game avatar
Adding registry key via GPO creates but not affects to the system?
cn flag

I could not give a detailed title to my question. But my problem is: I'm trying to add keyboard languages from Group Policy (Windows Server 2012R2) with Registry. I added like below:

enter image description here

Then I check (as a domain user), the key is created in Registry:

enter image description here

but not visible in the taskbar:

enter image description here

What could be the problem (or how can I solve the problem) ?

Score: 1
John Dalsgaard avatar
Is someone trying to hack into our system?
cn flag

I have a CentOS 6 server that has misbehaved over the last couple of weeks. I have tried to trace network, adjust settings, and asked a lot of clever people about it (see more in this question: Something is closing connections in my CentOS VMs - how to best troubleshoot?)

The issue has not been there the last 3-4 days so I was getting closer to perhaps believing that some of the adjustments had made ...

Score: 0
Dharmendra Kumar avatar
Unable to connect to SMTP - "smtp.outlook.com",587 using Python2.7 from Linux server
in flag

I have a small python script below which sends emails to my company outlook email. it works fine on my personal computer but when i am deploying it to server it keeps running and timeout but doesn't send email .

import os
import smtplib
import subprocess
from sys import exit

cmd = 'df -kh'
p1 = subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
std,err = p1.communicate( ...
Score: 0
nightisovered avatar
Postfix blank sender from= <>
tc flag

Recently I received spam report form my vps provider and Trend Micro, I think my vps got suspended because a or some unknow "blank sender" using my mail server as a "jump point", I know this is not a good description but it is almost like that.

So I google it, tried reject null sender config, smtpd_sender_restrictions and smtpd_reject_unlisted_sender, and non of these restrictions are working, th ...

Score: 0
How can I force Active Directory integrated DNS to only return SRV records for specific domain controllers based on the subnet of the client?
fr flag

I have a set of several offices joined using various combinations of IPsec VPNs and an MPLS network. The majority of sites form a mesh arrangement using the VPNs, but site B only has a single IPsec VPN to site A - site B cannot reach any of the other sites (sites C, and D).

Sites A, C, and D all share an Active Directory domain, say "companya.com". Domain controllers for companya.com are located  ...

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.