Latest Server related questions

Score: 0
Dimitar Veljanovski avatar
How do I specify a port other than 80 when adding SSL certificate using Certbot?
us flag

I have a server which runs 2 different web servers (Apache and Nginx). The Apache server takes care of all the traffic directed to Wordpress sites whereas the Nginx server serves my Python API and React Web App.

Due to conflicting ports with Apache, I had to set up the API to run on port 88 and the React app to run on 90. I tested it this way and it worked. All the requests will be forwarded to 4 ...

Score: 0
inframan avatar
Curl error (56) while trying to install Zabbix packages on RHEL 8
cn flag

I followed the instructions here https://www.zabbix.com/download?zabbix=5.4&os_distribution=red_hat_enterprise_linux&os_version=8&db=mysql&ws=apache to install Zabbix 5.4 Mysql/Apache on my RHEL 8 server.

When i tried to install the package with sudo dnf install zabbix-server-mysql (or with yum) , i got this error :

Errors during downloading metadata for repository 'zabbix':
  - Curl  ...
Score: 0
Server stuck on "Intel Reference Code Execution"
us flag

Setup - Supermicro X10DRU-i+ motherboard, 2x Intel e5-2630v4:

  • server started rebooting at random times
  • had memory modules reseated and replaced, reseated CPUs
  • reset CMOS, updated BIOS
  • changed motherboard (!).

As soon as we replaced motherboard it actully booted and it got to load our live environment - but at initialization state we got kernel panic with error "Not all CPUs entered broadcast exception h ...

Score: 0
Azure Managed Instance - Virtual Machine Whitelisting
pe flag

I am having quite a few problems with setting up an Azure VM that is linked to an Azure Managed Instance SQL Server. The aim of this is to be able to setup a linked server in SSMS that can connect to a whitelisted MySQL server so I believe I need the VM to install the drivers and setup the ODBC and DSN links for the linked server to use. This MySQL connection also uses a KEY, CERT and PA-CERT

Key ...

Score: 0
Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown authority
jp flag

Using a runner on a fresh Debian machine, when a job tries to connect to officiel Gitlab registry, I catch this error :

Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown authority

I don't understand why, their certificat is an official one, valid.

So I tried to change config of my runner:

  [runners.docker]
    tls_verify = false
    image = "alpine:latest"
    privileged = fa ...
Score: 0
dovecot Error: No relay host configured for submission proxy (submission_relay_host is unset) after upgrade to version >= 2.3.0
ma flag

I find this occurs because of a new feature of dovecot in versions >= 2.3.0 So all I have to do is add "submission" to protocols I lmtpd.protocol and pop3d.protocol in /usr/share/dovecot/protocols.d I don't know if lmtpd.protocol is the right file to add "submission" to protocols Next I'm supposed to "configure the relay MTA server." In /etc/postfix/main.cf relayhost = [mail.isp.example]:587 What  ...

Score: 0
aphid avatar
Active Directory Sync: Change user's UPN
mx flag

How do I reconfigure Azure AD sync, used for making single-sign-on possible for Office365 from inside the domain, so that the domain name part of a user's UPN can change when synchronized?

E.g. assume the local domain is ad.contosolocal.com, and the external domain is contoso.com. Currently, only exact copying works, by matching its ID, e.g. by using MSonline;

$username="bob"
$UPN = (-join($username, " ...
Score: -1
amyassin avatar
Why PSFTP script is failing when ran as system?
cn flag

I have a Windows cmd batch file that should retrieve listing of files that are on an FTP server via sFTP using PuTTY PSFTP exe and use that for further processing. The cmd is:

echo ls | psftp -l myusername -pw mycomplexpwd FTPServerHostname > C:/Users/myuser/Desktop/ls.txt

It is supposed to output the listing in ls.txt file that I use in other scripts. When running as a normal user, I get the li ...

Score: 0
Cloudflare in front of Nginx Reverse - redirect users with certain IP to special page
gr flag

I'm running a nginx reverse proxy in front of webpage. In front of this nginx reverse proxy is also cloudflare reverse proxy running.

Now I'm trying to redirect users with certain ip-addresses to a special webpage. I'm trying to do this from the nginx reverse proxy, without any luck :/

nginx.conf

    user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
work ...
Score: 0
uli avatar
PAM authentication fails in OpenVPN
us flag
uli

I am running openvpn-2.5.3-1.2.x86_64 on OpenSUSE Tumbleweed (20211111).

I am currently unable to log into my openvpn server. The initialization and authorization seem to succeed but then I get the following message repeated indefinitely:

2021-11-15 17:23:46 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
2021-11-15 17:23:51 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

In the server log I see basica ...

Score: 0
PieterV avatar
ipv6 route add with next hop fails
pl flag

I'm trying to add an ipv6 route on machine B to subnet behind next hop A:

2:2:2::2/64 +---+ 192:168:2::1/64      192:168:2::10/64 +---+
       -----| A |---------------------------------------| B |
            +---+                                       +---+

The next hop (192:168:2::1) is reachable (ping succeeds), yet I cannot add it as a next hop in an ipv6 route:

(B):~ > sudo ip -6 route add 2:2: ...
Score: 0
Simon Avery avatar
Crontab - day of month seems to override day of week?
sa flag

I have five servers running an eventstore cluster. I want to run a crontab command on each one on separate days.

  1. Run on Monday
  2. Run on Tuesday etc

But I also want to run a different command on the fourth week of every month.

I set them up like this, thinking it should work - and checking crontab.guru confirmed what I thought should happen;

Machines 1-5:

  1. 30 6 1-21 * Mon /first-command-to-run
  2. 30 6 1-21 * ...
Score: 0
vatosarmat avatar
Is it possible to upload files along with initialization script on EC2 instance when running it with AWS CLI?
tr flag

I have nginx configuration files which I would like to deploy on my Ubuntu EC2 instance. I create instance using AWS CLI:

  aws ec2 run-instances --instance-type t2.micro \
    --count 1 \
    --image-id ami-0f8b8babb98cc66d0 \
    --key-name "$key_name" \
    --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=$name}]" \
    --query "Instances[0].{$instance_fields_selection}" \
    ...
Score: 0
Error response from daemon: Pool overlaps with other one on this address space (when on VPN)
cl flag

In Ubuntu I am trying to create a docker network with a specified subnet when on VPN but I get the below error:

$ docker network create my-network --subnet 172.17.24.0/18
Error response from daemon: Pool overlaps with other one on this address space

Looking at the route table:

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0  ...
Score: 0
AbreQueVoy avatar
Backend URL variable doesn't point to the correct port
in flag

I just deployed frontend and backend pods, and there's an issue with connectivity between them.

The backend pod is configured in the following way:

apiVersion: v1
kind: Pod
metadata:
  name: af-backend-pod
  labels:
    name: af-backend-pod
    app: adv-format
spec:
  containers:
  - name: af-backend
    image: localhost:5000/backend:1.2
    ports:
    - containerPort: 4040
    env:
    - name: NODE_ENV ...

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.